Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

PHP crashes (GUI returns 500/504 errors from nginx, restarting PHP corrects issue)

Featured Replies

Periodically, I've found if I leave a web browser tab up looking at either Dashboard or Main or Docker tabs (6.x and now 7.0 since beta 1), there's a good chance I can get the whole GUI to crash. If you google "Unraid GUI unavailable" or "Unraid nginx crashes" or "how to restart unraid GUI", there are dozens of posts from people experiencing the issue, usually coming to the conclusion that they need to restart the server to get the GUI back.   nginx is throwing the error, so many people have recommended running the following to restart the entire webserver:
 

/etc/rc.d/rc.nginx restart


However, this has never fixed my issue (and I haven't found any obvious crashes in my logs), so I've ended up rebooting, which is tedious and disruptive. However today, deep in another forum post, I found this process (run by ssh'ing in to the server and running as root), which corrects the root cause for my GUI issues without a reboot - a PHP crash:
 

/etc/rc.d/rc.php-fpm restart


Now I know to look for PHP errors the next time this occurs, and can hopefully help contribute to identifying root cause... but in the meantime, I'm hoping this post bridges the gap on web and forum search results to help others as well. 

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.