Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[PhAzE] Plugins for Unraid 5/6

Featured Replies

OK, I didn't realize a "share" is just a named folder on my HDD array.  I created a folder on my disk 1 drive and changed the install and config directory to these locations when attempting to install PMS plugin.  The only thing I seem not to be able to change is the Transcode Directory which is giving me an error upon install:

 

WARNING: Your transcode directory is located in RAM. This will bloat your server's RAM usage and could cause instability problems. It is recommended to move this folder to a physical hard drive.

 

What should I do about this one?

 

If your config directory is /mnt/disk1/Plex

Then make your transcode directory /mnt/disk1/Plex/tmp

 

Sent from my Nexus 7 using Tapatalk

 

Thanks, This worked!

  • Replies 3.6k
  • Views 682.3k
  • Created
  • Last Reply

I installed the Plex plg but after every reboot the Plugin settings page says Plex not installed. How do I get it to automatically install and run on reboot?

I installed the Plex plg but after every reboot the Plugin settings page says Plex not installed. How do I get it to automatically install and run on reboot?

 

Make sure the config directory is on your cache or array disks, and not the USB. The USB folders are actually sitting in memory, so if you have your config stored there it gets wiped on each reboot.

 

You want your config to sit in /mnt/user/SOMETHING or /mnt/cache/SOMETHING where SOMETHING can be any share you want to create.

You mean config or the temp and library etc? That's on my cache drive. And the plug is in boot/config/plugins But it won't work on reboot.

You mean config or the temp and library etc? That's on my cache drive. And the plug is in boot/config/plugins But it won't work on reboot.

 

Here is a screenshot of mine:

 

29asbja.png

 

As you can see, the install directory is /usr/local, but the other two folders are using /mnt/user/cacheonly folders. It also clearly states that my settings will survive a reboot. I'd suggest you compare yours to mine and make sure you see the two messages on the left (config will survive reboot and transcode is on a physical drive).

 

 

  • Author

I installed the Plex plg but after every reboot the Plugin settings page says Plex not installed. How do I get it to automatically install and run on reboot?

That should automatically happen as long as you have "enabled" set to yes. After a reboot, it will try to start, discover its not installed and runs the install function, then continue to start it.

 

The only way this won't happen would be if your plugin folder has read only access and the enable setting can't be saved.

PhAzE, do you plan to do a plugin for nzbget?

Overbyrn's nzbget plugin is still at 13-1028 as he is busy with moving to DC. Would be great if someone can take over, as there is a 14.0 testing branch already now.

 

Sent from my SM-N9005 using Tapatalk

 

 

  • Author

I've been pretty busy lately with ... well life in general, but i'll take a look once I get some free time for sure.

As you can see, the install directory is /usr/local, but the other two folders are using /mnt/user/cacheonly folders. It also clearly states that my settings will survive a reboot. I'd suggest you compare yours to mine and make sure you see the two messages on the left (config will survive reboot and transcode is on a physical drive).

 

Here is my screen shot.

 

unraid.jpg.d3205c5dc8f45b7be085c81ec486757f.jpg

Here is my screen shot.
I don't have a clue as to what is wrong, but may I suggest pushing the big blue button to update the plugin and see if that changes the symptoms? It would appear you are MANY versions behind.

I tried to manually install and I get install failed. Following are the entries in syslog when I press the button.

 

Aug  3 20:43:12 iServe last message repeated 4 times
Aug  3 20:44:42 iServe last message repeated 3 times
Aug  3 20:46:12 iServe last message repeated 3 times
Aug  3 20:46:42 iServe avahi-daemon[2651]: Received response from host 192.168.1.1 with invalid source port 32768 on interface 'eth0.0' (Network)
Aug  3 20:46:53 iServe sudo:     root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/bash -c . /boot/config/plugins/plexmediaserver/startcfg.sh; /usr/local/plexmediaserver/"Plex Media Server" --version
Aug  3 20:47:12 iServe avahi-daemon[2651]: Received response from host 192.168.1.1 with invalid source port 32768 on interface 'eth0.0' (Network)
Aug  3 20:47:31 iServe sudo:     root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/bash -c . /boot/config/plugins/plexmediaserver/startcfg.sh; /usr/local/plexmediaserver/"Plex Media Server" --version
Aug  3 20:47:42 iServe avahi-daemon[2651]: Received response from host 192.168.1.1 with invalid source port 32768 on interface 'eth0.0' (Network)
Aug  3 20:48:35 iServe last message repeated 2 times

  • Author

I tried to manually install and I get install failed. Following are the entries in syslog when I press the button.

 

Aug  3 20:43:12 iServe last message repeated 4 times
Aug  3 20:44:42 iServe last message repeated 3 times
Aug  3 20:46:12 iServe last message repeated 3 times
Aug  3 20:46:42 iServe avahi-daemon[2651]: Received response from host 192.168.1.1 with invalid source port 32768 on interface 'eth0.0' (Network)
Aug  3 20:46:53 iServe sudo:     root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/bash -c . /boot/config/plugins/plexmediaserver/startcfg.sh; /usr/local/plexmediaserver/"Plex Media Server" --version
Aug  3 20:47:12 iServe avahi-daemon[2651]: Received response from host 192.168.1.1 with invalid source port 32768 on interface 'eth0.0' (Network)
Aug  3 20:47:31 iServe sudo:     root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/bash -c . /boot/config/plugins/plexmediaserver/startcfg.sh; /usr/local/plexmediaserver/"Plex Media Server" --version
Aug  3 20:47:42 iServe avahi-daemon[2651]: Received response from host 192.168.1.1 with invalid source port 32768 on interface 'eth0.0' (Network)
Aug  3 20:48:35 iServe last message repeated 2 times

Download the plugin from the first post and place it in your plugins folder then reboot your server.

 

Is the problem that it won't install?

  • Author

I tried to manually install and I get install failed. Following are the entries in syslog when I press the button.

 

Aug  3 20:43:12 iServe last message repeated 4 times
Aug  3 20:44:42 iServe last message repeated 3 times
Aug  3 20:46:12 iServe last message repeated 3 times
Aug  3 20:46:42 iServe avahi-daemon[2651]: Received response from host 192.168.1.1 with invalid source port 32768 on interface 'eth0.0' (Network)
Aug  3 20:46:53 iServe sudo:     root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/bash -c . /boot/config/plugins/plexmediaserver/startcfg.sh; /usr/local/plexmediaserver/"Plex Media Server" --version
Aug  3 20:47:12 iServe avahi-daemon[2651]: Received response from host 192.168.1.1 with invalid source port 32768 on interface 'eth0.0' (Network)
Aug  3 20:47:31 iServe sudo:     root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/bash -c . /boot/config/plugins/plexmediaserver/startcfg.sh; /usr/local/plexmediaserver/"Plex Media Server" --version
Aug  3 20:47:42 iServe avahi-daemon[2651]: Received response from host 192.168.1.1 with invalid source port 32768 on interface 'eth0.0' (Network)
Aug  3 20:48:35 iServe last message repeated 2 times

Your error message states a problem with the source port. There must be another app installed using that port because it's the default one used by Plex and it can't be changed. Can you list all the plugins you have on your unraid server?

 

Cancel that, the port error is something else because Plex uses port 32400.  Still, list the plugins/apps you use on unraid and we can see what may be conflicting. Worse case you can edit the go script to start the app after a reboot. This is the first case I've seem where the app just won't start after a reboot but works manually.

Firstly, big thanks to PhAzE for developing this plugin.  Installed it yesterday on my Unraid 5 server, no problems at all.  As someone with no Plex experience, I was delighted by how easy it was to set this all up.  Now I am busy renaming all my films, tv shows etc...  :)

 

So I have a general question about Plex and it's metadata collecting.  It seems to collect huge amounts of meta data.  In fact I tested Plex first with my audio collection and it generated about a gig of metadata.  I since deleted that library and will only use Plex for video streaming.  But that gig of metadata is still sitting there on the hard drive.  Is there some way to free this up since it is no longer needed?

 

Also, I noticed that when looking at disk usage for the metadata folders, the difference between "Size" and "Size on disk" is huge (see attachment).  I'm guessing this is something to do with disk sectors or something?!?  Still a huge difference...

 

Thanks guys.

Screenshot_9.png.d178ea374590f46a66ca373d40281a03.png

  • Author

Firstly, big thanks to PhAzE for developing this plugin.  Installed it yesterday on my Unraid 5 server, no problems at all.  As someone with no Plex experience, I was delighted by how easy it was to set this all up.  Now I am busy renaming all my films, tv shows etc...  :)

 

So I have a general question about Plex and it's metadata collecting.  It seems to collect huge amounts of meta data.  In fact I tested Plex first with my audio collection and it generated about a gig of metadata.  I since deleted that library and will only use Plex for video streaming.  But that gig of metadata is still sitting there on the hard drive.  Is there some way to free this up since it is no longer needed?

 

Also, I noticed that when looking at disk usage for the metadata folders, the difference between "Size" and "Size on disk" is huge (see attachment).  I'm guessing this is something to do with disk sectors or something?!?  Still a huge difference...

 

Thanks guys.

Size is based on 1000 bits per KB, size on disk is more accurate and is based on 1024 bits per KB. That's normal for all OSes. Usually though when it's that big of a difference it is because of disk sectors. Since the metadata is thousands of small files, they don't always full the sector completely which leaves some wasted space. Expand that up to GB with of data and you actually waste a lot of space on disk. But your pic shows a massive difference. Maybe music metadata is the worst for this.

 

As for deleting the saved metadata, I think you can do a forced refresh of the library and it should clear it, otherwise you may need to seller the metadata folder and just let it redownload your movie date again after.

Cancel that, the port error is something else because Plex uses port 32400.  Still, list the plugins/apps you use on unraid and we can see what may be conflicting. Worse case you can edit the go script to start the app after a reboot. This is the first case I've seem where the app just won't start after a reboot but works manually.

 

I started off with only Plex and Logitech Media Server. But the latter doesn't work. And while troubleshooting LMS one of the steps the author suggested was to remove all plugins and start with a fresh install of LMS only. So for that period, I had copied all the contents of the Plugins folder to some other location. And when LMS still didnt work I copied the stuff back in. Right now I have Plex, LMS and Transmission. Cannot even manually start Plex :(

  • Author

Cancel that, the port error is something else because Plex uses port 32400.  Still, list the plugins/apps you use on unraid and we can see what may be conflicting. Worse case you can edit the go script to start the app after a reboot. This is the first case I've seem where the app just won't start after a reboot but works manually.

 

I started off with only Plex and Logitech Media Server. But the latter doesn't work. And while troubleshooting LMS one of the steps the author suggested was to remove all plugins and start with a fresh install of LMS only. So for that period, I had copied all the contents of the Plugins folder to some other location. And when LMS still didnt work I copied the stuff back in. Right now I have Plex, LMS and Transmission. Cannot even manually start Plex :(

it definitely sounds like something is messed up with your unraid install. Have you updated to the latest release?

 

Also do you have unmenu or dynamix installed?

It's unraid 64bit. Not the very latest. The one prior to that. Yes I have unmenu

As for deleting the saved metadata, I think you can do a forced refresh of the library and it should clear it, otherwise you may need to seller the metadata folder and just let it redownload your movie date again after.

 

Thanks for the reply.  So worst case scenario I can just go in on the command line and get rid of the meta data folder, and then Plex will rebuild it automatically?

 

Cheers.

  • Author

It's unraid 64bit. Not the very latest. The one prior to that. Yes I have unmenu

OK, in the extra unmenu packages, does it show a package called GCC or G++ as being installed?

  • Author

As for deleting the saved metadata, I think you can do a forced refresh of the library and it should clear it, otherwise you may need to seller the metadata folder and just let it redownload your movie date again after.

 

Thanks for the reply.  So worst case scenario I can just go in on the command line and get rid of the meta data folder, and then Plex will rebuild it automatically?

 

Cheers.

yup, that's exactly what it will do. You may need to go into Plex and run "refresh" or "force full refresh" but I'm pretty sure it will do it automatically.

No. GCC is not installed.

  • Author

No. GCC is not installed.

can you locate the Plex log file and post it? 

I am looking in \\192.168.1.49\appdata\plex\Library\Plex Media Server\Logs

 

but I dont see anything that is modified at the time of going to press (when I press the start PMS button from Web UI, that is ! :) )

 

There is another sub folder called PMS Plugin logs and the last logs in that folder are also over a month old when Plex last worked.

 

I don't know if it could be related but my server conked due to a power failure around a month back. Then after restarting the server would not be accessible from the network whenever parity check was performed. I just recently managed (~2 days ago) to get things under control and complete a parity check without the server going offline. And since then PMS wont start.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.