Releases: metabrainz/musicbrainz-docker
v-2023-04-17
Deprecation notice
If you did customize the FTP server for downloading dumps, please note that the Docker environment variable MUSICBRAINZ_BASE_FTP_URL
is now deprecated. See the updated documentation.
Update instructions
Assuming your checked out version of musicbrainz-docker
is v-2022-05-17-mbdb27
or later, then just run:
git fetch --tags origin && \
git checkout v-2023-04-17 && \
sudo docker-compose up --build -d
Changes
- MBVM-88: Support HTTP to fetch dumps, thanks to @atj
(erratum: regression fixed in the next releasev-2023-04-24
) - Upgrade MusicBrainz Server to
v-2023-04-17
v-2023-03-21-hotfix
Update instructions
Assuming your checked out version of musicbrainz-docker
is v-2022-05-17-mbdb27
or later, then just run:
git fetch --tags origin && \
git checkout v-2023-03-21-hotfix && \
sudo docker-compose up --build -d
Changes
- Upgrade MusicBrainz Server to
v-2023-03-21-hotfix
which only fixes a bug in documentation page (MBS-13007).
v-2023-03-20
Update instructions
Assuming your checked out version of musicbrainz-docker
is v-2022-05-17-mbdb27
or later, then just run:
git fetch --tags origin && \
git checkout v-2023-03-20 && \
sudo docker-compose up --build -d
Changes
- Upgrade MusicBrainz Server to
v-2023-03-20
v-2023-02-28
Update instructions
Assuming your checked out version of musicbrainz-docker
is v-2022-05-17-mbdb27
or later, then just run:
git fetch --tags origin && \
git checkout v-2023-02-28 && \
sudo docker-compose up --build -d
Changes
- Upgrade MusicBrainz Server to
v-2023-02-28
v-2022-09-06
Update instructions
Assuming your checked out version of musicbrainz-docker
is v-2022-05-17-mbdb27
or later, then just run:
git fetch --tags origin && \
git checkout v-2022-09-06 && \
sudo docker-compose up --build -d
Changes
- Upgrade MusicBrainz Server to
v-2022-09-06
- Fix fatal error with renderer in development setup
v-2022-08-25
Update instructions
Please ignore this release and the rest of these instructions if:
- you’re not running a mirror server;
- or you don’t make use of genre or tag data;
- or you’ve already done a full re-import of your database after the schema change release;
- or you've already run the script
20220720-mbs-12508.sh
earlier.
This release brings only one patch to the script 20220720-mbs-12508.sh
which can be used to fix missing genre and tag data on MusicBrainz mirror server. Indeed, a bug (MBS-12508) in the upgrade script of MusicBrainz Server’s latest schema-change release caused aggregate genre and tag data (if you had imported any) to be deleted.
To restore the genre and tag data, follow these steps:
-
Ensure you’ve replicated up to the most recent replication packet available. If you’re not sure, run:
sudo bash -c 'docker-compose exec musicbrainz replication.sh &' && \ sudo docker-compose exec musicbrainz /usr/bin/tail -f mirror.log
and see what it tells you; if you’re up-to-date, it should say “Replication packet … is not available.”
-
Turn off cron jobs and update your
musicbrainz-docker
setup (assuming your checked out version ofmusicbrainz-docker
isv-2022-05-17-mbdb27
or later):admin/configure rm replication-cron git fetch --tags origin && \ git checkout v-2022-08-25 && \ sudo docker-compose up --build -d
-
Run:
sudo docker-compose exec musicbrainz ./admin/sql/updates/20220720-mbs-12508.sh
-
Turn cron jobs back on:
admin/configure add replication-cron sudo docker-compose up -d musicbrainz
You can verify that this process worked by checking that the number of tags in the database is over 200,000:
sudo docker-compose exec musicbrainz bash -c "echo 'SELECT count(*) FROM tag' | ./admin/psql READWRITE"
Only change
- Upgrade MusicBrainz Server to
v-2022-08-25-hotfixes
(which fixes MBS-12548 only)
v-2022-08-22
Update instructions
Assuming your checked out version of musicbrainz-docker
is v-2022-05-17-mbdb27
or later, then just run:
git fetch --tags origin && \
git checkout v-2022-08-22 && \
sudo docker-compose up --build -d
Changes
- Upgrade MusicBrainz Server to
v-2022-08-22
- Prevent fetching the wrong data dumps depending on the replication type
v-2022-08-09
Update instructions
Assuming your checked out version of musicbrainz-docker
is v-2022-05-17-mbdb27
or later, then just run:
git fetch --tags origin && \
git checkout v-2022-08-09 && \
sudo docker-compose up --build -d
Only change
- Bump Node version to 16.16.0 to work around MBS-12525 blocking regression in
musicbrainz-server@v-2022-08-08
.
v-2022-08-08
Update instructions
Assuming your checked out version of musicbrainz-docker
is v-2022-05-17-mbdb27
or later, then just run:
git fetch --tags origin && \
git checkout v-2022-08-08 && \
sudo docker-compose up --build -d
Fix missing genre and tag data on MusicBrainz mirror server
Erratum: There was a possibly triggered bug here which has been fixed in v-2022-08-25
.
Only change
- Upgrade MusicBrainz Server to
v-2022-08-08
v-2022-07-18
Update instructions
Assuming your checked out version of musicbrainz-docker
is v-2022-05-17-mbdb27
or later, then just run:
git fetch --tags origin && \
git checkout v-2022-07-18 && \
sudo docker-compose up --build -d
Only change
- Upgrade MusicBrainz Server to
v-2022-07-18