[PhAzE] Plugins for Unraid 5/6


Recommended Posts

Phaze would you be willing to make a jackett plugin? I would but I'm too green to know how to do it. Here's the code I've come up with.

Basically, it keeps track of the installed version of Jackett and then scrapes the Jackett website for the newest version, if found it kills my jackett screen, updates the Jackett dir and restarts the screen session. It needs mono installed.

 

 

CVERSION=$(cat version.txt)

WVERSION=$(curl -s https://jackett.net/Download| grep -m 1 -o 'v0.[0-9.]*[\ \t]*'|head -n 1)

if [ $WVERSION != $CVERSION ]

then

rm -rf Jackett.Mono*.bz2

wget https://jackett.net/Download/${WVERSION}/Jackett.Mono.${WVERSION}.tar.bz2

kill -9 `screen -ls | grep jackett | awk '{print $1}' | cut -d. -f 1`

tar -xf Jackett.Mono*

echo $WVERSION > version.txt

cd Jackett

screen -d -m -S jackett mono JackettConsole.exe

screen -wipe

fi

 

Thanks!

 

 

Link to comment

there is but its out of date. Every docker I've found sets it for a specific version and those versions are always old. Even the latest docker published yesterday is 0.6.7 when there is a 0.6.8 out.

 

The one in the Community Applications is 0.6.4 which has some serious issues(not on the docker itself but on the actual Jackett version used).

 

The project moves pretty fast so in order to be current you need to check for updates often.

 

My process scans every day looking for an updated version and drops it in if its found.

 

I can continue to do it my way as that works for me but there are others in the unraid family who would really appreciate either a docker or plugin for Jackett that is updated regularly.

 

 

Link to comment

I believe p7zip and unrar packages need to be added as dependencies for nzbget.

 

edit: Also, a stupid blue animated loading cube blocks the plugin settings on unraid 5.0.5 with the Dynamix UI. Not sure if it's because of that or not but I have to manually delete the overlay div with developer tools in order to change any settings.

Link to comment

I believe p7zip and unrar packages need to be added as dependencies for nzbget.

 

edit: Also, a stupid blue animated loading cube blocks the plugin settings on unraid 5.0.5 with the Dynamix UI. Not sure if it's because of that or not but I have to manually delete the overlay div with developer tools in order to change any settings.

 

I have used adblock to remove this instead of doing it manually, at least until its fixed

Link to comment

I'm having some issue installing emby.  Using unraid 6.1.0.

How would I go about installing SVGAlib for this plugin (if that's actually the failure)?

 

 

 

2015-10-13 00:46:15 [iNFO]	************************** 
2015-10-13 00:46:15 [iNFO]	Installing Embyserver plugin 
2015-10-13 00:46:15 [iNFO]	************************** 
2015-10-13 00:46:15 [iNFO]	Checking for current bundle files 
2015-10-13 00:46:15 [iNFO]	Control file: Not Found 
2015-10-13 00:46:15 [iNFO]	Dependency file: Not found 
2015-10-13 00:46:15 [iNFO]	Mono file: Not found 
2015-10-13 00:46:15 [iNFO]	Check OK! 
2015-10-13 00:46:15 [iNFO]	Downloading new control file 
2015-10-13 00:46:16 [iNFO]	Download OK: Control file passed MD5 check 
2015-10-13 00:46:16 [iNFO]	Downloading new dependency file 
2015-10-13 00:46:47 [iNFO]	Download OK: Dependency file passed MD5 check 
2015-10-13 00:46:47 [iNFO]	Downloading new Mono file 
2015-10-13 00:47:30 [iNFO]	Download OK: Mono file passed MD5 check 
2015-10-13 00:47:30 [iNFO]	Locating and removing old bundle files 
2015-10-13 00:47:30 [iNFO]	Running install script for Emby Server 
2015-10-13 00:47:30 [iNFO]	Creating default plugin config file 
2015-10-13 00:47:30 [iNFO]	Verifying plugin config file elements 
2015-10-13 00:47:31 [iNFO]	Verification OK! 
2015-10-13 00:47:31 [iNFO]	Installing control file 
2015-10-13 00:47:31 [iNFO]	Control file install OK! 
2015-10-13 00:47:31 [iNFO]	Removing Windows carriage characters from important files 
2015-10-13 00:47:31 [iNFO]	Cleaning up temp files and folders
2015-10-13 00:47:31 [iNFO]	************************** 
2015-10-13 00:47:31 [iNFO]	Install complete!
2015-10-13 00:47:31 [iNFO]	************************** 
2015-10-13 00:50:00 [iNFO]	*** Install Initiated ***
2015-10-13 00:50:00 [iNFO]	Installing Emby Server...
2015-10-13 00:50:01 [iNFO]	Updating dependencies
2015-10-13 00:50:04 [iNFO]	Dependency install file has correct MD5
2015-10-13 00:50:04 [iNFO]	Using /usr/local/PhAzE-Common for dependency directory
2015-10-13 00:51:42 [ERROR]	Missing libvga - Please install SVGAlib
2015-10-13 00:51:45 [iNFO]	Dependencies updated successfully
2015-10-13 00:51:45 [iNFO]	Updating Mono
2015-10-13 00:51:49 [iNFO]	Mono install file has correct MD5
2015-10-13 00:52:42 [iNFO]	Mono updated successfully
2015-10-13 00:52:42 [iNFO]	Updating export file
2015-10-13 00:52:42 [iNFO]	Updating shorcut file
2015-10-13 00:52:43 [iNFO]	Latest version found: 3.0.5724.6 - Checking USB for same install file
2015-10-13 00:52:43 [iNFO]	No copy found on USB - Downloading install file and checking for MD5 file
2015-10-13 00:52:53 [iNFO]	Located MD5 file - Testing against install file
2015-10-13 00:52:53 [iNFO]	MD5 of Embyserver-PhAzE-3.0.5724.6-src.zip is valid - Proceeding with install
2015-10-13 00:52:53 [iNFO]	Updating application directories
2015-10-13 00:52:53 [iNFO]	Creating application config file
2015-10-13 00:52:53 [ERROR]	Install failed: App executable not found 

Link to comment

hi Phaze,

 

i switched to Sickrage but still no updates:

Stopping SickRage...
Stop OK! 
Installing SickRage...
fatal: Could not change back to '/root': Permission denied
Install failed: Install file missing 

 

hi phaze, i still have problems with my cronjob & sickbeard_alt (sickrage repo) command to update/ check for updates every night:

05 5 * * * /etc/rc.d/rc.Sickbeard_alt update > /boot/logs/phaze.Sickbeard_alt.txt 2>&1 &

 

this is the log:

Stopping Sick Beard Alt...
Stop OK: Already stopped 
Installing Sick Beard Alt...
fatal: Could not change back to '/root': Permission denied
Install failed: Install file missing 

 

every other of your plugin like sab, couch potato, plex, plexconnect, nzbmegasearch and btsync are running fine.

i'm on 6.1.3 and all plugins are up to date.

Can i suggest first switching to my sickrage plugin? I found that the "force update" option can break sickrage when used under sickbeard or sb_alt plugins..

Link to comment

Hello! Thank you so much for your hard work on these plugins!

 

Did you ever get the lxml dependency for Couchpotato working?

 

Im running unraid 5, just updated to the latest plugins, rebooted and I'm getting errors in my Couchpotato logs:

 

0-07 03:42:36 ERROR

[chpotato.core._base._core] LXML not available, please install for better/faster scraping support: `http://lxml.de/installation.html`

10-07 03:42:36 ERROR

[chpotato.core._base._core] OpenSSL installed but 0.15 is needed while 0.14 is installed. Run `pip install pyopenssl --upgrade`

 

Cheers!

I was having this problem with Influencer's v2 plugin. Does your plugin fix this problem Phaze, on v5, or is this an issue with v5? Any way to get it working?

Link to comment

Hello! Thank you so much for your hard work on these plugins!

 

Did you ever get the lxml dependency for Couchpotato working?

 

Im running unraid 5, just updated to the latest plugins, rebooted and I'm getting errors in my Couchpotato logs:

 

0-07 03:42:36 ERROR

[chpotato.core._base._core] LXML not available, please install for better/faster scraping support: `http://lxml.de/installation.html`

10-07 03:42:36 ERROR

[chpotato.core._base._core] OpenSSL installed but 0.15 is needed while 0.14 is installed. Run `pip install pyopenssl --upgrade`

 

Cheers!

I was having this problem with Influencer's v2 plugin. Does your plugin fix this problem Phaze, on v5, or is this an issue with v5? Any way to get it working?

Installed and set it up yesterday. Looks like it works great!

Hi Guys

 

I have a PhAze Plex plugin issue any ideas whats not going on i have attached a screen shot i hope

 

cheers

Is your disk1 on the array? What problem are you having?

Link to comment

Hi Phaze,

 

any ideas why Sickrage can't update with cron? some permission errors in my log. its the only plugin that cant update every night

 

& another problem:

 

NZBmegasearch is still not closing when i hit "Stop array". So the array cant unmount the filesystem because the process mega.py is running until i kill it with htop manually. can you have a look into this?

 

Hello! Thank you so much for your hard work on these plugins!

 

Did you ever get the lxml dependency for Couchpotato working?

 

Im running unraid 5, just updated to the latest plugins, rebooted and I'm getting errors in my Couchpotato logs:

 

0-07 03:42:36 ERROR

[chpotato.core._base._core] LXML not available, please install for better/faster scraping support: `http://lxml.de/installation.html`

10-07 03:42:36 ERROR

[chpotato.core._base._core] OpenSSL installed but 0.15 is needed while 0.14 is installed. Run `pip install pyopenssl --upgrade`

 

Cheers!

I was having this problem with Influencer's v2 plugin. Does your plugin fix this problem Phaze, on v5, or is this an issue with v5? Any way to get it working?

Installed and set it up yesterday. Looks like it works great!

Hi Guys

 

I have a PhAze Plex plugin issue any ideas whats not going on i have attached a screen shot i hope

 

cheers

Is your disk1 on the array? What problem are you having?

Link to comment

Does anyone have post processing scripts working through NZBGet yet? I keep getting the following errors:

 

    Post-process-script nzbToSickBeard.py for [perfectly legal downloaded material] failed (terminated with unknown status)

    nzbToSickBeard: python2: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory

 

So I thought the simple answer was that the postprocessing scripts (nzbtomedia) couldn't use the python stored in the Phaze Common directory. Sadly, not that simple. I installed python in it's typical location and still no love. (so two python installs - one /usr/bin and one Phaze Common)

 

Interestingly, sabnzbd has no problem. Must be somehow calling the scripts differently.

 

Anyone else have this issue?

 

EDIT: I seem to have a temporary solution to the problem. I added the following lines to my /etc/ld.so.conf file:

    /mnt/cache/.PhAzE-Common/usr/bin

    /mnt/cache/.PhAzE-Common/usr/lib64      (not sure if this line is necessary, but it didn't screw anything up...)

 

then I ran ldconfig in telnet.

 

Fixed the problem and now processing working. Now I need to figure out some way to automate appending those lines on reboot. Still, success for now...

Link to comment

The Plex plugin seems broken and I'm trying to see if anyone has the same issue. I uninstalled the plugin because I was relocating my config and install directories to the cache drive. When I reinstalled the plugin to the newest plugin it won't let me change any options on the PhAzE Plex plugin screen, other PhAzE plugins will. Is anyone else experiencing this issue? Is there anywhere I can download an old PhAzE Plex Plugin?

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.