sabnzbd / sickbeard / couchpotato pbi's

Status
Not open for further replies.

DannagE

Cadet
Joined
Sep 19, 2012
Messages
4
Hi Joshua,

I've just tried to change from version 0.9 to 1.0 and keep getting gateway errors. My NAS is on 192.168.2.251 and Jail is at 192.168.2.252. But it seems like the plugin is trying to open the wrong IP.

Here is the error message - "Oct 3 16:23:06 freenas manage.py: [freeadmin.navtree:413] Couldn't retrieve http://192.168.2.251/plugins/sabnzbd/_s/treemenu: HTTP Error 502: Bad Gateway"

Uninstalling 1.0 and putting 0.9 on works fine though.

Any ideas?
 

silverwater

Cadet
Joined
Oct 3, 2012
Messages
3
Thanks for the great plugins...I managed to get it working, well 90%.

So I created a mount point, Coachpotato and Sickbeard is able to "move" the finished SAB download from their complete folders to the designed media folders no problem. However, I am having trouble accessing anything else that is not categorized by SAB. For example the Default category which the completed download will be stored under /mnt/share/data/SAB/complete. When I access this folder no problem through a SMB share from a windows computer, but any subfolder - the real stuff like folder that SAB created, I am getting an access deny error.

I have access to any other folder under /mnt/share/data via SMB but just not those folders/files that SAB created. I can chmod 777 the complete folder, that gives me access but next time SAB create something in that folder I will need to chmod again which is a bit annoying.

Any ideas?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Thanks for the great plugins...I managed to get it working, well 90%.

So I created a mount point, Coachpotato and Sickbeard is able to "move" the finished SAB download from their complete folders to the designed media folders no problem. However, I am having trouble accessing anything else that is not categorized by SAB. For example the Default category which the completed download will be stored under /mnt/share/data/SAB/complete. When I access this folder no problem through a SMB share from a windows computer, but any subfolder - the real stuff like folder that SAB created, I am getting an access deny error.

I have access to any other folder under /mnt/share/data via SMB but just not those folders/files that SAB created. I can chmod 777 the complete folder, that gives me access but next time SAB create something in that folder I will need to chmod again which is a bit annoying.

Any ideas?

Did you set what permission's sabnzbd creates files with? It's in sabnzbd's settings
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Do I need to backup to upgrade to 1.0 or can I just upgrade and not lose my settings?

I'd backup, as I haven't tested or found any documentation on the upgrade button.

Code:
service sabnzbd onestop
cp /usr/pbi/sabnzbd-`uname -m`/data /usr/pbi/sabnzbd-data-backup

Upgrade sabnzbd through freenas gui
Code:
rm -r /usr/pbi/sabnzbd-`uname -m`/data/
mv /usr/pbi/sabnzbd-data-backup /usr/pbi/sabnzbd-`uname -m`/data
service sabznbd onestart
 

Joshua Parker Ruehlig

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

I've just tried to change from version 0.9 to 1.0 and keep getting gateway errors. My NAS is on 192.168.2.251 and Jail is at 192.168.2.252. But it seems like the plugin is trying to open the wrong IP.

Here is the error message - "Oct 3 16:23:06 freenas manage.py: [freeadmin.navtree:413] Couldn't retrieve http://192.168.2.251/plugins/sabnzbd/_s/treemenu: HTTP Error 502: Bad Gateway"

Uninstalling 1.0 and putting 0.9 on works fine though.

Any ideas?

weird, are you on 64bit or 32bit? do any of my other plugins work? do any of the official plugins work?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
OK so before you update BACKUP YOUR SETTINGS!!!!

I lost my SickBeard :(

Sorry about that, that's the one that takes the longest to setup too usually...
I guess the settingsd that stay are settings set in freenas' sql database. I don't store any there and let the programs save all these in their config file so I guess updating will never be an option for these plugins. Hopefully I can get the backup+restore working, but I am just way to busy since I started my earlier this week.
 

Wolfeman0101

Patron
Joined
Jun 14, 2012
Messages
428
Sorry about that, that's the one that takes the longest to setup too usually...
I guess the settingsd that stay are settings set in freenas' sql database. I don't store any there and let the programs save all these in their config file so I guess updating will never be an option for these plugins. Hopefully I can get the backup+restore working, but I am just way to busy since I started my earlier this week.

It wasn't your fault, I'm an idiot and tar'd all my data files up but forgot to move them out of the sickbeard folder. A backup/restore would be amazing and I can't wait. You rock for all the hard work.
 

FuzzyLogik

Cadet
Joined
Oct 6, 2012
Messages
1
Hi Joshua,

I've just tried to change from version 0.9 to 1.0 and keep getting gateway errors. My NAS is on 192.168.2.251 and Jail is at 192.168.2.252. But it seems like the plugin is trying to open the wrong IP.

Here is the error message - "Oct 3 16:23:06 freenas manage.py: [freeadmin.navtree:413] Couldn't retrieve http://192.168.2.251/plugins/sabnzbd/_s/treemenu: HTTP Error 502: Bad Gateway"

Uninstalling 1.0 and putting 0.9 on works fine though.

Any ideas?

First post. Firstly, thanks Josua for the plugins, they are fantastic.

I have upgraded to V1.0 X86 and have the same issue as above on all of the plugins. It seems to be trying to start the plugins using the freenas IP and not the jail. In my case I get:
Oct 5 14:29:40 freenas manage.py: [services.views:83] Couldn't retrieve http://192.168.1.86/plugins/sickbeard/_s/status: HTTP Error 502: Bad Gateway

192.168.1.86 is my freenas, 192.168.1.87 is my jail.

All previous versions were fine and started with no issue.

Official plugins like Transmission work fine. I have tried recreating the jail, but no luck. I tried on my main Freenas and on a VM, both X86 and show the same issue. I've tried to start the plugins from within the jail, but I get an error stating that the Plugin is set to No in the gui.

Does anybody have a link to the 0.9 versions since I've stupidly deleted them?

Thanks
 

Wolfeman0101

Patron
Joined
Jun 14, 2012
Messages
428
All the processes inside the jail show as python. Before they'd be the actual service (sickbeard, sabnzbd, etc.), was this intended? I liked before when I could tell which was which.

W5sZv.png
 

Attachments

  • Jail.jpg
    Jail.jpg
    21 KB · Views: 367

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
sorry about the 32bit problems. I don't test them so there's bugs =\
k it's definitely got weird problems but I don't really have much time to test/fix with my new job...
the 0.9 ones are on the same file hosting site if you browse my user's shared files

@Wolfman
no it always showed as 'python'. I think you remember seeing the users as the program names. all the programs are run as the 'media' user now.
 

Wolfeman0101

Patron
Joined
Jun 14, 2012
Messages
428
sorry about the 32bit problems. I don't test them so there's bugs =\
k it's definitely got weird problems but I don't really have much time to test/fix with my new job...
the 0.9 ones are on the same file hosting site if you browse my user's shared files

@Wolfman
no it always showed as 'python'. I think you remember seeing the users as the program names. all the programs are run as the 'media' user now.

You are right, much better with 1 user. Finally got everything back online with Sickbeard, found an old backup so it was just a matter of adding a few shows again and cleaning up some downloads.
 

tonyschuite

Dabbler
Joined
Oct 8, 2012
Messages
12
first off: thanks joshua!

second, i am trying to get the i386 version of these plugins working. none of them install correctly.
i get the following errors:
maraschino: Oct 8 09:35:36 SatansVault manage.py: [middleware.exceptions:38] [MiddlewareError: The file maraschino-1.0-i386 seems to be corrupt, please try download it again.]
tried several times, no change.

headphones: Oct 8 09:44:18 SatansVault manage.py: [middleware.exceptions:38] [MiddlewareError: The file headphones-1.0-i386 seems to be corrupt, please try download it again.]
tried several times, no change.

sabnzbd: grep: /usr/pbi/sabnzbd-i386/data/config.ini: No such file or directory
Starting sabnzbd.
pluginJail# Traceback (most recent call last):
File "/usr/pbi/sabnzbd-i386/SABnzbd/SABnzbd.py", line 65, in <module>
import sabnzbd
File "/usr/pbi/sabnzbd-i386/SABnzbd/sabnzbd/__init__.py", line 69, in <module>
from sabnzbd.nzbqueue import NzbQueue
File "/usr/pbi/sabnzbd-i386/SABnzbd/sabnzbd/nzbqueue.py", line 41, in <module>
import sabnzbd.downloader
File "/usr/pbi/sabnzbd-i386/SABnzbd/sabnzbd/downloader.py", line 39, in <modul
e>
import sabnzbd.scheduler
File "/usr/pbi/sabnzbd-i386/SABnzbd/sabnzbd/scheduler.py", line 29, in <module
>
import sabnzbd.rss as rss
File "/usr/pbi/sabnzbd-i386/SABnzbd/sabnzbd/rss.py", line 35, in <module>
import sabnzbd.emailer as emailer
File "/usr/pbi/sabnzbd-i386/SABnzbd/sabnzbd/emailer.py", line 282, in <module>
from email.message import Message
File "/usr/pbi/sabnzbd-i386/lib/python2.7/email/message.py", line 88
seturn utils.unquote(value)
^
SyntaxError: invalid syntax


sb_anime: `Oct 8 09:48:25 SatansVault manage.py: [middleware.exceptions:38] [MiddlewareError: The file sb_anime-1.0-i386 seems to be corrupt, please try download it again.]
tried several times, no change.

all of these logs are copied from the browser based shell. installed and downloaded them on both OSX as well as Win7 with the same errors.

all 0.9 versions have been installed correctly and are working without any glitch other than my own errors :).
i am not good at programming, but i do test every version on i386. sadly i don't have a 0.9 backup. could you perhaps upload them?
 

SteelWolf

Dabbler
Joined
Jan 15, 2012
Messages
14
Sorry about that, that's the one that takes the longest to setup too usually...
I guess the settingsd that stay are settings set in freenas' sql database. I don't store any there and let the programs save all these in their config file so I guess updating will never be an option for these plugins. Hopefully I can get the backup+restore working, but I am just way to busy since I started my earlier this week.

In the meantime we should be able to just manually save the specific config files if necessary, unless they change a lot between versions. Since you can update the programs themselves through the in-app updater there aren't going to be a ton of times when the plugin itself has to be upgraded. :)
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
first off: thanks joshua!

second, i am trying to get the i386 version of these plugins working. none of them install correctly.
i get the following errors:
maraschino: Oct 8 09:35:36 SatansVault manage.py: [middleware.exceptions:38] [MiddlewareError: The file maraschino-1.0-i386 seems to be corrupt, please try download it again.]
tried several times, no change.

headphones: Oct 8 09:44:18 SatansVault manage.py: [middleware.exceptions:38] [MiddlewareError: The file headphones-1.0-i386 seems to be corrupt, please try download it again.]
tried several times, no change.

sabnzbd: grep: /usr/pbi/sabnzbd-i386/data/config.ini: No such file or directory
Starting sabnzbd.
pluginJail# Traceback (most recent call last):
File "/usr/pbi/sabnzbd-i386/SABnzbd/SABnzbd.py", line 65, in <module>
import sabnzbd
File "/usr/pbi/sabnzbd-i386/SABnzbd/sabnzbd/__init__.py", line 69, in <module>
from sabnzbd.nzbqueue import NzbQueue
File "/usr/pbi/sabnzbd-i386/SABnzbd/sabnzbd/nzbqueue.py", line 41, in <module>
import sabnzbd.downloader
File "/usr/pbi/sabnzbd-i386/SABnzbd/sabnzbd/downloader.py", line 39, in <modul
e>
import sabnzbd.scheduler
File "/usr/pbi/sabnzbd-i386/SABnzbd/sabnzbd/scheduler.py", line 29, in <module
>
import sabnzbd.rss as rss
File "/usr/pbi/sabnzbd-i386/SABnzbd/sabnzbd/rss.py", line 35, in <module>
import sabnzbd.emailer as emailer
File "/usr/pbi/sabnzbd-i386/SABnzbd/sabnzbd/emailer.py", line 282, in <module>
from email.message import Message
File "/usr/pbi/sabnzbd-i386/lib/python2.7/email/message.py", line 88
seturn utils.unquote(value)
^
SyntaxError: invalid syntax


sb_anime: `Oct 8 09:48:25 SatansVault manage.py: [middleware.exceptions:38] [MiddlewareError: The file sb_anime-1.0-i386 seems to be corrupt, please try download it again.]
tried several times, no change.

all of these logs are copied from the browser based shell. installed and downloaded them on both OSX as well as Win7 with the same errors.

all 0.9 versions have been installed correctly and are working without any glitch other than my own errors :).
i am not good at programming, but i do test every version on i386. sadly i don't have a 0.9 backup. could you perhaps upload them?

If you read back a few posts you can see v1.0 is borked. I gotta fix it sometime but don't really have any time or a 32bit machine to test on. I have a feeling I know what it is and will be able to fix it without needing a 32bit freenas box.

I also told people how to find the v0.9 of the plugins, but here's a link to make it a bit easier http://freenas.synergames.com//browse.php?action=browse&userid=7&folder=i386/i386_old
 
Joined
Oct 12, 2011
Messages
6
What is the user name : pass created when installing the pbi? Or what is the user name : pass that creates the folders for the plugins?
I am pretty sure I have permission problem with my setup.

Here is my volumes set up:
VXEhr.jpg


You can see that I have a "Public" Share that hosts all of my media including folders such as "Movies" "Tv Shows" etc..

What I am hoping to do is make a link from inside the jail to the correct folders outside of the jail. Pretty straight forward stuff right? Here is the settings in SAB
aFrHe.jpg


and here is my mount points for the plugin system:
0Xf8D.jpg


The problem is that SAB does not seem to have permission to create folders in the mount point. Here is the error log from SAB:
6mHZC.jpg


Has anyone had success in utilizing mount point outside the plugin jail with write permission?
 
Joined
Oct 12, 2011
Messages
6
I am having what I think to be user permissions errors when trying to write through a mount point.
Here is the ZFS volume and datasets:
w78F3.jpg


You can see that my "media" dataset has a folder named "nzb" I would like to redirect the pbi to this folder.

So I created some mount points:
MzLBV.jpg


And here is the settings in SAB:
rBEiu.jpg


The problem is that when sabnzb tries to create files it pukes:
PSXEo.jpg
 
Status
Not open for further replies.
Top