Hello,
After the first failure several months ago, I tried again on an NS8 installation on a newly installed Debian 12 system. Unfortunately, there are fundamental problems this time too.
Basis system is a “proxmox VE 8.1.3” on Debian 12 (with NS8) as VM.
Debian 12 was installed by the installation medium
“Debian-12.4.0-AMD64-NINTINST.ISO”. The VM has two virtual disks (SCSI0, SCSI1), each for root file system and for the swap partition. The VM is currently assigned 4GB.
The installation was carried out using a graphic installer, but no graphic desktop environment was installed, only the SSH server and the standard system tools. After the start, the “sudo” package and according to the instructions “curl”. The following instructions were taken:
“Installation — NS8 documentation”
During the installation by the following command:
“curl https://raw.githubusercontent.com/nethserver/ns8-core/ns8-stable/core/install.sh | bash”
Finally, the following error appeared:
"Set kernel parameters:
/var/lib/nethserver/node/install-core.sh: line 39: sysctl: command not found.
Create the API server user:
/var/lib/nethserver/node/install-core.sh: line 43: useradd: command not found. "
I faced the output up to that, it would be reluctant to copy here due to the length.
I would now install the “userAdd” command and try again, but I consider the error message here to be Sinnvol to revise the dependencies in the installation script.
Greetings Yummiweb
Addition:
It seems to be a problem with ambient variables.
The installation was carried out as “root” after the “SU” command (not sudo), which brought the problem described.
I have now registered as a root from the SU level by “login” and tried again, there were no mistakes until then.
I will now go back to the last snapshot again and try the installation again as a “real” root - just for verification.
Result: The installation runs clean when you are actually registered as a root, “SU” is not enough.
Now the question would be whether it would make sense to illustrate this part in the NS8 installation instructions. There is:
“Start the installation procedure as root:”
Or is this rather Debian mistake? The use of “su” should usually make the use of a “real” root registration unnecessary.