AnonymousDev Posted January 25, 2023 Posted January 25, 2023 Hi there, First off I will say I have left the update for a loooong time as I always have issues with things not working after, plugins, themes etc I've updated to PHP 8.1 and thought ok let's get this update cracking. Update says I need to run two database queries which I attempted before proceeding. Attempted as the tables don't seem to exist. The automatic fix didn't work. Now I can't login to my admin and my site is down. Logging into my server via WHM I see the load averages are extremely high. I've tried rebooting, killing the high load processes which seem to be the home page loading. I just can't get the load averages down low enough to access my forum. Does anyone have any ideas how I can get into my website, access the admin or anything that may help me gain control over the processes again? Big thanks
AnonymousDev Posted January 25, 2023 Author Posted January 25, 2023 I had a weird thought, switch back to old PHP version, back to 7.4. My load averages have greatly reduced and I can now access my admin and website/forum. I guess I won't be using PHP 8.1 😟
teraßyte Posted January 25, 2023 Posted January 25, 2023 (edited) PHP 8 is required starting from version 4.7.4+. If you switch back to PHP 7.4 after the upgrade you'll get errors all over. Edited January 25, 2023 by teraßyte
AnonymousDev Posted January 25, 2023 Author Posted January 25, 2023 Thanks @teraßyte I'll try PHP 8.0 and see if that helps, I just need to wait until after hours when there are less members. Perhaps that will work. At the moment I can't even update as it won't allow the update without PHP 8.0.
Marc Posted January 25, 2023 Posted January 25, 2023 First thing I would suggest doing is checking your server error logs once you have upgraded to see if anything is being logged there. I suspect that it may well be. Try disabling all plugins/applications once you have upgraded if you are having issues, using recovery mode. This is something else which may cause you problems
AnonymousDev Posted January 25, 2023 Author Posted January 25, 2023 Thanks @Marc Stridgen If I am able to update I'll check that. My problem is that I can't update at all haha
teraßyte Posted January 25, 2023 Posted January 25, 2023 From your first replies, I had assumed you'd already updated. What forum & PHP version are you currently using?
AnonymousDev Posted January 26, 2023 Author Posted January 26, 2023 Unfortunately I never managed to get the install to start. I'm currently using Invision Community v4.5.4.2 and PHP 7.4.33. Attempting to run the update I'm getting the message that the update can't go ahead without PHP 8.0. When I attempt another update I'll try PHP 8.0 rather than 8.1 perhaps that will help.
Marc Posted January 26, 2023 Posted January 26, 2023 If you havent upgraded, thats why you are having isuses. The version you are using will not support PHP 8, so you would need to run the upgrade manually. So you would Backup Switch to PHP 8 Run the requirement checker to ensure your server matches up Upload a fresh set of files from your client area Run the upgrader from /admin/upgrade directly
AnonymousDev Posted January 26, 2023 Author Posted January 26, 2023 Thanks @Marc Stridgen I'll definitely try PHP 8.0 before updating. Like I mentioned above PHP 8.1 makes my CPU resources spike that much that my server is unusable and I can't update. Fingers crossed PHP 8.0 doesn't have the same effect.
Recommended Posts