FreeNAS 11, Sabnzbd, Couchpotato & Sonarr

Status
Not open for further replies.
Joined
Jan 7, 2015
Messages
1,155
Then it should be there. The Movies directory is gone? Or its empty? Do you have a recent snapshot to roll back to?
 

Christopher Joyson

Contributor
Joined
May 22, 2014
Messages
105
Ive installed righ up to Couchpotato install and then tried accessing via the web address 192.168.0.30:5050 but all I get is the site can't be reached.
So I tried service couchpotato status from within teh SABNZB console, with the result "couchpotato not running".

I therfore tried sevice couchpotato start with the following results:
Code:
usr/local/etc/rc.d/couchpotato: WARNING: $command_interpreter /usr/local/bin/python != python									
Starting couchpotato.																											 
No handlers could be found for logger "root"																						
Traceback (most recent call last):																								
  File "/usr/local/CouchPotatoServer/CouchPotato.py", line 133, in <module>														
   l = Loader()																													
  File "/usr/local/CouchPotatoServer/CouchPotato.py", line 52, in __init__														
   os.makedirs(self.data_dir)																									
  File "/usr/local/lib/python2.7/os.py", line 157, in makedirs																	
   mkdir(name, mode)																											 
OSError: [Errno 13] Permission denied: '/usr/local/CouchPotatoServer/data'														
																																 
Traceback (most recent call last):																								
  File "/usr/local/CouchPotatoServer/CouchPotato.py", line 133, in <module>														
   l = Loader()																													
  File "/usr/local/CouchPotatoServer/CouchPotato.py", line 52, in __init__														
   os.makedirs(self.data_dir)																									
  File "/usr/local/lib/python2.7/os.py", line 157, in makedirs																	
   mkdir(name, mode)																											 
OSError: [Errno 13] Permission denied: '/usr/local/CouchPotatoServer/data'														
/usr/local/etc/rc.d/couchpotato: WARNING: failed to start couchpotato   


have I missed something out?
 
Joined
Jan 7, 2015
Messages
1,155
Make sure that user media owns the /usr/local/CouchPotatoServer directory.
 

Christopher Joyson

Contributor
Joined
May 22, 2014
Messages
105
Success, Thank you thats Couchpotato Sorted! Now to Fumble my way through the rest.
 
Joined
Jan 7, 2015
Messages
1,155
Congrats. You are learning alot!
 

Christopher Joyson

Contributor
Joined
May 22, 2014
Messages
105
So I have as faras installing the SABNZB & Sonarr Packages. however I came upon this on the next command
Code:
root@SABNZB:~ # chown -R Media:Media /usr/local/sabnzbd && chown -R Media:Media /usr/local/sonar									
chown: /usr/local/sabnzbd: No such file or directory


There is no instance of Sabnzbd or sonar in the Directory usr/local/

I have restarted the jail with the same resut and trie instaling the packages again , of which I got the answer the current packages are the most up to date
 
Joined
Jan 7, 2015
Messages
1,155
What are the contents of /usr/local/? There's no sab or sonarr directory? If not, use locate sabnzbdand locate sonarr
to find them and chown those directories to user Media
 
Last edited:

Christopher Joyson

Contributor
Joined
May 22, 2014
Messages
105
Contents of usr/local:
Code:
root@SABNZB:/usr/local # ls -l																									
total 79																															
drwxr-xr-x   8 Media  Media   22 Apr 16 19:30 CouchPotatoServer																	
drwxr-xr-x   2 root   wheel  262 Apr 17 11:51 bin																				 
drwxr-xr-x   9 root   wheel   12 Apr 17 11:51 etc																				 
drwxr-xr-x  10 Media  Media   25 Apr 18 09:54 headphones																			
drwxr-xr-x  23 root   wheel   61 Apr 17 11:51 include																			 
drwxr-xr-x   2 root   wheel	9 Apr 15 13:18 info																				
drwxr-xr-x  16 root   wheel  360 Apr 17 11:51 lib																				 
drwxr-xr-x   4 root   wheel	4 Apr 17 11:50 libdata																			 
drwxr-xr-x   4 root   wheel	4 Apr 17 11:51 libexec																			 
drwxr-xr-x   7 root   wheel	7 Apr 15 13:18 man																				 
drwxr-xr-x   3 root   wheel	3 Apr 17 11:51 mono																				
drwxr-xr-x   2 root   wheel	4 Apr 15 13:18 openssl																			 
drwxr-xr-x   2 root   wheel	6 Apr 15 13:18 sbin																				
drwxr-xr-x  24 root   wheel   24 Apr 17 11:51 share																				
root@SABNZB:/usr/local #	 


For the locate I had to run /usr/libexec/locate.updatedb first, as the database was too small.

they are both located in usr/local/share/
Code:
root@SABNZB:/usr/local/share # ls -l																								
total 107																														 
drwxr-xr-x	3 root  wheel	3 Apr 17 11:51 GConf																				
drwxr-xr-x	2 root  wheel	8 Apr 17 11:51 aclocal																			 
drwxr-xr-x	3 root  wheel	3 Apr 17 11:51 bash-completion																	 
drwxr-xr-x	2 root  wheel	3 Apr 15 13:18 certs																				
drwxr-xr-x   27 root  wheel   27 Apr 17 11:51 doc																				 
drwxr-xr-x	3 root  wheel	3 Apr 15 13:18 emacs																				
drwxr-xr-x	6 root  wheel	6 Apr 17 11:50 examples																			
drwxr-xr-x	3 root  wheel	3 Apr 17 11:51 gdb																				 
drwxr-xr-x	3 root  wheel	4 Apr 17 11:51 gettext																			 
drwxr-xr-x	3 root  wheel	3 Apr 15 13:18 git-core																			
drwxr-xr-x	6 root  wheel	6 Apr 17 11:51 glib-2.0																			
drwxr-xr-x	2 root  wheel   34 Apr 17 11:51 libgc-mono																			
drwxr-xr-x   72 root  wheel   72 Apr 17 11:51 licenses																			
drwxr-xr-x  102 root  wheel  103 Apr 17 11:51 locale																				
drwxr-xr-x	3 root  wheel	3 Apr 17 11:51 mono-2.0																			
drwxr-xr-x	2 root  wheel   46 Apr 15 13:18 nano																				
drwxr-xr-x	2 root  wheel   17 Apr 15 13:17 readline																			
drwxr-xr-x	9 root  wheel	9 Apr 17 11:51 sabnzbdplus																		 
drwxr-xr-x	2 root  wheel	4 Apr 15 13:18 sgml																				
drwxr-xr-x	4 root  wheel   73 Apr 17 11:51 sonarr																				
drwxr-xr-x	4 root  wheel	6 Apr 15 13:18 xml																				 
drwxr-xr-x	3 root  wheel	3 Apr 12 19:06 zsh																				 
root@SABNZB:/usr/local/share #					

so my new comand is
chown -R Media:Media /usr/local/share/sabnzbdplus && chown -R Media:Media /usr/local/share/sonarr
 

Christopher Joyson

Contributor
Joined
May 22, 2014
Messages
105
Ive notice your downloaded sabnzbplus but are only using sabnzbd in your commands, should they be sabnzbplus?
 
Last edited:

Christopher Joyson

Contributor
Joined
May 22, 2014
Messages
105
Hi I had to service sabnzbd start to allow SABnzbd to create the Sabznbd.ini file I then stopped sabnzbd to update the file and restarted.
 

Christopher Joyson

Contributor
Joined
May 22, 2014
Messages
105
I did the portsnap fetch update && portmaster -aBd
what didtat do it seemed to take forever and asked many questions, I just said yes to all butI haven't gat a scooby-do of what it all meant!
 
Joined
Jan 7, 2015
Messages
1,155
So you should have everything up and running now?
I've notice your downloaded sabnzbplus but are only using sabnzbd in your commands, should they be sabnzbplus?
I'm going to do a final version. I'll follow my own instructions from scratch and make changes as necessary. I wrote those out from memory, and obviously some things have changed.
 

Christopher Joyson

Contributor
Joined
May 22, 2014
Messages
105
what so I look at when Sonarr doesnt appear to be picking anything up?
 
Joined
Jan 7, 2015
Messages
1,155
Is it setup properly to download and sab as well?
 

Christopher Joyson

Contributor
Joined
May 22, 2014
Messages
105
Sabnzbd is doing fine with couchpotato, Sonnarr has SABNZBD's api. Port and address. category tv. all the indexers are ok.
The other funny thing is it doesnt find many TV shows.
I'm currently having to search for shows myself and then rename them with filebot.
it doesnt recognise the two shows in the folder either.
 
Last edited:

Christopher Joyson

Contributor
Joined
May 22, 2014
Messages
105
ive found there is a sonarr folder both usr/local/and usr/local/share. the one in usr/local had the owner as Media:Wheel. so I changed this to Media:Media.
Sonarr has not chenged with its workings.
 
Joined
Jan 7, 2015
Messages
1,155
What indexers are you using?
 

Christopher Joyson

Contributor
Joined
May 22, 2014
Messages
105
I use NZBGeek, OZNZB & NZBplanet all passed the connection test, they also worked with Sonarr before.
Sonarr isnot picking up on TV shows, and also not snatching anything.
 

Christopher Joyson

Contributor
Joined
May 22, 2014
Messages
105
OK Sonar seems to have started itself , however couchpotato apperars to have stopped altogether even after a restart of the jail. No output on a browser.
I use the shell from Freenas's GUI and ssometimes it stops responding when I do a iocage restart SABNZB or similar it will just stop with a blank line and a flashing box where the cursur should be.
 

Christopher Joyson

Contributor
Joined
May 22, 2014
Messages
105
I have found these two errors in the Couchpotato log
Code:
04-20 11:09:12 ERROR [chpotato.core._base._core] LXML not available, please install for better/faster scraping support: `http://lxml.de/installation.html`
04-20 11:09:12 ERROR [chpotato.core._base._core] OpenSSL not available, please install for better requests validation: `https://pyopenssl.readthedocs.org/en/latest/install.html`: Traceback (most recent call last):
  File "/usr/local/CouchPotatoServer/couchpotato/core/_base/_core.py", line 84, in dependencies
	import OpenSSL
ImportError: No module named OpenSSL
 
Status
Not open for further replies.
Top