Jump to content

Mount a WebDAV as Library once it's connected to Synology


GiGo

Recommended Posts

I've got access to a WebDAV drive and I have mounted it on my Synology 1815+. I'm now wanting to use that as a Library source.  I can navigate to "/volume1/@webdav" and emby happily finds that, but I want to mount "/TV" but emby doesn't find any folders in the webdav. Is there a workaround for this or has anyone else managed to mount a webdav as a library?

TIA

Link to comment
Share on other sites

Hi there, have you checked the permissions of this folder to ensure the emby system user has access to it?

Link to comment
Share on other sites

16 minutes ago, Luke said:

Hi there, have you checked the permissions of this folder to ensure the emby system user has access to it?

Good call, I've checked persmissions and there isn't any 'folder' permissions I can enable. Emby has permissions to the webdav service in Control Panel > User.

If I just select the /volume1/@webdav in Libraries it doesn't show the the content I have on the webdav, so not sure whats going on. 

Link to comment
Share on other sites

Most likely Emby Server is being denied access to it. You could try running a library scan and then providing the emby server log. thanks.

Link to comment
Share on other sites

12 minutes ago, Luke said:

Most likely Emby Server is being denied access to it. You could try running a library scan and then providing the emby server log. thanks.

I'm just running a scan it takes a few mins, from the log all I can see relating to webdav is this;

2021-02-09 21:53:27.310 Info Server: http/1.1 GET http://192.168.68.3:8096/emby/Environment/ParentPath?path=/volume1/@webdav&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzgwLjAuMzk4Ny4xMTYgU2FmYXJpLzUzNy4zNnwxNTgyOTAxNjA0NDIy&X-Emby-Client-Version=4.6.0.22. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.146 Safari/537.36
2021-02-09 21:53:27.310 Info Server: http/1.1 GET http://192.168.68.3:8096/emby/Environment/DirectoryContents?includeDirectories=true&path=/volume1/@webdav&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzgwLjAuMzk4Ny4xMTYgU2FmYXJpLzUzNy4zNnwxNTgyOTAxNjA0NDIy&X-Emby-Client-Version=4.6.0.22. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.146 Safari/537.36
2021-02-09 21:53:27.311 Info Server: http/1.1 Response 200 to 192.168.68.102. Time: 2ms. http://192.168.68.3:8096/emby/Environment/ParentPath?path=/volume1/@webdav&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzgwLjAuMzk4Ny4xMTYgU2FmYXJpLzUzNy4zNnwxNTgyOTAxNjA0NDIy&X-Emby-Client-Version=4.6.0.22
2021-02-09 21:53:27.362 Info Server: http/1.1 Response 200 to 192.168.68.102. Time: 52ms. http://192.168.68.3:8096/emby/Environment/DirectoryContents?includeDirectories=true&path=/volume1/@webdav&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzgwLjAuMzk4Ny4xMTYgU2FmYXJpLzUzNy4zNnwxNTgyOTAxNjA0NDIy&X-Emby-Client-Version=4.6.0.22

I'll post up the log once it's completed the scan, thanks for your help.

Link to comment
Share on other sites

26 minutes ago, Luke said:

Most likely Emby Server is being denied access to it. You could try running a library scan and then providing the emby server log. thanks.

I'm just running a scan it takes a few mins, from the log all I can see relating to webdav is this;

2021-02-09 21:53:27.310 Info Server: http/1.1 GET http://192.168.68.3:8096/emby/Environment/ParentPath?path=/volume1/@webdav&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzgwLjAuMzk4Ny4xMTYgU2FmYXJpLzUzNy4zNnwxNTgyOTAxNjA0NDIy&X-Emby-Client-Version=4.6.0.22. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.146 Safari/537.36
2021-02-09 21:53:27.310 Info Server: http/1.1 GET http://192.168.68.3:8096/emby/Environment/DirectoryContents?includeDirectories=true&path=/volume1/@webdav&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzgwLjAuMzk4Ny4xMTYgU2FmYXJpLzUzNy4zNnwxNTgyOTAxNjA0NDIy&X-Emby-Client-Version=4.6.0.22. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.146 Safari/537.36
2021-02-09 21:53:27.311 Info Server: http/1.1 Response 200 to 192.168.68.102. Time: 2ms. http://192.168.68.3:8096/emby/Environment/ParentPath?path=/volume1/@webdav&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzgwLjAuMzk4Ny4xMTYgU2FmYXJpLzUzNy4zNnwxNTgyOTAxNjA0NDIy&X-Emby-Client-Version=4.6.0.22
2021-02-09 21:53:27.362 Info Server: http/1.1 Response 200 to 192.168.68.102. Time: 52ms. http://192.168.68.3:8096/emby/Environment/DirectoryContents?includeDirectories=true&path=/volume1/@webdav&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzgwLjAuMzk4Ny4xMTYgU2FmYXJpLzUzNy4zNnwxNTgyOTAxNjA0NDIy&X-Emby-Client-Version=4.6.0.22

I'll post up the log once it's completed the scan, thanks for your help.

Log attached.

embyserver.txt

Link to comment
Share on other sites

Well it looks like it found this:

2021-02-09 22:05:12.974 Info MediaProbeManager: ProcessRun 'ffprobe' Execute: /var/packages/EmbyServer/target/bin/ffprobe -i file:"/volume1/TV/Dr. Pimple Popper (2018)/Season4/Dr. Pimple Popper.S04E04 - Adventures in Pimplepopping.mkv" -threads 0 -v info -print_format json -show_streams -show_chapters -show_format -show_data

 

Link to comment
Share on other sites

5 minutes ago, Luke said:

Well it looks like it found this:



2021-02-09 22:05:12.974 Info MediaProbeManager: ProcessRun 'ffprobe' Execute: /var/packages/EmbyServer/target/bin/ffprobe -i file:"/volume1/TV/Dr. Pimple Popper (2018)/Season4/Dr. Pimple Popper.S04E04 - Adventures in Pimplepopping.mkv" -threads 0 -v info -print_format json -show_streams -show_chapters -show_format -show_data

 

That's odd, that's been there for ages! Correction, that has been added, Sonarr added it without me knowing 🙃 However;

/volume1/TV is my normal TV folder, I've since mount a Windows share /volume1/TV-Remote and the obivous one which I want to read from instead of using the windows share of /volume1/@webdav

Edited by GiGo
update.
Link to comment
Share on other sites

7 hours ago, Luke said:

How many Emby libraries have you created, and what folder paths did you add to each one?

I have currently have 3 TV Libraries;

\volume1\TV
\volume1\TV-Remote
\volume1\@webdav

The 'TV-Remote' library is a Windows share that links to the Webdav, which if emby picked up the @webdav folder would be the same.

 

Link to comment
Share on other sites

Ok, I'm afraid I don't know what's preventing the server from seeing the contents of the folder as it is environment specific. When you use the directory browser to setup the library, does that show the contents?

Link to comment
Share on other sites

3 hours ago, Luke said:

Ok, I'm afraid I don't know what's preventing the server from seeing the contents of the folder as it is environment specific. When you use the directory browser to setup the library, does that show the contents?

No it does not. 

Link to comment
Share on other sites

Then it sounds like although you have granted permission to the top level folder, the sub-folders could be overriding that with their own permission. That is just my guess though as this is specific to your environment.

Link to comment
Share on other sites

  • 3 months later...
Embynils
On 06/02/2021 at 12:36, GiGo said:

I've got access to a WebDAV drive and I have mounted it on my Synology 1815+. I'm now wanting to use that as a Library source.

Hey GiGo, have you managed to get this working? I'm trying to mount a webdav server on my Synology to add it as an Emby library source, but can't figure it out. Would appreciate it if you could share your experience.

Cheers
Nils

Link to comment
Share on other sites

GiGo
12 minutes ago, Embynils said:

Hey GiGo, have you managed to get this working? I'm trying to mount a webdav server on my Synology to add it as an Emby library source, but can't figure it out. Would appreciate it if you could share your experience.

Cheers
Nils

Hi Nils, 

Unfortunately I never got it to work :( I may retry when DSM7 comes out. 

My issue was that Emby could see the drive but not its contents once mounted. 

If you get working do share how you did it. I checked permissions etc... And it all checked out and I couldn't see a reason why it didn't work. It was only something I was trying so wasn't mission critical for me as my media is stored on my NAS primarily.

Having webdav access in the future would be highly beneficial as I think most people will end up storing large amounts of data on a Web drive rather than locally on a NAS.

Link to comment
Share on other sites

Embynils
16 hours ago, GiGo said:

My issue was that Emby could see the drive but not its contents once mounted. 

Thanks for your reply. My issue is that I cannot even get the webdav share mounted. I'm running SynoCli Disk Tools on Synology - because it includes davfs2, but when I try to mount, I get mount: unknown filesystem type 'davfs' I cannot get past this error. 

How did you mount the webdav share?

Link to comment
Share on other sites

GiGo
2 hours ago, Embynils said:

Thanks for your reply. My issue is that I cannot even get the webdav share mounted. I'm running SynoCli Disk Tools on Synology - because it includes davfs2, but when I try to mount, I get mount: unknown filesystem type 'davfs' I cannot get past this error. 

How did you mount the webdav share?

I used WebDAV Server and it all worked fine for mounting a seeing it in File Station, added a few screenshots so you can see how to do it, hope it helps.
 

DiskStation.png

DiskStation1.png.6305555ef5ab8a18f40b46d2d75747c1.pngDiskStation2.thumb.png.31ae6c1734cf94313f3416245331367c.pngDiskStation3.thumb.png.3e5f6f5a6bae11fb1b5b12f7032d80f1.png

Edited by GiGo
more info
Link to comment
Share on other sites

Embynils

Thanks. That's not going to work: The Webdav Server turns your Synology into a Webdav server. But you were trying to set up a connection to another WebDav server. The 'Remote Connection' option in Filestation isn't the same as mounting, unfortunately.  Mounting in Filestation is only possible through CIFS or NFS (the option under Remote Connection).

Link to comment
Share on other sites

GiGo
1 minute ago, Embynils said:

Thanks. That's not going to work: The Webdav Server turns your Synology into a Webdav server. But you were trying to set up a connection to another WebDav server. The 'Remote Connection' option in Filestation isn't the same as mounting, unfortunately.  Mounting in Filestation is only possible through CIFS or NFS (the option under Remote Connection).

Right I get you. I only tried to mounting it via a Remote Connection. Try asking over on the Synology Reddit sub (https://www.reddit.com/r/synology/)

Link to comment
Share on other sites

  • 1 month later...

the problem is file permission!

on the synology side you can't give emby read permission you need to do it on the webdav drive side. you need to give everyone read/write permission where the files are stored on webdav server side since there is no emby user on the webdav drive side

it works but is slow!

  • Like 1
Link to comment
Share on other sites

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