This is about Plex Media Server system and openSUSE 13.1
The installation is pretty simple so I want to focus on a issue that I face it.
With default installation, Plex daemon will run using plex user. But, if you plug an USB drive or an external hard drive, the Plex Scanner won’t be able to access its files. In the scanner log you will see messages like "Caught exception while scanning TV Shows: boost::filesystem::status: Permission denied".
So, what do I need to get Plex Server scanning external hard drive with NTFS file system ?
– Change Plex config to run with your user instead of plex user.
Open the /etc/sysconfig/PlexMediaServer file and change PLEX_USER=plex value to PLEX_USER=_yourusername.
I have also changed the values of User and Group in the /lib/systemd/system/plexmediaserver.service file.
Finally, I have changed the files owner of Plex system. Go to /var/lib directory and execute: chown -R your_username.users plexmediaserver
That's it! Just restart the Plex service and now you will be able to add your Movies and TV Shows stored in your NTFS external hard drive.
There's another approach that consist you to edit your fstab and create a mount point for your device with correct permissions and bla bla bla. I don't like it.
Some bits about the installation:
- To download it, go to plex.tv and choose Fedora. Yes, there is not openSUSE RPM but Fedora version works fine. Proceed with the installation using rpm or zypper command line.
- To start and stop the service go to /etc/init.d/ directory and execute ./plexmediaserver [start | stop] as root user.
- You can see all the log files at /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Logs.
- You have to open the port 32400 TCP and UDP. Using the YaST Firewall select 'Allowed Services' in left pane, click Advanced and fill the form with TCP and UDP ports 32400.