sabnzbd / sickbeard / couchpotato pbi's

Status
Not open for further replies.

wreuel

Dabbler
Joined
Oct 26, 2012
Messages
47
I am running version 0.7.3 of SABnzbd on my FreeNAS 8.3.0 SABnzbd and says he has a new version, how do I update to the same? What step should I take?
I searched the forum and only found something in the first post of this thread, but I did not understand where I execute that command.

Sorry for my english ... I am Brazilian.
 

toddos

Contributor
Joined
Aug 18, 2012
Messages
178
Open your jail ("jexec `jls jid` csh"), go to your sabnzbd directory ("cd /usr/pbi/sabnzbd-`uname -m`"), and then run ./sabnzbd-update.sh. That script will stop sab if necessary, pull down the new build, put the bits in the right place, and then restart sab if it was running when you started the script.

Note that you may need to run "chown -R media:media /usr/pbi/sabnzbd-`uname -m`/SABnzbd afterward. The script should do that for you, but depending on when you installed the plugin there was a bug in the update script that it wasn't chowning to the right user.
 

wreuel

Dabbler
Joined
Oct 26, 2012
Messages
47
Open your jail ("jexec `jls jid` csh"), go to your sabnzbd directory ("cd /usr/pbi/sabnzbd-`uname -m`"), and then run ./sabnzbd-update.sh. That script will stop sab if necessary, pull down the new build, put the bits in the right place, and then restart sab if it was running when you started the script.

Note that you may need to run "chown -R media:media /usr/pbi/sabnzbd-`uname-m`/SABnzbd afterward. The script should do that for you, but depending on when you installed the plugin there was a bug in the update script that it wasn't chowning to the right user.

Thank's i update my sabnzbd with success!
 

Rutix

Cadet
Joined
Oct 23, 2012
Messages
6
The PBI's work great! But I am still tweaking permissions and having some problems. What I did was that i have a dataset Movies which lives at /mnt/vault/Movies. I then added a mount point to a directory inside the jail and used:
Code:
chown 1003:media /usr/Movies
This way it allows couchpotato/sickbeard/sabnzb to write to that folder and it allows my base system to also create stuff in that folder. This works great but the problem is that when couchpotato move stuff to that folder I can't delete it from samba through the 1003 user. I already tried creating a media group with the same GID in the base system and then assigning 1003 to that group but it still doesnt work.

Can anyone tell me what i have to do so i am also able to delete the folders/files sickbeard/couchpotato create from a samba share?
 

HHawk

Contributor
Joined
Jun 8, 2011
Messages
176
Weird problem here. I installed Couchpotato en filled in the configuration details (like login). But when I try to access and enter my login details it says it's incorrect. At first I thought I had made a mistake, so I disabled it, deleted it, reinstalled it and reentered everything. But still the same problem, meaning I cannot login into Couchpotato... Any idea?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Weird problem here. I installed Couchpotato en filled in the configuration details (like login). But when I try to access and enter my login details it says it's incorrect. At first I thought I had made a mistake, so I disabled it, deleted it, reinstalled it and reentered everything. But still the same problem, meaning I cannot login into Couchpotato... Any idea?

weird, you could check the config file (for the username/password it records) or the log files. Look in /usr/pbi/couchpotato-amd64/data in your jail
 

HHawk

Contributor
Joined
Jun 8, 2011
Messages
176
weird, you could check the config file (for the username/password it records) or the log files. Look in /usr/pbi/couchpotato-amd64/data in your jail

Well the username I entered is in there. Maybe it doesn't like the used password?
Any other ideas?
 

HHawk

Contributor
Joined
Jun 8, 2011
Messages
176
Well the username I entered is in there. Maybe it doesn't like the used password?
Any other ideas?

Used a different password and now it works. I guess passwords shouldn't start with a %-symbol...? :S
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Used a different password and now it works. I guess passwords shouldn't start with a %-symbol...? :S

Yeah I use more basic passwords on these programs... I remember I couldn't use '!' in my sabnzbd password because sickbeard would error through scripts where it logged into sabnzbd
 

seer_tenedos

Dabbler
Joined
Sep 12, 2011
Messages
25
Is there any chance the sickbeard and sickbeard-anime could be made as 2 separate plugins that run on different ports so i can have both installed? The anime branch is great for anime but it is way behind the main branch and i am finding a lot of issues with normal tv show son it. i hope to run them side by side so one for anime and one for normal tv and it would be great if that could easily be done with the plugins. They just need differing ports, folders and service name i would think. COnfiguring them both to run is something i have done in the past and was not hard it is just i am not sure how to do all that with the plugin system.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Is there any chance the sickbeard and sickbeard-anime could be made as 2 separate plugins that run on different ports so i can have both installed? The anime branch is great for anime but it is way behind the main branch and i am finding a lot of issues with normal tv show son it. i hope to run them side by side so one for anime and one for normal tv and it would be great if that could easily be done with the plugins. They just need differing ports, folders and service name i would think. COnfiguring them both to run is something i have done in the past and was not hard it is just i am not sure how to do all that with the plugin system.

They already do run simultaneously. Just install one, change the port, then install the other.
 

mh348

Dabbler
Joined
Oct 4, 2011
Messages
10
I have upgraded from FreeNAS 8.0.1 to 8.3 and have setup jail and installed the plugins.. I have to copy over my config.ini and history from my old setup, but I seem to be having an issue with the permissions..
What command do I need to run to assing the correct permissions, that will
1. Allow me to Copy the config via CIFS/windows share to the jail folder?
2. Allow my Plugins to write to the drives

From what I have found online, I should go to the pbi folder, which in my case is

Code:
/mnt/RAID/jail/jail/usr/pbi


then run a chmod command, I tried the following which allows me to copy the config over, but then sabnzbd won't startup..

Code:
cd /mnt/RAID/jail/jail/usr/pbi
find . -type f -print -exec chmod 766 {} \;
find . -type d -print -exec chmod 777 {} \;





I'm having an issue with permissions
 

np247

Dabbler
Joined
Jul 22, 2012
Messages
13
Is anyone else have FreeNAS Sickbeard 1.0 timing issues?

If Show A airs at 9:00 - 9:30, I can check and see on nzbmatrix that the show is usually uploaded by 9:35 at the latest. I have Sickbeard configured to search for new episodes every 10 minutes. So, I would assume by 10:00, it would have searched at least once, found it, snatched it, and downloaded -- however, none of that is happening.
By 10:00, I check "Coming Episodes" and Show A will still be listed as "Coming" rather than "Missed". If I go into the details of Show A, I can see the episode which has already aired will be greyed out as if it hasn't aired yet. I can run a full update, etc. but nothing seems to change this.

If I wait until 11:30ish, it will automagically download how it normally should, only much much later.

I ran a jexec 1 /bin/tcsh followed by "date". The date/time/timezone is all correct. What kind of magic is happening here?
 

ljw1

Dabbler
Joined
Apr 29, 2012
Messages
16
If you can see the file yourself just add it to the tv group on sabnzbd and sickbeard will process the file when done, which is what I do on shows that I want to watch now. Sickbeard is supposed to be an automator that you leave alone not constantly monitor it.
 

np247

Dabbler
Joined
Jul 22, 2012
Messages
13
If you can see the file yourself just add it to the tv group on sabnzbd and sickbeard will process the file when done, which is what I do on shows that I want to watch now. Sickbeard is supposed to be an automator that you leave alone not constantly monitor it.

Thanks for the reply.

I agree, I _can_ manually do this however I shouldn't have to. There are other people in the house who are less techy than I :)
 

mh348

Dabbler
Joined
Oct 4, 2011
Messages
10
Update: I managed to get sab working and successfully transferred my old config file, I also addded mount points for sab so it's saving files to the correct location..

Now I'm having trouble with sickbeard, I managed to move my config & old database file over, but the paths to my series folders cannot be found since i'm using jail... I tried adding a mount point (sickbeard data folder pointed to my series folder), but the web interface gave the following error, and I can't turn sickbeard plugin back on

Code:
500 Internal Server Error

The server encountered an unexpected condition which prevented it from fulfilling the request.

Traceback (most recent call last):
  File "/usr/pbi/sickbeard-amd64/SickBeard/cherrypy/_cprequest.py", line 660, in respond
    response.body = self.handler()
  File "/usr/pbi/sickbeard-amd64/SickBeard/cherrypy/lib/encoding.py", line 193, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/usr/pbi/sickbeard-amd64/SickBeard/cherrypy/_cpdispatch.py", line 25, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/usr/pbi/sickbeard-amd64/SickBeard/sickbeard/webserve.py", line 1953, in index
    return _munge(t)
  File "/usr/pbi/sickbeard-amd64/SickBeard/sickbeard/webserve.py", line 120, in _munge
    return unicode(string).encode('utf-8', 'xmlcharrefreplace')
  File "/usr/pbi/sickbeard-amd64/lib/python2.7/site-packages/Cheetah/Template.py", line 1010, in __unicode__
    return getattr(self, mainMethName)()
  File "_usr_pbi_sickbeard_amd64_SickBeard_data_interfaces_default_home_tmpl.py", line 105, in respond
  File "/usr/pbi/sickbeard-amd64/SickBeard/sickbeard/db.py", line 51, in __init__
    self.connection = sqlite3.connect(dbFilename(filename), 20)
OperationalError: unable to open database file


I tried deleting the mount point but that doesn't seem to help. I cound delete the plugin and start-over, but all my series are linked to the pre-jail location so I need to figure out how to solve that.. any suggestions ??

**UPDATE: After rebooting my FreeNAS box, sickbeard started, but I still need to "remap" the folders..


Current location where files are stored:
/mnt/RAID/media/Series/

All non-absolute folder locations are relative to
/usr/pbi/sickbeard-amd64/data

How should I create the mount point?
 

HHawk

Contributor
Joined
Jun 8, 2011
Messages
176
Probably nobody will ever have this problem (or being as stupid as I am), but I just wanted to share something. First; I am an complete Unix noob; this makes me a FreeNAS and FreeBSD noob as well.

Anyways, I had the "smart" idea to add my Jail IP in my router's (Asus RT-N66 with TomatoUSB firmware) 'Static DHCP/ARP'-list (IP 192.168.0.101), however for some reason that didn't work. And I couldn't get Sabnzbd running anymore either. Every time it was stuck on testing server connection. Of course I went to the shell and tried pinging an outside address. This worked. So I got pretty angry that stuff wasn't working...

After 2 days (!) I finally found the problem. When I was trying to update Sabnzbd, to see if that would solve the problem, I noticed it couldn't get an address, so I tried pinging from WITHIN the jail and voila, no ping possible. So I still didn't know what to do, however in a final attempt I decided to remove the IP from my router's 'Static DHCP/ARP'-list and that worked. Not only did it download the update for Sabnzbd (thanks to the explanation which was mentioned earlier in this excellent thread), but everything works now as it should.

As mentioned above, probably nobody will be as stupid as me and will never need this, but who knows and I wanted to share this with you.
 

np247

Dabbler
Joined
Jul 22, 2012
Messages
13
Probably nobody will ever have this problem (or being as stupid as I am), but I just wanted to share something. First; I am an complete Unix noob; this makes me a FreeNAS and FreeBSD noob as well.

Anyways, I had the "smart" idea to add my Jail IP in my router's (Asus RT-N66 with TomatoUSB firmware) 'Static DHCP/ARP'-list (IP 192.168.0.101), however for some reason that didn't work. And I couldn't get Sabnzbd running anymore either. Every time it was stuck on testing server connection. Of course I went to the shell and tried pinging an outside address. This worked. So I got pretty angry that stuff wasn't working...

After 2 days (!) I finally found the problem. When I was trying to update Sabnzbd, to see if that would solve the problem, I noticed it couldn't get an address, so I tried pinging from WITHIN the jail and voila, no ping possible. So I still didn't know what to do, however in a final attempt I decided to remove the IP from my router's 'Static DHCP/ARP'-list and that worked. Not only did it download the update for Sabnzbd (thanks to the explanation which was mentioned earlier in this excellent thread), but everything works now as it should.

As mentioned above, probably nobody will be as stupid as me and will never need this, but who knows and I wanted to share this with you.

Oddly enough had the exact same issue...
 
Status
Not open for further replies.
Top