[FreeNAS 9 Plugins] - SAB / SB / CP / HP / Maraschino / HTPC / Mylar / LL / Gamez

Status
Not open for further replies.

Gerald Young

Dabbler
Joined
Dec 14, 2014
Messages
24


only one that does that is SAB.. sick and cp don't somthing wrong in nginx.conf maybe?

Code:
#user  nobody;
worker_processes  8;

#error_log  logs/error.log;
#error_log  logs/error.log  notice;
#error_log  logs/error.log  info;

#pid        logs/nginx.pid;


events {
    worker_connections  1024;
}


http {
    include       mime.types;
    default_type  application/octet-stream;

    #log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
    #                  '$status $body_bytes_sent "$http_referer" '
    #                  '"$http_user_agent" "$http_x_forwarded_for"';

    #access_log  logs/access.log  main;

    sendfile        on;
    #tcp_nopush     on;

    #keepalive_timeout  0;
    keepalive_timeout  65;

    #gzip  on;

    server {
       location ^~ /sabnzbd {
           proxy_pass http://127.0.0.1:8080;
     }

       location ^~ /sickrage {
           proxy_pass http://127.0.0.1:8081;
     }

       location ^~ /couchpotato {
            proxy_pass http://127.0.0.1:5050;
     }

       location ^~ /transmission {
            proxy_pass http://127.0.0.1:9091;
     }

}

}
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
only one that does that is SAB.. sick and cp don't somthing wrong in nginx.conf maybe?

Code:
#user  nobody;
worker_processes  8;

#error_log  logs/error.log;
#error_log  logs/error.log  notice;
#error_log  logs/error.log  info;

#pid        logs/nginx.pid;


events {
    worker_connections  1024;
}


http {
    include       mime.types;
    default_type  application/octet-stream;

    #log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
    #                  '$status $body_bytes_sent "$http_referer" '
    #                  '"$http_user_agent" "$http_x_forwarded_for"';

    #access_log  logs/access.log  main;

    sendfile        on;
    #tcp_nopush     on;

    #keepalive_timeout  0;
    keepalive_timeout  65;

    #gzip  on;

    server {
       location ^~ /sabnzbd {
           proxy_pass http://127.0.0.1:8080;
     }

       location ^~ /sickrage {
           proxy_pass http://127.0.0.1:8081;
     }

       location ^~ /couchpotato {
            proxy_pass http://127.0.0.1:5050;
     }

       location ^~ /transmission {
            proxy_pass http://127.0.0.1:9091;
     }

}

}
you didn't answer my question.
if it isn't hosted at /couchpotato make sure to change the setting per my guide, and restart CP.

nginx just proxy's to your stuff, it should work fine as long as you have CP/SR listening at the right webroot.
 

David Prince

Dabbler
Joined
Oct 1, 2014
Messages
21
Hi Joshua,

When following the guide on your blog, transmission and sickrage install in their own jails. Is that correct?

Update - ignore me, plugins should be uploaded and installed from the jails tab, not the plugin tab.
 
Last edited:

David Prince

Dabbler
Joined
Oct 1, 2014
Messages
21
Hi,

I followed the guide and am getting this error in transmission:

Error: Permission denied (/mnt/media/downloads/transmission/complete/tv/[name of show]
 

Joshua Parker Ruehlig

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

I followed the guide and am getting this error in transmission:

Error: Permission denied (/mnt/media/downloads/transmission/complete/tv/[name of show]
maybe fix up the transmission config, the pbi I posted has a typo. check for the word "incomplete".
 

David Prince

Dabbler
Joined
Oct 1, 2014
Messages
21
I see a typo / double entry in transmissions settings.json

Is this what needs to be fixed?

Thanks,

David
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I see a typo / double entry in transmissions settings.json

Is this what needs to be fixed?

Thanks,

David
yeah, just copy your setting over from "incomplet" to "incomplete"
 

MtK

Patron
Joined
Jun 22, 2013
Messages
471
I wouldn't do it that way. it should still work, but I believe 'moving' actually means a read/write/delete routine instead of just changing the pointer. if they are the same dataset it's more efficient to use a single mointpoint
is there a way to run the script manually to test it out?
 

Gerald Young

Dabbler
Joined
Dec 14, 2014
Messages
24
sweet mother of god i broke it again....updated sickrage from the web ui and get this....it stalled while updating so i restarted the plugin and got this.

Code:
Error

No module named pat

Traceback

Traceback (most recent call last): 
File "/usr/pbi/sickrage-amd64/share/sickrage/SickRage/tornado/web.py", line 1292, in _stack_context_handle_exception raise_exc_info((type, value, traceback)) 
File "/usr/pbi/sickrage-amd64/share/sickrage/SickRage/tornado/stack_context.py", line 314, in wrapped ret = fn(*args, **kwargs) 
File "/usr/pbi/sickrage-amd64/share/sickrage/SickRage/tornado/concurrent.py", line 226, in lambda future: callback(future.result())) 
File "/usr/pbi/sickrage-amd64/share/sickrage/SickRage/lib/concurrent/futures/_base.py", line 400, in result return self.__get_result() 
File "/usr/pbi/sickrage-amd64/share/sickrage/SickRage/lib/concurrent/futures/_base.py", line 359, in __get_result reraise(self._exception, self._traceback) 
File "/usr/pbi/sickrage-amd64/share/sickrage/SickRage/lib/concurrent/futures/_compat.py", line 107, in reraise exec('raise exc_type, exc_value, traceback', {}, locals_) 
File "/usr/pbi/sickrage-amd64/share/sickrage/SickRage/lib/concurrent/futures/thread.py", line 61, in run result = self.fn(*self.args, **self.kwargs) 
File "/usr/pbi/sickrage-amd64/share/sickrage/SickRage/sickbeard/webserve.py", line 229, in async_call result = function(**kwargs) 
File "/usr/pbi/sickrage-amd64/share/sickrage/SickRage/sickbeard/webserve.py", line 681, in index t = PageTemplate(rh=self, file="home.tmpl") 
File "/usr/pbi/sickrage-amd64/share/sickrage/SickRage/sickbeard/webserve.py", line 101, in __init__ super(PageTemplate, self).__init__(*args, **kwargs) 
File "/usr/pbi/sickrage-amd64/lib/python2.7/site-packages/Cheetah/Template.py", line 1259, in __init__ self._compile(source, file, compilerSettings=compilerSettings) 
File "/usr/pbi/sickrage-amd64/lib/python2.7/site-packages/Cheetah/Template.py", line 1553, in _compile keepRefToGeneratedCode=True) 
File "/usr/pbi/sickrage-amd64/share/sickrage/SickRage/sickbeard/webserve.py", line 144, in compile return super(PageTemplate, self).compile(*args, **kwargs) 
File "/usr/pbi/sickrage-amd64/lib/python2.7/site-packages/Cheetah/Template.py", line 788, in compile exec(co, mod.__dict__) 
File "/var/db/sickrage/cache/cheetah/_usr_pbi_sickrage_amd64_share_sickrage_SickRage_gui_slick_interfaces_default_home_tmpl.py", line 30, in import os.pat 
ImportError: No module named pat 

Request Info

body: 
files: {}
protocol: http
connection: 
body_arguments: {}
uri: /sickrage/home/
query_arguments: {}
_start_time: 1418996504.79
headers: {'Accept-Language': 'en-US,en;q=0.8', 'Accept-Encoding': 'gzip, deflate, sdch', 'Connection': 'close', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8', 'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36', 'Host': '127.0.0.1:8081', 'Cookie': 'advanced_toggle_checked=1; wanted_view2=details; manage_view2=details; snatched_view2=list; soon_view2=thumbs; suggestions_charts_menu_selected=charts; late_view2=list'}
host: 127.0.0.1:8081
version: HTTP/1.0
arguments: {}
_finish_time: None
query: 
path: /sickrage/home/
method: GET
remote_ip: 127.0.0.1
 

MtK

Patron
Joined
Jun 22, 2013
Messages
471
is there a way to run the script manually to test it out?
yayyyy!
I just re-pulled the cfg file of the script and set it up again.
TVShows, seem to be working just fine... :)
 

MtK

Patron
Joined
Jun 22, 2013
Messages
471
sweet mother of god i broke it again....updated sickrage from the web ui and get this....it stalled while updating so i restarted the plugin and got this.

Code:
Error

No module named pat

Traceback

Traceback (most recent call last):
File "/usr/pbi/sickrage-amd64/share/sickrage/SickRage/tornado/web.py", line 1292, in _stack_context_handle_exception raise_exc_info((type, value, traceback))
File "/usr/pbi/sickrage-amd64/share/sickrage/SickRage/tornado/stack_context.py", line 314, in wrapped ret = fn(*args, **kwargs)
File "/usr/pbi/sickrage-amd64/share/sickrage/SickRage/tornado/concurrent.py", line 226, in lambda future: callback(future.result()))
File "/usr/pbi/sickrage-amd64/share/sickrage/SickRage/lib/concurrent/futures/_base.py", line 400, in result return self.__get_result()
File "/usr/pbi/sickrage-amd64/share/sickrage/SickRage/lib/concurrent/futures/_base.py", line 359, in __get_result reraise(self._exception, self._traceback)
File "/usr/pbi/sickrage-amd64/share/sickrage/SickRage/lib/concurrent/futures/_compat.py", line 107, in reraise exec('raise exc_type, exc_value, traceback', {}, locals_)
File "/usr/pbi/sickrage-amd64/share/sickrage/SickRage/lib/concurrent/futures/thread.py", line 61, in run result = self.fn(*self.args, **self.kwargs)
File "/usr/pbi/sickrage-amd64/share/sickrage/SickRage/sickbeard/webserve.py", line 229, in async_call result = function(**kwargs)
File "/usr/pbi/sickrage-amd64/share/sickrage/SickRage/sickbeard/webserve.py", line 681, in index t = PageTemplate(rh=self, file="home.tmpl")
File "/usr/pbi/sickrage-amd64/share/sickrage/SickRage/sickbeard/webserve.py", line 101, in __init__ super(PageTemplate, self).__init__(*args, **kwargs)
File "/usr/pbi/sickrage-amd64/lib/python2.7/site-packages/Cheetah/Template.py", line 1259, in __init__ self._compile(source, file, compilerSettings=compilerSettings)
File "/usr/pbi/sickrage-amd64/lib/python2.7/site-packages/Cheetah/Template.py", line 1553, in _compile keepRefToGeneratedCode=True)
File "/usr/pbi/sickrage-amd64/share/sickrage/SickRage/sickbeard/webserve.py", line 144, in compile return super(PageTemplate, self).compile(*args, **kwargs)
File "/usr/pbi/sickrage-amd64/lib/python2.7/site-packages/Cheetah/Template.py", line 788, in compile exec(co, mod.__dict__)
File "/var/db/sickrage/cache/cheetah/_usr_pbi_sickrage_amd64_share_sickrage_SickRage_gui_slick_interfaces_default_home_tmpl.py", line 30, in import os.pat
ImportError: No module named pat

Request Info

body:
files: {}
protocol: http
connection:
body_arguments: {}
uri: /sickrage/home/
query_arguments: {}
_start_time: 1418996504.79
headers: {'Accept-Language': 'en-US,en;q=0.8', 'Accept-Encoding': 'gzip, deflate, sdch', 'Connection': 'close', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8', 'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36', 'Host': '127.0.0.1:8081', 'Cookie': 'advanced_toggle_checked=1; wanted_view2=details; manage_view2=details; snatched_view2=list; soon_view2=thumbs; suggestions_charts_menu_selected=charts; late_view2=list'}
host: 127.0.0.1:8081
version: HTTP/1.0
arguments: {}
_finish_time: None
query:
path: /sickrage/home/
method: GET
remote_ip: 127.0.0.1
My logic would suggest to remove the plugin and upload (!!! see the instructions on the blog) it again...
 

DVitoD

Explorer
Joined
Dec 13, 2014
Messages
78
A probably insanely stupidly retarded question from me, Joshua: where is the blog where you write the instructions? In the first post you mention the blog, but I can't seem to find the link(?) It's also not on your profile as far as I can see. Now, since other people in this thread (right above) mention it they obviously have found it. Hence the: 'A probably insanely stupidly retarded question from me, Joshua' :p

Thank you,

Bye,
 
Status
Not open for further replies.
Top