Hi All,
I'm having trouble accessing the Unraid server's web UI. Although I can SSH into it, the web UI keeps showing a 500 error.
Here's what I've done so far:
Ran diagnostics, but couldn't write to /boot/logs, indicating a problem with the bootable flash drive (it's 8 years old).
Tried fixing it on a Windows PC, but no luck. Managed to salvage most of /boot/config on a Mac.
Got a new flash drive, created a bootable version, and copied the /config folder to it.
Booted up the server successfully, but still getting 500 errors on the web UI.
I tried starting nginx and php-fpm manually, which got me to the login screen, but it still throws 500 errors after logging in.
Rebooted gracefully but same issue.
Any help would be appreciated!
root@unraid-server-a:~# /etc/rc.d/rc.php-fpm start
Starting php-fpm done
root@unraid-server-a:~# /etc/rc.d/rc.nginx start
Starting Nginx server daemon...
root@unraid-server-a:~# /etc/rc.d/rc.nginx status
Nginx is running
root@unraid-server-a:~# /etc/rc.d/rc.php-fpm status
php-fpm (pid 2837) is running...
root@unraid-server-a:~# cat /var/log/nginx/error.log
2024/05/25 22:01:47 [info] 3639#3639: Using 116KiB of shared memory for nchan in /etc/nginx/nginx.conf:161
2024/05/25 22:01:47 [info] 3639#3639: Using 131072KiB of shared memory for nchan in /etc/nginx/nginx.conf:161
root@unraid-server-a:~# cat /var/log/phplog
[25-May-2024 21:51:07 America/Denver] 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
Stack trace:
#0 /usr/local/emhttp/plugins/dynamix/template.php(54): date('Ymd', '')
#1 {main}
thrown in /usr/local/emhttp/plugins/dynamix/template.php on line 54
[25-May-2024 22:01:34 America/Denver] 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
tower-diagnostics-20240525-2155.zip