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.

Docker Container not starting when "unassigned device" share is offline

Featured Replies

Hello all,


I have two Unraid servers. Server 1 stores my personal data, music collection and photos. The second server is my data storage for my backups, movie & series collection.


The Emby server runs as a Docker container on server 1. The shares movies & series are mounted with the unassigned devices plugin as remote SMB shares on server 1 and then mounted in the Docker container. When server 2 now goes into sleep mode, the Emby Docker container on server 1 crashes after some time (this can be a few hours). If I try to restart it and server 2 is still in sleep mode, it does not work. The Docker container can then no longer be started.


Is there any way I can implement my scenario cleanly so that the remote shares only work?

Screenshot 2022-08-11 104023.png

Screenshot 2022-08-11 104009.png

Solved by dlandon

How does it "Not Start"  I do the same thing with Plex and have basically zero issues (short of the obvious that half the movies / TV is missing from the library)

  • Author

Thank you for your answer. If the datastore is in sleep mode, then the Docker container can no longer start. I don't know what the problem is either! Are there any log files I can provide? After some time the error message "Execution Error" comes up....

 

Unraid Version: Version: 6.10.3

UD Plugin: 2022.08.07

 

 

 

Screenshot 2022-08-11 135359.png

Edited by Pixelpaule

1 hour ago, Pixelpaule said:

After some time the error message "Execution Error" comes up....

When this happens again, edit the template make a change (any change) and then revert it.  Then Apply  The docker run command will pop up which will tell us the error that is happening

  • Author

hey, here is the output:

 

Screenshot 2022-08-11 154953.png

Try changing the references from /mnt/remotes/... to instead be /mnt/disks/... and see if that immediately lets it start up

  • Author

@Squid After chaning the Path the emby docker start up. But unfortionaly i cant access to the data on these shares.

  • 4 weeks later...
  • Author

Hello all, 

Please excuse my late feedback, but the last time was a bit stressful and then I was still on vacation.
Unfortunately the problem still exists. When I look in the terminal under /mnt/disks/ "Remote Share Name", there is no data. But as soon as I change to the directory /mnt/remotes/ "Remote Share Name", the data is displayed accordingly. However including the shares in Emby Docker with /mnt/remotes/ "Remote Share Name" unfortunately results in an error and Emby can no longer be run when the remote server goes into stand by.

I hope someone can help me.

194864099_Bildschirmfoto2022-09-05um15_12_36.png.6a524f185c09f4e6fb1db9f765d40858.png

Bildschirmfoto 2022-09-05 um 15.11.25.png

On 8/12/2022 at 2:20 AM, Pixelpaule said:

@Squid After chaning the Path the emby docker start up. But unfortionaly i cant access to the data on these shares.

Try setting the access mode when editing the template on that path to be RW: SLAVE

  • Author

Hmm, unfortunately it does not work. As before, Emby cannot access the data. Also in the terminal I can't see any data when I print /mnt/disks/ "Remote Share Name" via the terminal. :(

 

Do I need to set anything else elsewhere in Unraid? Can I provide any logs?

Edited by Pixelpaule

The correct path for your remote share is /mnt/remotes/DATENLAGER_filme/.

 

The issue seems to be with the Emby Docker trying to mkdir on /mnt/remotes/DATENLAGER_filme/.  Emby is tyrying to create that mount path.  Emby should only be using that path for gathering media.

 

Post a diagnostics file.

  • Author

I use the offical Docker from the Emby. I have attached the diagnostic files.

 

@dlandon Sorry but i think i don't understand your first post. XD

 

You are correct, the path to my movies on the second unraid server (the remote server) ist /mnt/remotes/DATENLAGER_Filme/ as you can see in my screenshots from the "Apple" terminal. If i use /mnt/remotes/Datenlager_Filme/ in the Emby Docker settings, emby can access the data correctly if the server is started. But if the server goes to sleep mode the Docker container crash. If i use /mnt/disks/Datenlager_Filme/ emby can't access to the data. Not even if the remote server is started.

 

1354815621_Bildschirmfoto2022-09-07um18_17_04.thumb.png.c38eb467d33b391761485df212d93c54.png

heimzentrale-diagnostics-20220907-1818.zip

2 hours ago, Pixelpaule said:

Sorry but i think i don't understand your first post.

If you look at the failure of starting the docker, it is because Emby is trying to create the directory 'mkdir /mnt/remotes/DATENLAGER_filme/' and it fails because that mount point exists.  It was already created by UD.  I'm not understanding why a docker is trying to make a directory that should already exist and should be used to access existing media.

  • Solution

It doesn't look like you are mapping the folders properly.  Emby is set to use /mnt/ and you map the media folders in the docker itself:

Screenshot 2022-09-07 154421.png

 

Once inside Emby, you select the folders for the media you want to use:

Screenshot 2022-09-07 154534.png

and choose the folders for each media type:

Screenshot 2022-09-07 154825.png

or probably the best approach:

Screenshot 2022-09-07 155120.png

 

Substitute your server name for 'Tower'.

  • Author

yes that's right, i have create for each library folder it's own folder path in the docker settings. I wanted to configure the read and write permissions for each path in Docker itself. So this seems to be the problem?! I have attached screenshots of the path settings as they are currently configured.

 

 

Bildschirmfoto 2022-09-08 um 07.38.44.png

Bildschirmfoto 2022-09-08 um 07.41.22.png

  • Author
11 hours ago, dlandon said:

or probably the best approach:

Screenshot 2022-09-07 155120.png

 

Substitute your server name for 'Tower'.

 

Do I need to specify the server name of the Unraid server that Emby Docker is running on, or the name of the Unraid server that the remote share is on?

Edited by Pixelpaule

1 hour ago, Pixelpaule said:

 

Do I need to specify the server name of the Unraid server that Emby Docker is running on, or the name of the Unraid server that the remote share is on?

Use the remote share if it is a smb share.

  • Author

Yes, the remote share is also available via smb. okay i change it. Thanks for your help! I think now it works!

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.