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

Data Dir is now called config Dir, the rest you can leave blank unless you want to set them to a specific location.

 

thank you installed perfect!

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

Hey Phaze. I'm having a issue now with NZBDrone/Sonarr. It's randomly shutting down, got a fix for it?

EDIT: Got it working, had to remove the gcc-***-.tgz files.

 

Hello All,

 

i have successfully installed multiple of the PhAzE plugins with no issue however, when i attempt to install and start Plex, it fails with no real errors in the syslog. I have never installed plex before so i don't have any old files that's needed to be removed/cleaned

 

[installing the plex Plugin]

root@SERVER:~# installplg /boot/config/plugins/plexmediaserver.plg

...

file /var/log/plugins/plexmediaserver: successfully wrote INLINE file contents

plugin successfully installed

 

[starting the plugin]

Nov 30 14:00:18 SERVER sudo:    root : TTY=console ; PWD=/ ; USER=nobody ; COMMAND=/bin/bash -c . /boot/config/plugins/plexmediaserver/startcfg.sh; nohup /usr/local/plexmediaserver/"Plex Media Server" > /dev/null 2>&1 &

Nov 30 14:00:35 SERVER sudo:    root : TTY=console ; PWD=/usr/local/emhttp ; USER=nobody ; COMMAND=/bin/bash -c . /boot/config/plugins/plexmediaserver/startcfg.sh; /usr/local/plexmediaserver/"Plex Media Server" --version

 

[settings]

Instal Dir: /usr/local/plexmediaserver

Config: /mnt/cache/appdata/plex

Transcode: /mnt/cache/appdata/plextemp

port: 32400

Run as: nobody

Branch: Std

Show Mem: no

Show data: yes

Your config data will persist after a reboot

Your trancode directory is located on a physical drive

Plugin Version: 1.5.3

 

See screenshot for start screen and error

pkex_fail_start.jpg.a5a4e26e5fdeff3032be76374f80d35f.jpg

Hey Phaze. I'm having a issue now with NZBDrone/Sonarr. It's randomly shutting down, got a fix for it?

 

Getting the same issue as quoted. I used to be able to manually restart NZBDrone/Sonarr but now it refuses to start no matter what. I've tried reinstalling the plugin and rebooting but no results.

Subsonic Problem.

 

After working fine for months I return from vacation to find subsonic failed. Visiting the URL gives:

 

HTTP ERROR: 503

 

SERVICE_UNAVAILABLE

RequestURI=/

 

Powered by jetty://

 

No apps can connect either.

 

I've rebooted the box a couple of times. Stopped and restarted the service a few times, all to no avail.

 

Plugin is version 1.5.2 w/ subsonic V5.0.

 

Any ideas how I can rectify this without losing my library?

What version of unraid are you using?

Does the plugin show the app started, says "running"?

 

I just ran a test and both versions work, so it must be a problem with either your config file or the db.  If it's a problem with the DB, there likely isn't a way to save it, but if it's just a config problem its fixable.

 

First things first, set the run as user to 'root' and hit apply, then start the app.  After, set it back to 'nobody' and hit apply, then start it again. That will reset the permissions on the folders.  Does that start it?  also, depending on how large your DB is, you need to give it a little time to start after it says 'running'. Some large db's can take up to a minute.

 

What version of unraid are you using? 5.0.5

Does the plugin show the app started, says "running"? Yes

 

nobody>root>nobody still produces the Service Unavailable 503 page. :-(

DB isn't that large and hasn't changed since going from working to not working. Is there anyway I can force it to refresh the dependencies and sub files without deleting the database or config?

Hello,  Thank you for your hard work on these plugins... I have been able to install several without any problems on Unraid 5.05.  I installed Subsonic plg and configured my settings /paths.  When I try to installed I get an failed MD5 checksum.  I looked in the packages folder and found subsonic-.deb with 0kb.  Of course that is wrong and thought I might try deleting it.  After deletion I the file is added back when I click install, but continue to get 0kb file size and fail MD5.

 

Any suggestions?

 

Thank you again.

 

David

  • Author

Hey Phaze. I'm having a issue now with NZBDrone/Sonarr. It's randomly shutting down, got a fix for it?

 

Getting the same issue as quoted. I used to be able to manually restart NZBDrone/Sonarr but now it refuses to start no matter what. I've tried reinstalling the plugin and rebooting but no results.

Can you post any logs you may have? Syslog, install directories, unraid versions.

 

I've just updated mine at home, and it worked no problem, restart and everything.  I see they released an update today for mediainfo that fixed a disk scan freeze issue though, which may be related. 

  • Author

Hello,  Thank you for your hard work on these plugins... I have been able to install several without any problems on Unraid 5.05.  I installed Subsonic plg and configured my settings /paths.  When I try to installed I get an failed MD5 checksum.  I looked in the packages folder and found subsonic-.deb with 0kb.  Of course that is wrong and thought I might try deleting it.  After deletion I the file is added back when I click install, but continue to get 0kb file size and fail MD5.

 

Any suggestions?

 

Thank you again.

 

David

 

I am also getting this, the download URL was changed again. I'll update the plugin likely tonight.

  • Author

Subsonic Problem.

 

After working fine for months I return from vacation to find subsonic failed. Visiting the URL gives:

 

HTTP ERROR: 503

 

SERVICE_UNAVAILABLE

RequestURI=/

 

Powered by jetty://

 

No apps can connect either.

 

I've rebooted the box a couple of times. Stopped and restarted the service a few times, all to no avail.

 

Plugin is version 1.5.2 w/ subsonic V5.0.

 

Any ideas how I can rectify this without losing my library?

What version of unraid are you using?

Does the plugin show the app started, says "running"?

 

I just ran a test and both versions work, so it must be a problem with either your config file or the db.  If it's a problem with the DB, there likely isn't a way to save it, but if it's just a config problem its fixable.

 

First things first, set the run as user to 'root' and hit apply, then start the app.  After, set it back to 'nobody' and hit apply, then start it again. That will reset the permissions on the folders.  Does that start it?  also, depending on how large your DB is, you need to give it a little time to start after it says 'running'. Some large db's can take up to a minute.

 

What version of unraid are you using? 5.0.5

Does the plugin show the app started, says "running"? Yes

 

nobody>root>nobody still produces the Service Unavailable 503 page. :-(

DB isn't that large and hasn't changed since going from working to not working. Is there anyway I can force it to refresh the dependencies and sub files without deleting the database or config?

I will be updating the plugin tonight with an updated URL. After that update, try the following:

 

- Make sure subsonic is stopped, set enable subsonic to 'no'.  Reboot your PC (this will prevent subsonic from starting on reboot).

- Delete the subsonic.xxx.deb file from your USB/packages folder, and if your install directory is persistent, remove the files in it also (remember to nto touch files in your config directory or you will lose your database)

- press the install button for subsonic, this will redownload the .deb and install it fresh.

- change the port to something else and try to start it.

For those who have issues with nzbdrone

If you are using nzbget too,in unraid 5.0,make sure you're on zlib 1.2.3

Nzbdrone's website and download server seems to be slow nowadays,at least to my region,in south east Asia, so i dont know how is it in other places,but it might be that the update didnt complete correctly and so its not starting. Had that a couple of time,just had to be patient while it downloads the 3mb file for 15 minutes over my fibre connection lol

 

  • Author

Subsonic updated to v1.5.3

- Rather than checking the latest version from the subsonic.org website (which they change often) it now gets it straight from sourceforge, so its unlikely this will happen again

- recommended you delete the .deb in your packages folder, then hit install again after updating the plugin.

 

-=PhAzE=-

Just a heads up that my unRAID server with PhAze plugins exeriencing the same issues.

 

From this page: http://lime-technology.com/forum/index.php?topic=36527.45

 

Successfully updated from Unraid 6b5 to 6b12 but having the following issues.

 

-can't access settings page of Phaze Plugins (Plex, Sabnzbd, Sick-beard, subsonic) but they run fine. Will update plugins when updates are released. Also planning to try the docker versions of these plugins.

 

This is likely from the changes in the .page sections for beta-12. You can no longer have .page and .php files of the same name. The php code should be inside the .page file. Those 'plugins' will have to be updated to be beta-12 or higher compliant.  Please report the bug(s) to the plugin author(s).

  • Author

Are you running the new beta? None of my plugins have been updated to this change yet.

Yes, I'm on the new 6b12...

 

 

Can you post any logs you may have? Syslog, install directories, unraid versions.

 

I've just updated mine at home, and it worked no problem, restart and everything.  I see they released an update today for mediainfo that fixed a disk scan freeze issue though, which may be related.

 

It's strange, because now I am finding that Sonarr is responsive (as in, I can access the webgui) but the plugin page shows the plugin as "stopped". I'm just going to chalk it up to a change in the app causing a plugin page glitch and resume watching a bunch of TV! Thanks for the work you've put into these awesome plugins.

 

For reference:

Unraid version: 5.0.6

Sonarr version: 2.0.0.2341

 

I routinely see this error in the Sonarr logs, but it doesn't seem to have an effect on the show-grabbing:

 

XemService failed while processing [seriesUpdatedEvent]: Error getting response stream (ReadDone1): ReceiveFailure

 

System.Net.WebException: Error getting response stream (ReadDone1): ReceiveFailure ---> System.IO.IOException: EndRead failure ---> System.Net.Sockets.SocketException: Connection reset by peer
  at System.Net.Sockets.Socket.EndReceive (IAsyncResult result) [0x00000] in <filename unknown>:0 
  at System.Net.Sockets.NetworkStream.EndRead (IAsyncResult ar) [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at System.Net.Sockets.NetworkStream.EndRead (IAsyncResult ar) [0x00000] in <filename unknown>:0 
  at System.Net.WebConnection.ReadDone (IAsyncResult result) [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0 
  at System.Net.HttpWebRequest.GetResponse () [0x00000] in <filename unknown>:0 
  at NzbDrone.Common.Http.HttpClient.Execute (NzbDrone.Common.Http.HttpRequest request) [0x00000] in <filename unknown>:0 

  • Author

Those look like web server errors in the app, but socket is essentially your port. Make sure you don't use any conflicting ports with other apps. :)

Those look like web server errors in the app, but socket is essentially your port. Make sure you don't use any conflicting ports with other apps. :)

 

I am careful to not use conflicting ports, but thank you for the tip!

  • Author

Those look like web server errors in the app, but socket is essentially your port. Make sure you don't use any conflicting ports with other apps. :)

 

I am careful to not use conflicting ports, but thank you for the tip!

Also, the settings page shows 'stopped' because the PID was not created when it started up.  Strange, but on next reboot, that should fix itself.

  • Author

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.

Thanks PhAzE for the quick fix. Settings for your plugins are now accessible.

Thanks for the quick fix PhAzE.

can someone just clarify a bit more how to get PhAzE plugins to work with beta 12?

 

Do I just paste the code phaze supplied into the GO file on the unraid flash disk and then replace APPNAME with the app I'm using (and do this for each phaze app)? Do I leave the parenthesis ? for instance with the PlexApp would I use:

 

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

echo "" >> /usr/local/emhttp/plugins/(plexmediaserver.64bit)/(plexmediaserver.64bit).page

echo "---" >> /usr/local/emhttp/plugins/(plexmediaserver.64bit)/(plexmediaserver.64bit).page

echo "" >> /usr/local/emhttp/plugins/(plexmediaserver.64bit)/(plexmediaserver.64bit).page

cat /usr/local/emhttp/plugins/(plexmediaserver.64bit)/(plexmediaserver.64bit).php >> /usr/local/emhttp/plugins/(plexmediaserver.64bit)/(plexmediaserver.64bit).page

rm -f /usr/local/emhttp/plugins/(plexmediaserver.64bit)/(plexmediaserver.64bit).php

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

 

 

or

 

 

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

echo "" >> /usr/local/emhttp/plugins/plexmediaserver.64bit/plexmediaserver.64bit.page

echo "---" >> /usr/local/emhttp/plugins/plexmediaserver.64bit/plexmediaserver.64bit.page

echo "" >> /usr/local/emhttp/plugins/plexmediaserver.64bit/plexmediaserver.64bit.page

cat /usr/local/emhttp/plugins/plexmediaserver.64bit/plexmediaserver.64bit.php >> /usr/local/emhttp/plugins/plexmediaserver.64bit/plexmediaserver.64bit.page

rm -f /usr/local/emhttp/plugins/plexmediaserver.64bit/plexmediaserver.64bit.php

sed -i 's!\r!!g' /usr/local/emhttp/plugins/plexmediaserver.64bit/plexmediaserver.64bit.page

 

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

thanks that works!

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.