[PhAzE] Plugins for Unraid 5/6


Recommended Posts

For whatever reason any time I reboot, NZBMegaSearch breaks. When I search for something it shows success but results are always 0. Connectivity shows a green checkmark, but it doesn't look like it's actually searching any of my providers.

 

Anyone seeing this issue?

 

2014-06-23 11:38:56,679 - megasearch - INFO - Overall search stats: [batman] [batman ] 0 0 0

2014-06-23 12:23:14,293 - megasearch - INFO - TYPE OF SEARCH: 1

2014-06-23 12:23:14,381 - TERMINAL_ERR - ERROR - Exception in thread Thread-13:

2014-06-23 12:23:14,381 - TERMINAL_ERR - ERROR - Traceback (most recent call last):

2014-06-23 12:23:14,381 - TERMINAL_ERR - ERROR -  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner

2014-06-23 12:23:14,381 - TERMINAL_ERR - ERROR -    self.run()

2014-06-23 12:23:14,381 - TERMINAL_ERR - ERROR -  File "/usr/lib/python2.6/threading.py", line 484, in run

2014-06-23 12:23:14,381 - TERMINAL_ERR - ERROR -    self.__target(*self.__args, **self.__kwargs)

2014-06-23 12:23:14,381 - TERMINAL_ERR - ERROR -  File "/usr/local/nzbmegasearch/SuggestionModule.py", line 102, in ask_predb

2014-06-23 12:23:14,381 - TERMINAL_ERR - ERROR -    for elem in tree.iter('item'):

2014-06-23 12:23:14,381 - TERMINAL_ERR - ERROR - AttributeError: iter

2014-06-23 12:23:14,692 - SearchModule - INFO - TS https://api.nzb.su 0.397297143936

2014-06-23 12:23:14,696 - TERMINAL_ERR - ERROR - Exception in thread Thread-15:

2014-06-23 12:23:14,696 - TERMINAL_ERR - ERROR - Traceback (most recent call last):

2014-06-23 12:23:14,697 - TERMINAL_ERR - ERROR -  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner

2014-06-23 12:23:14,697 - TERMINAL_ERR - ERROR -    self.run()

2014-06-23 12:23:14,697 - TERMINAL_ERR - ERROR -  File "/usr/lib/python2.6/threading.py", line 484, in run

2014-06-23 12:23:14,697 - TERMINAL_ERR - ERROR -    self.__target(*self.__args, **self.__kwargs)

2014-06-23 12:23:14,697 - TERMINAL_ERR - ERROR -  File "/usr/local/nzbmegasearch/SearchModule.py", line 236, in performSearchThread

2014-06-23 12:23:14,697 - TERMINAL_ERR - ERROR -    localResults = neededModule.search(queryString, cfg)

2014-06-23 12:23:14,697 - TERMINAL_ERR - ERROR -  File "/usr/local/nzbmegasearch/SearchModules/Newznab.py", line 89, in search

2014-06-23 12:23:14,697 - TERMINAL_ERR - ERROR -    parsed_data = self.parse_xmlsearch(urlParams, cfg['timeout'], cfg)

2014-06-23 12:23:14,697 - TERMINAL_ERR - ERROR -  File "/usr/local/nzbmegasearch/SearchModule.py", line 334, in parse_xmlsearch

2014-06-23 12:23:14,697 - TERMINAL_ERR - ERROR -    for elem in tree.iter('item'):

2014-06-23 12:23:14,697 - TERMINAL_ERR - ERROR - AttributeError: iter

It's possible because its using python 2.7.3 rather than python 2.6.  If you install python 2.6 you will break compatibility with other programs however.  First I would check on the nzbmegasearch support forums to see if anyone else has seen this and if they know what the problem is.  This one app in particular is very picky about versions of its dependencies (which is crappy) but I will look at getting the python install segregated so this can run 2.6.6 again at some point.

Link to comment

FYI - I just installed Dynamix UI on my unRAID and all your (PhAzE) plugins stopped showing up (transmission/sabnzbd/sickbeard/mylarplex).  They are all still working but they don't seem to be compatible with regards to the settings icons...

Strange, my plugins install the same way as influencer plugins, so this custom gui is likely not using the normal methods / locations to check for the .page files.  May want to ask about it on the dynamix thread to see if the dev knows why this would be.

Link to comment

I am trying to run NZBMegaSearch on unRaid 6 beta5, it starts but then stops, won't stay up, I keep seeing Phaze saying that it should be using 2.7.3 but the plugin clearly downloads 2.7.5 which apparently doesn't work, so how do I get Python down to 2.7.3 for NZBMegaSearch to work?

Link to comment

I am trying to run NZBMegaSearch on unRaid 6 beta5, it starts but then stops, won't stay up, I keep seeing Phaze saying that it should be using 2.7.3 but the plugin clearly downloads 2.7.5 which apparently doesn't work, so how do I get Python down to 2.7.3 for NZBMegaSearch to work?

2.7.3 for unraid 5 and 2.7.5 for unraid 6.

 

I haven't got my VM updated to beta 6 yet to test these out but will soon. Check in the logs to see if there are any errors showing.

Link to comment

I am trying to run NZBMegaSearch on unRaid 6 beta5, it starts but then stops, won't stay up, I keep seeing Phaze saying that it should be using 2.7.3 but the plugin clearly downloads 2.7.5 which apparently doesn't work, so how do I get Python down to 2.7.3 for NZBMegaSearch to work?

2.7.3 for unraid 5 and 2.7.5 for unraid 6.

 

I haven't got my VM updated to beta 6 yet to test these out but will soon. Check in the logs to see if there are any errors showing.

 

so after contacting RuudBurger the developer it turned out that I had some DB files missing, he provided them and I am back up and running without issue now on V6 Beta6, so its not the plugin :)

Link to comment

I am trying to run NZBMegaSearch on unRaid 6 beta5, it starts but then stops, won't stay up, I keep seeing Phaze saying that it should be using 2.7.3 but the plugin clearly downloads 2.7.5 which apparently doesn't work, so how do I get Python down to 2.7.3 for NZBMegaSearch to work?

2.7.3 for unraid 5 and 2.7.5 for unraid 6.

 

I haven't got my VM updated to beta 6 yet to test these out but will soon. Check in the logs to see if there are any errors showing.

 

so after contacting RuudBurger the developer it turned out that I had some DB files missing, he provided them and I am back up and running without issue now on V6 Beta6, so its not the plugin :)

Kewl, that's the news I like to hear :)

Link to comment

Love your plugin phase

 

would it possible to make a deluge plugin, the other one I see here somehow conflicts with your plugins. I think it's the version of python that is needed.

 

thanks

If I get some spare time, that was going to be the next one.

Link to comment

FYI - I just installed Dynamix UI on my unRAID and all your (PhAzE) plugins stopped showing up (transmission/sabnzbd/sickbeard/mylarplex).  They are all still working but they don't seem to be compatible with regards to the settings icons...

Strange, my plugins install the same way as influencer plugins, so this custom gui is likely not using the normal methods / locations to check for the .page files.  May want to ask about it on the dynamix thread to see if the dev knows why this would be.

 

Sorry, just needed a reboot....all good now.

Link to comment

PhAzE, thanks for the great work. For those of us that are on the fence about going down the virtualization rabbit hole your plugins are a huge help.

 

I was wondering if it would be possible to revise the Maraschino plugin to allow for Maraschino to be installed from a different git repo. Specifically, a user named gugahoi has made a fork that replaces the XBMC functionality with functionality for Plex.

 

https://github.com/gugahoi/maraschino

https://forums.plex.tv/index.php/topic/104798-maraschino-for-plex-a-frontend-for-all-your-usenet-tools-now-with-plex-support/

 

I would imagine that would be useful to a lot of people in the unRAID crowd who use Plex (myself included). Tangentially, it looks like he is developing an NZBDrone module which is in a different branch.

 

In any case, thanks again!

 

Link to comment

serviio v5 not starting for me.  I had the old serviio plugin running OK.  Everything looks OK except it just won't come off STOPPED.  It also has killed off my AirVideo plugin. 

 

<SNIP>

 

Here is the contents of my /packages folder - I'm pretty sure I've got a few versions of java and ffmpeg now, I think this is causing the issue with AirVideo...

 

<SNIP>

Link to comment

PhAzE, thanks for the great work. For those of us that are on the fence about going down the virtualization rabbit hole your plugins are a huge help.

 

I was wondering if it would be possible to revise the Maraschino plugin to allow for Maraschino to be installed from a different git repo. Specifically, a user named gugahoi has made a fork that replaces the XBMC functionality with functionality for Plex.

 

https://github.com/gugahoi/maraschino

https://forums.plex.tv/index.php/topic/104798-maraschino-for-plex-a-frontend-for-all-your-usenet-tools-now-with-plex-support/

 

I would imagine that would be useful to a lot of people in the unRAID crowd who use Plex (myself included). Tangentially, it looks like he is developing an NZBDrone module which is in a different branch.

 

In any case, thanks again!

I plan on making all plugins that use git to be able to use different repos eventually.
Link to comment

serviio v5 not starting for me.  I had the old serviio plugin running OK.  Everything looks OK except it just won't come off STOPPED.  It also has killed off my AirVideo plugin. 

 

24e2xl1.jpg

 

27wrq5i.jpg

 

Here is the contents of my /packages folder - I'm pretty sure I've got a few versions of java and ffmpeg now, I think this is causing the issue with AirVideo...

 

     jre-6u27-i586-1.txz
    ...
    dmidecode-2.10-i486-1.txz

This plugin installs it's own ffmpeg and java dependencies in to a sub directory of the install directory and uses environment exports to keep it sperate from the rest of the os. With that in mind there is no way those two dependencies can conflict with other java or ffmpeg installs.

 

The ffmpeg dependencies however are installed system wide. It could be one of those. I'll have a look at airplay later to see what the conflict could be.

 

 

Link to comment

serviio v5 not starting for me.  I had the old serviio plugin running OK.  Everything looks OK except it just won't come off STOPPED.  It also has killed off my AirVideo plugin. 

 

24e2xl1.jpg

 

27wrq5i.jpg

 

Here is the contents of my /packages folder - I'm pretty sure I've got a few versions of java and ffmpeg now, I think this is causing the issue with AirVideo...

 

     jre-6u27-i586-1.txz
...
    dmidecode-2.10-i486-1.txz

This plugin installs it's own ffmpeg and java dependencies in to a sub directory of the install directory and uses environment exports to keep it sperate from the rest of the os. With that in mind there is no way those two dependencies can conflict with other java or ffmpeg installs.

 

The ffmpeg dependencies however are installed system wide. It could be one of those. I'll have a look at airplay later to see what the conflict could be.

I just noticed you are thing it as root. Looking at your picture I can see java and ffmpeg work perfectly so this only leaves a database related error. Try first changing run user to nobody. In assuming you are pointing your library directory to the library from the other plugin?  If so, and run user nobody doesn't help, try pointing the library to a new directory.

 

After changing runas to user nobody, reboot your server.

 

Let me know the results of both of those options.

Link to comment

Hey PhAzE, once you get started with Docker, I'd be happy to help out with the testing (plex especially, and mediabrowser if you go that route with it too).  I've had a few issues with plex under VM (multiple clients and transcoding high bitrate files has caused a few glitches here and there), and think that running them under Docker may work better than my existing setup..

 

Link to comment

What is the best way to migrate from Influencers versions of CP/SB/Sab to PhAzEs version.  I want to install plex server.  I want to keep all the setting/configuration data so there is minimal work to migrate.

 

IF there is already a thread on this I would appreciate being pointed to it.

Link to comment

What is the best way to migrate from Influencers versions of CP/SB/Sab to PhAzEs version.  I want to install plex server.  I want to keep all the setting/configuration data so there is minimal work to migrate.

 

IF there is already a thread on this I would appreciate being pointed to it.

Just swap out influencer plugins with mine, point the CONFIG directory in my plugin to the DATA directory from influencer and you're good to go.

 

A link to instructions for PLEX migration are in the first post.

Link to comment

I just confirmed that AirVideo by Overbyrn and my Serviio plugin work fine when loaded together.

 

I loaded up a fresh VM with Unraid 5.05 to test, and only had those two plugins installed. No dependency problems with either.  I'm running serviio as user 'nobody'.

Link to comment

I have a fairly new install of your sickbeard, sabnzbd, couchpotato and PMS packages.  I just did the update for PMS via the command line.  After the upgrade finished, I found PMS was stopped in the webgui and I fear the RC script never got far enough to start the PMS.  Here is the output from the upgrade:

root@media1:/boot/packages# /etc/rc.d/rc.plexmediaserver update

Stopping Plex Media Server...

... OK

Installing latest version of Plex Media Server...

--2014-06-26 09:26:33--  http://downloads.plexapp.com/plex-media-server/0.9.9.12.504-3e7f93c/plexmediaserver_0.9.9.12.504-3e7f93c_i386.deb

Resolving downloads.plexapp.com (downloads.plexapp.com)... 64.71.188.199

Connecting to downloads.plexapp.com (downloads.plexapp.com)|64.71.188.199|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 65443800 (62M) [application/octet-stream]

Saving to: `/boot/packages/plexmediaserver_0.9.9.12.504-3e7f93c_i386.deb'

 

100%[==============================================================================================================================================================>] 65,443,800  4.04M/s  in 91s

 

2014-06-26 09:28:08 (705 KB/s) - `/boot/packages/plexmediaserver_0.9.9.12.504-3e7f93c_i386.deb' saved [65443800/65443800]

 

chown: changing ownership of `/mnt/user/main/plugin_data/plexmediaserver/config/Plex Media Server/Metadata/TV Shows/c/1a57959d07f35a4ccc8a1674e8acdac3fac0d69.bundle/Contents/_combined/art/com.plexapp.agents.thetvdb_4d515196e9cd5fc90418f08c38b808ddb7365782': No such file or directory

 

I had several screens of the "chown" output.  Is this an issue I should worry about?

Link to comment

I have a fairly new install of your sickbeard, sabnzbd, couchpotato and PMS packages.  I just did the update for PMS via the command line.  After the upgrade finished, I found PMS was stopped in the webgui and I fear the RC script never got far enough to start the PMS.  Here is the output from the upgrade:

root@media1:/boot/packages# /etc/rc.d/rc.plexmediaserver update

Stopping Plex Media Server...

... OK

Installing latest version of Plex Media Server...

--2014-06-26 09:26:33--  http://downloads.plexapp.com/plex-media-server/0.9.9.12.504-3e7f93c/plexmediaserver_0.9.9.12.504-3e7f93c_i386.deb

Resolving downloads.plexapp.com (downloads.plexapp.com)... 64.71.188.199

Connecting to downloads.plexapp.com (downloads.plexapp.com)|64.71.188.199|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 65443800 (62M) [application/octet-stream]

Saving to: `/boot/packages/plexmediaserver_0.9.9.12.504-3e7f93c_i386.deb'

 

100%[==============================================================================================================================================================>] 65,443,800  4.04M/s  in 91s

 

2014-06-26 09:28:08 (705 KB/s) - `/boot/packages/plexmediaserver_0.9.9.12.504-3e7f93c_i386.deb' saved [65443800/65443800]

 

chown: changing ownership of `/mnt/user/main/plugin_data/plexmediaserver/config/Plex Media Server/Metadata/TV Shows/c/1a57959d07f35a4ccc8a1674e8acdac3fac0d69.bundle/Contents/_combined/art/com.plexapp.agents.thetvdb_4d515196e9cd5fc90418f08c38b808ddb7365782': No such file or directory

 

I had several screens of the "chown" output.  Is this an issue I should worry about?

No it shouldn't be a problem. Does the program still start?  My plugin doesn't auto start the app after update.

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.