Jump to content

Cannot Access Web UI after Flash Drive Recovery


Go to solution Solved by JorgeB,

Recommended Posts

Posted (edited)

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:

 

  1. Ran diagnostics, but couldn't write to /boot/logs, indicating a problem with the bootable flash drive (it's 8 years old).
  2. Tried fixing it on a Windows PC, but no luck. Managed to salvage most of /boot/config on a Mac.
  3. Got a new flash drive, created a bootable version, and copied the /config folder to it.
  4. Booted up the server successfully, but still getting 500 errors on the web UI.
  5. I tried starting nginx and php-fpm manually, which got me to the login screen, but it still throws 500 errors after logging in.
  6. 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

 


 

Unraid WebUI 3.PNG

Unraid WebUI 4.PNG

tower-diagnostics-20240525-2155.zip

Edited by LabLearner256

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...