October 4, 201114 yr Author @aiden is this "/mnt/cache/.apps/plex" an existing path? if yes are the rights set to "nobody"?
October 4, 201114 yr @aiden is this "/mnt/cache/.apps/plex" an existing path? if yes are the rights set to "nobody"? Even if it does exist you should be chown'ing the directory for him via the plugin. My SAB, Sickbeard, and Coucpotato unMenu packages do just that if the user is installing them under a 5.0 system.
October 4, 201114 yr @aiden is this "/mnt/cache/.apps/plex" an existing path? if yes are the rights set to "nobody"? Even if it does exist you should be chown'ing the directory for him via the plugin. My SAB, Sickbeard, and Coucpotato unMenu packages do just that if the user is installing them under a 5.0 system. I didn't even think about folder permissions. It just wasn't ever a problem in 4.7 so I don't have the habit of checking that yet. I'm sure that's all it is.
October 4, 201114 yr @aiden is this "/mnt/cache/.apps/plex" an existing path? if yes are the rights set to "nobody"? I tried "chown nobody /mnt/cache/.apps/plex" but still get the same error. And yes, the path exists. It would be great if there was some logging I could check to see what is going on.
October 5, 201114 yr @aiden is this "/mnt/cache/.apps/plex" an existing path? if yes are the rights set to "nobody"? I tried "chown nobody /mnt/cache/.apps/plex" but still get the same error. And yes, the path exists. It would be great if there was some logging I could check to see what is going on. try chown nobody:users /mnt/cache/.apps/plex
October 5, 201114 yr Tried installing this plugin and I get: (beta 12a) root@Tower:/boot/config/plugins# installplg /boot/config/plugin/plex-0.9.3.5-noarch-0.2ds.plg installing plugin: plex-0.9.3.5-noarch-0.2ds Warning: simplexml_load_file(): I/O warning : failed to load external entity "/boot/config/plugin/plex-0.9.3.5-noarch-0.2ds.plg" in /usr/local/sbin/installplg on line 13 xml parse error
October 5, 201114 yr Author could reproduce it. installing plugin: plex-0.9.3.5-noarch-0.4ds Warning: simplexml_load_file(): I/O warning : failed to load external entity "plex-0.9.3.5-noarch-0.4ds.plg" in /usr/local/sbin/installplg on line 13 xml parse error I was in the wrong directory. If this file exists "/boot/config/plugin/plex-0.9.3.5-noarch-0.2ds.plg" there should be no Problem.
October 5, 201114 yr try chown nobody:users /mnt/cache/.apps/plex Tried this, but still no joy. Is there any more verbose logging I could enable so I can see a more detailed error code?
October 5, 201114 yr Can someone tell me how I connect to this. what's the port no. ? The default port is 32400. This is something that needs to be in this package. There needs to be a link to the plex media server page when plex is enabled.
October 6, 201114 yr Author This is something that needs to be in this package. There needs to be a link to the plex media server page when plex is enabled. If Plex is running, then there is a link on the settings Page.
October 6, 201114 yr Author try chown nobody:users /mnt/cache/.apps/plex Tried this, but still no joy. Is there any more verbose logging I could enable so I can see a more detailed error code? Which version are you using? 0.2 or 0.4 whats the output of: cat /boot/config/plugins/plex/plex.cfg If RUNAS=plex, then delete the plex.cfg and install version 0.4 again. or edit "plex" to "nobody"
October 6, 201114 yr Which version are you using? 0.2 or 0.4 0.4... latest version from the first post whats the output of: cat /boot/config/plugins/plex/plex.cfg If RUNAS=plex, then delete the plex.cfg and install version 0.4 again. or edit "plex" to "nobody" Output of plex.cfg: # plex configuration SERVICE="disable" PLEX_INSTALLDIR="/usr/local/plex" PLEX_LIBRARYDIR="/mnt/cache/.apps/plex" PLEX_TMPDIR="/mnt/cache/.apps/plex/tmp" RUNAS="nobody" The ONLY log information I can find is this one line in the syslog when I try to enable the plugin: Oct 6 17:41:59 Vault sudo: root : TTY=unknown ; PWD=/ ; USER=nobody ; COMMAND=/usr/local/bin/plex.sh
October 6, 201114 yr This is something that needs to be in this package. There needs to be a link to the plex media server page when plex is enabled. If Plex is running, then there is a link on the settings Page. I should have assumed that, but since I haven't actually seen it running yet, I didn't know the link was there. Sorry for the confusion.
October 7, 201114 yr Author Output of plex.cfg: # plex configuration SERVICE="disable" PLEX_INSTALLDIR="/usr/local/plex" PLEX_LIBRARYDIR="/mnt/cache/.apps/plex" PLEX_TMPDIR="/mnt/cache/.apps/plex/tmp" RUNAS="nobody" stupid question, but have you put the "enable plex media server" drop down to yes? from your plex.cfg it doesn't seem so. (SERVICE="disable")
October 7, 201114 yr stupid question, but have you put the "enable plex media server" drop down to yes? from your plex.cfg it doesn't seem so. (SERVICE="disable") There are no stupid questions. I just happened to have it disabled at the time, because when I leave it enabled it tries to restart every hour. I get the "something maybe wrong" message any time I try to enable it, and do not get a link indicating it is running.
October 7, 201114 yr Author can change the Library destination, to an unused path. maybe /mnt/cache/.apps/plex_test to see if it starts with a new Library?
October 7, 201114 yr can change the Library destination, to an unused path. maybe /mnt/cache/.apps/plex_test to see if it starts with a new Library? Same error.
October 9, 201114 yr whats the output of ls -al /mnt/cache/.apps ls -al /mnt/cache/ root@Vault:~# ls -al /mnt/cache/.apps total 0 drwxr-xr-x 5 nobody root 128 Oct 7 17:54 ./ drwxrwx--- 5 nobody users 104 Oct 4 04:34 ../ drwxr-xr-x 4 nobody users 96 Oct 3 21:53 plex/ drwxrwx--- 4 nobody users 128 Oct 5 22:11 sabnzbd/ drwxrwx--- 4 nobody users 216 Oct 6 20:11 sickbeard/ root@Vault:~# ls -al /mnt/cache/ total 0 drwxrwx--- 5 nobody users 104 Oct 4 04:34 ./ drwxr-xr-x 11 root root 0 Oct 9 12:18 ../ drwxr-xr-x 5 nobody root 128 Oct 7 17:54 .apps/
October 9, 201114 yr Author maybe its because .apps has the group root try chown nobody:users /mnt/cache/.apps/
October 9, 201114 yr maybe its because .apps has the group root try chown nobody:users /mnt/cache/.apps/ Still not working. Does it have to do with the permissions on the directories? Look at the difference between the sabnzbd and sickbeard permissions versus the plex directory... drwxr-xr-x 4 nobody users 96 Oct 3 21:53 plex/ drwxrwx--- 4 nobody users 128 Oct 5 22:11 sabnzbd/ drwxrwx--- 4 nobody users 216 Oct 6 20:11 sickbeard/
October 9, 201114 yr what happens if you do: /etc/rc.d/rc.plex start root@Vault:~# /etc/rc.d/rc.plex start Starting Plex! Check 1: Plex has NOT started yet, something is maybe wrong! Check 2: Plex has NOT started yet, something is maybe wrong! Check 3: Plex has NOT started yet, something is maybe wrong! Check 4: Plex has NOT started yet, something is maybe wrong! Check 5: Plex has NOT started yet, something is maybe wrong!
Archived
This topic is now archived and is closed to further replies.