@Sebastian-Roth I added the new lines to my /etc/apache2/sites-enabled/001-fog file, entered my credentials and waited 10 minutes… No change, still getting an HTTP/503 response.
I downloaded the script to the FOG server, ran ./updateIP.sh, and got the following results:
Updating the IP Settings server-wide.
A password was not set in /opt/fog/.fogsettings for mysql use.
Updating the IP in /tftpboot/default.ipxe
Backing up /var/www/html//fog/lib/fog/config.class.php
Updating the IP inside /var/www/html//fog/lib/fog/config.class.php
Updating the fields inside of /opt/fog/.fogsettings
All done.
I tried to log in again, and it’s still spinning around (although, it’s only been 2 minutes since I ran the script and tried to log in).
EDIT: It’s working now! After running the script, I also restarted Apache, PHP and MySQL, then tried again:
systemctl restart php7.0-fpm.service apache2.service mysql.service