A working site has spontaneously started giving nicely-formatted 500 errors on both / and /administrator.
I am running Joomla 4.2.8 with php 8.2 on Apache 2.4.56 with MariaDB Ver 15.1 Distrib 10.5.19. The server runs Debian 11 and I have total control of it (and have even tried rebooting). The apt logs show that no packages have been upgraded since the site was last known to work.
(The apache configuration includes some redirects to a static site on the same server. These still work without problems.)
Maximum in configuration.php
debug in php-fpm.conf
error_reporting(E_ALL); to index.php (this displayed a few syntax deprecations, which I fixed)
I've set apache's logging to
trace3. The relevant output to error.log is
[proxy:debug] [pid 2301349] proxy_util.c(2596): [client xxxx] AH00944: connecting fcgi://localhost/srv/http/joomla/administrator/index.php to localhost:8000 [proxy:debug] [pid 2301349] proxy_util.c(2632): [client xxxx] AH02545: fcgi: has determined UDS as /run/php/php8.2-fpm.sock [proxy:debug] [pid 2301349] proxy_util.c(2819): [client xxxx] AH00947: connected /srv/http/joomla/administrator/index.php to httpd-UDS:0 [proxy:debug] [pid 2301349] proxy_util.c(3188): AH02823: FCGI: connection established with Unix domain socket /run/php/php8.2-fpm.sock (*:80) [proxy_fcgi:trace1] [pid 2301349] util_script.c(650): [client xxxx] Status line from script 'index.php': 500 Internal Server Error [http:trace3] [pid 2301349] http_filters.c(1129): [client xxxx] Response sent with status 500 [Wed Oct 25 15:49:52.150283 2023] [proxy:debug] [pid 2301349] proxy_util.c(2554): AH00943: FCGI: has released connection for (*:80)
Other than that, I've found no useful debugging information in any of the logs. I've spent over an hour on google searching for Joomla 500 without learning anything new.
Can anyone suggest how I might debug this further?