sabnzbd / sickbeard / couchpotato pbi's

Status
Not open for further replies.

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
8.3 should be fine, I test the plugins on a 8.3 system and things seem to work.

Sounds like some permissions mess is going on =O
Hopefully the next update will solve some of this, gonna run all these apps as a 'media' user so they wont be conflicting with each other as much

Sorry but I don't recommend the FreeNAS webgui update till I figure out what exactly that does..
still recommend the tedious *stop *data/ backup *uninstall *install *data/ restore *start
 

russdyer

Dabbler
Joined
Sep 28, 2011
Messages
45
First, don't do things blindly. Look at what's there before you chown or chmod. What are the ownership and permissions for the sabnzbd-amd64/data directory, and for the data/config.ini file? What user is the service running as (ps waux | grep sabnzbd, the first column is the user the process is running as)? If the service is not running as the right user, chowning isn't going to help. If it is running as the right user but the files are already owned properly, that's not going to help.

If you're up for it, I'd definitely recommend downgrading. Save your current config, put 8.2 on a different USB drive (keep your current 8.3 drive just in case), boot up 8.2 and import your old config, and then setup your jail and plugins.

root 14252 0.0 0.3 80204 22788 ?? IsJ Mon03AM 0:12.91 /usr/pbi/sabnzbd-amd64/bin/python /usr/pbi/sabnzbd-amd64/contro
sabnzbd 32300 0.0 0.5 103812 36680 ?? IJ 3:24AM 0:06.35 /usr/pbi/sabnzbd-amd64/bin/python /usr/pbi/sabnzbd-amd64/SABnzb
root 32509 0.0 0.0 6192 800 1 R+J 3:37AM 0:00.00 grep sabnzbd

data directory is :

drwxr-xr-x 5 sabnzbd sabnzbd 9 Sep 3 12:27 data

config.ini file is :

-rw------- 1 sabnzbd sabnzbd 3211 Sep 4 03:24 config.ini
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
should there be an actual "sabnzbd" user listed under my FreeNAS users?

Nope, sabnzbd user is a jail user. FreeNAS user are on the actual FreeNAS userspace.
 

Zorglub

Cadet
Joined
Jan 9, 2012
Messages
7
Hello,

I have some trouble with Sabnzbd configuration.

I have a fresh install of Freenas 8.2 (FreeNAS-8.2.0-RELEASE-p1-x64). Then I install the jail plugin (FreeNAS-8.2.0-RELEASE-x64.Plugins_Jail) and last Joshua's Sabnzbd (sabnzbd-0.8.1-amd64)

I create some mount points for sabnzbd :
/mnt/Seagate/Public/Downloads/complete /mnt/Seagate/jail/plugin/media/Downloads/complete
/mnt/Seagate/Public/Downloads/incomplete /mnt/Seagate/jail/plugin/media/Downloads/incomplete
/mnt/Seagate/Public/Downloads/NZB /mnt/Seagate/jail/plugin/media/Downloads/NZB

But when I try to setup sabnzbd directories (/mnt/media/Downloads/complete for example), it revert to Downloads/complete each time ... :S

I tried to configure thru the GUI, by editing config.ini thru the shell windows, I can't same my preference ...

Please help me, it's turning me crazy ...

Thanks a lot

FX
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Hello,

I have some trouble with Sabnzbd configuration.

I have a fresh install of Freenas 8.2 (FreeNAS-8.2.0-RELEASE-p1-x64). Then I install the jail plugin (FreeNAS-8.2.0-RELEASE-x64.Plugins_Jail) and last Joshua's Sabnzbd (sabnzbd-0.8.1-amd64)

I create some mount points for sabnzbd :
/mnt/Seagate/Public/Downloads/complete /mnt/Seagate/jail/plugin/media/Downloads/complete
/mnt/Seagate/Public/Downloads/incomplete /mnt/Seagate/jail/plugin/media/Downloads/incomplete
/mnt/Seagate/Public/Downloads/NZB /mnt/Seagate/jail/plugin/media/Downloads/NZB

But when I try to setup sabnzbd directories (/mnt/media/Downloads/complete for example), it revert to Downloads/complete each time ... :S

I tried to configure thru the GUI, by editing config.ini thru the shell windows, I can't same my preference ...

Please help me, it's turning me crazy ...

Thanks a lot

FX

Hmm did you try editing the settings through sabnzbd's gui? I think if you have sabnzbd running, and edit the config.ini it will just write over it. I'll check this though as I think someone else had problems with this.
 

gesshoku

Dabbler
Joined
Jun 23, 2012
Messages
46
I had a similar issue with sickbeard. i tried changing the default dir for series (via config file) again and again and each time it got reverted.
i felt pretty dumb, when it dawned on me that of course the changes wouldn't take effect if i did them with sickbeard running hehe
Despite my efforts of restarting for the changes take effect ;-)
 

Zorglub

Cadet
Joined
Jan 9, 2012
Messages
7
Thanks for your answers but I try stopping sabnzbd plugin ( and check twice with a service -e from inside the jail) and I got the same trouble. I try editing config.sys and config.sys.ban then set permission to 444 this time /media/Downloads/complete remains change but Downloads/imcomplete came back. It's turn me crazy ...
Cheers
 

russdyer

Dabbler
Joined
Sep 28, 2011
Messages
45
Hmm did you try editing the settings through sabnzbd's gui? I think if you have sabnzbd running, and edit the config.ini it will just write over it. I'll check this though as I think someone else had problems with this.

I'm also having problems with this. I don't understand what permissions I need to set to allow the GUI to save changes. I would assume that 777 on the config file, but that doesn't work.
 

TazgodX

Dabbler
Joined
Aug 1, 2012
Messages
21
I would be more than happy to take a crack at making a sickbeard anime pbi, but not sure how much i can actually do. let me get a VM up and running to run some test installs, and then ill get your my public key.
might be a little while though.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Why do guys want to change the settings from the config file? What's wrong with sabnzbd's webgui?

Also Russ you shouldn't have to change any permissions from a clean install, the files are created by sabnzbd with the correct permissions.

Also working on packaging up the anime build now.. should have some test builds up soon for you guys.
 

dysolve

Cadet
Joined
Sep 5, 2012
Messages
6
Joshua, great work!
I got a N40L yesterday and had everything working within an hour but I do have a few questions that I could not find answer too, maybe the answer are around but I do not really know what to search for.

1. I have freenas running on a usb stick, can I setup the plugins to be also on the stick and not taking up space on a drive?
2. I can not figure out how to gain access to file shares out side of the jail for the programs. e.g I want movies,tv shows, music all on separate drives.

thanks in advance. David
 

Zorglub

Cadet
Joined
Jan 9, 2012
Messages
7
Why do guys want to change the settings from the config file? What's wrong with sabnzbd's webgui?
Also working on packaging up the anime build now.. should have some test builds up soon for you guys.
Because I need to change default directories as I have some trouble wirh the 88 character limitation for the Mount functionnality ...
FX
 

russdyer

Dabbler
Joined
Sep 28, 2011
Messages
45
Why do guys want to change the settings from the config file? What's wrong with sabnzbd's webgui?

Also Russ you shouldn't have to change any permissions from a clean install, the files are created by sabnzbd with the correct permissions.

Also working on packaging up the anime build now.. should have some test builds up soon for you guys.

Joshua,

Here is a little insight into my experience and possible issues with FreeNAS 8.3 Beta1. I had 8.3B1 installed and was running your SABnzbd 8.1 plugin. In the GUI, under plugins...the ON/OFF switch wasn't working properly yet I could still access SABnzbd through the webGUI (no big deal). Also, I think people are trying to edit the config.ini file because "certain" changes wouldn't save in the GUI configuration. In my case, I didn't want the "complete" "incomplete" and "watch" directories under the default location. I wanted them under "media/Downloads/incomplete" "media/Downloads/complete" and "media/Downloads/watch". I had created a working mount point but every time I tried to change the "complete" "incomplete" and "watch" locations, click the "Save Settings" button and navigated away to a different section of the configuration page (or restarted SABnzbd) and went back to "Folder Settings" then the settings reverted back to the default.

Last night, I decided to move away from 8.3 Beta 1 as suggested by toddos. I did a clean USB install of 8.2 Release (BTW, I tried the upload the config file and it screwed up...it applied it and on reboot would never load FreeNAS --> it got stuck at the boot screen...maybe it's not backwards compatible after all, but I was able to Auto Import my Data Shares, so everything is fine).

Anyways, long story short...I installed your SABnzbd plugin on 8.2 Release and the ON/OFF button functions properly and I can successfully save folder locations. I'm hoping that this is just a BETA issue that will be fixed for the next release.

Thanks for all the help.

Russ
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I have exactly the same trouble as Russ but on a fresh 8.2-rc1 install ...

Fx

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
 

toddos

Contributor
Joined
Aug 18, 2012
Messages
178
Joshua, great work!
I got a N40L yesterday and had everything working within an hour but I do have a few questions that I could not find answer too, maybe the answer are around but I do not really know what to search for.

1. I have freenas running on a usb stick, can I setup the plugins to be also on the stick and not taking up space on a drive?
2. I can not figure out how to gain access to file shares out side of the jail for the programs. e.g I want movies,tv shows, music all on separate drives.

thanks in advance. David

To answer your questions:

  1. No. The freenas boot USB stick is consumed entirely by the freenas system and you can't regain any of the "wasted" space (freenas only requires 2GB, but that's base-2 2GB 2^31 not base-10 2GB 2*10^9 so you need at minimum a 4GB USB stick and you can't use the remaining ~1.5GB on the 4GB stick that aren't used by freenas). The easiest thing to do is to create your jail datasets on your main storage volume. They don't consume a whole lot of space.
  2. This is what mount points are for. Mount your different drives into your jail and set the configuration for each app to save things into the right place.
 

gesshoku

Dabbler
Joined
Jun 23, 2012
Messages
46
Why do guys want to change the settings from the config file? What's wrong with sabnzbd's webgui?

Also Russ you shouldn't have to change any permissions from a clean install, the files are created by sabnzbd with the correct permissions.

Also working on packaging up the anime build now.. should have some test builds up soon for you guys.

i couldn't find where to configure the default folder for new series in sickbeard. i imported the config from my old setup, which had a different path that no longer exists. After stopping the sickbeard service, editing config, starting service everything had worked out for me. i was just commenting on that one shouldn't try editing the config while the plugin/program/service is still running.

@Anime build: yay :D
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
gesshokku
I see, nice glad everything's working.

Should have some free time tomorrow and get the test build of sickbeard anime out.
 

dysolve

Cadet
Joined
Sep 5, 2012
Messages
6
To answer your questions:

  1. No. The freenas boot USB stick is consumed entirely by the freenas system and you can't regain any of the "wasted" space (freenas only requires 2GB, but that's base-2 2GB 2^31 not base-10 2GB 2*10^9 so you need at minimum a 4GB USB stick and you can't use the remaining ~1.5GB on the 4GB stick that aren't used by freenas). The easiest thing to do is to create your jail datasets on your main storage volume. They don't consume a whole lot of space.
  2. This is what mount points are for. Mount your different drives into your jail and set the configuration for each app to save things into the right place.

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
 
Status
Not open for further replies.
Top