Topic on Project:Support desk

I'm unable to install Wikibase on my MediaWiki-Docker container

2
Nikotinel (talkcontribs)

I've been trying to install the Wikibase extension on my Mediawiki container by following this MediaWiki-Docker/Extension/Wikibase guide. Everything went smoothly until I had to run the "update.php" script, when I got this:

root@767207bc625b:/var/www/html# php maintenance/run.php update.php

Fatal error: Uncaught ExtensionDependencyError: WikibaseRepository is not compatible with the current MediaWiki core (version 1.41.0), it requires: >= 1.42.

WikibaseClient is not compatible with the current MediaWiki core (version 1.41.0), it requires: >= 1.42.

in /var/www/html/includes/registration/ExtensionRegistry.php:460

Stack trace:

#0 /var/www/html/includes/registration/ExtensionRegistry.php(314): ExtensionRegistry->readFromQueue(Array)

#1 /var/www/html/includes/Setup.php(285): ExtensionRegistry->loadFromQueue()

#2 /var/www/html/maintenance/run.php(49): require_once('/var/www/html/i...')

#3 {main}

  thrown in /var/www/html/includes/registration/ExtensionRegistry.php on line 460


I'm using version 1.41.0, and as I understand it that version is the newest stable version. I'd rather not have to upgrade my mediawiki image. I tried looking for an older version that would be compatible with version 1.41.0 on https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/Wikibase/ and found https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/Wikibase/+/refs/heads/REL1_41 (which I assumed to be the right version) but was unable to clone it due to a 403 error. I then tried downloading the regular wikibase from the download link on Wikibase/Installation, but that didn't work and I got a whole bunch of error messages.

Any ideas?

Thanks for the help.

Nikotinel (talkcontribs)

I managed a workaround. When cloning the repo, I used this command instead: 'git clone --branch REL1_41 https://gerrit.wikimedia.org/r/mediawiki/extensions/Wikibase extensions/Wikibase' which cloned the right branch. Then I just followed the instructions on the guide (MediaWiki-Docker/Extension/Wikibase) and it worked.

Reply to "I'm unable to install Wikibase on my MediaWiki-Docker container"