Upgrade to 11.3 lost warden jails.

we7313

Dabbler
Joined
Nov 17, 2015
Messages
40
I upgraded to 11.3 and lost the ability to start my warden jails.
I would really like a way to at least get them up and running temporarily to grab all the settings and configurations I have in them.
Anyone have any suggestions on how to do this?
 
Joined
Jan 4, 2014
Messages
1,644
The jails are still there. You just can't run them, but you can get to the data in them. You just need to trace their location in the pool. You can do this from the Shell e.g. in the screenshot below tank is the name of the pool so /mnt/tank represents the root of the pool. From there, use a combination of ls and cd commands to find the data you're interested in.

screenshot.169.png
 

RobTheRed

Dabbler
Joined
Feb 8, 2016
Messages
25
I'm in the same boat as the OP. I've been trying to find all my settings (for Sonarr, Couch Potato and Plex) but they're in kinda random places. For example, I've found my Sonarr Settings in the old jail (sonarr_1/var/db/sonarr), but in the new IOCage plugin iocage/sonarr_1/var/db/sonarr doesn't exist. I'd love to be able to copy the old settings into the new plugin.

As an added bonus the new IOCage Plugins I installed can't seem to write to the directories they need to import what I had previously.

Does anyone have a good guide to restoring your settings for Couch Potato, Sonarr and Plex? How about being able to make the new IOCage plugins run as a different user so that permissions work correctly?
 
Joined
Jan 4, 2014
Messages
1,644
You might find this thread useful. Have a look under the first spoiler.
 

RobTheRed

Dabbler
Joined
Feb 8, 2016
Messages
25
When I setup FreeNAS about 4 years ago, I ended up using solution 2 for my plugins. When I tried that route, the second portion of that solution
Code:
service PLUGIN onestop
chown -R USER:GROUP /var/db/PLUGIN
sysrc 'PLUGIN_user=USER'
service PLUGIN start
I can't get the service PLUGIN line to work. Is solution 1 the better way to do this? I have a user in FreeNAS "media" that has access to read/write to all of the media directories.
 
Joined
Jan 4, 2014
Messages
1,644
I'm not able to comment on solution 2. I've only ever used solution 1 i.e. give the plugin user access outside the jail rather than giving a FreeNAS user access inside the jail.
 

RobTheRed

Dabbler
Joined
Feb 8, 2016
Messages
25
I'm awaiting to see if the Plex Restore worked, but I ended up copying from /mnt/<Pool>/jails/plex_1/var/db/'Plex Media Server' to /mnt/<Pool>/iocage/jails/root/'Plex Media Server'. I haven't found the folders for Sonarr nor Couch Potato in the new iocage plugins. Has anyone else successfully restored their settings from a Warden jail to an IO Cage Jail?
 

RobTheRed

Dabbler
Joined
Feb 8, 2016
Messages
25
Well I found the sonarr settings, but when I restored the directory from the warden jail to the iocage jail, sonarr no longer is accessible from the url I had it before and it looks like I may have to recreate the plugin
 

diedrichg

Wizard
Joined
Dec 4, 2012
Messages
1,319
I'm one who will occasionally delete a jail - just because. To expedite the process of restoring software, I create mount points to the various software config files that live on my pool.

/mnt/pool/apps/sonarr (for example)

This way the config is mapped to the jail
~/config/sonarr
and then I point the /usr/local/etc/rc.d file to this internal location. It's worked great and makes life simple.
 

RobTheRed

Dabbler
Joined
Feb 8, 2016
Messages
25
I'm not able to comment on solution 2. I've only ever used solution 1 i.e. give the plugin user access outside the jail rather than giving a FreeNAS user access inside the jail.
I ended up deleting the sonarr plugin and recreating it.

I'm trying to do the suggestion in part 1. I've created the user from FreeNAS -> accounts Create user Sonar with uid that matches one running in jail using command id sonarr from within the jail to show the userid. I've added that sonarr user to the media group which has rights to read/write the folders. I'm still unable to have sonarr write to the folders. What steps did you take to do this?
 
Top