http 500 error
Fog just updated (not os, still ubuntu 16.04) rebooted, and now the Fog server won’t start. Server is pingable, can still ssh to server, but getting this error: is currently unable to handle this request.
HTTP ERROR 500
Could use some assistance here. Thanks in advance.
uncaught error: call to a member function lastInsertID()
This is usually due to a database connection issue. Please read through this: https://forums.fogproject.org/topic/10006/ubuntu-is-fog-s-enemy
@Jim-Holcomb PHP7:error PHP Fatal Error: uncaught error: call to a member function lastInsertID() on boolean in … class after class after class errors. Does this make sense to you?
@Jim-Holcomb Check the apache error logs (see my signature) as well as php-fpm logs…
Thanks George. I am running ubunto 16.04 and the only thing I ran was apt-get update. No update to fog. Seems like a mysql issue, but not sure where to look. The two commands you gave me returned with more than 1 line each, and both look like they are running.
You updated fog from what to what version?
Check to see if apache and php-fpm is running
sudo ps aux|grep apache
sudo ps aux|grep php-fpm
both of those should return more than just one line of text. I’m guessing that php-fpm isn’t running for some reason since you are seeing the 500 error message.