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.

Server May Be Dying, Need Command Line Commands

Featured Replies

First, I would try and post diags, but they all came back 0 length files when run from command line.

GUI is completely toast. Restarted nginx and solved nothing. Get login screen but once logging in web page spits back a 500 error.

Want to try and gracefully shutdown the array but have seen the command for Unraid 7 is different from Unraid 6? Haven't found anything definitive yet, can someone confirm best way to shutdown the array via command line? Is it still powerdown?

And how do I check is the array actually shutdown?

Thanks!

Solved by Kilrah

  • Author

For an update, I happen to get home and refresh the web gui and the main screen flashes constantly and was able to try and stop the array, but eventually it comes back and says Array Undefined. Any idea what this means?

  • Community Expert

Try rebooting.

  • Author

I was hoping to shut down the array before doing that so didn't have to rebuild parity.

I had tried a command line I found /usr/local/sbin/emcmd cmdStop=stop and that just hung.

I then tried powerdown but Unraid said that was deprecated.

Was going to try shutdown but when I wen to try that, I could SSH in to the box anymore. It apparently had stopped the array and powered off. No clue what command did it.

Powered it back on and all is right with the world again.

Really weird.

For future reference, does the shutdown command truly cleanly stop the array and shut down the box or is there something else that has to be done prior to a reboot/shutdown to protect the array?

Thanks!

  • Community Expert
  • Solution
42 minutes ago, jmbailey2000 said:

For future reference, does the shutdown command truly cleanly stop the array and shut down the box

Yes, same for reboot.

  • Community Expert

Stop the array manually.

image.png

IF the array won't stop manually, then the shutdown commands will force a shutdown after waiting for a preset time (Thinking of pulling the power plug) and that results in an unclean shutdown every time.

That predetermined time is set here:

image.png

  • Author

No gui accessible, so was looking for the command line options.

  • Author
10 minutes ago, Kilrah said:

Yes, same for reboot.

THANKS!!!!!

  • Community Expert

If you have physical access to the server, a quick push of the power button will start a clean shutdown. A long push (> 5 seconds) of the power button will force a shutdown. A reboot is 'short version' of a clean powerdown with a restart which saves you the necessity of push the power button to start the server. Reboot is intended when a total restart of the server is needed but server access is remote from the current console. (Basically if you watch and listen during a reboot, you will hear the power-off of the power supply before the auto-restart.)

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.