Hi - I just upgraded a bare xwiki from 15 to 16.4.0 - and the distribution wizard allowed me to install a standard flavor.
This is the docker containerized version with a postgres 15.5 db.
Bizarrely this seems to have wiped out the admin rights on my user, which has left the site unusable. Thanfully there was nothing on it, but it’s a bit worrying.
All pages now just give a bunch of permission errors such as
org.xwiki.rendering.macro.MacroExecutionException: The execution of the [velocity] script macro is not allowed in [xwiki:XWiki.ConfigurableClassMacros]. Check the rights of its last author or the parameters if it’s rendered from another script.
Anybody know what’s up here?
What are best practices here - should I create a special non-personal admin user to ‘own’ the system pages and login as them when installing things?
I plan on switching to LDAP pretty soon, is that possible as docu mentions we can’t mix authentication?
I think I have two alternatives to get running:
- Is it possible to restore all permissions to the admin user that installed the default flavour so that pages actually work?
- Bear in mind I can’t use the admin interface any more!
- I can use psql and admin the postgres (15.5) database directly.
or (this is what I’m currently trying)
- Could I delete stuff to competely reset my instance?
- Drop xwiki and recreate database
- rm -rf /usr/local/xwiki/data folder and tomcat cache