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

Status
Not open for further replies.

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
@CraftyClown
also, as a side note. by having sickrage post-process files across different datasets or mointpoints it end up doing a less efficient move operation (read,write,delete) than if these were on the same dataset & mountpoint (pointer change).

I personally have my downloads and media on the same dataset mounted into my jail using a single mountpoint to avoid this inefficiency. just something to keep in mind, I know your setup is complicated enough, lol.
 

CraftyClown

Patron
Joined
Apr 5, 2014
Messages
214
Urghhh, I was getting tired and I should have just gone to bed instead of tinkering (It's almost 2am here)

Ha ha, complicated isn't the word! although I'm sure I make it more complicated for myself sometimes! The post processing across different datasets shouldn't be an issue anymore as I should be able to use BTSync to place my downloads on the relevant dataset, so sickrage will only look in TV/downloads and Couchpotato will only look in Movies/downloads etc. I think I'll struggle to make it more efficient than that as the different datasets are on different physical volumes.

Is there a particular value to having all my plugins in one jail? Or was the way I was doing it ok? I presume if I want them all in the same jail, I will have to install them via shell commands?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Urghhh, I was getting tired and I should have just gone to bed instead of tinkering (It's almost 2am here)

Ha ha, complicated isn't the word! although I'm sure I make it more complicated for myself sometimes! The post processing across different datasets shouldn't be an issue anymore as I should be able to use BTSync to place my downloads on the relevant dataset, so sickrage will only look in TV/downloads and Couchpotato will only look in Movies/downloads etc. I think I'll struggle to make it more efficient than that as the different datasets are on different physical volumes.

Is there a particular value to having all my plugins in one jail? Or was the way I was doing it ok? I presume if I want them all in the same jail, I will have to install them via shell commands?
Ahh, if they end on different volumes (I assume zpools) then what I was suggesting isn't an option.

I install multiple plugins to the same jail in some cercumstances. I have my sabnzbd & transmission & sickrage & couchpotato in the same jail because they all access the same files + nzbToNMedia scripts. But you don't need to do it this way, just makes things simpler/more convenient sometimes.

You can install a plugin to an existing plugin jail by uploading a PBI from the below link on the Jails tab.
http://download.freenas.org/plugins/9/x64/
 

CraftyClown

Patron
Joined
Apr 5, 2014
Messages
214
Ah that's cool. Sounds like I'm set up as logically as possible then

So I'm installing all my plugins again one by one. I can copy all necessary info such as IP addresses from the old plugins

re your advice: * copy over your datadirectories (/var/db/PLUGIN), this will save you from reconfiguring your plugins

How exactly would I go about copying that over?

If I do this correctly, will my sickrage data base still be there, do you think?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Ah that's cool. Sounds like I'm set up as logically as possible then

So I'm installing all my plugins again one by one. I can copy all necessary info such as IP addresses from the old plugins

re your advice: * copy over your datadirectories (/var/db/PLUGIN), this will save you from reconfiguring your plugins

How exactly would I go about copying that over?

If I do this correctly, will my sickrage data base still be there, do you think?
If you are following my advice exactly you probably cant use the old IP unless you change the old jail's IPs first.

You can copy over the directory multiple different ways. I'd personally do it from the FreeNAS commandline similar to the below..
Code:
cp -R /mnt/tank/jails/sickrage_1/var/db/sickrage /mnt/tank/jails/sickrage_2/var/db/sickrage
chown -R 816:816 /mnt/tank/jails/sickrage_2/var/db/sickrage


Not sure what you mean by "data base", but sickrage will be setup exactly as it is currently.
 
Last edited:

CraftyClown

Patron
Joined
Apr 5, 2014
Messages
214
Yeah that makes sense. I'll change out the old plugins IPs first and then add the new ones, once they are free.

The code above will apply to each of the plugins I take it? Just swapping out the name and location for each.

In the second line, what does the chown -R 816:816 part do?

Thanks again or all your help Josh. You've been incredibly patient :)
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Yeah that makes sense. I'll change out the old plugins IPs first and then add the new ones, once they are free.

The code above will apply to each of the plugins I take it? Just swapping out the name and location for each.

In the second line, what does the chown -R 816:816 part do?

Thanks again or all your help Josh. You've been incredibly patient :)
I don't know the exact paths to your jails datasets, or jail names so your need to replace those. but yes, once you replace those do the same with the other plugin names.

the "cp" command wont save directy ownership so I'm changing the data-directory owner back to UID 816, which would be interpreted as the 'media' user in the jail.
 

CraftyClown

Patron
Joined
Apr 5, 2014
Messages
214
I don't know the exact paths to your jails datasets, or jail names so your need to replace those. but yes, once you replace those do the same with the other plugin names.

the "cp" command wont save directy ownership so I'm changing the data-directory owner back to UID 816, which would be interpreted as the 'media' user in the jail.

and again this would be applied to all my plugins?
 

Joshua Parker Ruehlig

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

CraftyClown

Patron
Joined
Apr 5, 2014
Messages
214
Hey Josh,

I've managed to reinstall most of my plugins, but Plex is causing me some hassles

when I run the following command: cp -R /mnt/Movies_and_Music/pluginjails/plexmediaserver_1/var/db/plexmediaserver /mnt/Movies_and_Music/pluginjails/plexmediaserver_2/var/db/plexmediaserver

I get back: No such file or directory

Am I missing something?
 

Joshua Parker Ruehlig

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

I've managed to reinstall most of my plugins, but Plex is causing me some hassles

when I run the following command: cp -R /mnt/Movies_and_Music/pluginjails/plexmediaserver_1/var/db/plexmediaserver /mnt/Movies_and_Music/pluginjails/plexmediaserver_2/var/db/plexmediaserver

I get back: No such file or directory

Am I missing something?
plex uses /var/db/plexdata
Also when you chmod that, use the user 'plex' (UID=972)
 

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377

Joshua Parker Ruehlig

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

MtK

Patron
Joined
Jun 22, 2013
Messages
471
Hi @Joshua Parker Ruehlig,
I just updated to Transmission 2.84_2 and the download_dir is getting overwritten as soon as transmission starts.
(even if you edit it by directly editing the config file)

is this a known issue?
 

ThomasDK81

Dabbler
Joined
Mar 19, 2012
Messages
49
When updating to Transmission 2.84_2 all my Transmission settings AND all the seeding torrents were gone :-(
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Hi @Joshua Parker Ruehlig,
I just updated to Transmission 2.84_2 and the download_dir is getting overwritten as soon as transmission starts.
(even if you edit it by directly editing the config file)

is this a known issue?
how are you trying to set it? Ideally you set it from the FreeNAS WebUI (left panel, transmission icon).
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
When updating to Transmission 2.84_2 all my Transmission settings AND all the seeding torrents were gone :-(
Yeah, I noticed the settings resetting too. The database storing them gets wiped =[

Did you happen to have your .torrent files in a specific location? maybe when you change the setting back to that location they'll appear. But, I'm not an expert at transmission...
 

MtK

Patron
Joined
Jun 22, 2013
Messages
471

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
yes, it's being reset as well.


and also:
Code:
# /usr/local/bin/transmission-remote --blocklist-update
Error: gotNewBlocklist: http error 0: No Response

# /usr/pbi/transmission-amd64/bin/transmission-remote --blocklist-update
Error: gotNewBlocklist: http error 0: No Response
Can you please show the contents of /etc/rc.conf, that's a spot it can sometimes be set.

What did you put as your blocklist setting? Can you try fetching it from the jail's commandline?
 

MtK

Patron
Joined
Jun 22, 2013
Messages
471
Can you please show the contents of /etc/rc.conf, that's a spot it can sometimes be set.

What did you put as your blocklist setting? Can you try fetching it from the jail's commandline?
I edited the post too late, the blocklist issue is solved.
the settings were reset after the update.

the download_dir issue remains:
Screen Shot 2015-02-18 at 11.06.48.png
 
Status
Not open for further replies.
Top