Jump to content

Help: Emby on Unraid with UNC path names to local libraries


Go to solution Solved by rbjtech,

Recommended Posts

rbjtech
Posted
9 minutes ago, MrMackey said:

I have just roughly followed the topic.
I also use unraid and for me it looks like this:

Screenshot2023-05-14213032.png.f63c91d6adba574830c65de6128cae4a.png

So that's a direct mount (/mnt) - the OP wants to use UNC for the primary path as well.

 

Posted

The following works

image.png.6003c0fd90be67b9ea50d620b697aa53.png

The following also works

image.png.8b3e8153e97efd39bf5a7a80ba133bd5.png

However, to get true portability, I want to use the following ...

image.png.f92ca2e78113931867ae89f5158f992f.png

... but this does not resolve

image.png.5f50be3fb45a05947a795fea30fadc9d.png

I can ping Flower from within the emby container and from external devices but emby itself refuses to resolve the Flower hostname.

 

  • Like 1
Posted
56 minutes ago, MrMackey said:

I have just roughly followed the topic.
I also use unraid and for me it looks like this:

Screenshot2023-05-14213032.png.f63c91d6adba574830c65de6128cae4a.png

Yes this is an example of what I would suggest doing.

Posted

@luke. Your recommendation is sound but I need to keep my emby main server (on UNRAID) and my emby backup server (on Windows Server) in sync and I cannot do that effectively unless I use UNC pathnames because then emby remains portable and the mirroring of the backup to the main can be automated.  Since 2018 I have been using this architecture very effectively (I sync on a daily basis both the emby install and media libraries from the main server to the backup) so that if the main server needs to go offline (for maintenance or whatever), I can switch at moments notice to the backup server and there is virtually no interruption in service.  I have become unstuck now as for the first time, my main emby server is not a windows machine

Portability has also helped in migrating between the 3 hardware platform upgrades since 2017; it becomes trivial because it is simply a matter of copying the entire emby appdata folder without any changes from one machine to the next.

 

  • Thanks 1
  • 2 weeks later...
Posted

Have discovered a workaround to the issue.  When adding a library, in the folder path dialogue box:

  • Typing \\localservername\music (for example) does not resolve servername (though as stated above \\localhost\music does)
  • However, by first scrolling to the bottom of the available folders/shares and selecting Network, brings up smb://localservername.
  • Selecting this does resolves to the local host!
  • However, selecting media shares this way adds the path smb://localservername/music which is, I believe, not portable between linux and windows.
  • But manually entering \\localserver\music now works correctly and is resolved.

 

  • Thanks 2
rbjtech
Posted
1 hour ago, kkhan said:

Have discovered a workaround to the issue.  When adding a library, in the folder path dialogue box:

  • Typing \\localservername\music (for example) does not resolve servername (though as stated above \\localhost\music does)
  • However, by first scrolling to the bottom of the available folders/shares and selecting Network, brings up smb://localservername.
  • Selecting this does resolves to the local host!
  • However, selecting media shares this way adds the path smb://localservername/music which is, I believe, not portable between linux and windows.
  • But manually entering \\localserver\music now works correctly and is resolved.

 

@Carlo- Maybe this could be added to the wiki ?

https://emby.media/support/articles/Optional-Network-Paths.html

  • 1 month later...
Posted

@kkhan

Have you tried setting custom network addresses for the docker containers in Unraid?

In the docker edit use the network type drop down go to custom br0
assign a custom IP to the docker that will fall within your LAN static range

if you need to assign a specific DNS then in extra parameters use  "--dns *.*.*.*" without the quotes and replace the  *.*.*.* with your actual required DNS

That should allow for a netbios connection to the docker without needing to use an IP/Name config

Good luck if you are still having issues

  • 2 years later...
Posted
On 5/14/2023 at 12:07 PM, kkhan said:

The following works

image.png.6003c0fd90be67b9ea50d620b697aa53.png

The following also works

image.png.8b3e8153e97efd39bf5a7a80ba133bd5.png

However, to get true portability, I want to use the following ...

image.png.f92ca2e78113931867ae89f5158f992f.png

... but this does not resolve

image.png.5f50be3fb45a05947a795fea30fadc9d.png

I can ping Flower decoration Dubai from within the emby container and from external devices but emby itself refuses to resolve the Flower hostname.

 

Nice!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...