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

So, after looking at the new unraid beta 12, it seems if I update my plugins, all users under beta 12 will get broken plugins.  Also, since they are making changes on each beta release, it's getting hard to update them all constantly with the changes.  I will likely wait for the first release candidate before updating all 17 plugins for full compatibility. 

 

In the mean time, you can do the following to get any plugin working on beta 12 for now, You can set this in your GO script to automate it, but you need to add this for each plugin of mine you have that doesn't work on beta 12: (replace APPNAME with the name of the app plugin in lowercase)

 

cp -r /usr/local/emhttp/plugins/webGui/phaze.page /usr/local/emhttp/plugins/dynamix

echo "" >> /usr/local/emhttp/plugins/(APPNAME)/(APPNAME).page

echo "---" >> /usr/local/emhttp/plugins/(APPNAME)/(APPNAME).page

echo "" >> /usr/local/emhttp/plugins/(APPNAME)/(APPNAME).page

cat /usr/local/emhttp/plugins/(APPNAME)/(APPNAME).php >> /usr/local/emhttp/plugins/(APPNAME)/(APPNAME).page

rm -f /usr/local/emhttp/plugins/(APPNAME)/(APPNAME).php

sed -i 's!\r!!g' /usr/local/emhttp/plugins/(APPNAME)/(APPNAME).page

 

What this does is moves the page file out of the webGUI folder which no longer exists and into the dynamix folder which is now standard from unraid beta 12 and up.

It also copies the PHP page into the PAGE file since they no longer allow separate files.

Then it removes the PHP file since having it there will cause weirdness on the plugin page.

Then lastly, it clears out the ^M carrage file that windows left, which breaks the plugin from showing.

 

I'll have my version 2.0.0 plugins compatible with the RC / Final when it's closer to release but updating these plugins right now will make earlier beta users plugins inoperable.

 

Question. At this time I'm not planning on updating unRAID until 6.0 is in final. If you update your plugins at RC1 is this going to break them for those of us running 5.0.5/5.0.6?

Thanks for all the hard work on keeping these plugins up to date.

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

Hey Phaze, for some reason Plex, SAB, and Sonarr seem to be randomly stopping...and  Sonarr has come to a crawl when it comes to actually doing anything. Where do I start troubleshooting?

never mind. reboot fixed it.

Example:

 

### Fix plugins
cp -r /usr/local/emhttp/plugins/webGui/phaze.page /usr/local/emhttp/plugins/dynamix

echo "" >> /usr/local/emhttp/plugins/plexmediaserver/plexmediaserver.page 
echo "---" >> /usr/local/emhttp/plugins/plexmediaserver/plexmediaserver.page 
echo "" >> /usr/local/emhttp/plugins/plexmediaserver/plexmediaserver.page 
cat /usr/local/emhttp/plugins/plexmediaserver/plexmediaserver.php >> /usr/local/emhttp/plugins/plexmediaserver/plexmediaserver.page
rm -f /usr/local/emhttp/plugins/plexmediaserver/plexmediaserver.php
sed -i 's!\r!!g' /usr/local/emhttp/plugins/plexmediaserver/plexmediaserver.page

echo "" >> /usr/local/emhttp/plugins/apcupsd/apcupsd.page 
echo "---" >> /usr/local/emhttp/plugins/apcupsd/apcupsd.page 
echo "" >> /usr/local/emhttp/plugins/apcupsd/apcupsd.page 
cat /usr/local/emhttp/plugins/apcupsd/apcupsd.php >> /usr/local/emhttp/plugins/apcupsd/apcupsd.page
rm -f /usr/local/emhttp/plugins/apcupsd/apcupsd.php
sed -i 's!\r!!g' /usr/local/emhttp/plugins/apcupsd/apcupsd.page

 

I want to say thanks for this.

 

Following PhAzE's directions and using your code, I was able to get plex working again much easier then I had originally anticipated. 

 

For others looking to do this but unsure what to do the steps were were first navigate to Go file (under config on flash drive) then copy and past code (correcting plugin names) into Go file below existing code save then reboot.

  • Author

It's possible, I'm planning on having a look at beets first (overbyrn approved) but my first priority is getting everything unraid 6 ready and updated to my template 2.0.0.  After that i'll see if tvheadend is possible.

It's possible, I'm planning on having a look at beets first (overbyrn approved)

 

this makes me happy. :D

 

overbyrn's plugin had support for a lot of the common beets "plugins" but many have been added to beets and not reflected in overbyrn's plugin configuration page - it would be nice to have access to the full spectrum.

 

let me know if you need any user input/testing.

hi,

 

i've got a bit of a problem. i am using your plugins for quite some time and they always worked great. but now i did set up my unraid machine new and installed your plugins and now when i try to configure them with the webgui in unraid 6beta12 i just get a blank screen.

 

thanks for your help

  • Author

Check the previous page of this thread for the fix. Beta 12 breaks the GUI for most plugins, they aren't compatible with beta 12 yet.

oh :( i did not read that. sorry

but thanks it worked great

I installed the MediaBrowser for unraid5.  Thought everything was good to go... Then when I try to play a video, it doesn't .  Try another movie.  Same thing.    It works fine when MB3 server is installed on my PC.  So it's not video codec.   

 

My config dir. /mnt/cache/mb3server/ProgramData-Server

Cache dir. /mnt/cache/mediabrowser

 

Am I missing something?  Do I need to install addition video to be install on my unraid?

ok, I'm a little confused....  So many threads and forums explaining how to install the Plex plugins, etc...  Not sure if I've got this working correctly or not.

 

I've run unRAID v5.0.5 Pro for a while now without any problems.  I upgraded to v6.0 Beta 12 tonight.

 

Downloaded the Plex 64-bit from their site.  I placed "PlexMediaServer-0.9.11.5.774-760cb52-x64-UnRAID.txz" in the "\flash\config\plugins\" folder on my USB flash drive.

 

Downloaded Phaze's v1.5.3 Plugin and placed "plexmediaserver.64bit.plg" in the "\flash\config\plugins\" folder on my flash drive.

 

Rebooted server and started array.  I see the Phazer-Plex icon under Settings.  I know the GUI is broken but I don't know any command lines to either check to see if the plugin is working or if the plugin is started.

 

Any advice or help is greatly appreciated.

  • Author

Back one page is a script to fix the GUI that you put into your go script.

Back one page is a script to fix the GUI that you put into your go script.

 

Yep, that's in there.  I inserted it right below whatever was there by default.

 

Do I need the "PlexMediaServer-0.9.11.5.774-760cb52-x64-UnRAID.txz" file to stay in my plugins folder?

 

My Go file:

#!/bin/bash
# Start the Management Utility
/usr/local/sbin/emhttp &
cp -r /usr/local/emhttp/plugins/webGui/phaze.page /usr/local/emhttp/plugins/dynamix
echo "" >> /usr/local/emhttp/plugins/(plexmediaserver)/(plexmediaserver).page 
echo "---" >> /usr/local/emhttp/plugins/(plexmediaserver)/(plexmediaserver).page 
echo "" >> /usr/local/emhttp/plugins/(plexmediaserver)/(plexmediaserver).page 
cat /usr/local/emhttp/plugins/(plexmediaserver)/(plexmediaserver).php >> /usr/local/emhttp/plugins/(plexmediaserver)/(plexmediaserver).page
rm -f /usr/local/emhttp/plugins/(plexmediaserver)/(plexmediaserver).php
sed -i 's!\r!!g' /usr/local/emhttp/plugins/(plexmediaserver)/(plexmediaserver).page

 

EDIT:  OMG, I see my error.....  Dang "(" and ")" in my go file.  :(  Lemme fix and see what happens.

ok, 1 step closer.....

 

Plugin's configuration is now accessible via GUI.  However, I have some other issues.

 

1. On the left side under "Status" it states that it isn't installed.  When I click the Install button, I get an error message saying "Failed to download Plex install file.  Aborting installation."

 

2. Any changes to the configuration on the right side will not stay after I hit Apply or Done.  I have a Plex Pass and that login info won't stay either.

I installed the MediaBrowser for unraid5.  Thought everything was good to go... Then when I try to play a video, it doesn't .  Try another movie.  Same thing.    It works fine when MB3 server is installed on my PC.  So it's not video codec.   

 

My config dir. /mnt/cache/mb3server/ProgramData-Server

Cache dir. /mnt/cache/mediabrowser

 

Am I missing something?  Do I need to install addition video codec  to be install on my unraid?

 

 

Realized I had a typo.    Meant to say video doesn't work. 

I installed the MediaBrowser for unraid5.  Thought everything was good to go... Then when I try to play a video, it doesn't .  Try another movie.  Same thing.    It works fine when MB3 server is installed on my PC.  So it's not video codec.   

 

My config dir. /mnt/cache/mb3server/ProgramData-Server

Cache dir. /mnt/cache/mediabrowser

 

Am I missing something?  Do I need to install addition video codec  to be install on my unraid?

 

 

Realized I had a typo.    Meant to say video doesn't work. 

 

Do you need path substitution?

I installed the MediaBrowser for unraid5.  Thought everything was good to go... Then when I try to play a video, it doesn't .  Try another movie.  Same thing.    It works fine when MB3 server is installed on my PC.  So it's not video codec.   

 

My config dir. /mnt/cache/mb3server/ProgramData-Server

Cache dir. /mnt/cache/mediabrowser

 

Am I missing something?  Do I need to install addition video codec  to be install on my unraid?

 

 

Realized I had a typo.    Meant to say video doesn't work. 

 

Do you need path substitution?

 

I don't know what I need.  I just would like it to play.  Thought I might be missing something after the install and setup.   

  • Author

I'll check to see if it still includes ffmpeg, they may have removed that dependency now.

  • Author

 

 

ok, 1 step closer.....

 

Plugin's configuration is now accessible via GUI.  However, I have some other issues.

 

1. On the left side under "Status" it states that it isn't installed.  When I click the Install button, I get an error message saying "Failed to download Plex install file.  Aborting installation."

 

2. Any changes to the configuration on the right side will not stay after I hit Apply or Done.  I have a Plex Pass and that login info won't stay either.

 

Try deleting the txz file in case it was a bad download, then hit install again.

Try deleting the txz file in case it was a bad download, then hit install again.

 

I removed the txz file from the "\config\plugins\" folder and rebooted.

 

I brought the array on-line and then went to the settings page then to the Plex plugin page.

 

I get the same error message when I press the Install button.

 

Side note:

I've never been able to get any farther than this with unRAID v6.0.  Using unRAID v5.0.5, I can get plex installed but I have to re-enter and re-share the media sever every time it gets rebooted.

I'll check to see if it still includes ffmpeg, they may have removed that dependency now.

 

Cool. Thx.  Let me know.  :)

  • Author

I'll check to see if it still includes ffmpeg, they may have removed that dependency now.

 

Cool. Thx.  Let me know.  :)

Confirmed that it does include ffmpeg, I installed on a fresh unraid install with no problems, and the videos played just fine also.  You will need to check the applications log files, I saw your post on the mediabrowser forum, and luke linked you to a 'how to' so you can find the logs.

OK, I removed all Plex related plugins and rebooted.

I started the array

From a Putty console, I ran "mkdir /boot/extra"

I placed the "PlexMediaServer-0.9.11.5.774-760cb52-x64-UnRAID.txz" file in the "extra" directory.

I placed the "plexmediaserver.64bit.plg" in the config/plugins folder.

I changed into the boot/extra directory.

From the command line, I ran "installpkg PlexMediaServer-0.9.11.5.774-760cb52-x64-UnRAID.txz"

I stopped the array

I rebooted

Once the system came back up, I started the array

Went to the Settings page and saw that the Plex icon was now under Network Services

Entered the Plex add-on and configured it.

Plex is now up and running and streaming media.

 

I do have a subgroup called "PhAzE Plugins" but there isn't an icon under that area.

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.