Multiple plugins deleted at once

rmont

Dabbler
Joined
Jun 18, 2020
Messages
42
Hi all, I am not sure if I hit a Truenas bug.

I have just updated my FreeNAS to TrueNAS and am now updating my plugins.
In order to keep things clean, I install a new version of the plugin, move the configuration over and delete the old plugin.

When I uninstall the old plugin, TrueNAS deletes all instances of the plugin, therefore removing also the new one.
This happened both with PLEX (supported plugin) and with Radarr (Community plugin).

I am using the Uninstall functionality of the plugin. I am not deleting the jail directly.

What am I doing wrong?
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
It's an upstream bug in iocage.

See this thread for more information and a couple of options to fix/work-around.

 

t08

Cadet
Joined
Sep 10, 2020
Messages
3
So I just now deleted my in use nextcloud plugin jail triggering this nasty bug (deleted a test nc with, of course, a similar name). Read there is no way to recover deleted jails....?
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
Deleting a jail with this bug unfortunately skips the warning about also deleting snapshots,
so there's a good chance that if you have no off-pool backup to restore from, you're done.

You can always try
zfs list -t snapshot | grep nc and see if you're lucky.
 

t08

Cadet
Joined
Sep 10, 2020
Messages
3
Deleting a jail with this bug unfortunately skips the warning about also deleting snapshots,
so there's a good chance that if you have no off-pool backup to restore from, you're done.

You can always try
zfs list -t snapshot | grep nc and see if you're lucky.

no luck.
Wow, that is just one horrible bug, is that even the right word for it, just a whole system gone with two clicks and no questions...
Thought TrueNas was a really safe high level system. Need to rethink that. Lot of work gone, and data.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
Well, the bug is in iocage, so blaming TrueNAS for it isn't exactly right. There is a fix in the other thread on this topic if you can't wait for the upstream one to arrive and want to manually apply it.
 
Top