BandiRoot Posted October 10, 2022 Posted October 10, 2022 Something weird, i get a 503 error but no error logs on the server or in IPB. When i clear the cache in ACP Support, the Error is gone and the site is working again. This happens frequently now. The hosting can not find any issue, same as me, no server errors and the servers is running fine. Who has an idea ?
Marc Posted October 10, 2022 Posted October 10, 2022 You would need to speak to your hosting company on this. Clearing cache in ACP is very likely coincidence here. Its likely the site is going down for quite a short period, so when you are doing this, its simply come backup. But a 503 message is a service unavailable, which is from your hosting. BandiRoot 1
BandiRoot Posted October 10, 2022 Author Posted October 10, 2022 (edited) Just tested @Marc Stridgen really clearing the cache immediately brings the website back online. No coincidence here anymore. I just moved to other hosting, can it be some file / folder permissions are wrong ? Can you show me which files / folders need what permission ? Edited October 10, 2022 by Denniz38
Marc Posted October 10, 2022 Posted October 10, 2022 It may well be. The following need to be writable (fully) applications datastore plugins uploads and all subfolders When its 503, as that comes from the server, you need to find out what exactly is causing it to show that. What exactly on the server errors or is waiting. BandiRoot 1
BandiRoot Posted October 10, 2022 Author Posted October 10, 2022 Just now, Marc Stridgen said: It may well be. The following need to be writable (fully) applications datastore plugins uploads and all subfolders When its 503, as that comes from the server, you need to find out what exactly is causing it to show that. What exactly on the server errors or is waiting. everything 777 or 755 ?
Solution Marc Posted October 10, 2022 Solution Posted October 10, 2022 This depends on your hosting, and isnt a question we can directly answer. Usually those folder (not files) would be 777, however if using suPHP/suExec they would be 755 and will actually break using 777.
BandiRoot Posted October 10, 2022 Author Posted October 10, 2022 (edited) not using suPHP or suExec, thanks The files in the upload folder set to 644. Edited October 10, 2022 by Denniz38
Marc Posted October 10, 2022 Posted October 10, 2022 Generally then, the folders would be 777. This is however a generalisation of course, as we dont host your site BandiRoot 1
BandiRoot Posted October 11, 2022 Author Posted October 11, 2022 According to the hosting these errors may cause the 503 error. Can someone give me some advice ? error_log
Marc Posted October 11, 2022 Posted October 11, 2022 You need to upload a fresh set of files from your client area, as it looks like you are missing some
BandiRoot Posted October 11, 2022 Author Posted October 11, 2022 If i upload them will i need to setup again ?
Marc Posted October 11, 2022 Posted October 11, 2022 No, as you would not be deleting any files you have on there, only overwriting files that already exist BandiRoot 1
BandiRoot Posted October 11, 2022 Author Posted October 11, 2022 2 minutes ago, Marc Stridgen said: No, as you would not be deleting any files you have on there, only overwriting files that already exist Thanks Marc, uploading now.
BandiRoot Posted October 11, 2022 Author Posted October 11, 2022 31 minutes ago, Marc Stridgen said: No, as you would not be deleting any files you have on there, only overwriting files that already exist After uploading where can i find error logs ? In ACP never any error logs.
Marc Posted October 11, 2022 Posted October 11, 2022 Either in System logs in the ACP, in system/logs on the file system, or if they are lower level than that, it would be your server error logs (only your hosting company can advise where they are located) BandiRoot 1
BandiRoot Posted October 11, 2022 Author Posted October 11, 2022 Thanks Marc. Is PHP8.1 advisable or leave it on 8.0 ?
Marc Posted October 11, 2022 Posted October 11, 2022 If you have things running stable, I would leave it on 8.0. Doing too many things all at once, you are just asking for problems really. Give it some time of stable running, then make decisions on that BandiRoot 1
BandiRoot Posted October 12, 2022 Author Posted October 12, 2022 Well i switched hosting, too bored with these error 503 Im uploading my files now, can i just copy over the new 4.7.3 version or is it better to update from within the installation ? When uploading the new version is fine, do i need to run the upgrade after ?
Marc Posted October 12, 2022 Posted October 12, 2022 You can upload the files manually if you wish to do so. You would indeed run the upgrader if you are on an earlier version, which you do from /admin/upgrade
BandiRoot Posted October 12, 2022 Author Posted October 12, 2022 16 minutes ago, Marc Stridgen said: You can upload the files manually if you wish to do so. You would indeed run the upgrader if you are on an earlier version, which you do from /admin/upgrade Ok thanks Marc
Recommended Posts