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.

[SOLVED] Unable to Get a Clean Shutdown or Reboot

Featured Replies

I thought the first time it was because I did not shut down Plex docker before trying to stop the array but today I did stop Plex and still got the "Retrying... retrying..." when stopping array which never is able to complete. Power button shutdown from there results in 8 hour parity check. Really difficult to troubleshoot other issues if there is an 8 hour wait between steps.

 

os: 6 b10a

drive config: 1 cache, 1 parity, 13 data

dockers: Plex

add-ons via unMenu: smtp mail, monthly parity, daily status, & Powerdown (installed just now, have not tested - btw, Powerdown shows twice in Pkg manager)

 

ps: problem predated add-on installs so I don't think they are involved.

  • Author

BTW, I am trying to setup User Shares but it requires that the array be stopped to turn it on and I can't get the array stopped because it hangs.

Powerdown should only show once.  Remove both instances of the plugin and re-install.

 

A good test to see what is not stopping is to get the powerdown plugin installed properly.  Be sure you have version 2.11.  And then log into the server and type 'powerdown -r'.  This will re-boot the server and save the log.  You can then look at the log on the flash drive and you'll see what process is still running.  Post the log and I can review it for you if it's not obvious what is holding up the unmounting of the drives.  This will probably result in an unclean shutdown and a parity check, but you'll be able to see what is not allowing the unmount.

 

EDIT: Don't use the unMenu powerdown.  Use the latest plugin here: http://lime-technology.com/forum/index.php?topic=31735.0

  • Author

should I stop the current running parity check?

 

Need to restart to uninstall unmenu version :(

 

ps. what I meant was it shows up twice in the unmenu package manager

  • Author

set old powerdown to not reinstall on reboot & installed new 2.11 - looked like it found the old one and "upgraded" based on the install log.

I'd restart the parity check after you reboot. But it won't harm anything to do that.

  • Author

success! reboot was clean with no parity check. Log attached.

syslog.zip

  • Author

trying to stop the array again and it hangs with:

 

"Stop AVAHI...Stop SMB...Spinning up all drives...Sync filesystems...Retry unmounting user share(s)...Retry unmounting user share(s)...Retry unmounting user share(s)...Retry unmounting user share(s)...Retry unmounting user share(s)...Retry unmounting user share(s)...Retry unmounting user share(s)..."

 

will try powerdown to get it cleared again but really need to be able to stop the array :P

 

latest log attached

syslog-20141003-130831.txt

When it's stuck in that loop, you can use the command line powerdown to shut it down.  Then post a log so we can see what is not behaving.

  • Author

When it's stuck in that loop, you can use the command line powerdown to shut it down.  Then post a log so we can see what is not behaving.

 

that is what I did. restarted and no p.check (that alone is helpful)

 

new log in previous post

Ok.  I have a hunch that you have an issue with Xen or docker.  Powerdown shuts down Xen early and the webgui shuts down Xen as a plug which is a little late in the process.  Do you have any Xen VMs?

  • Author

no xen or vms. just plex docker and it is having problems of its own (doesn't persist between boots)

  • Author

going to try deleting plex docker and see if I can stop the array via webgui. see if it is the offender.

  • Author

as suspected, I can now stop the array after having removed the docker. Will try reinstalling to see if magically fixes itself :P

I see an issue with your user shares /mnt/user.

 

Try this:  Shut down the array from the webgui and go to a terminal and type "/etc/rc.d/rc.docker stop" and see if the webgui finally unmounts the drives.  If so docker is holding up the unmounting.  If not I recommend you remove all the stuff you have running and put things back one at a time and see what is causing the problem.

 

The good news is that powerdown lets the array shut down cleanly.

  • Author

I see an issue with your user shares /mnt/user.

 

Try this:  Shut down the array from the webgui and go to a terminal and type "/etc/rc.d/rc.docker stop" and see if the webgui finally unmounts the drives.  If so docker is holding up the unmounting.  If not I recommend you remove all the stuff you have running and put things back one at a time and see what is causing the problem.

 

The good news is that powerdown lets the array shut down cleanly.

 

with fresh Plex docker installed (nothing more than install using defaults done), tried to stop the array with it running, it hangs as before. Ran your command "/etc/rc.d/rc.docker stop" at console (have kvm connected to both towers), it returned to the prompt with no message. WebGUI still hung...

as suspected, I can now stop the array after having removed the docker. Will try reinstalling to see if magically fixes itself :P

 

Is Plex your only docker?

  • Author

yes. plain vanilla install only still hangs the webgui.

I see an issue with your user shares /mnt/user.

 

Try this:  Shut down the array from the webgui and go to a terminal and type "/etc/rc.d/rc.docker stop" and see if the webgui finally unmounts the drives.  If so docker is holding up the unmounting.  If not I recommend you remove all the stuff you have running and put things back one at a time and see what is causing the problem.

 

The good news is that powerdown lets the array shut down cleanly.

 

with fresh Plex docker installed (nothing more than install using defaults done), tried to stop the array with it running, it hangs as before. Ran your command "/etc/rc.d/rc.docker stop" at console (have kvm connected to both towers), it returned to the prompt with no message. WebGUI still hung...

 

Run it before you try to shut down using the webgui.  Will probably work just fine.  The issue is that docker needs to stop before the shares are stopped.

  • Author

I see an issue with your user shares /mnt/user.

 

Try this:  Shut down the array from the webgui and go to a terminal and type "/etc/rc.d/rc.docker stop" and see if the webgui finally unmounts the drives.  If so docker is holding up the unmounting.  If not I recommend you remove all the stuff you have running and put things back one at a time and see what is causing the problem.

 

The good news is that powerdown lets the array shut down cleanly.

 

with fresh Plex docker installed (nothing more than install using defaults done), tried to stop the array with it running, it hangs as before. Ran your command "/etc/rc.d/rc.docker stop" at console (have kvm connected to both towers), it returned to the prompt with no message. WebGUI still hung...

 

Run it before you try to shut down using the webgui.  Will probably work just fine.  The issue is that docker needs to stop before the shares are stopped.

 

did not work. The docker is not starting up on its own when I boot. With it not running, I can stop the array. I can only start the docker by refreshing the settings (normal "start" button has no effect) essentially resetting it I believe. Once it is running, I did your command via telnet got message that it shut down but webgui still hangs when I try and stop the array. Will Powerdown and post new log.

  • Author

error on console screen...

 

Error response from daemon: Cannot start container PlexMediaServer : setup mount namespace bind mounts stat /mnt/user/appdata/plexmediaserver : no such file or directory

 

2014/10/03 13:45:13 Error: failed to start one or more containers

error on console screen...

 

Error response from daemon: Cannot start container PlexMediaServer : setup mount namespace bind mounts stat /mnt/user/appdata/plexmediaserver : no such file or directory

 

2014/10/03 13:45:13 Error:P failed to start one or more containers

 

Now you've narrowed it down to docker as the offender.  Check your appdata share.  Something is amiss there.  Looks like it is missing or has a permission problem.

log from last powerdown -r

 

The log shows /mnt/user is not empty.  Check your shares.  In a previous post I suggested a problem with appdata.  Look at that.

  • Author

I have hit my wall in expertise. I don't know where to find this file/folder location. I installed a cache drive yesterday to use for Plex. The docker img file I can see on that drive. Other than that I am lost.

 

I really appreciate your help with this.

Archived

This topic is now archived and is closed to further replies.

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.