Jailplugin installing

Status
Not open for further replies.

kjp4756

Contributor
Joined
Feb 11, 2014
Messages
102

mullcom

Explorer
Joined
Apr 29, 2012
Messages
67
Make sure to reboot after they are all deleted.


ok now i have deleted all .warden*

after that i go in i gui and reboot freenas.

when it back up i try to install a plugin agen.

and i got this
Feb 18 22:20:07 freenas manage.py: [middleware.exceptions:38] [MiddlewareError: Abort trap ERROR: Failed extracting: http://cdn.freenas.org/9.2.0/RELEASE/x64/jails/freenas-pluginjail-9.2-RELEASE.tgz cannot open 'raid-z1/jail/.warden-template-pluginjail': dataset does not exist ERROR: Failed to create ZFS base dataset ]


I dont have any .warden folders in jail anymore.

do i not need to create this ? storage/jails/.warden-template-pluginjail
 

kjp4756

Contributor
Joined
Feb 11, 2014
Messages
102
ok now i have deleted all .warden*

after that i go in i gui and reboot freenas.

when it back up i try to install a plugin agen.

and i got this
Feb 18 22:20:07 freenas manage.py: [middleware.exceptions:38] [MiddlewareError: Abort trap ERROR: Failed extracting: http://cdn.freenas.org/9.2.0/RELEASE/x64/jails/freenas-pluginjail-9.2-RELEASE.tgz cannot open 'raid-z1/jail/.warden-template-pluginjail': dataset does not exist ERROR: Failed to create ZFS base dataset ]


I dont have any .warden folders in jail anymore.

do i not need to create this ? storage/jails/.warden-template-pluginjail


You shouldn't have to create that. It's automatically done. For some reason it is failing. Post the output of 'sudo zfs list'
 

mullcom

Explorer
Joined
Apr 29, 2012
Messages
67
You shouldn't have to create that. It's automatically done. For some reason it is failing. Post the output of 'sudo zfs list'


same like befor

NAME USED AVAIL REFER MOUNTPOINT
raid-z1 4.08T 6.63T 2.36T /mnt/raid-z1
raid-z1/.samba4 2.94M 6.63T 2.94M /mnt/raid-z1/.samba4
raid-z1/archive 1.73T 6.63T 1.70T /mnt/raid-z1/archive
raid-z1/archive/Privet 23.6G 6.63T 23.6G /mnt/raid-z1/archive/Privet
raid-z1/home 716K 6.63T 256K /mnt/raid-z1/home
raid-z1/home/guest 230K 6.63T 230K /mnt/raid-z1/home/guest
raid-z1/home/mullcom 230K 6.63T 230K /mnt/raid-z1/home/mullcom
raid-z1/jail 13.4M 6.63T 13.4M /mnt/raid-z1/jail
raid-z1/opt 249K 6.63T 249K /mnt/raid-z1/opt
raid-z1/security 2.53M 6.63T 2.53M /mnt/raid-z1/security
 

kjp4756

Contributor
Joined
Feb 11, 2014
Messages
102
same like befor

NAME USED AVAIL REFER MOUNTPOINT
raid-z1 4.08T 6.63T 2.36T /mnt/raid-z1
raid-z1/.samba4 2.94M 6.63T 2.94M /mnt/raid-z1/.samba4
raid-z1/archive 1.73T 6.63T 1.70T /mnt/raid-z1/archive
raid-z1/archive/Privet 23.6G 6.63T 23.6G /mnt/raid-z1/archive/Privet
raid-z1/home 716K 6.63T 256K /mnt/raid-z1/home
raid-z1/home/guest 230K 6.63T 230K /mnt/raid-z1/home/guest
raid-z1/home/mullcom 230K 6.63T 230K /mnt/raid-z1/home/mullcom
raid-z1/jail 13.4M 6.63T 13.4M /mnt/raid-z1/jail
raid-z1/opt 249K 6.63T 249K /mnt/raid-z1/opt
raid-z1/security 2.53M 6.63T 2.53M /mnt/raid-z1/security


Ok, that looks fine. I don't understand why it's failing to create the dataset. Let's try to do it manually and see what happens. Run this from a shell: 'sudo zfs create raid-z1/jail/.warden-template-pluginjail' and post the error if there is any.
 

mullcom

Explorer
Joined
Apr 29, 2012
Messages
67
Ok, that looks fine. I don't understand why it's failing to create the dataset. Let's try to do it manually and see what happens. Run this from a shell: 'sudo zfs create raid-z1/jail/.warden-template-pluginjail' and post the error if there is any.



no error att all.
checking and i got .warden-template-pluginjail folder now.
 

kjp4756

Contributor
Joined
Feb 11, 2014
Messages
102
no error att all.
checking and i got .warden-template-pluginjail folder now.

No error means it succeeded. You could try installing a plugin and see what happens. I'm not sure if the gui will get confused because the dataset was manually created.
 

mullcom

Explorer
Joined
Apr 29, 2012
Messages
67
No error means it succeeded. You could try installing a plugin and see what happens. I'm not sure if the gui will get confused because the dataset was manually created.


ok..

then i get this....

Feb 18 23:07:21 freenas manage.py: [py.warnings:613] /usr/local/www/freenasUI/../freenasUI/jails/utils.py:613: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6 raise MiddlewareError(e.message)
Feb 18 23:07:21 freenas manage.py: [middleware.exceptions:38] [MiddlewareError: ERROR: A template with this nickname already exists! ]
 

kjp4756

Contributor
Joined
Feb 11, 2014
Messages
102
ok..

then i get this....

Feb 18 23:07:21 freenas manage.py: [py.warnings:613] /usr/local/www/freenasUI/../freenasUI/jails/utils.py:613: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6 raise MiddlewareError(e.message)
Feb 18 23:07:21 freenas manage.py: [middleware.exceptions:38] [MiddlewareError: ERROR: A template with this nickname already exists! ]

I kind of figured that would happen. Delete the dataset we manually created with 'zfs destroy raid-z1/jail/.warden-template-pluginjail' then reboot. ry the plugin install again. If it still fails then I don't know what else to try. If you don't have any other jails or plugins installed you could try removing the jail dataset from the storage tab in the gui then reboot then try to install plugins again.
 

mullcom

Explorer
Joined
Apr 29, 2012
Messages
67
I kind of figured that would happen. Delete the dataset we manually created with 'zfs destroy raid-z1/jail/.warden-template-pluginjail' then reboot. ry the plugin install again. If it still fails then I don't know what else to try. If you don't have any other jails or plugins installed you could try removing the jail dataset from the storage tab in the gui then reboot then try to install plugins again.

ok thx alot for the help.. hope thay fix this soon.
 

kjp4756

Contributor
Joined
Feb 11, 2014
Messages
102
ok thx alot for the help.. hope thay fix this soon.

Don't delete the "jail" dataset like I suggested in my last post. I don't think that'll help. It will actually introduce you to another bug where you can't add jails at all (I just had this happen a minute ago). I think I will just go back to 9.2.0 myself and stay there.
 

kjp4756

Contributor
Joined
Feb 11, 2014
Messages
102
I have an idea what may be the issue. I wonder if the - in your pool name "raid-z1" is causing issues? You could try and rename your pool.

Renaming a zpool is quite simple to do. Make sure to stop any sharing services and jails before you do this. All you do is the following in a shell:

Code:
sudo zpool export raid-z1
sudo zpool import raid-z1 raidz1
sudo zpool export


Then in the gui go to the storage tab and use auto import to import the newly named zvol. I would reboot after that. After you reboot you may have an old entry in the storage tab for your old zpool. You should be able to remove that. You will also have to update any shares and jail configuration to use the new zpool name.


EDIT: Here is a better guide on renaming zpools in freenas. http://blogs.itramblings.com/post/2013/07/05/How-to-rename-a-ZFS-Volume-on-FreeNas.aspx I'm half asleep here so my directions are probably off.
 

mullcom

Explorer
Joined
Apr 29, 2012
Messages
67
I have an idea what may be the issue. I wonder if the - in your pool name "raid-z1" is causing issues? You could try and rename your pool.

Renaming a zpool is quite simple to do. Make sure to stop any sharing services and jails before you do this. All you do is the following in a shell:

Code:
sudo zpool export raid-z1
sudo zpool import raid-z1 raidz1
sudo zpool export


Then in the gui go to the storage tab and use auto import to import the newly named zvol. I would reboot after that. After you reboot you may have an old entry in the storage tab for your old zpool. You should be able to remove that. You will also have to update any shares and jail configuration to use the new zpool name.


EDIT: Here is a better guide on renaming zpools in freenas. http://blogs.itramblings.com/post/2013/07/05/How-to-rename-a-ZFS-Volume-on-FreeNas.aspx I'm half asleep here so my directions are probably off.




Many thx for this.. i going to try this soon. helpfull stuff her for ather that have this issu.

realy thx alot for this :D
 

crumbz

Explorer
Joined
Nov 7, 2013
Messages
63
How did you get 2 mnt folders? That shouldn't be.

Sorry to butt in on this thread, but I also have /mnt/mnt for some reason!

Output from zfs list on my system:

Code:
solfrid                                                    6.26G  210G  152K  /mnt/solfrid
solfrid/jails                                              6.25G  210G  272K  /mnt/solfrid/jails
solfrid/jails/.warden-template-pluginjail-9.2-RELEASE-x64  702M  210G  702M  /mnt/mnt/solfrid/jails/.warden-template-pluginjail-9.2-RELEASE-x64
solfrid/jails/plexmediaserver_1                            5.56G  210G  6.24G  /mnt/solfrid/jails/plexmediaserver_1


It doesn't cause any harm, but it bugs the hell out of me :)
 

George51

Contributor
Joined
Feb 4, 2014
Messages
126

Akudo

Cadet
Joined
Apr 23, 2014
Messages
9
I had the same error and solved it by changing the IP range from previously 192.168.1.200-192.168.1.225 to 192.168.1.201-192.168.1.225... seems like someone on my lan was using that static IP, or maybe I was just lucky..
 

subzer011

Dabbler
Joined
Mar 11, 2014
Messages
35
You may have to manually rename your .warden-template-pluginjail dataset. I had to do that.

Do a zfs list from a shell. If you see .warden-template-pluginjail with some version numbers on it then it needs to be renamed. It should be just ".warden-template-pluginjail"

Rename it by doing:

zfs rename oldname newname

EX: zfs rename storage/jails/.warden-template-pluginjail9.2-blahblahblah-X64 storage/jails/.warden-template-pluginjail

Then reset the mountpoint (mine got destroyed)

zfs inherit mountpoint storage/jails/.warden-template-pluginjail

I had similar issue. but for me, "zfs list" was showing...

Code:
Tank01/jails/.warden-template-pluginjail                  594M   973G   594M  none
Tank01/jails/.warden-template-pluginjail--x64             903M   973G   896M  none


i didn't have to do a rename, but after performing a "zfs inherit mountpoint" on both these datasets, it fixed the problem for me. i was able to successfully install plugins after

Code:
Tank01/jails/.warden-template-pluginjail                  594M   961G   594M  /mnt/Tank01/jails/.warden-template-pluginjail
Tank01/jails/.warden-template-pluginjail--x64             903M   961G   896M  /mnt/Tank01/jails/.warden-template-pluginjail--x64
 

Jonathan

Dabbler
Joined
Sep 2, 2013
Messages
11
Subzer011, I am seeing the same thing in my zfs list output:
tank/jails/.warden-template-pluginjail 772M 1.36T 772M none
tank/jails/.warden-template-pluginjail--x64 1.20G 1.36T 1.20G none

I would like to try the zfs inherit mountpoint command you mentioned. Could you please post back with the exact syntax you used?
 
Status
Not open for further replies.
Top