Deleted Jails directory

Status
Not open for further replies.

PiP

Dabbler
Joined
Mar 20, 2012
Messages
47
In an act of stupidity I have accidentally deleted the jails directory following an upgrade from 8.3.1 to 9.1. Which faults the 'automatic' pbi installation of transmission (reporting that .warden not found or something similar).

Is there a way to re-establish the desired directory / files? i.e. can I re-run the upgrade or something similar?

Regards

Jack
 

PiP

Dabbler
Joined
Mar 20, 2012
Messages
47
Further information attempting to install transmission:

Aug 15 22:55:26 freenas manage.py: [common.pipesubr:57] Popen()ing: /usr/local/bin/warden create bit_1 --ipv4 192.168.1.11/24 --pluginjail --syslog --logfile /mnt/PiPNAS/jail/warden.log
Aug 15 22:55:26 freenas warden: Building new Jail... Please wait...
Aug 15 22:55:26 freenas warden: zfs clone PiPNAS/jail/.warden-template-9.1-RELEASE-amd64-pluginjail@clean PiPNAS/jail/bit_1
Aug 15 22:55:26 freenas warden: ERROR: Failed creating clean ZFS base clone
Aug 15 22:55:26 freenas manage.py: [middleware.exceptions:38] [MiddlewareError: Failed to install plugin: cannot open 'PiPNAS/jail/.warden-template-9.1-RELEASE-amd64-pluginjail@clean': dataset does not exist ERROR: Failed creating clean ZFS base clone ]
Aug 15 22:55:27 freenas manage.py: [common.pipesubr:57] Popen()ing: /usr/local/bin/warden list -v
 
D

dlavigne

Guest
Does creating a dataset named "jails" fix the issue or do you get the same (or another) error?
 

PiP

Dabbler
Joined
Mar 20, 2012
Messages
47
just trying now - has proceeded further that usual as am typing. Thanks for the help.
 

Michael Sparks

Explorer
Joined
Apr 23, 2014
Messages
56
wow, this saved me from rebuilding the entire system.
 
Status
Not open for further replies.
Top