stu_m Posted July 7, 2022 Posted July 7, 2022 I have just tried an automatic update and now my forum is inaccessible!  All I am getting is a HTTP ERROR 503 I suspect the update of the database has failed as I can access the admin panel and it keeps telling me there is an update available Any help appreciatedÂ
Marc Posted July 7, 2022 Posted July 7, 2022 A 503 error would indicate there has been an issue on your server during the upgrade. I see you currently still have the same issue with your server throwing that error. Please check your server error logs in the first instance, and let us know what the error message isÂ
stu_m Posted July 7, 2022 Author Posted July 7, 2022 Currently checking error logs but I cannot see anything at the moment! I suspect the files are updated and not the database!
stu_m Posted July 7, 2022 Author Posted July 7, 2022 I am not seeing anything that stand out in the error logs either Â
Marc Posted July 7, 2022 Posted July 7, 2022   18 minutes ago, stu_m said: I suspect the files are updated and not the database! If this was the case, you would still be able to update the database from /admin/upgrade there. 2 minutes ago, Tripp★ said: Yep, can confirm. I'm getting something similar. Tried to update through the ACP; and now I just get: Site is locked because "Upgrade in process". Nothing apparent in error logs. That is not the same error there. Please update your details in the client area in relation to admin location details.
stu_m Posted July 7, 2022 Author Posted July 7, 2022 I have just uploaded the files from a back up of the previous version and all is working again  1 minute ago, Marc Stridgen said: If this was the case, you would still be able to update the database from /admin/upgrade there. I tried that and still get the 503 error Â
Marc Posted July 7, 2022 Posted July 7, 2022 1 minute ago, stu_m said: I have just uploaded the files from a back up of the previous version and all is working again This would then indicate the files had not unpacked properly. If you have re-uploaded, ensure you run the upgrader from /admin/upgrade if there is anything to run there 1 minute ago, Tripp★ said: I didn't think it was the same, but similar. I will do that immedately. And sorry @stu_m, I didn't intend to topic hijack. You should always create your own topic really, as it can end up with your issues being lost. More for your own benefit than anything. Please let us know if it does not update
stu_m Posted July 7, 2022 Author Posted July 7, 2022 I reverted back to the previous files and tried again and I get the same error! It unpacks the files then straight to the error 503 it doesn't complete the upgrade I disabled all plugins this time I will maybe revert to the default theme too for the next tryÂ
Randy Calvert Posted July 7, 2022 Posted July 7, 2022 Stu, If the auto updater is failing, have you tried downloading the files from the client center and then manually uploading them?  After it’s uploaded, you can run the upgrader manually.Â
stu_m Posted July 7, 2022 Author Posted July 7, 2022 Just now, Randy Calvert said: Stu, If the auto updater is failing, have you tried downloading the files from the client center and then manually uploading them?  After it’s uploaded, you can run the upgrader manually.  When the update failed the first time I uploaded the new files and tried to run from the upgrader but was still getting the 503 errorÂ
Marc Posted July 7, 2022 Posted July 7, 2022 Sorry, its really not clear what you are doing here. You stated you reuploaded files and things were working, so its unclear why you have reverted again. However stated you then uploaded new files and its not working. What sets of files are being uploaded at what points here? @Tripp★ your topic was split off here  Tripp★ 1
stu_m Posted July 7, 2022 Author Posted July 7, 2022 @Marc Stridgen I clicked to automatically upgrade which for some reason is failed to complete and at the last step I got a 503 error I downloaded the 4.7 files and uploaded them and tried to upgrade manually but still kept getting the 503 error I then re uploaded the files from the previous version which is my backup before the upgrade (v4.6.12.1) All was working again I disabled all plugins and tried again and still got a failed upgrade and the 503 error I have uploaded the previous files again which brought everything back online My next step is to disable the themes and try using the default theme I should add that I am using cloudflare could it be this affecting it? Â
Marc Posted July 7, 2022 Posted July 7, 2022 Please get this to the point in breaks again and let us know. I will then get this escalated for you. Sorry for the confusion there. I thought you had corrected it by uploading new files, rather than old
stu_m Posted July 7, 2022 Author Posted July 7, 2022 @Marc Stridgen I'm going to leave it for now and try at a later date I just have too much to do at the momentÂ
Marc Posted July 7, 2022 Posted July 7, 2022 No problem. Please do let us know once you get to that point if you have problems of course stu_m 1
stu_m Posted July 31, 2022 Author Posted July 31, 2022 I fixed this issue it raised it head again when updating the community map see here  I was getting a 503 error which was no use to anyone I knew this was related to PHP I had PHP on 8 I then tried 7.4 with no change at all I turned PHP-FPM off and now I got update in progress message and when I went to admin/upgrade I got We were unable to start a PHP session. You will need to contact your host to adjust your PHP configuration before you can continue. The error reported was: session_start(): Failed to read session data: files (path: /var/cpanel/php/sessions/ea-php56) Which is odd as I aren't using php56 I installed php56 but still using php8 and all worked fine So it appears there was/is a config issue with the server and I suspect this will be an issue for others at some point
Marc Posted August 1, 2022 Posted August 1, 2022 22 hours ago, stu_m said: I was getting a 503 error which was no use to anyone I knew this was related to PHP I had PHP on 8 I then tried 7.4 with no change at all I turned PHP-FPM off and now I got update in progress message and when I went to admin/upgrade I got We were unable to start a PHP session. You will need to contact your host to adjust your PHP configuration before you can continue. The error reported was: session_start(): Failed to read session data: files (path: /var/cpanel/php/sessions/ea-php56) Which is odd as I aren't using php56 I installed php56 but still using php8 and all worked fine So it appears there was/is a config issue with the server and I suspect this will be an issue for others at some point Just to note with this part. It looks like your sessions URLs are set to use that path, regardless of PHP version, so it would be worth you checking that
stu_m Posted August 1, 2022 Author Posted August 1, 2022 10 hours ago, Marc Stridgen said: Just to note with this part. It looks like your sessions URLs are set to use that path, regardless of PHP version, so it would be worth you checking that Already changed in the path in.user.ini and php.ini files or are you talking within invision software too?Â
Jim M Posted August 1, 2022 Posted August 1, 2022 5 minutes ago, stu_m said: Already changed in the path in.user.ini and php.ini files or are you talking within invision software too? This would be in your PHP configuration files, not the software. If you are still encountering issues, please contact your hosting provider or server administrator for assistance.
stu_m Posted August 1, 2022 Author Posted August 1, 2022 16 minutes ago, Jim M said: This would be in your PHP configuration files, not the software. If you are still encountering issues, please contact your hosting provider or server administrator for assistance. I have already resolved this issue and changed the PHP config files I just didn't know if Marc was suggesting there is others to be changedÂ
Marc Posted August 2, 2022 Posted August 2, 2022 No, it was indeed the php config, but if you have already changed, all good. It was just something I noticed in your screenshot 🙂 stu_m 1
Recommended Posts