Error updating extensions after upgrade to dockerized XWiki 17.10

Hi.

Trying to upgrade dockerized XWiki 16 to 17.10.4 I encounter errors during the last step of the distribution wizard: The extension updater shows a NoClassDefFoundError for StringUtils (and seems to abort at this point since the distribution wizard restarts during next login).
The same error is shown when running Administration>Extensions>Updater. (see screenshots)

Any ideas what’s wrong here? Did I miss an important step for the upgrade?

The error message as such is similar to the one reported here - but creating pages works fine for me: StringUtils Error creating page

Thanks for your help!
Chris

Thanks for your help.
Chris

1 Like

I thought the issue could be with the contrib favorites extension which would still have a dep on commons lang 2.x (GitHub - xwiki-contrib/application-favorites: Adds the concept of favorite pages · GitHub). But I’ve checked and version 1.4.1 of it depends on commons lang3, so not sure what is the problem.

Maybe @tmortagne has an idea?

1 Like

According to the stack trace, the problem is in the pypi extension. Anyway, my understanding is that this extension is not really working anymore because it relies on a legacy version of the pypi protocol, so you might want to uninstall it.

1 Like

Gotcha. I could finally fix the issue by uninstalling several python-extensions that triggered the same error one after the other. Apparently, the system is running fine now.

Thanks a lot for your support, @vmassol and @tmortagne !

Chris