January 13, 20251 yr 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
January 13, 20251 yr Community Expert Solution The go file is empty, replace it with the one from the Unraid download zip.
January 13, 20251 yr Author Thanks, that seems to have been the key. Any idea how that could have ended up empty? Also, I'm assuming you saw that it was empty in diagnostics/config/go.txt?
January 13, 20251 yr Community Expert Just now, steenbag said: Any idea how that could have ended up empty? Difficult to say, possible the file got corrupted, it's not replaced with the upgrade. Just now, steenbag said: Also, I'm assuming you saw that it was empty in diagnostics/config/go.txt? Yep.
January 13, 20251 yr I'm having exactly the same issue but sadly I don't even know which is the go file or what do you mean by "Unraid download zip"... Could you please help me?
January 14, 20251 yr Community Expert 12 hours ago, CarlosGT said: I'm having exactly the same issue Please post the diagnostics to confirm.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.