I just tried to update xwiki from 10.5 to 11.6 debian version on linuxmint 18 (postgres db).
While updating, apt prompt me to choose if I want to keep the old tomcat config or install the new (mainteners choice). I try both:
Keep old config: xwiki started fine, but a lot of widgets were not working (the admin mene “administer”) was not visible as well, so I couldn’t try more.
Install new config: tomcat is starting, but If I point my browser to xwiki, nothing is happening. I get only a blank page.
apparently different users are also experiencing problems when upgrading from 11.5 to 11.6, we are trying to find what’s the root reason.
Would that be ok for you to give your tomcat config file which changes? the new and the old one so we could compare what changed there?
When you choose from the oldconfig or the new one it should have told you which file is involved. And a backup of the old file should have been made if you chose to use the new one.
hm, this happened while the whole system was updating, it was a GUI prompt, I can’t remember they sais were is the file. I’ll have a look on the system I might find something, but if you have a hint, I would be really happy!
You can at least check /etc/xwiki and /etc/tomcat directories. Now could be good to know if you also change the version of tomcat, like from tomcat8 to tomcat9 for example?
It’s after you tried new config right? Weird that I don’t see any backup files there…
Anyway, I guess /etc/tomcat8/server.xml should be the one that changed.
So the change between both config shouldn’t have any impact on the result. It should be exactly the same behaviour if you chose one config or the other. Are you sure that in both case tomcat is restarted automatically after the upgrade?
Now about the upgrade issue, you have to delete your solr data directory: we changed something on XWiki 11.4 related to Solr and it’s a part of the upgrade that we didn’t manage to automatize yet.
So just delete the directory /var/lib/xwiki/data/solr (do a backup before to be sure), and restart tomcat.
with the old config, I could start xwiki and get access to it. The only problem there is, a lot of macros are not recognized and all the menues are not showing up, neither the wizard.
with the new config, I wasn’t able to start xwiki at all. I just got a blank screen, no initialisation was started
I restarted the whole system many time, so I’m quite sure tomcat was restarted.