@Strahd @Strahd Those logs were exactly what I needed, thank you. Two separate things going on
and neither one is your fault.
First, this line is your 500:
[proxy:error] (111)Connection refused: AH00957: FCGI: attempt to connect to 127.0.0.1:9000 (*) failed [proxy_fcgi:error] AH01079: failed to make connection to backend: 127.0.0.1Apache was trying to hand PHP off on port 9000 and php-fpm wasn’t listening there yet.
Notice apache came back up at 08:57:16 and there are no more of those errors after it.
So before you do anything else, just reload the page:
There’s a decent chance it works now.
Second, “Updating Database…Failed!” is the part I still need to see. That curl’s
output goes into the install log, so please post:
That’ll tell me why the schema update itself came back an error, which is the last piece.
Third - you found a real bug. On 1.6 the schema page makes you log in first, but the
login reads a database column that doesn’t exist until the schema update runs. So it
asks you to sign in, sign in can’t work, and there’s no way out. That hits everyone
upgrading from any released FOG, not just you. I’ve fixed it and pushed it, tracked in
#927.
If the page is still dead, here’s the manual way to force the database update. Get your
token:
Then paste it into this:
sudo curl -X POST -H "X-Fog-Install-Token: PASTE_TOKEN_HERE" -d "schemaupdate=1" \ "http://10.46.10.40/fog/management/index.php?node=schema"You want to see:
{"msg":"Schema updated successfully!","title":"Schema Update Success"}I tested that against a real 1.5.9 database on PHP 7.4 here, it works.
And to put your mind at ease - none of this touches /images or your tftpboot files. You
are not going to lose your images over this, so please don’t rebuild the box yet.
One last thing. Your install log still had these:
ln: failed to create symbolic link '/lib/systemd/system/mysql.service': File existsI fixed those on the 27th and the current code can’t print them anymore, so I don’t think
your checkout took. Run this and show me what it says:
Thanks for sticking with this one. You’ve found two real bugs so far