sabnzbd / sickbeard / couchpotato pbi's

Status
Not open for further replies.

HHawk

Contributor
Joined
Jun 8, 2011
Messages
176
I have a quick question, I never bothered with it earlier (as in my previous Freenas / Sabnzbd / Couchpotato) installations, however I want it now setup correctly.

I setup Couchpotato that it should download movies to _movies folder within Downloads directory. However the files alway get placed in Downloads instead of Downloads/_movies? How do I solve this? Any idea?

On a sidenote; I noticed something different (probably Couchpotato setting), but it now downloads movies like this:

15711-a.b.hdtv.x264EFNet- Somemovie.2009.720p.BluRay.x264-aBD -008113 - abd-Somemovie720p-sample.mkv yEnc
(directory name)

In my previous installation it downloaded movies like this:

Somemovie 2009 720p Bluray x264 aBD
(directory name)

So without all extra mumbo jumbo. Which setting is this?

However, the first question is the most important (and most annoying) one at the moment. Thanks in advance for your help.
 

toddos

Contributor
Joined
Aug 18, 2012
Messages
178
It sounds like you're missing two things:

  1. You need a SABnzbd category for movies, mapped to the relative folder in SAB's download path that you want movies saved in, with the corresponding category set in Couchpotato configs
  2. You should configure CP's post-processing rules to move and rename downloads from SAB's download directory (with the category path, if that's where you're downloading to) to your final target directory and file naming structure.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
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?

I've had problems with this before as well, but i think I fixed it by getting the right time in my jai (which you seem to have). There's also a timezone setting in sickbeard apparently (says there faq) but I've searched and couldn't find it.
 

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?

Nobody have a solution for this ? ;)? There should be a way this is possible :).
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Nobody have a solution for this ? ;)? There should be a way this is possible :).

I don't use samba so I can't help much, you might be able to change the permissions couchpotato saves the files as. I know you can do it with the file sabnzbd downloads.
 

JanJessen

Cadet
Joined
Mar 15, 2012
Messages
2
Hi every one

I'm using the version 1.0 pbi of sickbeard and SABnzbd with freenas 8.3.0.

I'm having a weird issue in SABnzbd, when i go to the Config / Categories tab where i have setup a tvshows category. Next to the TV there should be a dropdown for post processing script and where i should be able to select the SABtoSickbeard.py that dropdown isn't there ?

In SABnzbd Config / folders tab under the Post-Processing Scripts Folder setting box i have tried to put the path to /SickBeard/autoProcessTV/ and press save but if i go to another tab in the config and come back to the folders tab the information i just put in is gone ?

Can anyone tell me if this is a bug or what i'm doing wrong, it's driving me nuts :)
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Hi every one

I'm using the version 1.0 pbi of sickbeard and SABnzbd with freenas 8.3.0.

I'm having a weird issue in SABnzbd, when i go to the Config / Categories tab where i have setup a tvshows category. Next to the TV there should be a dropdown for post processing script and where i should be able to select the SABtoSickbeard.py that dropdown isn't there ?

In SABnzbd Config / folders tab under the Post-Processing Scripts Folder setting box i have tried to put the path to /SickBeard/autoProcessTV/ and press save but if i go to another tab in the config and come back to the folders tab the information i just put in is gone ?

Can anyone tell me if this is a bug or what i'm doing wrong, it's driving me nuts :)

Just to check some stuff..
- your putting the full jail path to the SickBeard autoProcessTV folder, with a / in the front right? should be /usr/pbi/sickbeard-amd64/SickBeard/autoProcessTV
- other settings save fine?
 

JanJessen

Cadet
Joined
Mar 15, 2012
Messages
2
Hi Joshua

Yeah i'm putting the full jail path with / in the front. All other settings are saving just fine including the different path stuff in the Config / Categories tab. I have also checked permissions they har owner Media group Media.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Hi Joshua

Yeah i'm putting the full jail path with / in the front. All other settings are saving just fine including the different path stuff in the Config / Categories tab. I have also checked permissions they har owner Media group Media.

maybe check the config file for sabnzbd and see what the setting is. You could also shutdown sabnzbd, edit the config file, start it up and see if it shows up correctly in the gui.
 

Rutix

Cadet
Joined
Oct 23, 2012
Messages
6
I don't use samba so I can't help much, you might be able to change the permissions couchpotato saves the files as. I know you can do it with the file sabnzbd downloads.

What do you use then for the shares? And do you know a way for what you use as shares? I can always switch it doesn't have to be smb :).
 

poizun

Cadet
Joined
Nov 11, 2012
Messages
7
First off, AWESOME WORK. I have to hand it to you, Josh; you've done a pretty awesome job putting these PBIs together.

I've been a lurker for quite some time now, and I was able to get the plugins working from a while back (0.7 which required manually starting the service). Everything's been running pretty awesome with the exception of that 'Update found' notification in Sabnzbd. Anyhow, I just wanted to stay up to date and noticed that you were up to v1.0.

I was wondering if it was safe to just 'Upgrade' the PBIs through the FreeNAS web interface or if it were cleaner to do an uninstall and then re-install? I'd prefer just upgrading, but I wasn't sure if I'd be stuck with non-functional app instances afterwards. Any input would be greatly appreciated. Thanks!
 

toddos

Contributor
Joined
Aug 18, 2012
Messages
178
First off, AWESOME WORK. I have to hand it to you, Josh; you've done a pretty awesome job putting these PBIs together.

I've been a lurker for quite some time now, and I was able to get the plugins working from a while back (0.7 which required manually starting the service). Everything's been running pretty awesome with the exception of that 'Update found' notification in Sabnzbd. Anyhow, I just wanted to stay up to date and noticed that you were up to v1.0.

I was wondering if it was safe to just 'Upgrade' the PBIs through the FreeNAS web interface or if it were cleaner to do an uninstall and then re-install? I'd prefer just upgrading, but I wasn't sure if I'd be stuck with non-functional app instances afterwards. Any input would be greatly appreciated. Thanks!

Don't upgrade the PBI through the UI. Finish whatever you're downloading, stop SAB, copy the contents of your data folder somewhere else, uninstall the old PBI, install the new PBI, copy the contents of the data folder back into place, chown those files to media:media, and then restart. It sounds like a lot of steps, but it's really not that painful.

And once you're up to the 1.0 PBI, there's a provided script to upgrade SAB to the latest release without having to install a new PBI (it's covered in the first post of this thread).
 

h0mer

Cadet
Joined
Nov 12, 2012
Messages
2
Hi,

first off all thanx and credits to Joshua and other teammembers for the excellent work. I have downloaded the 0.9 32bit Sabnzbd version and installed it. First run was succesfull but after messing with the nameserver couldn't get sab to start again. I deleted the jail, created a new one and it is working a-okay now. As I am a total noob on freenas, freebsd, with some basic knowledge on unix (know how to chmod, cd, ls -la, etc.) I noticed that the downloaded files via Sab are all with permission 700. As I would like to have control via my CIFS share on a windows machine (Yes I know, better OS's do exists) I would like to have default it 777. Now I have to log on to my freenas server, open a shell, cd to the Downloaded folder and 'chmod -R 777 *'.

Can anyone please let me know how default the filepermission to 777 inside the jail created by Sabnzbd?

Hope it can be fixed!!! Thank you all for the good work!!! Have enjoyed reading this post!!!
 

toddos

Contributor
Joined
Aug 18, 2012
Messages
178
Can anyone please let me know how default the filepermission to 777 inside the jail created by Sabnzbd?

I'm surprised you're seeing 700 permissions, as I though SAB's default was 755. But I don't have a default install to check on. That said, SAB exposes folder permission settings in the UI. Click "Config" at the top left of the screen, click "Folders", and set "Permissions for completed downloads" to 777. Save the config, and any future downloads should end up with 777 permissions.
 

h0mer

Cadet
Joined
Nov 12, 2012
Messages
2
Hi Toddos,

strange this option was somehow blank upon install. I imagined new files would get same permissions as folder they are placed in. Apparently not. Have this option now set to 777. Seems it is working perfectly now. Thanks!!!

Thanks to all supporters of freenas and especially to all creators and contributors of these pbi's.

Thanks also for all the support to noobs like me ;-)))))
 

jchong

Cadet
Joined
Nov 9, 2012
Messages
5
Is it possible to install two instances of SickBeard? One using port 8081 and the second instance on port 8082?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
What do you use then for the shares? And do you know a way for what you use as shares? I can always switch it doesn't have to be smb :).

I use NFS, and have all my permissions open, not the safest idea but I have my servers firewalled off from the rest of my network. I do use SMB but not much so I can't help much..
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Is it possible to install two instances of SickBeard? One using port 8081 and the second instance on port 8082?

Not out of the box, but it is possible without too much fuss.
* install sickbeard pbi, start the plugin, change the port to 8082.
* install sickbeard_anime pbi
Code:
rm -r /usr/pbi/sb_anime-amd64/SickBeard/ #delete the SickBeard Anime webinterface files
cp /usr/pbi/sickbeard-amd64/SickBeard/  /usr/pbi/sb_anime-amd64/SickBeard/ #copy over the SickBeard webinterface files

*start sickbeard anime plugin, which should actually present you with regular sickbeard

goodluck
 

jchong

Cadet
Joined
Nov 9, 2012
Messages
5
Thanks Joshua - it appears to have worked.

However, there is an error when I go to the "Config" -> "Help & Info":



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/sb_anime-amd64/SickBeard/cherrypy/_cprequest.py", line 660, in respond
response.body = self.handler()
File "/usr/pbi/sb_anime-amd64/SickBeard/cherrypy/lib/encoding.py", line 193, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "/usr/pbi/sb_anime-amd64/SickBeard/cherrypy/_cpdispatch.py", line 25, in __call__
return self.callable(*self.args, **self.kwargs)
File "/usr/pbi/sb_anime-amd64/SickBeard/sickbeard/webserve.py", line 1438, in index
return _munge(t)
File "/usr/pbi/sb_anime-amd64/SickBeard/sickbeard/webserve.py", line 120, in _munge
return unicode(string).encode('utf-8', 'xmlcharrefreplace')
File "/usr/pbi/sb_anime-amd64/lib/python2.7/site-packages/Cheetah/Template.py", line 1010, in __unicode__
return getattr(self, mainMethName)()
File "_usr_pbi_sb_anime_amd64_SickBeard_data_interfaces_default_config_tmpl.py", line 114, in respond
File "/usr/pbi/sb_anime-amd64/SickBeard/sickbeard/versionChecker.py", line 416, in _find_installed_version
fp = open(version_file, 'r')
IOError: [Errno 13] Permission denied: '/usr/pbi/sb_anime-amd64/SickBeard/version.txt'
Powered by CherryPy 3.2.0rc1


I'll try adding shows anyway and see what happens...


Thanks again
 
Status
Not open for further replies.
Top