amazonacrobat 0 Posted November 17, 2018 Share Posted November 17, 2018 I have Emby Server installed on Linux 16.04, which is a VM running on ESXi 6.5. I'm having trouble adding network folders to the library. All my media is saved on a Synology NAS. I can get to the folders using "File Explorer", but I get an error from Emby that the path cannot be found. When I choose "Network" from the folder field...nothing happens. I have tried the exact address shown in File Explorer (smb://main_nas/media/movies), as well as \\main_nas/media/movies. As a troubleshooting attempt, I installed Emby Server on my W10 machine, and was able to connect find the correct folders using the "Network" option in the folder field. I'm not even sure what keywords I should be searching for. I have a very limited knowledge all facets of what I'm toying with (VM's, Networking, Linux). Link to comment Share on other sites More sharing options...
Luke 37085 Posted November 17, 2018 Share Posted November 17, 2018 Hi there, please attach the emby server log. you can learn how to do that here: https://emby.media/community/index.php?/topic/739-how-to-report-a-problem/ thanks ! Link to comment Share on other sites More sharing options...
amazonacrobat 0 Posted November 17, 2018 Author Share Posted November 17, 2018 This is the newest file in the logs folder. embyserver.txt Link to comment Share on other sites More sharing options...
Luke 37085 Posted November 17, 2018 Share Posted November 17, 2018 Can you attach the log file from the time that you attempted to create the library? thanks. Link to comment Share on other sites More sharing options...
c0utta 10 Posted November 18, 2018 Share Posted November 18, 2018 (edited) Hi amazonacrobat, In every case I've seen these types of problems are caused by permissions. I'm running Emby on Linux 16.04 on a Proxmox host (I only use terminal though) but I'm happy to help you out. Since Emby on Linux 16.04 is run as the "emby" user, it's highly probable that "emby" just doesn't have access to the files. When you're running File Explorer, you're able to access the files because your ID (say amazonacrobat) has access to them. It works a little differently under Windows too. "main_nas" is your Synology NAS, correct? I'm pretty sure that you'll need to "mount" the share first, but we'll get to that. Cheers Edited November 18, 2018 by c0utta Link to comment Share on other sites More sharing options...
amazonacrobat 0 Posted November 18, 2018 Author Share Posted November 18, 2018 Can you attach the log file from the time that you attempted to create the library? thanks. These are the other three logs from that time period. server-63678056769.txt server-63678058633.txt embyserver-63678066036.txt Link to comment Share on other sites More sharing options...
amazonacrobat 0 Posted November 18, 2018 Author Share Posted November 18, 2018 Hi amazonacrobat, In every case I've seen these types of problems are caused by permissions. I'm running Emby on Linux 16.04 on a Proxmox host (I only use terminal though) but I'm happy to help you out. Since Emby on Linux 16.04 is run as the "emby" user, it's highly probable that "emby" just doesn't have access to the files. When you're running File Explorer, you're able to access the files because your ID (say amazonacrobat) has access to them. It works a little differently under Windows too. "main_nas" is your Synology NAS, correct? I'm pretty sure that you'll need to "mount" the share first, but we'll get to that. Cheers That makes sense. I have the Synology setup so that the media folder is blocked default, and I specify access to specific users. I'm prepared to change that if it's going to cause a problem with playback on my Roku's. On the Synology, I created user credentials that match the Ubuntu login credentials. That is the only "Synology User" with any access to the media folder. When I tried troubleshooting on my W10 machine, I modified the Synology permissions to allow my user access to the media folder. Link to comment Share on other sites More sharing options...
c0utta 10 Posted November 19, 2018 Share Posted November 19, 2018 OK, I think the best way to do this is to mount the share when the Emby server starts, so we'll go ahead and create a mount point. Open a terminal on your Emby VM (I assume you're a root user) and type: mkdir /mnt/main_nas mount -t cifs -o guest //main_nas/media/movies /mnt/main_nas Don't be surprised if this doesn't work first time, but I'm trying to mount guest access first. Let me know how you go. Cheers Link to comment Share on other sites More sharing options...
amazonacrobat 0 Posted November 20, 2018 Author Share Posted November 20, 2018 (edited) OK, I think the best way to do this is to mount the share when the Emby server starts, so we'll go ahead and create a mount point. Open a terminal on your Emby VM (I assume you're a root user) and type: mkdir /mnt/main_nas mount -t cifs -o guest //main_nas/media/movies /mnt/main_nas Don't be surprised if this doesn't work first time, but I'm trying to mount guest access first. Let me know how you go. Cheers the mkdir was successful. Mounting was not. I am currently double checking my Synology settings just to make sure I got everything correct on that end. If "guest" is in reference to the guest user Synology has available, I disabled that on the device. I tried replacing that with "MediaServerVM", it failed. "MediaServerVM" is the Synology user I created to act as the robo-user. mediaserver@MediaServerVM:~$ sudo mount -t cifs -o guest //main_nas/media/Movies /mnt/main_nas mount: wrong fs type, bad option, bad superblock on //main_nas/media/Movies, missing codepage or helper program, or other error (for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program) In some cases useful info is found in syslog - try dmesg | tail or so. Edited November 20, 2018 by amazonacrobat Link to comment Share on other sites More sharing options...
c0utta 10 Posted November 21, 2018 Share Posted November 21, 2018 This message is given when the OS thinks that host isn't the correct file system. It could be the version of Samba too. If you navigate via Nautilus to the Synology NAS share, and then go to terminal and just type "mount". This will list out the mount point that you created in Nautilus. Cheers Link to comment Share on other sites More sharing options...
c0utta 10 Posted November 21, 2018 Share Posted November 21, 2018 Also, have a read of this: https://emby.media/community/index.php?/topic/54055-access-smb-share-and-add-it-to-a-library/ One interesting point is related to guest access. Link to comment Share on other sites More sharing options...
Jafterdark 0 Posted November 23, 2018 Share Posted November 23, 2018 (edited) Sorry posted in the wrong form Edited November 23, 2018 by Jafterdark Link to comment Share on other sites More sharing options...
c0utta 10 Posted November 23, 2018 Share Posted November 23, 2018 amazonacrobat is running Emby on ESXi, not Docker. Good information though! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now