How do I reinstall the plugin jail manually?

Status
Not open for further replies.

tofagerl

Contributor
Joined
Aug 26, 2013
Messages
118
I migrated from 9.3 to 9.10, and then had to reinstall everything after a hardware malfunction. Now that everything is back up again, I pointed my jail root at the old jail root, and the old plugins were picked up as plain jails.
That worked for a while, but after a week or so they started losing network access one after another, so I decided to install the plugins again and just move the configuration over so I wouldn't lose data.

But I get this error in syslog:
  • Jun 12 21:06:31 freenas warden: Building new Jail... Please wait...
  • Jun 12 21:06:31 freenas warden: zfs clone raid/gaol/.warden-template-pluginjail@clean raid/gaol/couchpotato_1
  • Jun 12 21:06:31 freenas warden: ERROR: Failed creating clean ZFS base clone
  • Jun 12 21:06:31 freenas manage.py: [middleware.exceptions:37] [MiddlewareError: [Errno 2] No such file or directory: u'/mnt/raid/gaol/couchpotato_1/.plugins/PLUGIN'
The error is actually correct, in a way, there i no way to clone raid/gaol/.warden-template-pluginjail, as it does not exist. I've tried rebooting freenas, but it doesn't help.

This is my zfs list:

NAME USED AVAIL REFER MOUNTPOINT
freenas-boot 991M 6.24G 31K none
freenas-boot/ROOT 970M 6.24G 25K none
freenas-boot/ROOT/9.10-STABLE-201605240427 54K 6.24G 483M /
freenas-boot/ROOT/9.10-STABLE-201606072003 970M 6.24G 594M /
freenas-boot/ROOT/Initial-Install 1K 6.24G 480M legacy
freenas-boot/ROOT/default 47K 6.24G 481M legacy
freenas-boot/grub 19.0M 6.24G 6.33M legacy
raid 7.87T 2.34T 14.3M /mnt/raid
raid/backup 387G 2.34T 387G /mnt/raid/backup
raid/gaol 20.7G 2.34T 20.7G /mnt/raid/gaol
raid/media 7.47T 2.34T 7.47T /mnt/raid/media

Note that I do have two jails running, but neither shows in zfs list.
 

tofagerl

Contributor
Joined
Aug 26, 2013
Messages
118
Fixed, but I had to delete the jail volume and all jails. No big loss, I moved everything over to a little docker server first, and only had to reinstall the Plex plugin.. Backups took care of that situation.

... so that was my friday night...
 
Status
Not open for further replies.
Top