Strange. JAIL_IP is set, seems to be set to a reasonable value, and the file doesn't seem to be using curly quotes (which are a common source of errors). What happens if, in that directory, you doConfiguration error: JAIL_IP must be set
. ./nextcloud-config
followed by echo $JAIL_IP
?That isn't correct; the script adds the netmask by itself. JAIL_IP should just contain the IP address for the jail.Something I did to the file this time, was after the IP addresses, I put "/24"
Gotcha, I did that and got no feedback.Syntax, including spacing, is very important. I didn't say../nextcloud-config
, I said. ./nextcloud-config
. See the difference?
...and following that, what's the output ofGotcha, I did that and got no feedback.
echo $JAIL_IP
?Output of "echo $JAIL_IP" was 10.0.1.10...and following that, what's the output ofecho $JAIL_IP
?
Oh, and lose the shell through the web GUI--it eats control characters, it messes with editing, and just generally causes problems (including copy/paste working poorly if at all). It isn't suitable for anything other than (at best) running simple commands. Turn on SSH, enable root login, and use an SSH client like bitvise or putty.
You should not need to do that at all; the script is supposed to take care of it. Do you still have the output of the script available? If so, can you post the last couple dozen lines?I guess I do not fill in correctly the database fields?