sabnzbd / sickbeard / couchpotato pbi's

Status
Not open for further replies.

gesshoku

Dabbler
Joined
Jun 23, 2012
Messages
46
Don't stress yourself, Josh.

Your little installation/swap-out guide worked great, so whoever needs the anime branch can use that. It still works for the "normal" series. Besides, i bet everyone has their way of downloading anime up till now.

Thanks again for all the work. Much appreciated.
 

toddos

Contributor
Joined
Aug 18, 2012
Messages
178
Thanks so far. I tried to make mount points but i keep getting the following errors in sickbeard "2012-09-06 10:56:42.456709 CP Server Thread-5 :: Unable to create the folder /mnt/showname, can't add the show

Watch this video for a quick tutorial on getting mount points set up right. Your error looks like it has two problems:
  1. You shouldn't mount straight to /mnt, but create a folder inside of /mnt to mount to. For example, if you're mounting a dataset that holds tv data, you might mount it at /mnt/tv and when you point sickbeard to /mnt/tv as its root it will try to create /mnt/tv/showname and not /mnt/showname
  2. Your permissions are probably not setup correctly. The easiest thing to do is to give full read/write access to everybody (chmod -R 777), since sab/sb/cp/etc don't share users or groups.

The mount point stuff is a little esoteric to figure out (it helps if you're used to unix systems), but the video should give you a good start and once you "get it" it should make sense.
 

Zorglub

Cadet
Joined
Jan 9, 2012
Messages
7
So you're saying your problem hasn't been fixed on a clean install?
-In sabnzbd are you browsing the folders and choosing the ones you need? A possibility is you aren't picking a real forlder location because you putting a relative path in (not putting a / in front), browsing should fix this.
-Another is the permissions to the config.ini somehow got messed up and the sabnzbd user can no longer edit them.

Goodluck and post if you find any more details

One question : do I need to create sabnzbd user and group in Freenas ? I didn't do it ...

Thanks
 

Zorglub

Cadet
Joined
Jan 9, 2012
Messages
7
Here is what I've done this morning.

First, I made a fresh installation of Freenas using physdiskwrite with FreeNAS-8.2.0-RELEASE-p1-x64 image (I have a E350 Asus board with 8Go).

I boot Freenas and connect to GUI using the right IP address.
I set up admin/root password: -> Account > Admin Account > Change Password). Then I start SSH service with allowing root login.

I auto-import my old ZFS volumes (so my volume name is /mnt/Seagate, 2 2Tà Seagate HDD). I got :
- my 4 To volume /mnt/Seagte
- my former ZFS datasets : /mnt/Seagate/Public, /mnt/Seagate/Xavier, /mnt/Seagate/jail and /mnt/Seagate/software)

To be sure, I destroy /mnt/Seagate/jail and /mnt/Seagate/software datasets, then create new one at the same place

I install the jail plugin (FreeNAS-8.2.0-RELEASE-x64.Plugins_Jail.pbi).
For plugins jail path, I browse to /mnt/Seagate/jail, jail name is 'jail', I set Jail Ip address and mask, and browe to /mnt/Seagtae/software for Plugins archive path. Then I upload FreeNAS-8.2.0-RELEASE-x64.Plugins_Jail.pbi.

With SSH and root login, I create these directories:
/mnt/Seagates/Downloads
/mnt/Seagates/Downloads/incomplete
/mnt/Seagates/Downloads/complete
/mnt/Seagates/Downloads/NZB
All these directories have root owner, with 755 rights

I start Plugins service, then install sabnzbd. I upload sabnzbd-0.8.1-amd64.pbi

I open the shell interface and log into the jail :
jls
jexec 1 tcsh
cd usr/pbi
ll
-> sabnzbd dir has 755 permissions, owner is user '1000', group is '1000'
cd sabnzbd-amd64
-> data directory has 755 permissions, owner is user 'sabnzbd', group is 'sabnzbd'

and then, when I go back to FreeNAS GUI and try to start the service with the GUI switch, I get the error:
"Some error occured" ... Arghhhh !!!!!

Please help me :( !!!
 

dysolve

Cadet
Joined
Sep 5, 2012
Messages
6
Watch this video for a quick tutorial on getting mount points set up right. Your error looks like it has two problems:
  1. You shouldn't mount straight to /mnt, but create a folder inside of /mnt to mount to. For example, if you're mounting a dataset that holds tv data, you might mount it at /mnt/tv and when you point sickbeard to /mnt/tv as its root it will try to create /mnt/tv/showname and not /mnt/showname
  2. Your permissions are probably not setup correctly. The easiest thing to do is to give full read/write access to everybody (chmod -R 777), since sab/sb/cp/etc don't share users or groups.

The mount point stuff is a little esoteric to figure out (it helps if you're used to unix systems), but the video should give you a good start and once you "get it" it should make sense.

thanks again,

Seems I had it working all along but as you said above I needed to mount to sub folders not the entire drive. it all works fine now.

Now I am having some issues with sickbeard not creating season folder. where is sickbeard.ini kept? It does not appear to be where it is on my other nas.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
thanks again,

Seems I had it working all along but as you said above I needed to mount to sub folders not the entire drive. it all works fine now.

Now I am having some issues with sickbeard not creating season folder. where is sickbeard.ini kept? It does not appear to be where it is on my other nas.

in your jail, /usr/pbi/sickbeard-amd64/data/config.ini , but I really recommend just checking 'Use Season Folder' under a show's edit menu, you can make this the default option when adding a new show so all new shows will by default use season folders.

midgetspy had 94 commits to Sickbeard today =O so not sure how that will affect the plugin at all, one of the commits said 'remove references to season folder' so you might need to uncheck 'flatten folders' instead.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
One question : do I need to create sabnzbd user and group in Freenas ? I didn't do it ...

Thanks

Nope, you need the user in the jail, which is created by default. in the next version all programs will use a new user media, but we'll worry about that when the time comes
 

calgarychris

Contributor
Joined
Aug 27, 2011
Messages
124
Alright I've got everything working brilliantly - thanks again to Joshua an everyone who's helped so far...one quick question left - is anyone else having issues with CP sending two identical nzbs to sab? I can't seem to figure out how to get it to stop doing that...

Thanks
Chris
 

TazgodX

Dabbler
Joined
Aug 1, 2012
Messages
21
sickbeard anime seems to be working quite well. im still running .7 of all the other plugins, havn't upgraded yet. im planning on doing the big delete and upgrade next week when im actually off work. but so far looks good. I'll keep it running for a bit to test it out more. and will report back when i actually update all the others.

-Thanks!

and to gesshoku, it is much better to run sickbeard from the master, as it gets updated the most often. sickbeard anime rarely gets updated and only works well for anime. either you are fine with running an outdated sickbeard for normal TV, or you don't use sickbeard for TV.
 

dysolve

Cadet
Joined
Sep 5, 2012
Messages
6
in your jail, /usr/pbi/sickbeard-amd64/data/config.ini , but I really recommend just checking 'Use Season Folder' under a show's edit menu, you can make this the default option when adding a new show so all new shows will by default use season folders.

midgetspy had 94 commits to Sickbeard today =O so not sure how that will affect the plugin at all, one of the commits said 'remove references to season folder' so you might need to uncheck 'flatten folders' instead.

the flatten folders box is not checked by default yet everything I add in flattened. I checked the ini and it is set to "0" so I have no idea what is going on. maybe a bug with the new commits
 

DarkCuddles

Dabbler
Joined
Aug 30, 2012
Messages
11
Hey guys.

I'm just wondering if anyone here has had any issues with the sabnzbd pbi running on freenas 0.8.3 and sab not obtaining additional par2 files to repair failed downloads?
 

DarkCuddles

Dabbler
Joined
Aug 30, 2012
Messages
11
I did not realise that had been released. I've been using 0.8
I'm guessing I should try upgrading then.
 

DarkCuddles

Dabbler
Joined
Aug 30, 2012
Messages
11
It MIGHT be fixed! I'd love to know what was changed from 0.8 to 0.8.1 as I've been getting assistance from the sabnzbd forums and would like to leave feedback about what was actually causing this.
 

toddos

Contributor
Joined
Aug 18, 2012
Messages
178
It MIGHT be fixed! I'd love to know what was changed from 0.8 to 0.8.1 as I've been getting assistance from the sabnzbd forums and would like to leave feedback about what was actually causing this.

Go back 4-5 pages or so in this thread. It was all explained.
 

Tyrith

Dabbler
Joined
Aug 31, 2012
Messages
21
Multiple plugin woes

I put together a NAS last week and stumbled into this wonderful thing called FreeNAS. I had a lot of Linux experience growing up, so I've adapted to it fairly well. Up until last night, I had SickBeard & Sabnzbd running hand in hand fairly well, ironing out the last of the hiccups. At this point, I decided to try and move up the chain and get Headphones and Couchpotato running along with those two. That's where the headaches began.

Initially on the install, neither headphones or couchpotato would start up, so I tried a reboot (rather than the plugin on/off switch, which if I remember correctly, aided in some of the sickbeard hiccups earlier). On rebooting, SickBeard decided it didn't want to run anymore, and the other 3 would show up as "ON", but I was unable to figure out the ports for headphones/couchpotato, and went as far as portscanning my rig for them 8000-9900 with no success. This was followed by 20+ reboots, uninstalling/reinstalling each of the plugins in various orders, turning plugins off/on, etc, etc, etc. Roughly 3-4 hours of messing around with it with little to no success. So far, this is what I've come up with:

Despite being incredibly finicky, and not working a good majority (70%+) of the time, SickBeard & Sabnzbd are the only two plugins I've been able to get to work. As soon as headphones or couchpotato joins the club, they shit the bed and regardless of what revival attempts are made, none of the plugins ever make it back to their feet.

Anyone have any advice on what I can look at doing in order to get some momentum on these things? I've currently got all 4 installed on my FreeNAS 8.3, and other than couchpotato (which can't be reached on 5000, or 8082. Not sure if it's suppose to load anywhere else), none of them will even turn on. While I'm sure that uninstalling/reinstalling will be able to get sick/sab working again, I'm hoping to make some headway with the other two before I do anything, because out of the last 4-5 hours of messing around, I've been able to get all 4 of them turned on at the same time, I've just been unable to connect to headphones/couch (and in trying to figure that out, I fiddled with it once and since then, none of the 4 turn on :S ..) ..... Annoying.
 

Tyrith

Dabbler
Joined
Aug 31, 2012
Messages
21
Looks like I managed to track the ports down (5050 & 8181 respectively), so I guess that answers why I was having issues with them being on and not connecting. Google failed me!

I guess it's back to the drawing board to get all 4 of the programs running again, hopefully it takes less than 3-4 hours this time :(
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Looks like I managed to track the ports down (5050 & 8181 respectively), so I guess that answers why I was having issues with them being on and not connecting. Google failed me!

I guess it's back to the drawing board to get all 4 of the programs running again, hopefully it takes less than 3-4 hours this time :(

Wow sounds like alot of reboots =O
This isn't windows so reboots usually don't do much except wear down your disks more.

Hopefully I can make the plugin a little more friendly for people to get started. The ports are stated in the youtube video I linked. Also 'sockstat' and 'ps aux' are your friends and would have given you this information. In version 0.9 I put a little comment in the edit menu that says where you can find the plugins by default, hopefully this will help some people. Goodluck!
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Version 0.9

Changes include..

*added where you can find the programs running by default in their respective edit menu

*added sickbeard anime

*Run all programs as user 'media'
You may need to change the owner of your 'data/' directories and your media files
 
Status
Not open for further replies.
Top