Every time I’m upgrading XWiki, the XWiki admin user is removed from the XWikiAdminUser group. This completely breaks the Wiki, and requires the use of the Superadmin account to complete the upgrade process.
I then have to give the regular admin account user-level permissions on the entire wiki to be able to get macros working again, then I can add the admin user to the admin group. Sometimes this works, sometimes I have to do the distribution wizard again, and repeat everything.
I rarely wait more than a few versions between upgrading, but this happens every time. The upgrade to 9.8.1 was significantly worse to fix.
Does anyone have any ideas?