I upgraded from 12.10.9 to 13.10.2. After that I had an issue with all admin pages being broken, which I fixed by uninstalling then installing the Administration Application extension.
Next on the list, every time I edit a page this is at the top:
If I edit any page and save that, then the above line is all that shows. All other contents of the page that existed are gone.
If I never want to edit a page, then the pages all appear fine and dandy and the data is there.
I am sorry for not posting anything specific in advance. It’s my first post so you’ll probably want some info, I just don’t know what. I will say, this is an Alma 8 server w/ Postgres as the database. I did not move servers, just unpack the new war and pointed it back to using Postgres as the default db. Then added LDAP back in, and fired it up and went through the Distribution Wizard. But that’s the same as I’ve done in past updates
In some Googling / forum searching, I didn’t really find any results with that error.
Hi John. I don’t know what went wrong but the upgrades should be seamless as we take great care to make they’re as easy as possible. So this seems to indicate that something didn’t happen in the right way.
Let’s verify a few things.
You didn’t unpack over the old one, right? just making sure
The error you mention above could indicate that the flavor wiki pages were not updated. Are you sure you didn’t skip the DW? The fact that the Admin App reinstall worked seems to indicate that it wasn’t upgraded so we can assume it’s the same for the other apps that were part of the Standard Flavor.
Thus, I’d suggest you go in the Extension Manager (EM) admin UI and check for updates there. You can also find the Standard Flavor there and “compute changes” to list the differences between your local content and the flavor. The EM will also tell you what version if the Standard Flavor is installed.
I did not unpack over the old war, so that should be good
I can confirm it did go through the Wizard. I remember it upgraded a lot of stuff and generally when an option comes up to “Handle automatically” I check that and have it do its own thing.
I did go through and check the Extensions and it said they were all up to date, so that reported all good. Funnily, trying to do that was how I noticed all the admin functions were not working at first.
So I went to look at the Standard Flavor and it seemed odd. I looked in the Installed Extensions and it wasn’t there. I went to available extensions and it was there to install. That was unexpected. I installed it and then it showed me the comparison of the current version to the new and it went through and did the install. So I don’t know if it was actually there or not, but I would think so?
After doing that install, it appears to work correctly. So that was the issue, perhaps! Thanks for pointing me to the Standard Flavor.
That being said, I will redo this later today or tomorrow and see how this goes out of the box. My general process for upgrading is to clone the VM XWiki runs on, then upgrade on the clone. Once I verify it seems good to go, I switch DNS to the clone and that becomes production for everyone. I think of it as a poor man’s blue / green deployment. Ha
Because of the issues I had not moved this to be the production box so I’m going to blow it away and re-do the upgrade.
If there is anything you want to watch for or provide during that process, I certainly can. Otherwise I will experiment and check the Standard Flavor extension first and install it if need be, then see if that would fix the admin stuff as well and I wouldn’t need to do that part.
I went through and redid the update on a new clone. I noticed the Standard Flavor extension was there after the upgrade. The Administration stuff was messed up so I had to uninstall / reinstall that. When I did, the Standard Flavor was gone so I reinstalled it. That explains that. Not sure why as when I did the Administration application removal, I unselected all boxes when it got to asking if I wanted to delete unneeded extension. The Standard Flavor must be tied to the Administration application I presume.
During the distribution wizard I noted that it said for Xwiki Standard Common Application, Xwiki Standard Flavor, and Base Flavor Application that those said "Installed version 12.10.9 is not valid.
I believe it’s running fine now after installing the Standard Flavor but I shall poke around a bit more to see if anything else catches my eye
The fact that the Admin UI was broken after the upgrade is weird and not expected. We need to figure out what happened. Before uninstalling it, did you check what version of it was installed in the EM?
Yes, the Admin App is tied to the XS Flavor so when you uninstalled it, it uninstalled the flavor. In XWiki when you uninstall an extension, it also uninstalls all extensions that have this extension as dependency, unless the extension is marked as optional. This is to ensure consistency.
This is good and normal. It just means that the DW noticed that you needed to upgrade the flavor. I guess you clicked “continue” and did that right? That should have updated the Admin App extension, which is why I don’t understand why it was broken.
Yep, before uninstalling the admin extension it was 13.10.2. And yes, I clicked Continue.
One note is that anytime something comes up to “Resolve automatically,” I do check that. Not sure if that is relevant.
At this point everything so far seems to be working. It would be good to know what the initial admin issue was but I leave that up to you if you wish to go further. I still have the 12.10.9 machine going so I can snapshot it and run through the upgrade on it and collect anything during that, if you point me on what to do. Or if you’d rather see it in real-time we could work out a time to do a screen share. If not, I’ll leave a quick note on what I did and mark it as solved