[Support Thread] SAB / SB / CP / HP / Maraschino / LL / Gamez

Status
Not open for further replies.

raidflex

Guru
Joined
Mar 14, 2012
Messages
531
No you are fine with the existing jail.

That is what I figured since its been working without issues. Seems like there is a big potential for data loss when upgrading the jail. Thanks.
 

Wolfeman0101

Patron
Joined
Jun 14, 2012
Messages
428
That is what I figured since its been working without issues. Seems like there is a big potential for data loss when upgrading the jail. Thanks.

I believe upgrading your jail will erase all data so yeah if you do it back up all your settings.
 

sdspieg

Contributor
Joined
Aug 6, 2012
Messages
168
[Why isn't this thread sticky?]

When I try to upgrade sabnzbd, I get the following response:
Code:
software# ./sabnzbd-update.sh                                                   
/dev/null                                     100% of    3  B   10 kBps         
1                                                                               
2                                                                               
3                                                                               
fetch: http://sourceforge.net/projects/sabnzbdplus/files/latest/download: No add
ress record  


Any idea of what goes wrong? Thanks!
 

sdspieg

Contributor
Joined
Aug 6, 2012
Messages
168
And another question: my Sickbeard is getting a lot of
Code:
URL error [Errno 8] hostname nor servname provided, or not known while loading URL

errors. I read on the sabnzbd support site that this may be due to an improperly specified hostname. When I check, I see
Code:
[root@freenas /]# hostname -f                                                   
freenas.local                                                                   
[root@freenas /]# hostname -s                                                   
freenas 

Does anybody see a problem here? Oh and my rc.conf says
Code:
hostname="freenas"

Thanks!
 

sdspieg

Contributor
Joined
Aug 6, 2012
Messages
168
I think I may have figured it out. I had changed my router configuration a while back (changed the gateway from 192.168.1.3 to 192.168.1.1). So I changed that setting in my FreeNAS network settings (global configuration - first tab) and now everything seems to working again. I seem to have had quite a backlog, which all programs are now merrily catching up on! Nice...
 

kasper_flip

Cadet
Joined
Apr 8, 2013
Messages
7
Hey guys
Just wondering if anyone else has problems with Sickbeard notifying XBMC when new shows are snatched/downloaded - when I try to test the settings it says
Test notice failed to 192.168.1.6:80
I previously had Sickbeard running on a Windows 7 computer which sent notifications fine (using that same IP & port), so I can't help but think it must be something to do with the plugins/freenas.
It would be great if I could get it running again as the per-show update was much better than manually doing full library updates (which is what I have to do now)
Thanks
Kasper
 

WhirlwindMonk

Dabbler
Joined
Apr 13, 2013
Messages
15
- dropped sickbeard anime branch (you can always change your branch by changing you /usr/pbi/sickbeard-`uname -m`/Sickbeard folder to a different branch's source files)

So, I did that, using these instructions:

It might just be easier for you to replace your current SickBeard folder with the anime branch source.

Code:
service sickbeard stop
cd /usr/pbi/sickbeard-`uname -m`
rm -r Sickbeard
fetch https://github.com/lad1337/Sick-Beard/tarball/anime
tar xvfz anime
mv lad1337-Sick-Beard-* SickBeard
chown -R sickbeard:sickbeard SickBeard
service sickbeard start


This will blow away your autoProcessTV/autoProcessTV.cfg and may need to be run everytime you update the plugin (not the program though)

(though I changed the second to last instruction to chown -R media:media SickBeard)

And when I try to add a new show, I get the errors

Code:
2013-04-13 12:10:33.326333 SHOWQUEUE-ADD :: DB error: no such column: seasonfolders
2013-04-13 12:10:33.326510 SHOWQUEUE-ADD :: Error trying to add show: no such column: seasonfolders


A google search found one solution, which was deleting the cache.db file, which I found in /usr/pbi/sickbeard-amd64/data. I did this and restarted SickBeard. SickBeard recreated cache.db, but when I went to add a show, I simply received the exact same errors. Any insight from those more knowledgeable in such things than myself?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
So, I did that, using these instructions:



(though I changed the second to last instruction to chown -R media:media SickBeard)

And when I try to add a new show, I get the errors

Code:
2013-04-13 12:10:33.326333 SHOWQUEUE-ADD :: DB error: no such column: seasonfolders
2013-04-13 12:10:33.326510 SHOWQUEUE-ADD :: Error trying to add show: no such column: seasonfolders


A google search found one solution, which was deleting the cache.db file, which I found in /usr/pbi/sickbeard-amd64/data. I did this and restarted SickBeard. SickBeard recreated cache.db, but when I went to add a show, I simply received the exact same errors. Any insight from those more knowledgeable in such things than myself?

So you switched from the main branch to the anime branch with a existing 'data/' directory. If so, you might want to startch fresh and clear it out as I doubt their configs/databases can just be switched over.
 

WhirlwindMonk

Dabbler
Joined
Apr 13, 2013
Messages
15
So you switched from the main branch to the anime branch with a existing 'data/' directory. If so, you might want to startch fresh and clear it out as I doubt their configs/databases can just be switched over.

That seems to have fixed it, thank you!

For future reference of anyone else who has the same problem, I did the following in the jail:

Code:
service sickbeard stop
chdir /usr/pbi/sickbeard-amd64/
rm -r data
mkdir data
chown -R media:media data
service sickbeard start
 

ShinobiX9X

Contributor
Joined
Mar 6, 2013
Messages
141
Hello,
Sickbeard successfully renames and moves the shows for me. Somehow Couchpotato always fails to do so. Any idea what i should do, and what i should show you here?

Thanks,
Shino
 

toddos

Contributor
Joined
Aug 18, 2012
Messages
178
Hello,
Sickbeard successfully renames and moves the shows for me. Somehow Couchpotato always fails to do so. Any idea what i should do, and what i should show you here?

Thanks,
Shino

Did you check the logs to see if it said anything about why? Off the top of my head, I'd guess it's related to permissions. Sickbeard post-processing uses "move" operations, which maintain source permissions and generally tends to work better. CouchPotato and all the rest use "copy" operations, and as such you may need to modify permissions (Settings -> General, check the "Show advanced settings" checkbox, try setting File and Folder CHMOD settings to something like 0777). You may also need to verify ownership and write access to the download source and postprocess target root folders. The media user may not have access to create folders or files for example. One would assume you're sending movies to a different folder than TV, so in that case SB working has no bearing on whether CP will work.
 

ShinobiX9X

Contributor
Joined
Mar 6, 2013
Messages
141
Hi toddos,

Thank you for your quick reply.
First of all, i use them only for torrent. in Couchpotato i first set to connect directly to transmission, but that never worked, it couldn't download the file with message: permission denied.
Then i used blackhole (it works for Sickbeard), now the download works. But as previously mentioned, it can't rename and move.
I checked the permissions (in advanced settings is 0777now), but in the download folder the folders and files transmission downloads all get user:40001 group:wheel, with permissions 0755.
I manually changed the folder/files of a downloading movie to 0777, and at the end of the download, it did rename and move the movie correctly.
I've been looking what i could do so that transmission would create the folders and files with permission 0777 (or 0775) but can't find it.

If anyone can point me at how to do it, i thank you very much.
Shino

edit: if anyone knows what i should do to use transmission directly instead of blackhole, that's fine to.
 

Joshua Parker Ruehlig

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

Thank you for your quick reply.
First of all, i use them only for torrent. in Couchpotato i first set to connect directly to transmission, but that never worked, it couldn't download the file with message: permission denied.
Then i used blackhole (it works for Sickbeard), now the download works. But as previously mentioned, it can't rename and move.
I checked the permissions (in advanced settings is 0777now), but in the download folder the folders and files transmission downloads all get user:40001 group:wheel, with permissions 0755.
I manually changed the folder/files of a downloading movie to 0777, and at the end of the download, it did rename and move the movie correctly.
I've been looking what i could do so that transmission would create the folders and files with permission 0777 (or 0775) but can't find it.

If anyone can point me at how to do it, i thank you very much.
Shino

edit: if anyone knows what i should do to use transmission directly instead of blackhole, that's fine to.

localhost:9091
username
password
directory

are the only settings I set in couchpotato I believe.
 

ShinobiX9X

Contributor
Joined
Mar 6, 2013
Messages
141
If anyone has the same problem, this is what i found working for me.
first switch off transmission.
then you need the settings.json file located at /mnt/path to your jail/usr/pbi/transmission-amd64/etc/transmission/home
there you need to replace umask=18 to umask=0. save and start transmission again.
now it works perfectly.
 

malkers

Cadet
Joined
Apr 26, 2013
Messages
1
Hey all,

I'm getting the following error, was wondering if anyone else has seen it?

Fresh couchpotato installation, attempting to have .nzb files sent to a blackhole for sabnzbd.

ERROR [otato.core.providers.base] Failed getting nzb from NzbIndex: Traceback (most recent call last):
File "/usr/pbi/couchpotato-amd64/CouchPotato/couchpotato/core/providers/base.py", line 94, in download
return self.urlopen(url, headers = {'User-Agent': Env.getIdentifier()}, show_error = False)
File "/usr/pbi/couchpotato-amd64/CouchPotato/couchpotato/core/plugins/base.py", line 144, in urlopen
response = urllib2.urlopen(request, timeout = timeout)
File "/usr/pbi/couchpotato-amd64/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/pbi/couchpotato-amd64/lib/python2.7/urllib2.py", line 400, in open
response = self._open(req, data)
File "/usr/pbi/couchpotato-amd64/lib/python2.7/urllib2.py", line 418, in _open
'_open', req)
File "/usr/pbi/couchpotato-amd64/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/usr/pbi/couchpotato-amd64/lib/python2.7/urllib2.py", line 1215, in https_open
return self.do_open(httplib.HTTPSConnection, req)
File "/usr/pbi/couchpotato-amd64/lib/python2.7/urllib2.py", line 1180, in do_open
r = h.getresponse(buffering=True)
File "/usr/pbi/couchpotato-amd64/lib/python2.7/httplib.py", line 1030, in getresponse
response.begin()
File "/usr/pbi/couchpotato-amd64/lib/python2.7/httplib.py", line 407, in begin
version, status, reason = self._read_status()
File "/usr/pbi/couchpotato-amd64/lib/python2.7/httplib.py", line 365, in _read_status
line = self.fp.readline()
File "/usr/pbi/couchpotato-amd64/lib/python2.7/socket.py", line 447, in readline
data = self._sock.recv(self._rbufsize)
File "/usr/pbi/couchpotato-amd64/lib/python2.7/ssl.py", line 241, in recv
return self.read(buflen)
File "/usr/pbi/couchpotato-amd64/lib/python2.7/ssl.py", line 160, in read
return self._sslobj.read(len)
SSLError: The read operation timed out
 

swivvle

Cadet
Joined
Apr 28, 2013
Messages
2
all pbi's installed fine except for CP.. I get

Apr 28 02:25:49 freenas manage.py: [middleware.exceptions:38] [MiddlewareError: This file was not identified as in PBI format, it might as well be corrupt.]

fresh 8.3.1 p2 install

tried rebooting and still not working.. any ideas? I'm trying to install couchpotato-1.1-amd64.pbi
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
all pbi's installed fine except for CP.. I get

Apr 28 02:25:49 freenas manage.py: [middleware.exceptions:38] [MiddlewareError: This file was not identified as in PBI format, it might as well be corrupt.]

fresh 8.3.1 p2 install

tried rebooting and still not working.. any ideas? I'm trying to install couchpotato-1.1-amd64.pbi

Can anyone else confirm the problem with couchpotato? might possibly be a bad download, or maybe the file online got corrupted cause I know it used to work. I am planning on working on these in the next few weeks and releasing a v1.2 but life's been really busy lately.
 

swivvle

Cadet
Joined
Apr 28, 2013
Messages
2
Can anyone else confirm the problem with couchpotato? might possibly be a bad download, or maybe the file online got corrupted cause I know it used to work. I am planning on working on these in the next few weeks and releasing a v1.2 but life's been really busy lately.

Roger that.. I tried download a couple times to make sure.

Is there an old 1.0 version I can try?
 

Joshua Parker Ruehlig

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

Castertr0y357

Dabbler
Joined
May 5, 2013
Messages
12
While I've been able to get the plugin working and able to successfully download files, I seem to have run into a snag. The mount point I setup to hook into the sabnzbd directory isn't populating with the new files i've downloaded, nor is freenas able to see the existing things that I plopped in there (but windows is).

I'm able to see the new files if I enable the NFS services on win7 and mount the same place, but not the old files. I know it's probably due to the face that the old files have windows permissions, and the new ones are unix permissions, but if I try to copy anything over to the other, I get a message saying that the file is locked by something. Unlocker can't find the locking handle, and it also fails to move files back and forth. The CIFS and NFS share that I setup are pointing to the same location, but seeing different files due to different types of permissions (windows vs UNIX).

Is there a way I can move the files from the cifs share to the nfs share to make everything manageable under one place?

Or, am I able to force the system to switch everything over to nfs permissions to make everything visible under one protocol?
 
Status
Not open for further replies.
Top