Jails Gone After Updating to 11.3-U2.1

burrm

Cadet
Joined
Jun 17, 2018
Messages
6
Just upgraded from 11.1-U7 to 11.3-U2.1.

After rebooting, it seems that my jails are missing. They do not show up in the UI and the jls command line return nothing. They do still exist on the filesystem though, but just do not seem to be running. Does the upgrade not migrate them? Any way to fix it?
 

burrm

Cadet
Joined
Jun 17, 2018
Messages
6
Nevermind, just found the threads about warden to iocage migration etc.....guess I'm a little late to the party.

After a quick browse-through, seems like the best option is to just re-create them under iocage from scratch rather than try to migrate?
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
re-create them under iocage from scratch rather than try to migrate?
Yes, that's the best approach.

Your jail datasets will still be there with any data you will need for the migration... this is a good opportunity to separate it out into mounted datasets if you hadn't already.
 

Yorick

Wizard
Joined
Nov 4, 2018
Messages
1,912
Yup, and while you are at it, consider a tweak:
- Move data into its own dataset, mounted into the jail
- rsync -ha the data over from warden jails to the new dataset; adjust owner:group if that changed between the warden and iocage version of the jail

danb35 has a great script for setting up Plex; the jailman script handles a wider variety of jails and has a different approach to things, which you'd need to look at to see whether you like it.
 
Top