You probably made a bad situation worse when you upgraded to a newer OS. I have no idea what is wrong, I’m just going to give you some commands to run and give us the output. This is just a starting point.
df -h
service apache2 status
service mysql status
mysql -u root fog