503 error

costas1

Member
Messages
137
Reaction score
3
Points
18
Trying to access a certain MediaWiki's PHP file has as a result a 503 error.

Here is the relative section of the error log:

2024-12-27 08:54:35.444809 [INFO] [3476326] [T0] [127.0.0.1:51888#APVH_www.driverspedia.org:443] connection to [uds://usr/local/lsws/extapp-sock/APVH_username_Suphp.sock] on request #0, confirmed, 1, associated process: 3484514, running: 1, error: Connection reset by peer!
2024-12-27 08:54:35.913063 [INFO] [3476326] [T0] [127.0.0.1:51888#APVH_www.driverspedia.org:443] connection to [uds://usr/local/lsws/extapp-sock/APVH_username_Suphp.sock] on request #0, confirmed, 1, associated process: 3484532, running: 1, error: Connection reset by peer!
2024-12-27 08:54:36.381287 [INFO] [3476326] [T0] [127.0.0.1:51888#APVH_www.driverspedia.org:443] connection to [uds://usr/local/lsws/extapp-sock/APVH_username_Suphp.sock] on request #0, confirmed, 1, associated process: 3484542, running: 1, error: Connection reset by peer!
2024-12-27 08:54:36.381352 [NOTICE] [3476326] [T0] [127.0.0.1:51888#APVH_www.driverspedia.org:443] Max retries has been reached, 503!
2024-12-27 08:54:36.381373 [NOTICE] [3476326] [T0] [127.0.0.1:51888#APVH_www.driverspedia.org:443] oops! 503 Service Unavailable
2024-12-27 08:54:36.381377 [NOTICE] [3476326] [T0] [127.0.0.1:51888#APVH_www.driverspedia.org:443] Content len: 0, Request line: 'GET /mw-config/index.php HTTP/1.1'
2024-12-27 08:54:36.381380 [INFO] [3476326] [T0] [127.0.0.1:51888#APVH_www.driverspedia.org:443] Cookie len: 47, mw_installer_session=5r3n3eg1p226gts4guh8nt5ga6
2024-12-27 08:54:36.381535 [INFO] [3476326] [T0] [127.0.0.1:51888#APVH_www.driverspedia.org:443] abort request..., code: 4

I have tried 3 different PHP versions 8.3, 8.2 and 8.1, which is the oldest compatible with the latest version of MediaWiki. Of course that made no difference.

What's going on with LiteSpeed server? Any ideas?
 

Eric S

Administrator
Staff member
Messages
1,107
Reaction score
154
Points
63
Your domain : driverspedia.org is giving a database error. This may be related to a PHP module needing enabled or a configuration on the setup.

I would suggest reviewing the requirements for mediawiki in which modules need to be enabled and make sure they are enabled on the service
 

costas1

Member
Messages
137
Reaction score
3
Points
18
Your domain : driverspedia.org is giving a database error. This may be related to a PHP module needing enabled or a configuration on the setup.

I would suggest reviewing the requirements for mediawiki in which modules need to be enabled and make sure they are enabled on the service

The domain is giving a database error because after updating to the latest version of MediaWiki software there is an incompatibility with the database, because a new table has been added.

In order to update the database I have to run update.php, but I'm unable to do so because when I visit the relative URL and start the process, after entering the upgrade key and hitting the button to move to the next step of the procedure I always get a 503 error.

Some times the error happens at the start of the process, when visiting the update URL, especially after happening at the aforementioned step, then revisiting the URL gives the error from the first step.
 

fusio

Member
Messages
51
Reaction score
4
Points
8
Check out this post in the litespeedtech community
I hope it helps you
 

costas1

Member
Messages
137
Reaction score
3
Points
18
In my case the connection is denied on request #0!

Anyway, should LSAPI appear in the control panel as a PHP module? Nothing relevant seems to be listed there.

Furthermore, if that's the issue how do I change the threshold?
 
Last edited:
Top