Hi all,
I just upgraded to Unraid 7, which went fine until rebooting. After rebooting, I'm no longer able to access the GUI, I instead get an HTTP 500 error from Nginx.
I'm still able to SSH in, so I ran
/etc/rc.d/rc.php-fpm restart
to restart PHP, and now I'm able to access the login screen. But as soon as I login, I'm back to an HTTP 500.
Contents of /var/log/nginx/error.log:
2025/01/13 10:38:29 [crit] 8341#8341: *1 connect() to unix:/var/run/php-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.200.139, server: , request: "GET /Main HTTP/1.1", subrequest: "/auth-request.php", upstream: "fastcgi://unix:/var/run/php-fpm.sock:", host: "192.168.200.82"
2025/01/13 10:38:29 [error] 8341#8341: *1 auth request unexpected status: 502 while sending to client, client: 192.168.200.139, server: , request: "GET /Main HTTP/1.1", host: "192.168.200.82"
2025/01/13 10:38:29 [crit] 8341#8341: *3 connect() to unix:/var/run/php-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.200.139, server: , request: "GET /favicon.ico HTTP/1.1", subrequest: "/auth-request.php", upstream: "fastcgi://unix:/var/run/php-fpm.sock:", host: "192.168.200.82", referrer: "http://192.168.200.82/Main"
2025/01/13 10:38:29 [error] 8341#8341: *3 auth request unexpected status: 502 while sending to client, client: 192.168.200.139, server: , request: "GET /favicon.ico HTTP/1.1", host: "192.168.200.82", referrer: "http://192.168.200.82/Main"
2025/01/13 10:38:46 [crit] 8341#8341: *5 connect() to unix:/var/run/php-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.200.139, server: , request: "GET /Main HTTP/1.1", subrequest: "/auth-request.php", upstream: "fastcgi://unix:/var/run/php-fpm.sock:", host: "192.168.200.82"
2025/01/13 10:38:46 [error] 8341#8341: *5 auth request unexpected status: 502 while sending to client, client: 192.168.200.139, server: , request: "GET /Main HTTP/1.1", host: "192.168.200.82"
2025/01/13 10:46:51 [crit] 8341#8341: *15 connect() to unix:/var/run/php-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.200.139, server: , request: "GET /Main HTTP/1.1", subrequest: "/auth-request.php", upstream: "fastcgi://unix:/var/run/php-fpm.sock:", host: "192.168.200.82"
2025/01/13 10:46:51 [error] 8341#8341: *15 auth request unexpected status: 502 while sending to client, client: 192.168.200.139, server: , request: "GET /Main HTTP/1.1", host: "192.168.200.82"
2025/01/13 10:46:53 [crit] 8341#8341: *17 connect() to unix:/var/run/php-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.200.139, server: , request: "GET /Main HTTP/1.1", subrequest: "/auth-request.php", upstream: "fastcgi://unix:/var/run/php-fpm.sock:", host: "192.168.200.82"
2025/01/13 10:46:53 [error] 8341#8341: *17 auth request unexpected status: 502 while sending to client, client: 192.168.200.139, server: , request: "GET /Main HTTP/1.1", host: "192.168.200.82"
2025/01/13 10:55:31 [crit] 8341#8341: *28 connect() to unix:/var/run/php-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.200.139, server: , request: "GET /Main HTTP/1.1", subrequest: "/auth-request.php", upstream: "fastcgi://unix:/var/run/php-fpm.sock:", host: "192.168.200.82"
2025/01/13 10:55:31 [error] 8341#8341: *28 auth request unexpected status: 502 while sending to client, client: 192.168.200.139, server: , request: "GET /Main HTTP/1.1", host: "192.168.200.82"
2025/01/13 10:55:33 [crit] 8341#8341: *30 connect() to unix:/var/run/php-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.200.139, server: , request: "GET /Main HTTP/1.1", subrequest: "/auth-request.php", upstream: "fastcgi://unix:/var/run/php-fpm.sock:", host: "192.168.200.82"
2025/01/13 10:55:33 [error] 8341#8341: *30 auth request unexpected status: 502 while sending to client, client: 192.168.200.139, server: , request: "GET /Main HTTP/1.1", host: "192.168.200.82"
2025/01/13 11:06:23 [crit] 8341#8341: *43 connect() to unix:/var/run/php-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.200.139, server: , request: "GET /Main HTTP/1.1", subrequest: "/auth-request.php", upstream: "fastcgi://unix:/var/run/php-fpm.sock:", host: "192.168.200.82"
2025/01/13 11:06:23 [error] 8341#8341: *43 auth request unexpected status: 502 while sending to client, client: 192.168.200.139, server: , request: "GET /Main HTTP/1.1", host: "192.168.200.82"
Based on PHP logs there may be some sort of issue with one of the dynamix scripts:
[13-Jan-2025 11:07:56 America/New_York] PHP Fatal error: Uncaught TypeError: date(): Argument #2 ($timestamp) must be of type ?int, string given in /usr/local/emhttp/plugins/dynamix/template.php:54
Looking at that script, it appears that it's trying to include several ini files from /usr/local/emhttp/state:
However, none of those files seem to exist on my system (or I'm looking in the wrong place):
Diagnostics are attached.
Any help or advice is welcome.
tower-diagnostics-20250113-1118.zip