SOLVED Jail Unable to find template!

Status
Not open for further replies.

sani

Cadet
Joined
Aug 19, 2015
Messages
1
I am having the exact same problem.
I am on the same build (FreeNAS-9.3-STABLE-201506292130) and get a "Unable to find template!" error on jail creation as well.

A week ago I still was able to create a jail, so I am not sure what changed in the meantime.
 

sdgenxr

Contributor
Joined
Sep 4, 2014
Messages
131

sdgenxr

Contributor
Joined
Sep 4, 2014
Messages
131
From what I've gathered, there are a few different reasons for getting this error. The problem I was having is outlined in Bug #10408 Creating a jail and then rebooting/creating a new jail forces a refetch.

Here are the steps John worked through to resolve the problem:
1. rmdir /your/jail/root/.warden-template-standard
2. zfs list -t snapshot | grep '.warden-template-standard@clean'
3. If the previous command lists anything, delete that snapshot
4. cd /root
5. fetch https://raw.githubusercontent.com/freenas/freenas/master/src/freenas/etc/ix.rc.d/ix-warden
6. cp ix-warden /conf/base/etc/ix.rc.d/
7. cp ix-warden /etc/ix.rc.d/
8. At this point, go to the UI and create a jail, if all goes well, it should work


HUGE shout out and thanks goes to John Hixson for figuring out the problem and providing a resolution!
 
Last edited:
Status
Not open for further replies.
Top