Problems during Update xwiki-flavor

Hello everyone,

i’ve updatet my xwiki installation to 12.9, a few versions ago, there began some problems with the update wizard, could not update the flavor anymore. I’ve uploaded some packages then and did a manual update. That worked so far, everything is working. I found out, that the problems came from closed firewaoll ports. I think, it’s workig everything fine now, just one little strange problem left now:

If i go to the extension updater, the extension updater is telling me, that theree is XWiki Standard Flavor Versopm 12.7.1 as an old version, Version 12.8 would be installed. If i click to “de-update”, it will install Version 12.8 again and the updater tells me again, there is 12.7.1 installed. Why nothing about Version 12.9 here?

if i check dependencys it looks like this:

XWiki Standard Common Application12.7.1 (in Wiki Home)Version 12.9 is installed as dependency
Wiki Application12.7.1 (in Wiki Home)Version 12.9 is installed as dependency
Menu Application12.7.1 (in Wiki Home)Version 12.9 is installed as dependency
Help Center Application1.5.2 (in Wiki Home)Installiert

I don’t know, what to do now and how to solve this situation.
Please help :slight_smile:

Regards, Benjamin

Edit: If i check in the extions tab, it’s telling me an error:

Extension [org.xwiki.platform:xwiki-platform-distribution-flavor-mainwiki/12.9] is not allowed on namespace [null]. Allowed namespaces are: [wiki:xwiki]

Do you have several wikis or just the main one ?

Could you go to “Installed Extension” and search for “XWiki Standard Flavor” to see what’s exactly installed from Extension Manager point of view. Also for each one click “Show Details” to be sure where exactly it’s installed (on farm, on specific wiki(s), etc.).

2020-11-23 12_26_05-Window

Really weird?! Just one wiki.

Where is the 12.5.1 indicated as installed ? Is it “Home” (the man wiki) too ?

What exactly “manual update” means ?

It’s also home.
I’ve downloaded it from here:

and installed via the extension manager.

Not sure I understand what you mean. Extension Manager can only install extension from a repository, you cannot download a file and give it to Extension Manager. Also the link you indicate only point to a tiny part of what makes the complete XWiki Standard flavor, you would also need to download its dependencies.

Anyway it seems that 12.9 was forced by hand some way so you end up with two conflicting extensions marked as installed (Extension Manager would have replaced the 12.5.1 one automatically).

I would do the following:

  • delete the 12.5.1 version from the local extensions repository: delete all <permdir>/extension/repository/*/12%2E5%2E1/ folders
  • restart
  • go back to installed extensions
  • make sure that you got only 12.9 installed this time
  • click the arrow next to “Uninstall” and ask to “Compute changes” to get a report of all the pages which are different from the standard version and get a change to reset those you think should not be customized (some are supposed to be like the preferences, the home page, etc.)

Thank you for your help so far, ls of my repo folder looks like this:

com%2Egithub%2Estephenc%2Ejcip%3Ajcip-annotations
com%2Eh2database%3Ah2-mvstore
com%2Emicrosoft%2Eazure%3Aadal4j
com%2Enimbusds%3Acontent-type
com%2Enimbusds%3Alang-tag
com%2Enimbusds%3Animbus-jose-jwt
com%2Enimbusds%3Aoauth2-oidc-sdk
com%2Enovell%2Eldap%3Ajldap
com%2Exwiki%2Eactivedirectory%3Aapplication-activedirectory-api
com%2Exwiki%2Eactivedirectory%3Aapplication-activedirectory-ui
com%2Exwiki%2EdefaultPageTemplate%3Aapplication-defaultPageTemplate
com%2Exwiki%2Ediagram%3Aapplication-diagram
com%2Exwiki%2Ediagram%3Aapplication-diagram-api
com%2Exwiki%2Elicensing%3Aapplication-licensing-common-api
com%2Exwiki%2Elicensing%3Aapplication-licensing-common-model
com%2Exwiki%2Elicensing%3Aapplication-licensing-licensor-api
com%2Exwiki%2Elicensing%3Aapplication-licensing-licensor-ui
com%2Exwiki%2Elicensing%3Aapplication-licensing-script
com%2Exwiki%2Eoffice365%3Aapplication-office365
com%2Exwiki%2Epdfviewer%3Amacro-pdfviewer-ui
ludovicdubost%3Atodo-macro
mrawash%3Aextended-todo-application
net%2Eminidev%3Ajson-smart
org%2Ewebjars%2Enpm%3Abootstrap-3-typeahead
org%2Ewebjars%2Enpm%3Acodemirror
org%2Ewebjars%2Enpm%3Afast-diff
org%2Ewebjars%3Abootstrap-tour
org%2Ewebjars%3Acodemirror
org%2Ewebjars%3Adash%2Ejs
org%2Ewebjars%3Avideo-js
org%2Exwiki%2Econtrib%2Eeditortool%3Aeditor-tool-highlighting-ui
org%2Exwiki%2Econtrib%2Eeditortool%3Aeditor-tool-highlighting-ui-code
org%2Exwiki%2Econtrib%2Eldap%3Aldap-api
org%2Exwiki%2Econtrib%2Eldap%3Aldap-authenticator
org%2Exwiki%2Econtrib%2Eldap%3Aldap-legacy-authenticator
org%2Exwiki%2Econtrib%2Eldap%3Aldap-ui
org%2Exwiki%2Econtrib%2Eshowhide%3Ashowhide-macro
org%2Exwiki%2Econtrib%2Etemplates%3Aapplication-templates-ui
org%2Exwiki%2Econtrib%3Aapplication-ckeditor-plugins
org%2Exwiki%2Econtrib%3Aapplication-ckeditor-ui
org%2Exwiki%2Econtrib%3Aapplication-ckeditor-webjar
org%2Exwiki%2Econtrib%3Aapplication-diagram
org%2Exwiki%2Econtrib%3Aapplication-emberjs-todolist
org%2Exwiki%2Econtrib%3Aapplication-help-center
org%2Exwiki%2Econtrib%3Aapplication-office365
org%2Exwiki%2Econtrib%3Aapplication-tour-ui
org%2Exwiki%2Econtrib%3Adraw%2Eio
org%2Exwiki%2Econtrib%3Amacro-video
org%2Exwiki%2Econtrib%3Amxgraph-client
org%2Exwiki%2Econtrib%3Amxgraph-editor
org%2Exwiki%2Econtrib%3Axwiki-macro-pdfviewer
org%2Exwiki%2Eplatform%3Axwiki-platform-administration-ui
org%2Exwiki%2Eplatform%3Axwiki-platform-alerts-ui
org%2Exwiki%2Eplatform%3Axwiki-platform-annotation-ui
org%2Exwiki%2Eplatform%3Axwiki-platform-application-ui
org%2Exwiki%2Eplatform%3Axwiki-platform-appwithinminutes-ui
org%2Exwiki%2Eplatform%3Axwiki-platform-attachment-ui
org%2Exwiki%2Eplatform%3Axwiki-platform-captcha-jcaptcha-ui
org%2Exwiki%2Eplatform%3Axwiki-platform-captcha-ui
org%2Exwiki%2Eplatform%3Axwiki-platform-dashboard-ui
org%2Exwiki%2Eplatform%3Axwiki-platform-distribution-flavor-common
org%2Exwiki%2Eplatform%3Axwiki-platform-distribution-flavor-mainwiki
org%2Exwiki%2Eplatform%3Axwiki-platform-distribution-flavor-tour
org%2Exwiki%2Eplatform%3Axwiki-platform-distribution-ui-base
org%2Exwiki%2Eplatform%3Axwiki-platform-edit-ui
org%2Exwiki%2Eplatform%3Axwiki-platform-extension-ui
org%2Exwiki%2Eplatform%3Axwiki-platform-flamingo-theme-bootswatch
org%2Exwiki%2Eplatform%3Axwiki-platform-flamingo-theme-ui
org%2Exwiki%2Eplatform%3Axwiki-platform-help-ui
org%2Exwiki%2Eplatform%3Axwiki-platform-icon-fontawesome
org%2Exwiki%2Eplatform%3Axwiki-platform-icon-ui
org%2Exwiki%2Eplatform%3Axwiki-platform-index-tree-macro
org%2Exwiki%2Eplatform%3Axwiki-platform-index-ui
org%2Exwiki%2Eplatform%3Axwiki-platform-invitation-ui
org%2Exwiki%2Eplatform%3Axwiki-platform-legacy-notification-activitymacro
org%2Exwiki%2Eplatform%3Axwiki-platform-like-api
org%2Exwiki%2Eplatform%3Axwiki-platform-like-notifications
org%2Exwiki%2Eplatform%3Axwiki-platform-like-ui
org%2Exwiki%2Eplatform%3Axwiki-platform-linkchecker-api
org%2Exwiki%2Eplatform%3Axwiki-platform-linkchecker-ui
org%2Exwiki%2Eplatform%3Axwiki-platform-livetable-ui
org%2Exwiki%2Eplatform%3Axwiki-platform-logging-ui
org%2Exwiki%2Eplatform%3Axwiki-platform-mail-ui
org%2Exwiki%2Eplatform%3Axwiki-platform-mentions-api
org%2Exwiki%2Eplatform%3Axwiki-platform-mentions-default
org%2Exwiki%2Eplatform%3Axwiki-platform-mentions-notifications
org%2Exwiki%2Eplatform%3Axwiki-platform-mentions-ui
org%2Exwiki%2Eplatform%3Axwiki-platform-menu-ui
org%2Exwiki%2Eplatform%3Axwiki-platform-messagestream-ui
org%2Exwiki%2Eplatform%3Axwiki-platform-model-validation-ui
org%2Exwiki%2Eplatform%3Axwiki-platform-notifications-macro-ui
org%2Exwiki%2Eplatform%3Axwiki-platform-notifications-ui
org%2Exwiki%2Eplatform%3Axwiki-platform-office-ui
org%2Exwiki%2Eplatform%3Axwiki-platform-panels-ui
org%2Exwiki%2Eplatform%3Axwiki-platform-refactoring-ui
org%2Exwiki%2Eplatform%3Axwiki-platform-rendering-ui
org%2Exwiki%2Eplatform%3Axwiki-platform-sandbox
org%2Exwiki%2Eplatform%3Axwiki-platform-scheduler-ui
org%2Exwiki%2Eplatform%3Axwiki-platform-search-solr-ui
org%2Exwiki%2Eplatform%3Axwiki-platform-search-ui
org%2Exwiki%2Eplatform%3Axwiki-platform-security-authentication-ui
org%2Exwiki%2Eplatform%3Axwiki-platform-sharepage-ui
org%2Exwiki%2Eplatform%3Axwiki-platform-sheet-ui
org%2Exwiki%2Eplatform%3Axwiki-platform-skin-ui
org%2Exwiki%2Eplatform%3Axwiki-platform-tag-ui
org%2Exwiki%2Eplatform%3Axwiki-platform-tree-macro
org%2Exwiki%2Eplatform%3Axwiki-platform-uiextension-ui
org%2Exwiki%2Eplatform%3Axwiki-platform-user-directory-ui
org%2Exwiki%2Eplatform%3Axwiki-platform-user-profile-ui
org%2Exwiki%2Eplatform%3Axwiki-platform-wiki-ui-common
org%2Exwiki%2Eplatform%3Axwiki-platform-wiki-ui-mainwiki
org%2Exwiki%2Eplatform%3Axwiki-platform-wysiwyg-ui
org%2Exwiki%2Eplatform%3Axwiki-platform-xclass-ui
org%2Exwiki%2Eplatform:xwiki-platform-distribution-flavor-common
org%2Exwiki%2Eplatform:xwiki-platform-distribution-flavor-mainwiki
org%2Exwiki%2Eplatform:xwiki-platform-distribution-flavor-tour
org%2Exwiki%2Erendering%3Axwiki-rendering-transformation-linkchecker

Don’t exactly understand, what to delete here.

I think you missed the /*/ in the path I indicated. Each of the folders you listed (which names are the extension ids) contains sub folder(s) for each of the downloaded extension versions. You should get rid of the 12.5.1 (encoded as 12%2E5%2E1) versions.

oh, okay, sorry, i understand now :slight_smile:

image

The Extension Manager now says, it’s installed 12.8 and 12.9.
Shall i delete everyting related to 12.8 also?
Interesting now: it’s telling me, 12.8 is installed in home, 12.9 says nothing about installed somewhere.
Is it possible in any way to do a clean reinstall of the 12.9 flavor components with all its dependencies?
And how would i do that in the correct way?

If i try via extension manager to uninstall or install 12.9 in every wiki it is telling me:

image

Just install the “XWiki Standard Flavor” on the main wiki only. Subwikis use a sligthly different flavor (forgtot which one, travelling atm.). The main difference is that they have no WikiManager to manage subwikis (as subwikis cannot be nested).

If you can install the “XWiki Standard Flavor” in the main wiki, then you will need to update all of your subwikis separately. At least that is what I am doing in these cases, though I have to admit it is quite cumbersome and I always wonder if there is no better solution for this.

Yes.

Strange, that log does not looks like an uninstall at all. It suggest you tried to install XWiki Standard Flavor 12.9 “On Farm”.