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

Status
Not open for further replies.

Biggeek

Dabbler
Joined
Dec 26, 2013
Messages
40
weird, I actually didn't test sickrage>transmission yet. But, CP>transmission worked for me. I'll try taking a look in the next few days.

Found out there is a bug listed on TorrentToMedia.py that stalls out the script. Basically CP isn't answereing an API call properly.
 

Biggeek

Dabbler
Joined
Dec 26, 2013
Messages
40
I've got a new one for you.....

So I have Plex installed in a separate jail.
Everything works fine, except for uploading photos from my mobile.
I believe it to be a permissions issue, since I'm pointing Plex to /mnt/media...... blah blah

Plex uses a plex user.
So I have to assume if I create a plex user in the sabnzb jail, and make it part of the media group, then plex should have write access.

Or is there a more simple way to go about this?
Like installing Plex in the existing sabnzb jail?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I've got a new one for you.....

So I have Plex installed in a separate jail.
Everything works fine, except for uploading photos from my mobile.
I believe it to be a permissions issue, since I'm pointing Plex to /mnt/media...... blah blah

Plex uses a plex user.
So I have to assume if I create a plex user in the sabnzb jail, and make it part of the media group, then plex should have write access.

Or is there a more simple way to go about this?
Like installing Plex in the existing sabnzb jail?
I'd personally keep plex in a separate jail (how you have it).

Your solutions really depends on the permission levels of the folder plex is uploading to.
What folder does it upload photos to exactly? You can just change the ownership of that to plex.
Or..
If it allows group writing 7(7)X, then adding plex to the media group is a fine idea, but... this needs to be done in the plex jail because that is where the plex process is running and will determine what it is allowed to touch. The issue with this is there is no media group in the plex jail, so just add one, UID/GID=816.
Or..
most simple, chmod -R 777 /mnt/media
 

Biggeek

Dabbler
Joined
Dec 26, 2013
Messages
40
I'd personally keep plex in a separate jail (how you have it).

Your solutions really depends on the permission levels of the folder plex is uploading to.
What folder does it upload photos to exactly? You can just change the ownership of that to plex.
Or..
If it allows group writing 7(7)X, then adding plex to the media group is a fine idea, but... this needs to be done in the plex jail because that is where the plex process is running and will determine what it is allowed to touch. The issue with this is there is no media group in the plex jail, so just add one, UID/GID=816.
Or..
most simple, chmod -R 777 /mnt/media


Yeah I was thinking
most simple, chmod -R 777 /mnt/media
would be the easiest.

Just going over my head what the implications would be.
i.e. another plugin/script attempts to delete.
Its the old school paranoid sys admin in me. ;)

FYI... the default path for the plex plugin is, /usr/pbi/plexmediaserver-amd64/plexdata/Plex Media Server/Media Upload/Mobile Photos
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Yeah I was thinking
most simple, chmod -R 777 /mnt/media
would be the easiest.

Just going over my head what the implications would be.
i.e. another plugin/script attempts to delete.
Its the old school paranoid sys admin in me. ;)

FYI... the default path for the plex plugin is, /usr/pbi/plexmediaserver-amd64/plexdata/Plex Media Server/Media Upload/Mobile Photos

FYI, I use 777 for my media dataset, (though I don't need to).
I just take regular snaphosts, and make my NFS share (to my XBMC clients) read only.
The stuff I store on there is very replaceable though, so I wouldn't do that photo uploads.

that location is completely unaffected my your sabnzbd jail, or permissions of your media dataset. uploads should work.
 

Biggeek

Dabbler
Joined
Dec 26, 2013
Messages
40
FYI, I use 777 for my media dataset, (though I don't need to).
I just take regular snaphosts, and make my NFS share (to my XBMC clients) read only.
The stuff I store on there is very replaceable though, so I wouldn't do that photo uploads.

that location is completely unaffected my your sabnzbd jail, or permissions of your media dataset. uploads should work.

Cool.
Yeah, I'm doing snapshots also, and I'll just have to run backups of the photos dir
 

stilgars

Dabbler
Joined
Mar 29, 2014
Messages
12
Below is the fix. You'll also need to restart the jail.
Code:
rm /usr/local/etc/rc.d/transmission
ln -s /usr/pbi/transmission-amd64/etc/rc.d/transmission /usr/local/etc/rc.d


Hello
it indeed fixed my transmission start-up problem following a failed upgrade to newest transmission plugin - but i lost all my history, the GUI is completely empty, despite having days of ongoing d/l.

What could be the best way of reacquiring the torrents? I can't even find the .torrent files within the folder that was supposed to hold them (usr/pbi/transmission-amd64/etc/transmission/home/torrents).
However, all partial downloads files are still within the expected folder, on dedicated zfs dataset.

Thanks for help
 
Last edited:

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Hello
it indeed fixed my transmission start-up problem following a failed upgrade to newest transmission plugin - but i lost all my history, the GUI is completely empty, despite having days of ongoing d/l.

What could be the best way of reacquiring the torrents? I can't even find the .torrent files within the folder that was supposed to hold them (usr/pbi/transmission-amd64/etc/transmission/home/torrents).
However, all partial downloads files are still within the expected folder, on dedicated zfs dataset.

Thanks for help
Unfortunately this happened to alot of people and there is no straight forward solution. I didn't know when I created the upgrade for transmission it would delete certain folders under the PBI directory (/usr/pbi/transmission-amd64) because the upgrade procedure isn't documented anywhere.

Did you happen to specify a non-standard config directory on the previous version of transmission?
If not, and if /usr/pbi/transmission-amd64/etc/transmission/home/torrents is empty, I'm guessing they got deleted by the upgrade which is unfortunate.

If you are able to find the .torrent files somewhere, or just re-add them from the internet, I believe you can tell transmission to verify what you have partially downloaded and it can save you some time/bandwidth starting from scratch.
 

Savell Martin

Contributor
Joined
Jun 10, 2013
Messages
164
Hey Josh,

Are all your plugins up and ready for 9.3?
And your guide?

Lastly hows Sonarr coming along?
 

Dmitry Nevozhay

Dabbler
Joined
May 30, 2014
Messages
30
Hi guys!
While following JRueling (9.2.1.x's) tutorial on installing several plugins into single jail (9.3 release)
i've found that it's impossible to manually create jail of "pluginjail" type (and therefore no "upload" button in GUI to upload PBI in "standard" jail).
On my clean 9.3 release's installation there are only "standard" and "virtualbox" jail templates. Where is "pluginjail" one???
I checked http://download.freenas.org/jails/9.3/x64/ and found "freenas-pluginjail-9.3-RELEASE.tgz " tempalte.
While trying to create missing "pluginjail" template i got the unique constraint violation (it looks like the "pluginjail" template exists in system, but not shown in list).
Any suggestion how to resolve this?
 
Last edited:

Ray Milyard

Patron
Joined
Aug 8, 2014
Messages
262
So today after things were working fine I am getting this error warning in Sabnbzd:

API Key missing, please enter the api key from Config->General into your 3rd party program: ::1>python-requests/2.3.0 CPython/2.7.9 FreeBSD/9.1-RELEASE
 

Ray Milyard

Patron
Joined
Aug 8, 2014
Messages
262
Also looks like Transmission now will start then stops after like 5 mins. In FreeNAS plugins after reboot it is off. When I turn it on will run for a little while (like 5 mins) then turns off. Ideas?
 

Biggeek

Dabbler
Joined
Dec 26, 2013
Messages
40
Hi guys!
While following JRueling (9.2.1.x's) tutorial on installing several plugins into single jail (9.3 release)
i've found that it's impossible to manually create jail of "pluginjail" type (and therefore no "upload" button in GUI to upload PBI in "standard" jail).
On my clean 9.3 release's installation there are only "standard" and "virtualbox" jail templates. Where is "pluginjail" one???
I checked http://download.freenas.org/jails/9.3/x64/ and found "freenas-pluginjail-9.3-RELEASE.tgz " tempalte.
While trying to create missing "pluginjail" template i got the unique constraint violation (it looks like the "pluginjail" template exists in system, but not shown in list).
Any suggestion how to resolve this?

Hi Dmitry,
Its not intuitive, but you actually just "install" the sabnzbd plugin and it will automatically create a jail named sabnzbd_1
From there you can select the jail and click the brown box icon, which will allow you to upload/install other plugins into the same jail.

Hope that help.
 

Biggeek

Dabbler
Joined
Dec 26, 2013
Messages
40
So today after things were working fine I am getting this error warning in Sabnbzd:

API Key missing, please enter the api key from Config->General into your 3rd party program: ::1>python-requests/2.3.0 CPython/2.7.9 FreeBSD/9.1-RELEASE

I had the same issue.
I added my sbnzbd api key in my autoProcessMedia.conf file , under the [Nzb] section.
Issue went away. Not sure why it needs it now, but it looks like it does.
 

Joshua Parker Ruehlig

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

Are all your plugins up and ready for 9.3?
And your guide?

Lastly hows Sonarr coming along?
yeah, everything was tested working on 9.3

I don't plan on working on that any time soon. I gotta upgrade/setup 2 in production FreeNAS systems and 3 in production pfsense systems so that's gonna use up my weekends for at least a month.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I had the same issue.
I added my sbnzbd api key in my autoProcessMedia.conf file , under the [Nzb] section.
Issue went away. Not sure why it needs it now, but it looks like it does.
thanks for that. I'll add that to the blog post.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Also looks like Transmission now will start then stops after like 5 mins. In FreeNAS plugins after reboot it is off. When I turn it on will run for a little while (like 5 mins) then turns off. Ideas?
this is with transmission just idling? logs would be the best place to debug. I don't know if logging is on by default but you can try turning it on and checking them if you are still experiencing this.
 
Status
Not open for further replies.
Top