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

Status
Not open for further replies.

MtK

Patron
Joined
Jun 22, 2013
Messages
471
@Joshua Parker Ruehlig:
the cron (blacklist update) doesn't work.
trying manually returns:
Code:
# /usr/local/bin/transmission-remote --blocklist-update
/usr/local/bin/transmission-remote: Command not found.


the file is there (as symlink):
Code:
# ls -l /usr/local/bin/ | grep transmission
lrwxr-xr-x    1 root  wheel       53 Dec 17 18:21 transmission-daemon -> /usr/pbi/transmission-amd64/.sbin/transmission-daemon
lrwxr-xr-x    1 root  wheel       53 Dec 17 18:21 transmission-remote -> /usr/pbi/transmission-amd64/.sbin/transmission-remote
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
is there a way to run the script manually to test it out?
I think so, nzbToMedia wiki / forum section in SR forums is the best place to check
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
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
wow... guess it's not the best time to be a SR user. we had a few good months of stable updates there...
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
@Joshua Parker Ruehlig:
the cron (blacklist update) doesn't work.
trying manually returns:
Code:
# /usr/local/bin/transmission-remote --blocklist-update
/usr/local/bin/transmission-remote: Command not found.


the file is there (as symlink):
Code:
# ls -l /usr/local/bin/ | grep transmission
lrwxr-xr-x    1 root  wheel       53 Dec 17 18:21 transmission-daemon -> /usr/pbi/transmission-amd64/.sbin/transmission-daemon
lrwxr-xr-x    1 root  wheel       53 Dec 17 18:21 transmission-remote -> /usr/pbi/transmission-amd64/.sbin/transmission-remote
thanks for noticing! I use that on a freebsd machine but forgot to translate it to freenas plugins. I'll fix it up.
should be /usr/pbi/transmission-amd64/ instead of /usr/local

Edit
so ill need to link some libraries to get this to work. I'll make sure it works by the time 2.84 is official. hoping it all gets done this weekend.
 
Last edited:

Gerald Young

Dabbler
Joined
Dec 14, 2014
Messages
24
@MtK
@Joshua Parker Ruehlig

thanks got it sorted...again..but need to seed the torrents from TD do i just mark
Code:
"script-torrent-done-enabled": true,
to false? tried just changing settings in SR but won't keep seeding in transmission..
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
@MtK
@Joshua Parker Ruehlig

thanks got it sorted...again..but need to seed the torrents from TD do i just mark
Code:
"script-torrent-done-enabled": true,
to false? tried just changing settings in SR but won't keep seeding in transmission..
you can set it to false, but then postprocessing wouldn't happen.

you can accomplish what you want by linking the file instead of moving it and changing a few other options. you need to edit your nzbtomedia.cfg and SR/CP settings. im not the best person to ask cause I don't do it that way.
 

Ray Milyard

Patron
Joined
Aug 8, 2014
Messages
262
So upgraded to 9.3 and now getting this message:

WARNING: Firmware version 19 does not match driver version 16 for /dev/mps0

Also Transmission not working. Getting errors like this:
American.Horror.Story.S04E10.1080p.WEB-DL.DD5.1.H.264-ECI[rarbg]
Error: No data found! Ensure your drives are connected or use "Set Location". To re-download, remove the torrent and re-add it.

Thinking maybe should reinstall and go back to 9.2.x?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
So upgraded to 9.3 and now getting this message:

WARNING: Firmware version 19 does not match driver version 16 for /dev/mps0

Also Transmission not working. Getting errors like this:
American.Horror.Story.S04E10.1080p.WEB-DL.DD5.1.H.264-ECI[rarbg]
Error: No data found! Ensure your drives are connected or use "Set Location". To re-download, remove the torrent and re-add it.

Thinking maybe should reinstall and go back to 9.2.x?
not sure. that driver error is probably best debugged in another section of the forum.
as for transmission, are you using v2.82 or 2.84_1?
2.84_1 that I linked has a typo but people here edited the config to fix the issue
 

Ray Milyard

Patron
Joined
Aug 8, 2014
Messages
262
not sure. that driver error is probably best debugged in another section of the forum.
as for transmission, are you using v2.82 or 2.84_1?
2.84_1 that I linked has a typo but people here edited the config to fix the issue

284_1 I am pretty sure.

What/where should I be editing this?
 
Last edited:

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
284_1 I am pretty sure.
that transmission error may be fixable. edit the transmission config and you'll see the typo (duplicate incomplete entry). fix it, start transmission and it should work
 

Ray Milyard

Patron
Joined
Aug 8, 2014
Messages
262
that transmission error may be fixable. edit the transmission config and you'll see the typo (duplicate incomplete entry). fix it, start transmission and it should work


I see this:

"incomplet-dir": "/mnt/media/downloads/transmission/incomplete",
"incomplete-dir": "/mnt/media/downloads/transmission/incomplete",

in the:

/usr/pbi/transmission-amd64/etc/transmission/home/settings.json

When I take the first line out and restart transmission it comes back
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I see this:

"incomplet-dir": "/mnt/media/downloads/transmission/incomplete",
"incomplete-dir": "/mnt/media/downloads/transmission/incomplete",

in the:

/usr/pbi/transmission-amd64/etc/transmission/home/settings.json

When I take the first line out and restart transmission it comes back
your config looks fine then. did you check to see the mointpoint into the jail is there.

does transmission have permissions to write in it's download directories? it should be run be 'media'. check 'ps aux'
 

Ray Milyard

Patron
Joined
Aug 8, 2014
Messages
262
your config looks fine then. did you check to see the mointpoint into the jail is there.

does transmission have permissions to write in it's download directories? it should be run be 'media'. check 'ps aux'

Think I got it. I think I messed up something else but now files seems to be downloading in the /transmission/incomplete folder like it should. Thanks for the help. I tell you I am learning more and more about FreeBSD etc then even thought I would. lol. Windows admin here.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Think I got it. I think I messed up something else but now files seems to be downloading in the /transmission/incomplete folder like it should. Thanks for the help. I tell you I am learning more and more about FreeBSD etc then even thought I would. lol. Windows admin here.
lol, nice. can't make things too easy, otherwise no one would learn =P
 

Joshua Parker Ruehlig

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

David Prince

Dabbler
Joined
Oct 1, 2014
Messages
21
I get the following when trying to open sickrage:

Code:
Traceback (most recent call last):
File "/usr/pbi/sickrage-amd64/share/sickrage/SickRage/tornado/web.py", line 1313, in _execute
result = self.prepare()
File "/usr/pbi/sickrage-amd64/share/sickrage/SickRage/tornado/web.py", line 2002, in prepare
raise HTTPError(self._status_code)
HTTPError: HTTP 404: Not Found


Sickrage seems to be having some issues. Might leave it for a bit and reinstall in a few days. Best way to reinstall is just delete plugin reinstall and then modify any necessary files?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I get the following when trying to open sickrage:

Code:
Traceback (most recent call last):
File "/usr/pbi/sickrage-amd64/share/sickrage/SickRage/tornado/web.py", line 1313, in _execute
result = self.prepare()
File "/usr/pbi/sickrage-amd64/share/sickrage/SickRage/tornado/web.py", line 2002, in prepare
raise HTTPError(self._status_code)
HTTPError: HTTP 404: Not Found


Sickrage seems to be having some issues. Might leave it for a bit and reinstall in a few days. Best way to reinstall is just delete plugin reinstall and then modify any necessary files?
Are you trying to install following my blog of in it's own jail?
If following my blog just yes, just delete and reinstall. That would basically refresh the SickRage source files.
If on it's own jail, I'd just install a second instance only delete the first instance once you're ready.
 
Status
Not open for further replies.
Top