Raspberry & NAS

Hey guys. I installed Plex Media Server on my Raspberry 3 and it works fine with local files. Ive got two NAS devices i want to mount in plex tho which isnt working.

I already tried mounting the NAS folders via SSH which was unsuccessful. I also tried to direclty enter the UNC path in plex while adding librarys. I also tried mapping the NAS folders to a drive letter within Windows and mount it via SSH on the raspberry.

Suggestionswould be appreciated

Just use the normal Windows network share protocol, called Samba in the Linux world. I have to assume that you have already created the correct Windows shares on your NAS? So just follow this tutorial to add the shares to your RPi:

UPDATE: IF I MOVE NEW FILES TO THE TV SERIES NAS SHARE THEY SHOW UP IN PLEX BUT THE ALREADY EXISTING DATA WONT SHOW UP
Thanks for your reply. I got it to work with my Movies folder. I cant get my “TV Series” folder to work tho. My TV folder is on another HDD/NAS share. Maybe thats the problem?

https://gyazo.com/02324b444bf3aa9d689765b2bca7f75c

Ive got a mount via “/media/Serien” and “/mnt/Serien”. I can see the folders/TV Series names but there are no files within that folder in plex. On my PC/NAS the files are there.

Please show us your /etc/fstab entries for this share. It’s a Linux permission problem. Linux user plex is not allowed to read the files in the show directories.

Thank you for your answer.

/media/Plex works perfectly fine. Everytime i add a movie to the NAS Share it shows up in PLEX. “Serien/TV Shows” just loads/shows files when i copy them to the NAS again.

Its the same when i use the NAS name instead of the ip

I also tried to mount the TV Series into other directorys/mounts but it stays the same. I also tried setting full rights via chmod. no changes

PARTUUID=938f8ff4-01  /boot           vfat    defaults          0       2
PARTUUID=938f8ff4-02  /               ext4    defaults,noatime  0       1
# a swapfile is not a swap partition, no line here
#   use  dphys-swapfile swap[on|off]  for that
//192.168.0.xxx/Moviez /media/Plex cifs guest 0 0
//192.168.0.xxx/Serien /media/Serien cifs guest 0 0

Please add the suggested mount options from the tutorial:

//192.168.0.xxx/Moviez /media/Plex cifs auto,defaults,nofail,uid=plex,guest 0 0
//192.168.0.xxx/Serien /media/Serien cifs auto,defaults,nofail,uid=plex,guest 0 0

Edit: if this does not help try to add the forceuid option to the second entry.

It wont work either. It continues to work with the “Moviez” folder/share but not with the “Serien/TV” folder. I literally tried everything and everything works fine with “Moviez” but nothing with “Serien/TV”.

As soon as i add new files it works fine. If i change a TV series folder name the new name also shows up in PLEX library scan but no files.

DF also shows that the “Serien” folder is mounted and 9% are used.

//QNAP/Moviez 3889934660 449130876 3440803784 12% /media/Plex
//QNAP/Serien 3889934660 320990908 3568943752 9% /media/Serien

OK. Second idea: plex thinks the files in the second directory have been deleted. Easy fix: (1) perform “Empty Trash” on your Plex Series Library in the web client (2) global “Empty Trash” next to Libraries (3) Optimize Database (4) Scan Library Files on your Series library.

Hello. It worked. I deleted the whole TV library and gave new ownership to my NAS user on the windows machine. Thank you for your help.

Only little problem im having now: I cant get the shares to be mounted permanently. Is there a way so permanently mount it via “guest”?

i tried the following which doenst work after a reboot:

sudo mount -t cifs -o user=plex,pass=xxx,rw,iocharset=utf8,file_mode=0777,dir_mode=0777,noperm //QNAP/Moviez /media/Plex

The entries in /etc/fstab with the auto options ensure that the drives are mounted automatically IF the network is available at startup. If the network is down at this moment just mount the drives later manually, e.g. sudo mount /media/Plex. That’s it.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.