Error: Unable to find template!

Status
Not open for further replies.

jeffprandall

Dabbler
Joined
Feb 17, 2015
Messages
19
I am trying to install any plugin and I get the error about unable to find template.

I tried deleting the template (warden template delete pluginjail) but since I actually having running jails I fear that if I delete those it will break my jails. Any ideas?


Code:
[root@freenas] ~# zfs list
NAME															USED  AVAIL  REFER  MOUNTPOINT
freenas-boot												   2.91G   116G	31K  none
freenas-boot/ROOT											  2.89G   116G	25K  none
freenas-boot/ROOT/9.10.1-U2									  57K   116G   621M  /
freenas-boot/ROOT/9.10.1-U4									96.5K   116G   622M  /
freenas-boot/ROOT/9.10.2										 56K   116G   636M  /
freenas-boot/ROOT/9.10.2-U2									2.89G   116G   638M  /
freenas-boot/ROOT/Initial-Install								 1K   116G   613M  legacy
freenas-boot/ROOT/default										53K   116G   614M  legacy
freenas-boot/grub											  6.55M   116G  6.55M  legacy
storage														3.74T  1.53T   104K  /mnt/storage
storage/.system												 123M  1.53T   104K  legacy
storage/.system/configs-74564c350ac445f98d2696edfb9a82ed	   40.4M  1.53T  40.4M  legacy
storage/.system/cores										  44.3M  1.53T  44.3M  legacy
storage/.system/rrd-74564c350ac445f98d2696edfb9a82ed		   35.4M  1.53T  35.4M  legacy
storage/.system/samba4										  552K  1.53T   552K  legacy
storage/.system/syslog-74564c350ac445f98d2696edfb9a82ed		2.46M  1.53T  2.46M  legacy
storage/backups												3.10M  1.53T  3.10M  /mnt/storage/backups
storage/jails												  99.3G  1.53T   741M  /mnt/storage/jails
storage/jails/.warden-template-pluginjail					   469M  1.53T  3.27M  /mnt/storage/jails/.warden-template-pluginjail
storage/jails/.warden-template-pluginjail--x64				  719M  1.53T  2.92M  /mnt/storage/jails/.warden-template-pluginjail--x64
storage/jails/.warden-template-pluginjail--x64-20151117191326   449M  1.53T   449M  none
storage/jails/.warden-template-pluginjail-9.3-x64			  2.93M  1.53T  2.93M  /mnt/storage/jails/.warden-template-pluginjail-9.3-x64
storage/jails/.warden-template-pluginjail-open-x86			   96K  1.53T	96K  /mnt/storage/jails/.warden-template-pluginjail-open-x86
storage/jails/.warden-template-standard						1.61G  1.53T  1.61G  /mnt/storage/jails/.warden-template-standard
storage/jails/.warden-template-standard jail					449M  1.53T   449M  /mnt/storage/jails/.warden-template-standard jail
storage/jails/.warden-template-standard--x64				   1.55G  1.53T   103M  /mnt/storage/jails/.warden-template-standard--x64
storage/jails/.warden-template-standard--x64-20151117191326	1.58G  1.53T  1.58G  none
storage/jails/.warden-template-standard-9.3-x64				1.58G  1.53T  1.58G  /mnt/storage/jails/.warden-template-standard-9.3-x64
storage/jails/couchpotato_1									 475M  1.53T  1.16G  /mnt/storage/jails/couchpotato_1
storage/jails/owncloud_1									   78.7G  1.53T  79.1G  /mnt/storage/jails/owncloud_1
storage/jails/plexmediaserver_1								8.65G  1.53T  9.02G  /mnt/storage/jails/plexmediaserver_1
storage/jails/sabnzbd_1										1.95G  1.53T  2.41G  /mnt/storage/jails/sabnzbd_1
storage/jails/sonarr_1										  446M  1.53T   912M  /mnt/storage/jails/sonarr_1
storage/media												  3.64T  1.53T  3.64T  /mnt/storage/media
storage/source_code											  88K  1.53T	88K  /mnt/storage/source_code

[root@freenas] ~# warden template list
Jail Templates:
------------------------------
standard - FreeBSD  (amd64)
standard jail - FreeBSD  (amd64)
standard-9.3-x64 - FreeBSD  (amd64)

[root@freenas] ~# warden list
ID					   AUTOSTART	STATUS	   TYPE
---------------------------------------------------------------------------
couchpotato_1			Enabled	  Running	  pluginjail
owncloud_1			   Enabled	  Running	  pluginjail
plexmediaserver_1		Enabled	  Running	  pluginjail
sabnzbd_1				Enabled	  Running	  pluginjail
sonarr_1				 Enabled	  Running	  pluginjail

[root@freenas] ~# warden template delete pluginjail
cannot destroy 'storage/jails/.warden-template-pluginjail': filesystem has dependent clones
use '-R' to destroy the following datasets:
storage/jails/sonarr_1
storage/jails/sabnzbd_1
storage/jails/owncloud_1

 

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
Now that you have moved to 9.10, you will not be able to install any new jails, since you carried over jails from 9.3, it looks like.

You would have to destroy your jails and templates, and recreate new jails. If you don't do that, you are stuck with the configuration of jails that you have.
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
He should still be able to add jails. I converted all my jails one at a time when i upgraded to 9.10 and then deleted all the old jails and templates.

Submit a bug report, this is not normal behavior and it used to work.
 

zemun2

Explorer
Joined
Mar 15, 2017
Messages
72
I am having the same exact issue. Is there a way to manually install "Syncthing"?

Thanks
 
Status
Not open for further replies.
Top