[PhAzE] Plugins for Unraid 5/6


Recommended Posts

After upgrading to 6.1.7 Sickrage will not start

I have PhAzE sickrage, sabnzbd, couchpotato, heaphones, and PMS installed - all running (except sickrage)

Here is S/R status:

/usr/local/emhttp/plugins/Sickrage/scripts/rc.Sickrage buttonstart

Starting SickRage...

Start failed: No PID created

 

no worries I noticed there is an update

but for some reason S/R will not update either

Status:

/usr/local/emhttp/plugins/Sickrage/scripts/rc.Sickrage update

Stopping SickRage...

Stop OK: Already stopped

Installing SickRage...

Cloning into '/tmp/Sickrage-07e336'...

remote: Counting objects: 49358, done.

remote: Total 49358 (delta 0), reused 0 (delta 0), pack-reused 49358

Receiving objects: 100% (49358/49358), 41.63 MiB | 2.94 MiB/s, done.

Resolving deltas: 100% (31189/31189), done.

Checking connectivity... done

Install failed: Install file missing

 

Can anyone help? this is my first time trying to update a PhAzE plugin.

 

Here are my logs...

Trying to start SR:

Jan 22 14:31:10 Braavos emhttp: cmd: /usr/local/emhttp/plugins/Sickrage/scripts/rc.Sickrage buttonstart

Jan 22 14:31:10 Braavos sudo: root : TTY=unknown ; PWD=/ ; USER=nobody ; COMMAND=/bin/bash -c . /mnt/cache/.PhAzE-Common/Sickrage/startcfg.sh; python /usr/local/Sickrage/SickBeard.py --daemon --port 8083 --datadir /mnt/user/Plugin_Configs/sickrage_conf --pidfile /var/run/Sickrage/Sickrage.pid > /dev/null 2>&1 &

Jan 22 14:31:25 Braavos sudo: root : TTY=unknown ; PWD=/usr/local/emhttp ; USER=nobody ; COMMAND=/bin/bash -c . /mnt/cache/.PhAzE-Common/Sickrage/startcfg.sh; git --git-dir=/usr/local/Sickrage/.git rev-parse HEAD

Jan 22 14:31:25 Braavos sudo: root : TTY=unknown ; PWD=/usr/local/emhttp ; USER=nobody ; COMMAND=/bin/bash -c . /mnt/cache/.PhAzE-Common/Sickrage/startcfg.sh; python --version 2>&1

Jan 22 14:31:25 Braavos sudo: root : TTY=unknown ; PWD=/usr/local/emhttp ; USER=nobody ; COMMAND=/bin/bash -c . /mnt/cache/.PhAzE-Common/Sickrage/startcfg.sh; sqlite3 --version 2>&1

Jan 22 14:31:25 Braavos sudo: root : TTY=unknown ; PWD=/usr/local/emhttp ; USER=nobody ; COMMAND=/bin/bash -c . /mnt/cache/.PhAzE-Common/Sickrage/startcfg.sh; git --version 2>&1

Jan 22 14:31:25 Braavos sudo: root : TTY=unknown ; PWD=/usr/local/emhttp ; USER=nobody ; COMMAND=/bin/bash -c . /mnt/cache/.PhAzE-Common/Sickrage/startcfg.sh; curl --version 2>&1

 

 

 

Trying to update the SR plugin:

Jan 22 14:34:27 Braavos emhttp: cmd: /usr/local/emhttp/plugins/Sickrage/scripts/rc.Sickrage update

Jan 22 14:34:31 Braavos sudo: root : TTY=unknown ; PWD=/ ; USER=nobody ; COMMAND=/bin/bash -c . /mnt/cache/.PhAzE-Common/Sickrage/startcfg.sh; git clone --recursive -b master https://github.com/SiCKRAGETV/SickRage /tmp/Sickrage-07e336

Jan 22 14:34:52 Braavos sudo: root : TTY=unknown ; PWD=/usr/local/emhttp ; USER=nobody ; COMMAND=/bin/bash -c . /mnt/cache/.PhAzE-Common/Sickrage/startcfg.sh; git --git-dir=/usr/local/Sickrage/.git rev-parse HEAD

Jan 22 14:34:52 Braavos sudo: root : TTY=unknown ; PWD=/usr/local/emhttp ; USER=nobody ; COMMAND=/bin/bash -c . /mnt/cache/.PhAzE-Common/Sickrage/startcfg.sh; python --version 2>&1

Jan 22 14:34:52 Braavos sudo: root : TTY=unknown ; PWD=/usr/local/emhttp ; USER=nobody ; COMMAND=/bin/bash -c . /mnt/cache/.PhAzE-Common/Sickrage/startcfg.sh; sqlite3 --version 2>&1

Jan 22 14:34:52 Braavos sudo: root : TTY=unknown ; PWD=/usr/local/emhttp ; USER=nobody ; COMMAND=/bin/bash -c . /mnt/cache/.PhAzE-Common/Sickrage/startcfg.sh; git --version 2>&1

Jan 22 14:34:52 Braavos sudo: root : TTY=unknown ; PWD=/usr/local/emhttp ; USER=nobody ; COMMAND=/bin/bash -c . /mnt/cache/.PhAzE-Common/Sickrage/startcfg.sh; curl --version 2>&1

Link to comment

Hey guys,

 

I've update Sickrage so it will download the install files properly again. This means updates will work too.

 

Also i found the cause of the error some people were getting when running update from cron.  The error was "error switching back to /root: permission denied".  Shouldnt see that error anymore.

 

Emby still has a problem, they basically no longer make zip files for beta releases, so ill be removing the beta option. Also they dont maintain the zip file in the same folder so i will be updating the DL URL. A few more bugs to work out and ill post the update to get that going again too.

 

Let me know if there are any issues with these updates but i suspect all will be good.

 

-=PhAzE=-

Link to comment

Despite updating Sickrage, it still won't start for me, same error the other user is getting; Here's what logs I could pull, if you need anything else, I'll be happy to provide:

 

2016-01-23 02:24:58 [ERROR] Start failed: No PID created

2016-01-23 02:31:43 [iNFO] *** Apply - Enable Initiated ***

2016-01-23 02:31:43 [iNFO] Stopping SickRage...

2016-01-23 02:31:43 [iNFO] Stop OK: Already stopped

2016-01-23 02:31:44 [iNFO] Updating settings

2016-01-23 02:31:44 [iNFO] Moving config files to new config directory

2016-01-23 02:31:46 [iNFO] Updating plugin config file

2016-01-23 02:31:46 [iNFO] Installing SickRage...

2016-01-23 02:31:47 [iNFO] Updating dependencies

2016-01-23 02:31:47 [iNFO] Dependency install file has correct MD5

2016-01-23 02:31:47 [iNFO] Using /mnt/cache/.PhAzE-Common for dependency directory

2016-01-23 02:31:49 [iNFO] Dependencies updated successfully

2016-01-23 02:31:49 [iNFO] Updating export file

2016-01-23 02:31:49 [iNFO] Updating shorcut file

2016-01-23 02:31:49 [iNFO] Latest version found: 07e336e8a85d6827796938acab5d4d562d77f2d3 - Checking USB for same install file

2016-01-23 02:31:49 [iNFO] No copy found on USB - Downloading install file and checking for MD5 file

2016-01-23 02:32:10 [iNFO] No MD5 file located - Attempting decompression integrity test

2016-01-23 02:32:10 [iNFO] Integrity of Sickrage-PhAzE-07e336-src.tar.gz looks good - Proceeding with install

2016-01-23 02:32:10 [iNFO] Creating MD5 file

2016-01-23 02:32:11 [iNFO] Updating application directories

2016-01-23 02:32:11 [iNFO] Updating application config file

2016-01-23 02:32:12 [iNFO] Install OK!

2016-01-23 02:32:13 [iNFO] Starting SickRage...

2016-01-23 02:32:13 [iNFO] Updating application directories

2016-01-23 02:32:13 [iNFO] Updating application config file

2016-01-23 02:32:24 [ERROR] Start failed: No PID created

2016-01-23 02:32:35 [iNFO] *** Apply - Enable Initiated ***

2016-01-23 02:32:35 [iNFO] Stopping SickRage...

2016-01-23 02:32:35 [iNFO] Stop OK: Already stopped

2016-01-23 02:32:36 [iNFO] Updating settings

2016-01-23 02:32:36 [iNFO] Moving config files to new config directory

2016-01-23 02:32:36 [iNFO] Updating plugin config file

2016-01-23 02:32:36 [iNFO] Starting SickRage...

2016-01-23 02:32:36 [iNFO] Updating dependencies

2016-01-23 02:32:37 [iNFO] Dependency install file has correct MD5

2016-01-23 02:32:37 [iNFO] Using /mnt/cache/.PhAzE-Common for dependency directory

2016-01-23 02:32:38 [iNFO] Dependencies updated successfully

2016-01-23 02:32:38 [iNFO] Updating export file

2016-01-23 02:32:38 [iNFO] Updating shorcut file

2016-01-23 02:32:38 [iNFO] Updating application directories

2016-01-23 02:32:38 [iNFO] Updating application config file

2016-01-23 02:32:50 [ERROR] Start failed: No PID created

Link to comment

It says it's moving the config files to a new directory, are you canting the config directory location between each attempt to start it?

 

Go into your server via command line and rename the config directory to something else, then see if you can start the app with a fresh config directory.  That will tell us if there is a problem in the apps db file.

Link to comment

I'm having the same issue with the new sickrage plg.

I've tried uninstalling it all together and renaming the config directory.

It starts generating the new config directory and the config.ini but stops for some reason and fails.

 

This is the activity log:

 

2016-01-23 17:26:34 [iNFO] Running install script for SickRage

2016-01-23 17:26:34 [iNFO] Creating default plugin config file

2016-01-23 17:26:34 [iNFO] Verifying plugin config file elements

2016-01-23 17:26:34 [iNFO] Verification OK!

2016-01-23 17:26:34 [iNFO] Installing control file

2016-01-23 17:26:34 [iNFO] Control file install OK!

2016-01-23 17:26:34 [iNFO] Removing Windows carriage characters from important files

2016-01-23 17:26:34 [iNFO] Cleaning up temp files and folders

2016-01-23 17:26:34 [iNFO] **************************

2016-01-23 17:26:34 [iNFO] Install complete!

2016-01-23 17:26:34 [iNFO] **************************

2016-01-23 17:27:42 [iNFO] *** Write Export Initiated ***

2016-01-23 17:27:42 [iNFO] Updating dependencies

2016-01-23 17:27:42 [iNFO] Dependency install file has correct MD5

2016-01-23 17:27:42 [iNFO] Using /mnt/cache/.PhAzE-Common for dependency directory

2016-01-23 17:27:42 [iNFO] Dependencies updated successfully

2016-01-23 17:27:42 [iNFO] Updating export file

2016-01-23 17:27:42 [iNFO] Updating shorcut file

2016-01-23 17:29:24 [iNFO] *** Apply - Disable Initiated ***

2016-01-23 17:29:24 [iNFO] Stopping SickRage...

2016-01-23 17:29:24 [iNFO] Stop OK: Already stopped

2016-01-23 17:29:25 [iNFO] Updating settings

2016-01-23 17:29:25 [iNFO] Updating plugin config file

2016-01-23 17:29:25 [iNFO] Updating dependencies

2016-01-23 17:29:25 [iNFO] Dependency install file has correct MD5

2016-01-23 17:29:25 [iNFO] Using /mnt/cache/.PhAzE-Common for dependency directory

2016-01-23 17:29:26 [iNFO] Dependencies updated successfully

2016-01-23 17:29:26 [iNFO] Updating export file

2016-01-23 17:29:26 [iNFO] Updating shorcut file

2016-01-23 17:29:26 [iNFO] Updating application config file

2016-01-23 17:29:26 [ERROR] Config update failed: Directory missing

2016-01-23 17:29:39 [iNFO] *** Button Start Initiated ***

2016-01-23 17:29:39 [iNFO] Starting SickRage...

2016-01-23 17:29:39 [iNFO] Updating dependencies

2016-01-23 17:29:39 [iNFO] Dependency install file has correct MD5

2016-01-23 17:29:39 [iNFO] Using /mnt/cache/.PhAzE-Common for dependency directory

2016-01-23 17:29:40 [iNFO] Dependencies updated successfully

2016-01-23 17:29:40 [iNFO] Updating export file

2016-01-23 17:29:40 [iNFO] Updating shorcut file

2016-01-23 17:29:40 [iNFO] Updating application directories

2016-01-23 17:29:40 [iNFO] Creating application config file

2016-01-23 17:29:51 [ERROR] Start failed: No PID created

 

The Logs directory is created under the config directory, but no logs inside.

Link to comment

Fresh config file, fresh reboot:

 

2016-01-23 10:49:11 [iNFO]	************************** 
2016-01-23 10:49:11 [iNFO]	Installing Sickrage plugin 
2016-01-23 10:49:11 [iNFO]	************************** 
2016-01-23 10:49:11 [iNFO]	Checking for current bundle files 
2016-01-23 10:49:11 [iNFO]	Control file: Found correct version 
2016-01-23 10:49:13 [iNFO]	Dependency file: Found correct version 
2016-01-23 10:49:13 [iNFO]	Check OK! 
2016-01-23 10:49:13 [iNFO]	Locating and removing old bundle files 
2016-01-23 10:49:13 [iNFO]	Running install script for SickRage 
2016-01-23 10:49:13 [iNFO]	Verifying plugin config file elements 
2016-01-23 10:49:13 [iNFO]	Verification OK! 
2016-01-23 10:49:13 [iNFO]	Installing control file 
2016-01-23 10:49:13 [iNFO]	Control file install OK! 
2016-01-23 10:49:13 [iNFO]	Removing Windows carriage characters from important files 
2016-01-23 10:49:13 [iNFO]	Cleaning up temp files and folders
2016-01-23 10:49:13 [iNFO]	************************** 
2016-01-23 10:49:13 [iNFO]	Install complete!
2016-01-23 10:49:13 [iNFO]	************************** 
2016-01-23 10:51:31 [iNFO]	*** Apply - Enable Initiated ***
2016-01-23 10:51:31 [iNFO]	Stopping SickRage...
2016-01-23 10:51:31 [iNFO]	Stop OK: Not installed 
2016-01-23 10:51:32 [iNFO]	Updating settings
2016-01-23 10:51:32 [iNFO]	Updating plugin config file
2016-01-23 10:51:32 [iNFO]	Installing SickRage...
2016-01-23 10:51:33 [iNFO]	Updating dependencies
2016-01-23 10:51:33 [iNFO]	Dependency install file has correct MD5
2016-01-23 10:51:33 [iNFO]	Using /mnt/cache/.PhAzE-Common for dependency directory
2016-01-23 10:51:35 [iNFO]	Dependencies updated successfully
2016-01-23 10:51:35 [iNFO]	Updating export file
2016-01-23 10:51:35 [iNFO]	Updating shorcut file
2016-01-23 10:51:35 [iNFO]	Latest version found: 07e336e8a85d6827796938acab5d4d562d77f2d3 - Checking USB for same install file
2016-01-23 10:51:35 [iNFO]	Copy found on USB, checking for MD5 file
2016-01-23 10:51:35 [iNFO]	Located MD5 file - Testing against install file
2016-01-23 10:51:37 [iNFO]	MD5 of Sickrage-PhAzE-07e336-src.tar.gz is valid - Proceeding with install
2016-01-23 10:51:38 [iNFO]	Updating application directories
2016-01-23 10:51:42 [iNFO]	Updating application config file
2016-01-23 10:51:46 [iNFO]	Install OK! 
2016-01-23 10:51:47 [iNFO]	Starting SickRage...
2016-01-23 10:51:47 [iNFO]	Updating application directories
2016-01-23 10:51:47 [iNFO]	Updating application config file
2016-01-23 10:52:04 [ERROR]	Start failed: No PID created 

 

Only thing I found in the log related to SickRage:

 

Jan 23 10:51:31 Helios emhttp: cmd: /usr/local/emhttp/plugins/Sickrage/scripts/rc.Sickrage enable /usr/local/sickrage@20/mnt/user/apps/sickrage@20!@20/usr/local/sickrage/cache@20no@208081@20!@20https://github.com/SiCKRAGETV/SickRage@20master@20nobody@20yes@20yes@20yes /usr/local/sickrage /mnt/user/apps/sickrage ! /usr/local/sickrage/cache no 8081 !
Jan 23 10:51:53 Helios sudo: root : TTY=unknown ; PWD=/ ; USER=nobody ; COMMAND=/bin/bash -c . /mnt/cache/.PhAzE-Common/Sickrage/startcfg.sh; python /usr/local/sickrage/SickBeard.py --daemon --port 8081 --datadir /mnt/user/apps/sickrage --pidfile /var/run/Sickrage/Sickrage.pid > /dev/null 2>&1 &
Jan 23 10:52:08 Helios sudo: root : TTY=unknown ; PWD=/usr/local/emhttp ; USER=nobody ; COMMAND=/bin/bash -c . /mnt/cache/.PhAzE-Common/Sickrage/startcfg.sh; git --git-dir=/usr/local/sickrage/.git rev-parse HEAD
Jan 23 10:52:09 Helios sudo: root : TTY=unknown ; PWD=/usr/local/emhttp ; USER=nobody ; COMMAND=/bin/bash -c . /mnt/cache/.PhAzE-Common/Sickrage/startcfg.sh; python --version 2>&1
Jan 23 10:52:09 Helios sudo: root : TTY=unknown ; PWD=/usr/local/emhttp ; USER=nobody ; COMMAND=/bin/bash -c . /mnt/cache/.PhAzE-Common/Sickrage/startcfg.sh; sqlite3 --version 2>&1
Jan 23 10:52:09 Helios sudo: root : TTY=unknown ; PWD=/usr/local/emhttp ; USER=nobody ; COMMAND=/bin/bash -c . /mnt/cache/.PhAzE-Common/Sickrage/startcfg.sh; git --version 2>&1
Jan 23 10:52:09 Helios sudo: root : TTY=unknown ; PWD=/usr/local/emhttp ; USER=nobody ; COMMAND=/bin/bash -c . /mnt/cache/.PhAzE-Common/Sickrage/startcfg.sh; curl --version 2>&1

Link to comment

One more thing first, try the following:

 

-Stop all PhAzE apps

-Delete the PhAzE-Common folder

-Delete the SickRage install folder

-Leave the config folder

-Delete all the files in /boot/config/plugins/SickRage folder

-Reboot server

-Start app

 

This will rebuild the dependency folder, install files, and install folder.

Link to comment

I'm on 6.1.7, deleted everything you stated, still the same issues.

 

2016-01-23 12:02:02 [iNFO]	Download OK: Dependency file passed MD5 check 
2016-01-23 12:02:02 [iNFO]	Locating and removing old bundle files 
2016-01-23 12:02:02 [iNFO]	Running install script for SickRage 
2016-01-23 12:02:02 [iNFO]	Creating default plugin config file 
2016-01-23 12:02:02 [iNFO]	Verifying plugin config file elements 
2016-01-23 12:02:02 [iNFO]	Verification OK! 
2016-01-23 12:02:02 [iNFO]	Installing control file 
2016-01-23 12:02:02 [iNFO]	Control file install OK! 
2016-01-23 12:02:02 [iNFO]	Removing Windows carriage characters from important files 
2016-01-23 12:02:02 [iNFO]	Cleaning up temp files and folders
2016-01-23 12:02:02 [iNFO]	************************** 
2016-01-23 12:02:02 [iNFO]	Install complete!
2016-01-23 12:02:02 [iNFO]	************************** 
2016-01-23 12:05:28 [iNFO]	*** Install Initiated ***
2016-01-23 12:05:28 [iNFO]	Installing SickRage...
2016-01-23 12:05:29 [iNFO]	Updating dependencies
2016-01-23 12:05:29 [iNFO]	Dependency install file has correct MD5
2016-01-23 12:05:29 [iNFO]	Using /mnt/cache/.PhAzE-Common for dependency directory
2016-01-23 12:05:36 [iNFO]	Dependencies updated successfully
2016-01-23 12:05:36 [iNFO]	Updating export file
2016-01-23 12:05:36 [iNFO]	Updating shorcut file
2016-01-23 12:05:37 [iNFO]	Latest version found: 07e336e8a85d6827796938acab5d4d562d77f2d3 - Checking USB for same install file
2016-01-23 12:05:37 [iNFO]	No copy found on USB - Downloading install file and checking for MD5 file
2016-01-23 12:05:45 [iNFO]	No MD5 file located - Attempting decompression integrity test
2016-01-23 12:05:46 [iNFO]	Integrity of Sickrage-PhAzE-07e336-src.tar.gz looks good - Proceeding with install
2016-01-23 12:05:46 [iNFO]	Creating MD5 file
2016-01-23 12:05:47 [iNFO]	Updating application directories
2016-01-23 12:05:47 [iNFO]	Creating application config file
2016-01-23 12:05:47 [iNFO]	Install OK! 
2016-01-23 12:06:22 [iNFO]	*** Button Start Initiated ***
2016-01-23 12:06:22 [iNFO]	Syncing application and plugin config files
2016-01-23 12:06:22 [iNFO]	Updating plugin config file
2016-01-23 12:06:22 [iNFO]	Starting SickRage...
2016-01-23 12:06:22 [iNFO]	Updating dependencies
2016-01-23 12:06:22 [iNFO]	Dependency install file has correct MD5
2016-01-23 12:06:22 [iNFO]	Using /mnt/cache/.PhAzE-Common for dependency directory
2016-01-23 12:06:24 [iNFO]	Dependencies updated successfully
2016-01-23 12:06:24 [iNFO]	Updating export file
2016-01-23 12:06:24 [iNFO]	Updating shorcut file
2016-01-23 12:06:24 [iNFO]	Updating application directories
2016-01-23 12:06:24 [iNFO]	Updating application config file
2016-01-23 12:06:35 [ERROR]	Start failed: No PID created 

 

I'll have to check the app logs when I get home, gotta run off to work.

Link to comment

Ok, Sickrage updated. Now using the new repo. The developers apparently had a revolt and split into a new repository, and it looks like it's getting features faster here.

 

I've updated the plugin.  They now made Python 2.7.10 a minimum, which luckily I had updated my plugins mid last year to use that version already.

 

I strongly recommend deleting cache.db and failed.db in the CONFIG DIRECTORY before updating, as recommended by the Sickrage team. Also, it wouldn't hurt to remove the files from the INSTALL DIRECTORY also, as they have a new file layout. That part isn't really a must, but it helps get rid of old files that aren't needed. Good chance just updating will work anyways. :)

 

Let me know if that fixes it. Seems to work fine on my test server.

 

-=PhAzE=-

 

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.