iocage jail import fails

Spiffy

Cadet
Joined
Apr 19, 2012
Messages
2
I tried exporting my iocage jail with "iocage export plexmediaserver_1" - and it created a zip file in "/mnt/iocage/images" - but when I try to import it again, I get the following

Code:
# iocage import plexmediaserver_1
Importing dataset: plexmediaserver/2018-12-16
cannot open 'main/iocage/jails/plexmediaserver/2018-12-16': dataset does not exist
cannot receive new filesystem stream: dataset does not exist
Broken pipe


I have tried specifying the full path to the file, but doesn't help The zip file seems to contain a weird version of the settings.json file and what looks like that root dataset of the jail.

I am sure I have missed something in the manual somewhere - but how the heck do I restore this jail to a working condition ?
 
D

dlavigne

Guest
Yes, please report at bugs.freenas.org and post the issue number here.
 

dfunked

Cadet
Joined
Oct 19, 2018
Messages
2
Did this ever go through as a bug? Having the same issue with two of my iocage jails with underscores in their names, but it worked fine for the rest without underscores.
 

gt2416

Patron
Joined
Feb 4, 2018
Messages
262
Yes this is a known issue. Any jails with a underscore exhibit this bug. The plugins will not use underscores from the next version because of this iocage bug. It was reported a month ago by diskdiddler (If I remember right).
 
Top