Quantcast
Channel: Linux — Plex Forums
Viewing all articles
Browse latest Browse all 7311

Move Application Support Directory to Windows Server

$
0
0

Hello,

I currently have PMS running on a CentOS 7 VM in ESXi. I would like to move the application support directory to my Windows server. I have the network drive mounted to /mnt/winand my fstab entry looks like this:

//192.168.1.10/d$ /mnt/win cifs user,uid=plex,rw,suid,username=*****,password=************ 0 0

I changed the default location in /lib/systemd/system/plexmediaserver.service to look like this:

Environment="PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=/mnt/win/Application\ Data/Plex\ Media\ Server"

After changing the default application support dir, PMS will not start, giving me this systemctl status:

[root@media system]# systemctl status plexmediaserver.service -l 
plexmediaserver.service - Plex Media Server for Linux
   Loaded: loaded (/usr/lib/systemd/system/plexmediaserver.service; enabled)
   Active: failed (Result: start-limit) since Wed 2015-10-28 16:09:51 CET; 19min ago
  Process: 24184 ExecStartPre=/bin/sh -c /usr/bin/test -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" || /bin/mkdir -p "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" (code=exited, status=1/FAILURE)
 Main PID: 23568 (code=exited, status=0/SUCCESS)

Oct 28 16:09:48 media systemd[1]: Failed to start Plex Media Server for Linux.
Oct 28 16:09:48 media systemd[1]: Unit plexmediaserver.service entered failed state.
Oct 28 16:09:51 media systemd[1]: Stopping Plex Media Server for Linux...
Oct 28 16:09:51 media systemd[1]: Starting Plex Media Server for Linux...
Oct 28 16:09:51 media systemd[1]: plexmediaserver.service start request repeated too quickly, refusing to start.
Oct 28 16:09:51 media systemd[1]: Failed to start Plex Media Server for Linux.
Oct 28 16:09:51 media systemd[1]: Unit plexmediaserver.service entered failed state.

I'm pretty sure it's some kind of permissions issue, but I can't figure it out. Any help would be appreciated.


Viewing all articles
Browse latest Browse all 7311

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>