Unable to find template, cant install new jails

Status
Not open for further replies.

Sakuru

Guru
Joined
Nov 20, 2015
Messages
527
What does this return?
Code:
sqlite3 /data/freenas-v1.db "SELECT * FROM jails_jailsconfiguration;"
 

Johannez

Explorer
Joined
Jan 25, 2016
Messages
59
Hi Sakuru,

Thank you for you reply.

it returns:
Code:
|0|||0|/mnt/Volume2SSD/jails|192.168.1.0/24|192.168.1.1/24|http://download.freenas.org/latest/RELEASE/x64/jails|1|192.168.1.254/24
 

Klyoku

Cadet
Joined
Jun 24, 2016
Messages
8
Stop your jails/plugins, then try this:
Code:
zfs get -rH -o name -s received mountpoint ssd_pool/jails | xargs -I {} sh -c "zfs set mountpoint=/{} {}; zfs mount {};"

obviously replacing "ssd_pool/jails" with your actual dataset
then re-starter your jails/plugins
 

Johannez

Explorer
Joined
Jan 25, 2016
Messages
59
Hi Klyoku,

Thank you for helping out.
I tried the command but after rebooting i keep getting the same error.
All mount points seem to be fixed but FreeNas is still unable to find the template.

Moving jails around really screwed up the system.
 

Klyoku

Cadet
Joined
Jun 24, 2016
Messages
8
Sorry I couldn't help. I solved the issue that way when I realized the link you posted had that line of command missing
This is link of where the original command was from
 
Status
Not open for further replies.
Top