Steps to replicate the issue (include links if applicable):
- Downloaded/extracted MediaWiki 1.38.2
- Copied over LocalSettings.php and composer.local.json and a few images
- Downloaded Wikibase with git clone -b REL1_38 https://github.com/wikimedia/mediawiki-extensions-Wikibase.git Wikibase
- Ran git submodule update --init --recursive and composer update for Wikibase extension
- Downloaded WikibaseImport from https://github.com/filbertkm/WikibaseImport.git
- Downloaded other extensions we are using (Elastica, OAuth, CirrusSearch) all from REL1_38, Ran composer update for each
- Reset owner/group to apache user for entire installation
- For MediaWiki, ran composer update --no-dev (and also composer install to be safe)
- Ran cd maintenance && php update.php
What happens?:
[root@myhostname www]# cd mediawiki-1.38.2/ [root@myhostname mediawiki-1.38.2]# cd maintenance/ [root@myhostname maintenance]# sudo -u apache php update.php PHP Fatal error: Wikibase\DataModel\Entity\SerializableEntityId cannot implement Wikibase\DataModel\Entity\EntityId - it is not an interface in /var/www/mediawiki-1.38.2/extensions/Wikibase/lib/packages/wikibase/data-model/src/Entity/SerializableEntityId.php on line 11
What should have happened instead?:
Update script should have run normally.
Software version (skip for WMF-hosted wikis like Wikipedia):
- MediaWiki version 1.38.2 (from https://releases.wikimedia.org/mediawiki/1.38/mediawiki-1.38.2.tar.gz)
- WikiBase from github REL1_38 branch
- PHP 7.3.20 (cli) (built: Jul 7 2020 07:53:49) ( NTS )
- Composer version 2.4.1 2022-08-20 11:44:50
- git version 2.31.1
Other information (browser name/version, screenshots, etc.):
- Server is Red Hat Enterprise Linux release 8.6 (Ootpa)
I know that there's probably something simple here, but I can't put my finger on it.