[PhAzE] Plugins for Unraid 5/6


Recommended Posts

Hey Phaze, I poster on the Sonarr forums that Archer didn't update to include the new season, and Markus said "Upgrade mono, 3.10 or higher is required (3.8 has some ugly bugs)."... No idea what that means, but in my Sonarr it says that mono is 3.8.0. Is that something that is included in your plugin? Thanks for alll the hard work you do!! Thanks!

 

Here is my post on Sonarr:

https://forums.sonarr.tv/t/new-season-of-archer-doesnt-show-up-in-sonarr/10481/1

Link to comment

This is a crosspost, as I'm not sure if it's an Unassigned Devices issue, or a plugin issue (of which all of my plugins are Phaze plugins), so here goes:

 

http://lime-technology.com/forum/index.php?topic=45807.msg465130#msg465130

 

My setup is basically that I have 1 "unassigned device" SSD, and on that disk, I install my various plugins (sabnzbd et al.)

 

But I'm having this issue where every single time I restart the server/array, the plugins all run their annoying "wizards" as they are failing to read the config folder held on my SSD. I can see in my logs that the SSD (sdd1) is not mounting until after the plugins have tried to install.

 

So basically, does anyone have a suggestion on how to force phaze plugins to wait until the SSD is ready before trying to start up?  Is there a way of putting a forced delay in? (I'm not even sure if this'll work, given it could delay UD too).

 

Thanks!

 

Anyone have any suggestions? :(

 

 

Link to comment

Hey Phaze, I poster on the Sonarr forums that Archer didn't update to include the new season, and Markus said "Upgrade mono, 3.10 or higher is required (3.8 has some ugly bugs)."... No idea what that means, but in my Sonarr it says that mono is 3.8.0. Is that something that is included in your plugin? Thanks for alll the hard work you do!! Thanks!

 

Here is my post on Sonarr:

https://forums.sonarr.tv/t/new-season-of-archer-doesnt-show-up-in-sonarr/10481/1

I'll see if I can compile 3.10 or whatever the latest one is, but I'm not available to work on that probably for a few days still.

Link to comment

Hey Phaze, I poster on the Sonarr forums that Archer didn't update to include the new season, and Markus said "Upgrade mono, 3.10 or higher is required (3.8 has some ugly bugs)."... No idea what that means, but in my Sonarr it says that mono is 3.8.0. Is that something that is included in your plugin? Thanks for alll the hard work you do!! Thanks!

 

Here is my post on Sonarr:

https://forums.sonarr.tv/t/new-season-of-archer-doesnt-show-up-in-sonarr/10481/1

I'll see if I can compile 3.10 or whatever the latest one is, but I'm not available to work on that probably for a few days still.

 

 

Thanks brother!! Appreciate all you do!

Link to comment

Hey Guys,

 

FlexGet got an overhaul today.

 

- Updated to use the latest version

- Supports the new WEB user interface

- Allows changing of the web interface password

- Shows API auth token

- Allows generation of a new auth token

- When web is disabled, app is no longer daemonized, and shortcut file exists in /usr/bin/flexget to let you use it from command line like normal

- Updated PIP to version 8.1.1 (latest at the moment)

 

As well as a few other small plugin tweaks.  Let me know if it poses any new problems.

 

-=PhAzE=-

Link to comment

Wha? Another one?

 

Filebot update:

- Updated post to use urlencode and urldecode

- Updated shortcut file so that users who do not have sudo access, will run the app as themselves

 

Once again, let me know if this has other issues, i believe it is running well also.

 

-=PhAzE=-

Link to comment

Plex just released an updated PlexPass version.  While the plugin appears to grab the new version it does not actually install it.  I tried deleting the Plexmediaserver-PhAzE-0.9.16.5.1966-81a3bf0-x64.txz and md5 file from the flash drive and it does download it again. just does not actually install it even though it says it does.  If I look at the version reported by the server withing plex, it says it is Version 0.9.16.4 .

 

MD5 of downloaded file.  795cefffafcaf6662d48c32f050191e7  Not really sure if it is grabbing the older version and just naming it incorrectly.

 

Any thoughts?

 

Also something else I've noticed since I upgraded to UR 6.1.9 and the latest plugins.  The custom port switch does not stick if I stop and start the plex plugin.  I have check the box and hit the apply button to have it start with the custom port.

 

I did a fresh install of UR6.1.9 and fresh install of the plugins and rest all the settings as I did not want to bring any bogus setting from my old 5.1.6 install.

 

 

 

 

Plex Plugin Version: 2016.03.02.1

 

 

Capture of text from pluggin page after it istalled the new f0 version as shown in the code log below.

Array State:ONLINE

 

Installed Version:0.9.16.4.1911-ee6e505

 

New Version: 0.9.16.5.1966-81a3bf0

 

 

Log after I deleted the code from the plex file from the cache and let it download it again.

 

2016-04-20 21:51:05 [iNFO] Start OK!
2016-04-20 21:51:55 [iNFO] *** Apply - Enable Initiated ***
2016-04-20 21:51:55 [iNFO] Stopping Plex Media Server...
2016-04-20 21:51:56 [iNFO] Syncing application and plugin config files
2016-04-20 21:51:56 [iNFO] Updating plugin config file
2016-04-20 21:51:56 [iNFO] Stop OK!
2016-04-20 21:51:57 [iNFO] Updating settings
2016-04-20 21:51:57 [iNFO] Updating plugin config file
2016-04-20 21:51:57 [iNFO] Starting Plex Media Server...
2016-04-20 21:51:57 [iNFO] Updating dependencies
2016-04-20 21:51:57 [iNFO] No dependencies required for this application
2016-04-20 21:51:57 [iNFO] Updating export file
2016-04-20 21:51:57 [iNFO] Updating shorcut file
2016-04-20 21:51:57 [iNFO] Updating application directories
2016-04-20 21:51:57 [iNFO] Updating application config file
2016-04-20 21:51:58 [iNFO] Start OK!
2016-04-20 21:57:29 [iNFO] *** Update Initiated ***
2016-04-20 21:57:29 [iNFO] Stopping Plex Media Server...
2016-04-20 21:57:30 [iNFO] Syncing application and plugin config files
2016-04-20 21:57:30 [iNFO] Updating plugin config file
2016-04-20 21:57:30 [iNFO] Stop OK!
2016-04-20 21:57:31 [iNFO] Installing Plex Media Server...
2016-04-20 21:57:32 [iNFO] Updating dependencies
2016-04-20 21:57:32 [iNFO] No dependencies required for this application
2016-04-20 21:57:32 [iNFO] Updating export file
2016-04-20 21:57:32 [iNFO] Updating shorcut file
2016-04-20 21:57:38 [iNFO] Latest version found: 0.9.16.5.1966-81a3bf0 - Checking USB for same install file
2016-04-20 21:57:38 [iNFO] No copy found on USB - Downloading install file and checking for MD5 file
2016-04-20 21:57:56 [iNFO] No MD5 file located - Attempting decompression integrity test
2016-04-20 21:58:04 [iNFO] Integrity of Plexmediaserver-PhAzE-0.9.16.5.1966-81a3bf0-x64.txz looks good - Proceeding with install
2016-04-20 21:58:04 [iNFO] Creating MD5 file
2016-04-20 21:58:14 [iNFO] Updating application directories
2016-04-20 21:58:14 [iNFO] Updating application config file
2016-04-20 21:58:14 [iNFO] Install OK!
2016-04-20 21:58:15 [iNFO] Starting Plex Media Server...
2016-04-20 21:58:15 [iNFO] Updating dependencies
2016-04-20 21:58:15 [iNFO] No dependencies required for this application
2016-04-20 21:58:15 [iNFO] Updating export file
2016-04-20 21:58:15 [iNFO] Updating shorcut file
2016-04-20 21:58:15 [iNFO] Updating application directories
2016-04-20 21:58:15 [iNFO] Updating application config file
2016-04-20 21:58:16 [iNFO] Start OK!
2016-04-20 22:02:02 [iNFO] *** Apply - Enable Initiated ***
2016-04-20 22:02:02 [iNFO] Stopping Plex Media Server...
2016-04-20 22:02:03 [iNFO] Syncing application and plugin config files
2016-04-20 22:02:03 [iNFO] Updating plugin config file
2016-04-20 22:02:03 [iNFO] Stop OK!
2016-04-20 22:02:04 [iNFO] Updating settings
2016-04-20 22:02:04 [iNFO] Updating plugin config file
2016-04-20 22:02:04 [iNFO] Starting Plex Media Server...
2016-04-20 22:02:04 [iNFO] Updating dependencies
2016-04-20 22:02:04 [iNFO] No dependencies required for this application
2016-04-20 22:02:04 [iNFO] Updating export file
2016-04-20 22:02:04 [iNFO] Updating shorcut file
2016-04-20 22:02:04 [iNFO] Updating application directories
2016-04-20 22:02:05 [iNFO] Updating application config file

Link to comment

Hey everyone,

 

Emby Server and Sonarr have been updated:

 

- Updated to Mono 4.2.3.4

- Updated POST to use urldecode/urlencode

 

I was able to test both briefly on Unraid 5 and 6 and both seemed to be in working order. Let me know if any new issues arise.

 

-=PhAzE=-

Link to comment

I had no issue updating my Plex server this morning either. Try this:

 

- Uninstall the plugin from within the plex plugin settings page

- Delete the /boot/config/plugins/Plexmediaserver folder

- Delete the install folder (NOT the config/library folder)

- Reboot

- Install plugin again

- Set up settings in the plex plugin settings page (you're library and everything should still be there after this)

 

It sounds to me like one of the folders is stuck in a read only state, likely the one on /boot/config/plugins/Plexmediaserver.  This should give you a fully clean install. Plex doesn't use the PhAzE-Common folder so no need to delete that.

Link to comment

Updated sonarr plugin like normal and restarted it via the settings page.

 

Sonarr won't start, my config directory seems to be wiped out

 

Apr 21 16:26:23 Tower emhttp: cmd: /usr/local/emhttp/plugins/Sonarr/scripts/rc.Sonarr buttonstart
Apr 21 16:26:24 Tower sudo: root : TTY=unknown ; PWD=/ ; USER=nobody ; COMMAND=/bin/bash -c . /mnt/cache/.PhAzE-Common/Sonarr/startcfg.sh; mono-service -d:/usr/local/Sonarr -l:/var/run/Sonarr/Sonarr.pid /usr/local/Sonarr/NzbDrone.exe &
Apr 21 16:26:27 Tower sudo: root : TTY=unknown ; PWD=/usr/local/emhttp ; USER=nobody ; COMMAND=/bin/bash -c . /mnt/cache/.PhAzE-Common/Sonarr/startcfg.sh; mono /usr/local/Sonarr/NzbDrone.exe /?
Apr 21 16:26:28 Tower sudo: root : TTY=unknown ; PWD=/usr/local/emhttp ; USER=nobody ; COMMAND=/bin/bash -c . /mnt/cache/.PhAzE-Common/Sonarr/startcfg.sh; sqlite3 --version 2>&1
Apr 21 16:26:28 Tower sudo: root : TTY=unknown ; PWD=/usr/local/emhttp ; USER=nobody ; COMMAND=/bin/bash -c . /mnt/cache/.PhAzE-Common/Sonarr/startcfg.sh; mediainfo --version 2>&1
Apr 21 16:26:28 Tower sudo: root : TTY=unknown ; PWD=/usr/local/emhttp ; USER=nobody ; COMMAND=/bin/bash -c . /mnt/cache/.PhAzE-Common/Sonarr/startcfg.sh; curl --version 2>&1

 

Running unraid 6.1.9

Try a reboot first. The only change is a new mono file so your config shouldn't have been touched at all during the update. Rebooting will clear out old mono files.

Link to comment

 

- Delete the install folder (NOT the config/library folder)

 

 

When you say "- Delete the install folder (NOT the config/library folder)", are you talking about "/usr/local/plexmediaserver".  If not, what location are you referring to?

Yea so /usr/local/Plexmediaserver is the install folder that holds the Plex app files. You can delete the one, if for some reason that folder is messed up or read only, the update won't be able to install the new version over to of it.

Link to comment

Updated sonarr plugin like normal and restarted it via the settings page.

 

Sonarr won't start, my config directory seems to be wiped out

 

Apr 21 16:26:23 Tower emhttp: cmd: /usr/local/emhttp/plugins/Sonarr/scripts/rc.Sonarr buttonstart
Apr 21 16:26:24 Tower sudo: root : TTY=unknown ; PWD=/ ; USER=nobody ; COMMAND=/bin/bash -c . /mnt/cache/.PhAzE-Common/Sonarr/startcfg.sh; mono-service -d:/usr/local/Sonarr -l:/var/run/Sonarr/Sonarr.pid /usr/local/Sonarr/NzbDrone.exe &
Apr 21 16:26:27 Tower sudo: root : TTY=unknown ; PWD=/usr/local/emhttp ; USER=nobody ; COMMAND=/bin/bash -c . /mnt/cache/.PhAzE-Common/Sonarr/startcfg.sh; mono /usr/local/Sonarr/NzbDrone.exe /?
Apr 21 16:26:28 Tower sudo: root : TTY=unknown ; PWD=/usr/local/emhttp ; USER=nobody ; COMMAND=/bin/bash -c . /mnt/cache/.PhAzE-Common/Sonarr/startcfg.sh; sqlite3 --version 2>&1
Apr 21 16:26:28 Tower sudo: root : TTY=unknown ; PWD=/usr/local/emhttp ; USER=nobody ; COMMAND=/bin/bash -c . /mnt/cache/.PhAzE-Common/Sonarr/startcfg.sh; mediainfo --version 2>&1
Apr 21 16:26:28 Tower sudo: root : TTY=unknown ; PWD=/usr/local/emhttp ; USER=nobody ; COMMAND=/bin/bash -c . /mnt/cache/.PhAzE-Common/Sonarr/startcfg.sh; curl --version 2>&1

 

Running unraid 6.1.9

 

Same thing happened to me. Reboot fixed it.

Link to comment

Noticed something weird with Plex today.

 

I had 4 strange files under my / directory today. sign_in sign_in.1 sign_in.2 sign_in.3 all contained the same information, and all seemed to be some sort of HTML file related to Plex (numerous Plex references)

 

Did Plex make a recent change that has config files going to different places?

 

When I ssh'd into my unRAID server I found a copy of sign_in again on the root directory again. I think it got created when I updated Plex. My configuration files should be going to a place on /mnt/cache/ I'll if I can provide more info when I'm home this evening. I don't know that this is a problem, it's just odd to see Plex breaking out of the configuration location I set an creating files in root.

Link to comment

Sign_in is used by the plugin to send the sign in token for logging on with Plex pass credentials. It shouldn't be saved anywhere since curl just accessed it on Plex web site, or at worst saves a temp copy to the /tmp folder.

 

They're perfectly safe to delete. Check the permissions on your /tmp folder are correct and I'll see if there is any place on the plugin that might be saving a copy when it shouldn't be.

 

Link to comment

Running unRAID 5, since latest Sonarr plugin update, can't get to run on cache apps drive.  I'm trying to point the config folder to /mnt/cache/apps/Sonarr/config, which has been working fine all this time.  After applying the changes, install error occurs. Here is the log:

2016-04-22 13:58:34 [iNFO]	*** Apply - Enable Initiated ***
2016-04-22 13:58:34 [iNFO]	Stopping Sonarr...
2016-04-22 13:58:34 [iNFO]	Stop OK: Not installed 
2016-04-22 13:58:35 [iNFO]	Updating settings
2016-04-22 13:58:35 [iNFO]	Installing Sonarr...
2016-04-22 13:58:36 [iNFO]	Updating dependencies
2016-04-22 13:58:36 [iNFO]	Dependency install file has correct MD5
2016-04-22 13:58:36 [iNFO]	Using /mnt/cache/.PhAzE-Common for dependency directory
2016-04-22 13:58:37 [iNFO]	Dependencies updated successfully
2016-04-22 13:58:37 [iNFO]	Updating Mono
2016-04-22 13:58:37 [iNFO]	Mono install file has correct MD5
2016-04-22 13:58:37 [iNFO]	Mono updated successfully
2016-04-22 13:58:37 [iNFO]	Updating export file
2016-04-22 13:58:37 [iNFO]	Updating shorcut file
2016-04-22 13:58:41 [WARNING]	Unable to get latest version from online - Checking USB for any install file
2016-04-22 13:58:41 [ERROR]	Install failed: Install file missing 

 

I tried uninstalling Sonarr, rebooting, starting from scratch, no dice.  Only works if I leave config dir defaults (i.e. RAM installation).

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.