SAB to Sickbeard post processing nightmare

Status
Not open for further replies.

crashtestmac

Explorer
Joined
Oct 3, 2014
Messages
52
Hi All,

I have a HP Microserver N36L, 8GB ECC RAM, 8GB OS FlashDrive and 8TB RaidZ1 array.

I have had a full week of nightmares trying to get this system working, i have followed https://www.jruehlig.com/wordpress/installation-configuration-of-freenas-plugins/
awesome guide but SickRage will not run after you add a show to it. So i started again (again and again and again)

I currently have FreeNAS-9.2.1.7-RELEASE-x64 (fdbe9a0) running fine, i have added the storage to the jail and i can see the folders and create contents, it is (i think) all running as the media account/group.

I have used Josh's method of putting all the packages in the same jail and they are all working. I can download shows through SickBeard and they appear in SAB and then the post process starts. I had problems with python being in python2.7 directory and cheetah missing but that appears to be sorted now.

I have Freenas running on 192.168.2.10
mainjail 192.168.2.50
inside the jail is sickbeard, sabnzbd, plex etc

in SAB once the python starts and the post processing kicks in i now get

I am now getting
09:49:21 INFO::MAIN :: Checking database structure...
09:49:21 INFO::MAIN :: Checking database structure...
09:49:21 INFO::MAIN :: No duplicate show, check passed
09:49:21 INFO::MAIN :: No duplicate episode, check passed
09:49:21 INFO::MAIN :: No orphan episodes, check passed
09:49:21 INFO::MAIN :: Starting Sick Beard on http://0.0.0.0:8081/
09:49:26 ERROR::MAIN :: Unable to start web server, is something else running on port: 8081
09:49:26 ERROR::MAIN :: Launching browser and exiting
Starting up Sick Beard master
Unable to start web server, is something else running on port: 8081
i have done LOTS of reading and found a comment by you saying to run sockstat, this is the relevant lines in that.
192.168.2.13 is my iMac i am connected to the web page with at a guess, but there

media python2.7 5116 4 tcp4 *:8181 *:*
media python2.7 5101 5 tcp6 ::1:8080 *:*
media python2.7 5101 7 tcp4 *:8080 *:*
media python2.7 5101 8 tcp4 192.168.2.50:8080 192.168.2.13:58714
media python2.7 5091 4 tcp4 *:8081 *:*
media python2.7 5091 6 tcp4 192.168.2.50:8081 192.168.2.13:58716

Is this actually causing the problem…?

Please help me and let me get some sleep and keep my wife off my back.
Thanks
Mac
 

crashtestmac

Explorer
Joined
Oct 3, 2014
Messages
52
OK, it looks like i might have been a folder short on the path for the scripts
It is now set to /usr/pbi/sickbeard-amd64/share/sickbeard/Sick-Beard/autoProcessTV
running sabtosickbeard.py

SAB come up with this error message though.
env: /usr/local/lib/python2.7: Permission denied

I have tried to do a
chmod -R 775 /usr/local/lib/python2.7
but that did not work.

Any thoughts please....
 

crashtestmac

Explorer
Joined
Oct 3, 2014
Messages
52
I have just downloaded the latest episode of Big Bang Theory for the 29th time trying to fix this...

edit: I have tried to stop and start the services as well but that made no difference.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
please don't change permissions on system files.
What exactly is your problem? The file is downloading but the post processing script isn't moving it?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
what happens when you run?
Code:
/usr/local/bin/python2.7
 

crashtestmac

Explorer
Joined
Oct 3, 2014
Messages
52
it goes to the python command prompt.

Python 2.7.6 (default, Feb 6 2014, 13:32:45)
[GCC 4.2.1 20070831 patched [FreeBSD]] on freebsd9
Type "help", "copyright", "credits" or "license" for more information.
>>>

And yes you are right, it is downloading it and it is in the complete folder and failing to move it to the TV folder with the error
Exit(126) env: /usr/local/lib/python2.7: Permission denied
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
it goes to the python command prompt.

Python 2.7.6 (default, Feb 6 2014, 13:32:45)
[GCC 4.2.1 20070831 patched [FreeBSD]] on freebsd9
Type "help", "copyright", "credits" or "license" for more information.
>>>

And yes you are right, it is downloading it and it is in the complete folder and failing to move it to the TV folder with the error
Exit(126) env: /usr/local/lib/python2.7: Permission denied
ok, can you try the below? looks like nzbtomedia changed what python path he's calling
Code:
pkg install python2
 

crashtestmac

Explorer
Joined
Oct 3, 2014
Messages
52
ok that installed some updates, i restarted sab and sb but still get the same error.

it is running sabtosickbeard.py

Shall i just scrub it again and follow your guide and try to get sickrage working...?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
ok that installed some updates, i restarted sab and sb but still get the same error.

it is running sabtosickbeard.py

Shall i just scrub it again and follow your guide and try to get sickrage working...?
ohh, your using SickBeard, not SickRage. You can do whatever you like, but I'm can only fully support the guide I have posted.
 

crashtestmac

Explorer
Joined
Oct 3, 2014
Messages
52
i gave up on sickrage because as i mention from your blog link, every time i added the first show it stipped responding. So i could not get into it or change settings or anything. I know i am being a pain in your a$$ with this so i am happy to reinstall to your guide so i am at least quizzing you on your design.

I will start again tonight.
Or get divorced whichever happens first.
Crash
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
lol, hope your wife doesn't hate me.

sickrage has been know to have bugs in the past but my production machine is working fine. the dev is pretty responsive on the SR forums
 

crashtestmac

Explorer
Joined
Oct 3, 2014
Messages
52
ok i am going for it...
I will be back in a bit to scream again....

I can blat the RaidZ drive, is there a way to do a "factory reset" on the install..?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
you can mark the disks for deletion when you detatch your zpool.

but you don't need to go that far. almost everything is contained in the jail. just delete the plugins, and jail. then start from there.
 

crashtestmac

Explorer
Joined
Oct 3, 2014
Messages
52
GULP

I am getting good at this though, i know all of the commands from the video that are not in the guide off by heart, that that is a positive to take from this whole sorry episode.
 

crashtestmac

Explorer
Joined
Oct 3, 2014
Messages
52
The world is laughing at me...
40 min eta for the jail to create.

That is on 172mb broadband.....
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
what? my jails create super fast after the first time.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
join the club. once you get everything perfect something breaks or you decide to try something new...
 

crashtestmac

Explorer
Joined
Oct 3, 2014
Messages
52
i was the same with my mobile, rooted it and would regularly break it, now i have learn't to leave it alone.....
 
Status
Not open for further replies.
Top