Updateing XWiki relase by release, deleted extensions coming back, settings are resetted

Hi everyone,

I’m currently having the following issue with my IT department for my XWiki instance: We have an XWiki instance running on Debian and are using the Debian installation packages for XWiki. Naturally, the IT department wants to install each new release as soon as it becomes available, thereby updating the installation. I’ve noticed, however, that this causes deleted extensions (such as the Tour app) to be restored or settings (like the “Like” button) to be reactivated that I have turned off.

The IT department said there was no other way to update the packages except by running sudo apt update and sudo apt upgrade. It’s difficult for me to manually double-check every single change to XWiki after an update has been applied.

How could the IT department apply the update without unintentionally “changing” my configured XWiki instance every time?

I’ve read the administration documentation but found nothing. Maybe if there is something I can read and pass to the IT department I would very happy.

Thanks.

I don’t think your problem have anything to do with this side of things.

Once the apt part is done, and you access XWiki, you get the Distribution Wizard which is in charge of upgrading the flavor (among other things). And indeed, right now, any missing dependency of the flavor (I’m assuming that by “deleted extensions” you actually mean “uninstalled extensions”) is going to be restored. This limitation is tracked by Loading....

A workaround that should work is deleting those standard extensions pages instead of uninstalling the extension (page deletes are identified as customizations, and kept, during extension upgrade).

I would assume that the configuration mentionned at https://www.xwiki.org/xwiki/bin/view/documentation/xs/admin/like/administer-like-preferences/ would be kept during an upgrade. If it’s not the case, it definittely looks like a bug to me. But maybe what you did is uninstalling the Like Application ?