April 11, 201214 yr Then parsing the contents of the result to get the UID would be a good option. Even better: id -u unraid-plex
April 11, 201214 yr Author not good, tried it, had a process with 9994. root@nas:~# ps auxw | grep $(id -u unraid-plex) root 9994 1.1 0.0 0 0 ? S Mar31 182:34 [unraidd] 999 16272 0.1 1.6 248484 65224 ? Sl Apr11 0:38 ./Plex Media Server 999 16305 0.4 1.8 153264 75736 ? SNl Apr11 1:36 Plex Plug-in [com.plexapp.system] /mnt/cache/appdata/plex/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 0.9.6.1.23-2172153 /mnt/cache/appdata/plex/Library/Application Support/Plex Media Server/Plug-ins/System.bundle 999 16354 0.0 0.4 99748 16092 ? Sl Apr11 0:01 /usr/local/plex/Plex DLNA Server 999 16375 0.0 0.5 64288 20188 ? Sl Apr11 0:07 Plex Plug-in [com.plexapp.agents.themoviedb] /mnt/cache/appdata/plex/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 0.9.6.1.23-2172153 /mnt/cache/appdata/plex/Library/Application Support/Plex Media Server/Plug-ins/TheMovieDB.bundle 999 16378 0.0 0.5 61260 20392 ? Sl Apr11 0:01 Plex Plug-in [com.plexapp.plugins.spotify] /mnt/cache/appdata/plex/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 0.9.6.1.23-2172153 /mnt/cache/appdata/plex/Library/Application Support/Plex Media Server/Plug-ins/Spotify.bundle root 28737 0.0 0.0 2452 584 pts/0 S+ 01:25 0:00 grep 999 not the best idea to kill that one
April 11, 201214 yr Perhaps make sure your remove root from the results. Eg add: grep -Ev 'root|unraid'
April 12, 201214 yr I did have the same issue but instead opted to move plex to a cache/application drive. I didn't like Plex keeping all my drives busy 24/7 and wearing them out Got plex running on an SSD at the moment...makes for snappy metadata retrieval.
April 14, 201214 yr This works like a charm, thanks again. I prefer alternative section backgrounds and as my server is not running 24/7, I would prefer a "static" install of PMS on my cache drive. Maybe somebody has changed the plugin to that effect? Thank you
April 15, 201214 yr Author This works like a charm, thanks again. I prefer alternative section backgrounds and as my server is not running 24/7, I would prefer a "static" install of PMS on my cache drive. Maybe somebody has changed the plugin to that effect? Thank you could you explain why? all your meta data is stored on an location of your choice. why do you need the binarys on a persistent storage?
April 15, 201214 yr The section background files (e.g. movie-fanart.jpg) are part of the binaries. With the plugin those are stored in usr/local/plex/Resources/Graphics. Plex client uses these files for the secondary screen (e.g. All movies - Unwatched - Recently released - etc). I don't really like the backgrounds and the skin I'm using has no option to change them. It is possible to change them though, by ("manually") replacing the jpg's. However, my server is not on 24/7 so on every re-start of the server I get my "old" backgrounds. Hope this is clear. Please let me know in case I'm overlooking something.
April 15, 201214 yr The section background files (e.g. movie-fanart.jpg) are part of the binaries. With the plugin those are stored in usr/local/plex/Resources/Graphics Plugin doesn't do that, but you could opt to install plex on an app/cache drive instead (Change the plugin ..).
April 15, 201214 yr Thanks for your feedback. With some help from the author, I got this to work for me. Thanks a lot spidi!
April 15, 201214 yr I have been attempting to upgrade to this newest version of the plugin. The old installation was at: Installed folder: /mnt/disk1/plexapp Application Support folder: /mnt/disk1/plexapp/library Temporary folder: /mnt/disk1/plexapp.temp Run As User: root When upgrading, the instructions said to "remove old plugin." So I deleted these: /boot/config/plugins/plex-media-server-plugin-noarchxxxx.plg /boot/config/plugins/plex/ and did the installplg on the new plg file "plex-media-server-plugin-noarch-0.2-ds.plg" It went through it's stuff, but the old server kept coming up. I then went into /mnt/disk1/plexapp And deleted everything in there, leaving the "Application Support/" "Resources/" "data/" and "library/" in tact. Inside the unRaid web GUI, Plex appears under two tabs. It has an icon under the Settings tab, and another one under the "Utils" tab. Each icon goes to a different style of control for the media server. I have a hunch that there's only supposed to be one... Under the "Utils" tab > Plex Media Server, I've updated all my directories to the ones I mentioned above. I get a big pink banner across the top: "Errors detected: 1. Cannot find Plex Media Server binary in installation folder! You will be unable to start Plex Media Server until these errors are resolved. Note that clicking on Save Configuration will attempt to create all folders and initialization scripts required by this plugin." When I hit Save Configuration, after putting all the correct folder paths in there, I still get the same error, but it looks like this: "Errors detected: 1. Cannot find Plex Media Server binary in installation folder! 2. Cannot find Plex Media Server binary in installation folder! ...." I suspected it was a permissions problem. root@Dumbo:/mnt/disk1# chmod -R 777 plexapp Still come up with the same error. Also I've noticed that the Plex server DOES start up using the unRaid Web GUI "Settings" tab, but even with the correct path to the library, it starts up with an empty library and settings from my old installation. (/mnt/disk1/plexapp/library) syslog.zip
April 15, 201214 yr Author log says you installed the old plugin: Apr 14 16:31:18 Dumbo logger: installing plugin: plex-media-server-noarch-0.9.5.3b-ds If you only have this plex-media-server-plugin-noarch-0.2-ds.plg in the plugin directory, I would recommend an reboot.
April 15, 201214 yr hmmm. Here's new outputs after the system restart: root@Dumbo:/mnt/disk1/plexapp# ls /boot/config/plugins/ couchpotato/ sabnzbd/ couchpotato-0.5-i468-bw.plg* sabnzbd-0.4c-i468-bw.plg* plex/ sickbeard/ plex-media-server-plugin-noarch-0.2-ds.plg* sickbeard-0.4a-i468-1bw.plg* root@Dumbo:/mnt/disk1/plexapp# I've attached a ps -ef I've attached the updated syslog Looking in the log, I found that it did install the newer one: installing plugin: plex-media-server-plugin-noarch-0.2-ds But also uses the version of the server "/boot/config/plugins/plex/PlexMediaServer-0.9.5.3.309-524cf73-slackware131-i386.tar.bz2" I am able to run the PMS from webGUI > Settings > PMS Server box, but I'm not able to do much from the webGUI > Utils > PMS Settings. PMS is running, but my libraries are gone. There are no files in the /mnt/disk1/plexapp, and not much in any of the sub-folders. Does this newer version of PMS keep it's binaries in a different folder? What about why there are two ways to "control" PMS from the two different tabs in the unRaid webGUI? root@Dumbo:/mnt/disk1/plexapp/library# /etc/rc.d/rc.plex version v0.9.6.0.11-ba33da9 root@Dumbo:/mnt/disk1/plexapp/library# ps-ef.txt syslog.zip
April 15, 201214 yr Author that is not my plugin, thats stokkes's I think. mine is under settings -> Nettwork Services have you stokkes's *.tgz file under /boot/extra/ ?
April 15, 201214 yr Ok, cool. I'm going to stick with yours here as I think it's the newer of the two... so long as I/we can get it working. Thanks for helping btw. So, how can I get this puppy to realize I already have a library built up in: /mnt/disk1/plexapp/library ? Under /mnt/disk1/plexapp/library there are more folders: Application Support Plex Media Server/Cache, Logs, Plug-in Support, Plug-ins, Preferences.xml Plex <empty> Plex Media Library Cache, Media, Plug-in\ Support, Prefernces.xml, Logs, Metadata, Plug-ins, Scanners I'm able to get PMS running from your plugin Settings > Network Services > PMS, but no joy for the library.
April 15, 201214 yr Author there has to be a structure like this: root@nas:/mnt/cache/appdata/plex/Library/Application Support/Plex Media Server# ls -al total 9 drwxr-xr-x 9 unraid-plex users 296 2012-04-15 21:27 ./ drwxr-xr-x 3 unraid-plex users 88 2011-11-02 20:47 ../ drwxr-xr-x 3 unraid-plex users 80 2011-11-17 22:03 Cache/ drwxr-xr-x 3 unraid-plex users 432 2012-04-15 11:49 Logs/ drwxr-xr-x 3 unraid-plex users 80 2011-11-01 17:37 Media/ drwxr-xr-x 6 unraid-plex users 144 2011-11-01 17:41 Metadata/ drwxr-xr-x 7 unraid-plex users 200 2011-11-01 17:52 Plug-in\ Support/ drwxr-xr-x 30 unraid-plex users 1072 2012-04-15 19:08 Plug-ins/ -rw------- 1 unraid-plex users 563 2012-04-15 21:27 Preferences.xml drwxr-xr-x 2 unraid-plex users 80 2012-04-07 11:22 Scanners/ -rw-r--r-- 1 unraid-plex users 1237 2012-04-01 12:53 dlnaclientprofiles.xml
April 15, 201214 yr That did it. I just had to move the directories by hand. Thanks for the early morning weekend support. kudos!
April 25, 201214 yr Myplex transcoding is still crashing for me every couple of days. Has anyone been able to resolve this issue? If not, does anyone know how to set up something that will restart plex nightly? That way I do not have to manually restart plex every couple of days? Thanks
Archived
This topic is now archived and is closed to further replies.