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

Status
Not open for further replies.

Rcw4

Dabbler
Joined
May 26, 2013
Messages
11
Sorry man, haven't done anything with the mount_smbfs. The whole reason i put together this build was to not have to use my windows folders for anything.

If you mean the SAB config file, mostly I just had to manually update my download paths and the exiting file permissions. Other than that, its going to contain most of the defaults.
/Downloads/Incomplete -> Mount point to mnt/[VolA]/SABNZBD/Incomplete
/SABNZBD/Complete -> mount point to mnt/[VolA]/SABNZBD/Complete
/SABNZBD/Watch -> mount point to mnt/[VolA]/SABNZBD/Watch

Based on your posts already you have gotten a piece of this figured out so I doubt this is going to be helpful, but let it never be said that RainDess never helped a brother in need!


Your right, I did already have this working, but I appreciate the support and thank you for at least trying to help.
 

Greeny

Cadet
Joined
May 31, 2013
Messages
1
Running the update script for Sabnzbd latest caused the following error for me:

Code:
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/sabnzbd-amd64/SABnzbd/cherrypy/_cprequest.py", line 618, in respond
    cherrypy.response.body = self.handler()
  File "/usr/pbi/sabnzbd-amd64/SABnzbd/cherrypy/_cpdispatch.py", line 25, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/usr/pbi/sabnzbd-amd64/SABnzbd/sabnzbd/interface.py", line 299, in index
    return template.respond()
  File "cheetah__usr_pbi_sabnzbd_amd64_SABnzbd_interfaces_Plush_templates_main_tmpl_1369992609_26_23752.py", line 189, in respond
NotFound: cannot find 'pp_pause_event'


However the plugin is still running, it's just the web interface is no longer accessible. Trying to get to the bottom of it atm just a warning to others, if anyone has insights they would be appreciated.
 

kasper_flip

Cadet
Joined
Apr 8, 2013
Messages
7
on the surface this issue does not seem to be related to FreeNAS. I would confirm that you can access thetvdb.com from within your plugin jail and then post this question in SickBeard's forums. If you can't access thetvdb.com from your jail then that's your problem. resolve it and everything should work fine.

Thanks Caesar. How would I go about checking if i can access the tvdb? Have been looking around online but didn't find any info on how to do this...
 

Caesar

Contributor
Joined
Feb 22, 2013
Messages
114
Thanks Caesar. How would I go about checking if i can access the tvdb? Have been looking around online but didn't find any info on how to do this...

all you need to do is go to the site and pick any image. like http://thetvdb.com/images/header.jpg then issue this command to download it. make sure you are logged into the plugin jail before you try it.

Code:
cd /tmp
wget http://thetvdb.com/images/header.jpg


Here is the response
Code:
 wget http://thetvdb.com/images/header.jpg
--2013-06-04 17:28:35--  http://thetvdb.com/images/header.jpg
Resolving thetvdb.com (thetvdb.com)... 141.101.113.81, 190.93.241.81, 190.93.240.81, ...
Connecting to thetvdb.com (thetvdb.com)|141.101.113.81|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 35649 (35K) [image/jpeg]
Saving to: `header.jpg'

100%[==============================================================================>] 35,649      --.-K/s   in 0.1s

2013-06-04 17:28:36 (354 KB/s) - `header.jpg' saved [35649/35649]
 

kasper_flip

Cadet
Joined
Apr 8, 2013
Messages
7
all you need to do is go to the site and pick any image. like http://thetvdb.com/images/header.jpg then issue this command to download it. make sure you are logged into the plugin jail before you try it.

Code:
cd /tmp
wget http://thetvdb.com/images/header.jpg


Here is the response
Code:
 wget http://thetvdb.com/images/header.jpg
--2013-06-04 17:28:35--  http://thetvdb.com/images/header.jpg
Resolving thetvdb.com (thetvdb.com)... 141.101.113.81, 190.93.241.81, 190.93.240.81, ...
Connecting to thetvdb.com (thetvdb.com)|141.101.113.81|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 35649 (35K) [image/jpeg]
Saving to: `header.jpg'

100%[==============================================================================>] 35,649      --.-K/s   in 0.1s

2013-06-04 17:28:36 (354 KB/s) - `header.jpg' saved [35649/35649]

Thanks again, Caesar.
I logged into my jail (used command jexec 1 csh) then followed your instructions and it saved fine (response was almost identical to yours).
So would this indicate it's a DNS or Sickbeard issue causing the error messages? Or could it possibly be a permissions issue? (I have set my DNS in Nameserver 1 as 8.8.8.8)
 

Caesar

Contributor
Joined
Feb 22, 2013
Messages
114
its not a dns issue since the wget command would use your dns as well. I would post this to sick's forums give them the errors and explain that sick is installed on your freenas server but you do not think this is a platform issue. Also explain that it does not appear to be a dns issue since you can wget http://thetvdb.com/images/header.jpg without any problems.
 

DejaVu

Cadet
Joined
Jun 8, 2013
Messages
3
Couchpotato has had a sexy new makeover in the last few weeks with many new additions made to the inteface, This version reports it's up-to-date, but is still showing the older type.

The odd thing is updating CP running in FreeNAS states it's using the latest Git, but IMO it clearly can't be.
Any chance of a CP.1.1.2?

Comparison of latest against current FreeNAS version -
Untitled-1.jpg


Love your work BTW.
These plugins are superb on FreeNAS. :)

Appreciated!
 

toddos

Contributor
Joined
Aug 18, 2012
Messages
178
There's no need for a new PBI. You can update in-place. There was some breaking change in CouchPotato recently that caused automatic updating not to update to a new version, and the fix is to update it manually. You can follow instructions posted before, changing the service, folder, and github source to CouchPotato (the github link is https://github.com/RuudBurger/CouchPotatoServer/tarball/master ). Once you've done that, you'll be on the latest changes and auto updating will start working again.
 

DejaVu

Cadet
Joined
Jun 8, 2013
Messages
3
toddos - Thank you!

Even a complete n00b can sort this out as I just found out. :)
Took me some playing about (Jail directory is slightly different on mine), but it got there in the end.

Thanks!
 

toddos

Contributor
Joined
Aug 18, 2012
Messages
178
toddos - Thank you!

Even a complete n00b can sort this out as I just found out. :)
Took me some playing about (Jail directory is slightly different on mine), but it got there in the end.

Thanks!


The comment I linked was specifically for LazyLibrarian, but all of these PBIs follow the same pattern. There's a /usr/pbi/whatever-`uname -m` directory (note those are backticks, `, not apostrophes, ' -- backticks evaluate commands in *nix shells, in this case getting your CPU architecture so that no assumption is made about whether you're using 64-bit amd64 or 32-bit i386), a directory under that named after the service (CouchPotato, LazyLibrarian, SickBeard, etc), and everything's permissioned to media:media. With a basic grasp of unix shell skills, a working internet connection, and the ability to follow instructions, anyone should be able to do that :)
 

Jason Giddens

Dabbler
Joined
Jun 8, 2013
Messages
37
Hello all,

I just built my Freenas server and got sab, cp, sb and headphones working. I have one outstanding issue with the Couchpotato renaming feature. I have successfully downloaded some public domain movies and sabnzb stashed them into a directory called Complete. In jexec i can see all the movie files just fine and they are owned by media:media. Despite all of this the renamer is borking. Here is an example log entry:

Code:
06-08 23:12:32 ERROR [tato.core.plugins.renamer] Failed checking for release in downloader: Traceback (most recent call last):
  File "/usr/pbi/couchpotato-amd64/CouchPotato/couchpotato/core/plugins/renamer/main.py", line 562, in checkSnatched
    nzbname = self.createNzbName(rel_dict['info'], movie_dict)
  File "/usr/pbi/couchpotato-amd64/CouchPotato/couchpotato/core/plugins/base.py", line 255, in createNzbName
    tag = self.cpTag(movie)
  File "/usr/pbi/couchpotato-amd64/CouchPotato/couchpotato/core/plugins/base.py", line 266, in cpTag
    return '.cp(' + movie['library'].get('identifier') + ')' if movie['library'].get('identifier') else ''
TypeError: 'NoneType' object has no attribute '__getitem__'
06-08 23:13:32 INFO [hpotato.core.plugins.base] Opening url: http://10.0.10.64:8080/api?output=json&apikey=xxx&mode=queue, params: [


Any idea what might be causing this?
 

Tram

Cadet
Joined
Jun 12, 2013
Messages
3
Hi Joshua

Firstly, I appreciate the work you have put in creating the plugins for FreeNAS. Cheers mate :)

I currently have SB set up and using Transmission (With a script to manage seeding, number active torrents at a time, etc.) to download the torrents. However the only torrent site I can currently use is EZRSS.tv. I would like to use a private torrent site (www.scenetime.com) but with the current SickBeard version available there is no support for adding custom torrent sites. Scenetime has an RSS reader available for direct download or web url.

I have had a look at some of the forks of sick beard one of which offers the ability to add torrent sites using thier RSS feed.
http://brickybox.com/2012/09/24/sickbeard-fork-feature-summary
https://github.com/bricky/Sick-Beard

Unfortunately I myself have not had any exposure to Python and currently don't have the time to investigate integrating these changes into the/a plugin for FreeNAS.

Is there any possibility this would be doable by yourself and maybe create a separate plugin for sick beard based on this fork?

I haven't had time to test if it would work with scenetime but it would be a step in the right direction, providing the users with more options (In my opinion of course)

Let me know your thoughts.
Cheers Tim

This is another fork that mentions something along the same lines as what I am looking for but haven't had a chance to investigate further.
https://github.com/junalmeida/Sick-Beard
 

Jason Giddens

Dabbler
Joined
Jun 8, 2013
Messages
37
Ok, I have another issue. [NEWB ALERT]

I downloaded the LazyLibrarian PBI and uploaded it to the plugins interface. Once it appeared in the plugins list I clicked the slider to turn it on. It thinks for a second, then goes back to off. I don't see any notes in the console log and I dont know any other logging location to check. How can I trouble shoot this?
 

Caesar

Contributor
Joined
Feb 22, 2013
Messages
114
Hi Joshua

Firstly, I appreciate the work you have put in creating the plugins for FreeNAS. Cheers mate :)

I currently have SB set up and using Transmission (With a script to manage seeding, number active torrents at a time, etc.) to download the torrents. However the only torrent site I can currently use is EZRSS.tv. I would like to use a private torrent site (www.scenetime.com) but with the current SickBeard version available there is no support for adding custom torrent sites. Scenetime has an RSS reader available for direct download or web url.

I have had a look at some of the forks of sick beard one of which offers the ability to add torrent sites using thier RSS feed.
http://brickybox.com/2012/09/24/sickbeard-fork-feature-summary
https://github.com/bricky/Sick-Beard

Unfortunately I myself have not had any exposure to Python and currently don't have the time to investigate integrating these changes into the/a plugin for FreeNAS.

Is there any possibility this would be doable by yourself and maybe create a separate plugin for sick beard based on this fork?

I haven't had time to test if it would work with scenetime but it would be a step in the right direction, providing the users with more options (In my opinion of course)

Let me know your thoughts.
Cheers Tim

This is another fork that mentions something along the same lines as what I am looking for but haven't had a chance to investigate further.
https://github.com/junalmeida/Sick-Beard



You need to read and understand what Toddos posted.

Toddos said:
The comment I linked was specifically for LazyLibrarian, but all of these PBIs follow the same pattern. There's a /usr/pbi/whatever-`uname -m` directory (note those are backticks, `, not apostrophes, ' -- backticks evaluate commands in *nix shells, in this case getting your CPU architecture so that no assumption is made about whether you're using 64-bit amd64 or 32-bit i386), a directory under that named after the service (CouchPotato, LazyLibrarian, SickBeard, etc), and everything's permissioned to media:media. With a basic grasp of unix shell skills, a working internet connection, and the ability to follow instructions, anyone should be able to do that :)

It is not necessary to create a new pbi for every sickbeard fork out three. You can use any fork you like. You basically replace your /usr/pbi/sickbeard-`uname -m`\sickbeard folder contents with the fork you want and that's it. There are step by step instructions for LazyLibrarian that you can follow for sickbeard.
 

Caesar

Contributor
Joined
Feb 22, 2013
Messages
114
Ok, I have another issue. [NEWB ALERT]

I downloaded the LazyLibrarian PBI and uploaded it to the plugins interface. Once it appeared in the plugins list I clicked the slider to turn it on. It thinks for a second, then goes back to off. I don't see any notes in the console log and I dont know any other logging location to check. How can I trouble shoot this?


Maybe you can try logging into the jail and starting the service. It should post any errors to the console then.

Code:
service lazylibrarian start


I don't have LL installed so that may not be the service name but you can run Service -l to get a list of service names.
 

Tram

Cadet
Joined
Jun 12, 2013
Messages
3
You need to read and understand what Toddos posted.



It is not necessary to create a new pbi for every sickbeard fork out three. You can use any fork you like. You basically replace your /usr/pbi/sickbeard-`uname -m`\sickbeard folder contents with the fork you want and that's it. There are step by step instructions for LazyLibrarian that you can follow for sickbeard.

Thanks for the help Caesar
I didn't realise it was that simple. Had it up and running on the new branch in a matter of minutes.
Can now use any torrent sites with an Direct Download RSS feed :)
 

darkryoushii

Explorer
Joined
Jan 23, 2013
Messages
60
Hey Joshua I was reading online about Plex and hear me out! They are making a Plex Media Server for FreeBSD 9.1!
http://forums.plexapp.com/index.php/topic/36631-pms-on-freenas/page-7

That being said I was wondering if you have plans to support FreeBSD 9.1 with your current plugins set from day one or will it take a few months to convert everything.

So yea, any interest in creating a plex media server PBI and will you have 9.1 PBIs ready or will it take a while :) Honestly don't mind because your work is brilliant and would rather it done right than first.. (Y)
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Hey Joshua I was reading online about Plex and hear me out! They are making a Plex Media Server for FreeBSD 9.1!
http://forums.plexapp.com/index.php/topic/36631-pms-on-freenas/page-7

That being said I was wondering if you have plans to support FreeBSD 9.1 with your current plugins set from day one or will it take a few months to convert everything.

So yea, any interest in creating a plex media server PBI and will you have 9.1 PBIs ready or will it take a while :) Honestly don't mind because your work is brilliant and would rather it done right than first.. (Y)


Depending on when 9.1 comes out it may or may not be supported on day 1. I really want to work on these plugins but don't foresee being able to till I can access my desktop on a regular basis. This should hopefully in 2-3 monthes when I am able to purchase a house and move out of the room I'm renting.

There shouldn't be much of a conversion process, just some testing. I have a decent amount of changes + want to rebase my plugins on ports for easier upgrading of dependencies, but other than that I think 9.1 shouldn't be any different.

As for Plex, I am not too interested personally, but there is a possibility I'd work on it if I got through the million other projects I want to work on.
 

Wolfeman0101

Patron
Joined
Jun 14, 2012
Messages
428
So I rebooted my FreeNAS box tonight and now my jail won't start. When I try to start the Plugins service it won't start and I see this in the logs.

Code:
Jun 27 23:20:52 nibbler notifier: Will not 'start' jail because jail_enable is NO.
Jun 27 23:20:52 nibbler ix-jail: Could not determine jail id (not running?)
Jun 27 23:20:53 nibbler notifier: Will not 'stop' jail because jail_enable is NO.
 
Status
Not open for further replies.
Top