Cannot install Plugins

Status
Not open for further replies.

Michael2k14

Cadet
Joined
Mar 5, 2014
Messages
2
Hi Guys,

iam trying to install plugins on my freenas server but it wont work :(
My System:
Build: FreeNAS-9.2.0-RELEASE-x64 (ab098f4)
Platform: Intel(R) Core(TM) i3 CPU 550 @ 3.20GHz
Memory: 7970MB

At the first time i tried to install *any plugin name* i got the python exception a couple of other users got and reported to this tickets:
https://bugs.freenas.org/issues/3340
https://bugs.freenas.org/issues/2496
https://bugs.freenas.org/issues/3888

So.. i checked my DNS settings to check if i missed something, no that wasnt the problem, i checked the jail root and it was set to /mnt which caused the first error (see ticket 3888).

I created a folder in my main storage /mnt/greenraid/jails and tried again;
This is the /var/log/messages output:

Mar 5 09:50:21 freenas manage.py: [middleware.exceptions:38] [MiddlewareError:lem! x ./lib/libreadline.so.8 x ./lib/libumem.so.2 x ./lib/libalias.so.7 x ./lib/libpcap.so.8 x ./lib/libbsdxml.so.4 x ./lib/geom/geom_concat.so x ./lib/geom/geom_stripe.so x ./lib/geom/geom_label.so x ./lib/geom/geom_mirror.so x ./lib/geom/geom_mountver.so x ./lib/geom/geom_virstor.so x ./lib/geom/geom_raid.so x ./lib/geom/geom_cache.so x ./lib/geom/geom_eli.so x ./lib/geom/geom_part.so x ./lib/geom/geom_multipath.so x ./lib/geom/geom_shsec.so x ./lib/geom/geom_nop.so x ./lib/geom/geom_journal.so x ./lib/geom/geom_raid3.so x ./lib/geom
[....]
Mar 5 09:50:21 freenas manage.py: /geom_sched.so cannot create snapshot 'greenraid/jails/.warden-template-pluginjail@clean': dataset already exists ERROR: Failed creating clean ZFS base snapshot ERROR: Failed to create ZFS base dataset ]

I deleted everything again and searched for "where to put the freenas plugins"... i found a thread in this forum which mention to create a ZFS Dataset in the main storage and the set the jail root to this location.
I did and this was the error in the logfiles after trying to install *any plugin name*:

Mar 5 10:14:50 freenas manage.py: [middleware.exceptions:38] [MiddlewareError: http://cdn.freenas.org/9.2.0/RELEASE/x64/jails/freenas-pluginjail-9.2-RELEASE.tgz: Not Found ERROR: Failed extracting: http://cdn.freenas.org/9.2.0/RELEASE/x64/jails/freenas-pluginjail-9.2-RELEASE.tgz cannot open 'greenraid/jails/.warden-template-pluginjail': dataset does not exist ERROR: Failed to create ZFS base dataset ]

Any ideas what todo?
What iam doing wrong?!
 

Michael2k14

Cadet
Joined
Mar 5, 2014
Messages
2
Okay, fixed for me..
I created a fresh zfs dataset with a complete different name then i used before, now it works..

For the developers: Should i create a ticket for you guys to reproduce this behaviour?
Maybe a cleanup routine somewhere makes sense to fix this.
 
Status
Not open for further replies.
Top