We’re happy to announce the release of our May 2026 database schema change now! Thanks to all who were patient during Monday’s downtime as we released everything to our production servers. This is a fairly small database schema change release which mostly improves things behind the scenes. Of the schema change tickets, the only one that … Continue reading "MusicBrainz database schema change release, 2026-05-11 (with upgrade instructions)"
We’re happy to announce the release of our May 2026 database schema change now! Thanks to all who were patient during Monday’s downtime as we released everything to our production servers.
This is a fairly small database schema change release which mostly improves things behind the scenes. Of the schema change tickets, the only one that affects users directly is you are most likely to notice while you browse and edit in MusicBrainz is MBS-14092 (which allows adding series of series, for example for award series for podcasts).
Thanks to chaban, UltimateRiff and yyb987 for having reported bugs and suggested improvements, and thanks to jmrr83, salo.rock and wileyfoxyx for updating the translations.
A new release of MusicBrainz Docker is also available that matches this update of MusicBrainz Server. See the (amended) release notes for update instructions.
Note: As mentioned previously, if you’re running MusicBrainz Docker, these instructions don’t apply. See the instructions in the (amended) MusicBrainz Docker release notes instead.
Note: Importing the latest data dump is always a valid alternative to running ./upgrade.sh on an existing database, if you’d prefer to also get new data in one go. Just follow the relevant instructions in INSTALL.md. The git tag is v-2026-05-11.1-schema-change. The rest of the instructions here assume an in-place upgrade.
DB_SCHEMA_SEQUENCE is set to 30 in lib/DBDefs.pm.REPLICATION_TYPE is set to RT_MIRROR), ensure you’ve replicated up to the most recent replication packet available with the old schema. If you’re not sure, run ./admin/replication/LoadReplicationChanges and see what it tells you; if you’re ready to upgrade, it should say “This replication packet matches schema sequence #30, but the database is currently at #30.”Drop*.sql scripts found with v4.0.1 of sir:./admin/psql < $SIR_PATH/sql/DropTriggers.sql and ./admin/psql < $SIR_PATH/sql/DropFunctions.sql. You should also drop the AMQP extension: echo 'DROP EXTENSION IF EXISTS amqp CASCADE;' | ./admin/psql --system../admin/RebuildIndexesUsingCollations.pl --database SYSTEM_MAINTENANCE --noconcurrently.git fetch origin followed by git checkout v-2026-05-11.0-schema-change.cpanm --installdeps --notest . (note the dot at the end) to ensure your Perl-based dependencies are up to date.lib/DBDefs.pm and replace all occurrences of (1) CacheWrapper::Redis with CacheWrapper::Valkey, and (2) DATASTORE_REDIS_ARGS with DATASTORE_VALKEY_ARGS. ./upgrade.sh (it may take a while to vacuum at the end).DB_SCHEMA_SEQUENCE to 31 in lib/DBDefs.pm as instructed by the output of ./upgrade.sh../script/compile_resources.sh.python -m sir setup. Non-mirror standalone servers must additionally run python -m sir setup_standalone_only.That’s all for the upgrade instructions. Here’s the list of resolved tickets:
Fixed Bug| # | Наименование новости | Тональность | Информативность | Дата публикации |
|---|---|---|---|---|
| 1 | Schema change release: May 11, 2026 | 0 | 16.21 | 11-03-2026 |
| 2 | MusicBrainz Server update, 2026-07-30 | 0 | 11.47 | 04-08-2026 |
| 3 | MusicBrainz Server update, 2026-02-12 | 0 | 10.82 | 12-02-2026 |
| 4 | MusicBrainz Server update, 2026-01-19 | 0 | 8.96 | 19-01-2026 |
| 5 | PubMed 2026 Baseline Released | 0 | 13.19 | 30-01-2026 |
| 6 | MerchBrainz | 0 | 14.15 | 31-03-2026 |
| 7 | Music Industry Funding Increased by Double Digits in May 2026 Despite a Raise-Volume Slip — Core Q2 Rounds Now Total Nearly $3 Billion, DMN Pro Data Shows | 0 | 5 | 02-06-2026 |
| 8 | The Best Albums of 2026 (So Far) | 0 | 12.67 | 29-06-2026 |
| 9 | Oracle Critical Patch Update Advisory - April 2026 | 0 | 22.5 | 21-04-2026 |
| 10 | Music’s ‘Legacy Partner Trap’ Is an Even Bigger Deal In 2026 — Is Switching Partners Simply Becoming Too Difficult for Music Companies? | 0 | 9.88 | 02-03-2026 |