Wikibase Suite 8 uses a new repository and project layout. These instructions create a Suite 8 checkout beside the existing Suite 7 checkout, preserve its configuration and Docker volumes, and start the upgraded deployment.
Follow these steps carefully and in order.
[!WARNING] The first Suite 8 startup updates the database schema and configuration. Back up the Suite 7 deployment, including its Docker volumes and complete
deploy/config/directory, before proceeding.
Read the changelogs for the target WBS release and the images changed by the upgrade:
Follow Backing Up and Restoring to back up the existing deployment. The backup procedure stops WBS, so continue directly with the migration afterward.
In the Suite 7 checkout, stop the deployment:
cd /path/to/wikibase-release-pipeline/deploy
docker compose down
Clone Wikibase Suite 8 beside the existing Suite 7 checkout and check out the release tag you want to install. Replace the example tag with the target release:
cd ../..
git clone https://github.com/wmde/wikibase-suite.git
cd wikibase-suite
git checkout wbs@8.0.0
Copy the Suite 7 environment and configuration into the Suite 8 checkout. Adjust the source path if the checkouts are located elsewhere:
cp -a ../wikibase-release-pipeline/deploy/.env .env
cp -a ../wikibase-release-pipeline/deploy/config/. config/
If the Suite 7 deployment has a docker-compose.override.yml, copy it into
the Suite 8 project root as well and review it for compatibility with the
new Compose file.
Check whether extensions installed in config/extensions need an upgrade
for the MediaWiki version included in Suite 8. See the
Wikibase image changelog
for the included MediaWiki version.
Pull the Suite 8 images and start the deployment:
docker compose pull
docker compose up -d
The existing Docker volumes are reused.
Wait for the services to become healthy and verify the site. Review
config/LocalSettings.php and confirm that it contains your custom settings,
including any MediaWiki settings you changed in the previously generated
section.
Do not edit config/InstanceSettings.php. If any custom settings are missing,
copy them into config/LocalSettings.php from
config/backups/LocalSettings.pre-wbs-8.php.backup.
If the Wikibase service does not start, inspect its logs:
docker compose logs wikibase
After the upgrade is complete, it is safe to delete the old
wikibase-release-pipeline directory and config/backups/. Keep your
pre-upgrade backup until you are comfortable that everything is working.
[!NOTE] Update any scripts, scheduled jobs, or services that use the old
wikibase-release-pipeline/deploypath to use thewikibase-suiteproject root.