Xwiki changing themes randomly

Hello everyone

We recently had an issue, where we broke our wiki and had to restore the entire VM from a backup. After that, the wiki changes to a different theme almost every day. Has anyone experienced something like that before?

Is there any way to log changes to the config so that we can see when precisely it changes?

Hi @lklein,
To check the history of the color theme changes, you can look at <your-server>/xwiki/bin/view/XWiki/XWikiPreferences?viewer=history.
Of course, this would show many changes from the Administration, but at least you can compare some versions to identify the color theme changes.

Hope it helps,
Alex

Thanks @acotiuga !

With that information we solved it!

Summary:
The colleague who initially set it up had Admin rights on hist normal user. Since his user is a bit wonky as it also was the first user set up in the wiki he also had admin rights on this user. All other Admins have a dedicated Admin user for that.

This did, for some reason, cause the wiki to flip to a random theme as soon as he opened any page. Current solution was to take away Admin rights from this user as he has a dedicated Admin user too. Other Admin users seemed to be unaffected.

That is some weird issue, but maybe this helps someone else later.