On a fresh VM-installation of latest nethserver, I cannot configure dokuwiki, because the db command is not available (bash: db: command not found). Same with “config show …” (config: command not found).
I am abolutely new to nethserver. Tried as root on console on the VM, external console application on host and shellinabox in server manager. The command “man db” lists the manual at least. Directories in etc/e-smith do exist.
Do you use su or su -? The former doesn’t read root’s login files, while the latter does. Result is, if you use su, you won’t get root’s $PATH. tl;dr: use su - to become root.