Yesterday we found a bug that prevents the import of a post schema change update data set. We’ve pushed out a fix for this and tagged it with:
If you’re planning on importing a new data set, make sure to check out this tag, rather than the tag mentioned in this entry.
Nearly one year after we released NGS, we have another schema change update with lots of new features!
This release contains 9 new features and improvements that take advantage of the new schema. These are:
- More social user profiles which can now have Gravatars, languages (and the users proficiency) age and country.
- More expressive aliases for artists, labels and works. Aliases can now have types, sort names and multiple aliases may be used per a locale, along with the ability to mark one alias as ‘primary’ for that locale.
- Release group types have been separated into primary and secondary types. A release group now has 1 primary type and may have multiple secondary types. This allows us to have ‘remix compilation albums’, for example
- Works may have multiple ISWCs
- Artists, labels and relationships may be marked as ‘ended’ to indicate that they have ended, but the exact date is not known
- Vinyl style/free text track numbers are now supported.
- Works may have a lyrics language associated with them
- Artists and labels may have multiple IPIs
- We have moved to use ISO 639-3 for our language table. While not all languages are exposed at the moment, this gives us a lot more flexibility going forward.
Many thanks to nikki for going way beyond our expectations for testing (and patience!); to Ian McEwen for his continued work on statistics; and to the MusicBrainz team for making this all happen.
If you have a replicated instance of MusicBrainz, please follow these instructions to get your server running on the new schema:
- Take down the web server running MusicBrainz, if you’re running a web server.
- Turn off cron jobs if you are automatically updating the database via cron jobs.
- Make sure your REPLICATION_TYPE setting is RT_SLAVE
- Switch to the new code with
git fetch origin followed by
git checkout v-2012-05-15-schema-change
carton install --deployment. If you have not switched your installation to using carton, please read INSTALL.md on how to do this.
carton exec -- ./upgrade.sh from the top of the source directory.
- Set DB_SCHEMA_SEQUENCE to 15 in lib/DBDefs.pm
- Turn cron jobs back on, if needed.
- Restart the MusicBrainz web server, if needed.
If you are running a mbslave mirror, check out the latest code and read the upgrade instructions in the README file.
- [MBS-3189] – Remove unused ref_count column and related functions
- [MBS-4616] – Add work language statistics
- [MBS-4629] – /cover-art page shows no collections
- [MBS-4637] – Timeline graph won’t graph anything without an entry in statistics/view.js
- [MBS-4640] – Clicking cover art opens box with “����” (4 U+FFFD)
- [MBS-4642] – Thickbox CSS interferes with MB CSS
- [MBS-4647] – Cover art page allows submitting edit with no cover art when JS is off
- [MBS-4648] – Changing cover art type from “other” to unset causes Internal Server Error
- [MBS-4678] – upgrade.sh is not ready for testing
- [MBS-4679] – Internal server error adding secondary types to a release
- [MBS-1485] – Alias types
- [MBS-1798] – Lyrics language for works
- [MBS-1799] – Add ISO 639-3 language codes to the database
- [MBS-1981] – Add blog feed to the home page
- [MBS-2240] – Aliases: certain locale can be used only once in the list of aliases
- [MBS-2532] – Allow more than one IPI per artist
- [MBS-2851] – Timeline graph events should be in the database
- [MBS-2885] – Allow more than one ISWC per work
- [MBS-3646] – Split release group attributes into two types
- [MBS-3788] – Alias improvements
- [MBS-4625] – Improve wording of cover art tab when cover art comes from relationships
- [MBS-4676] – Do not allow people entering deprecated relationships
- [MBS-842] – Allow vinyl style track numbers and sides
- [MBS-1385] – Support unknown end dates
- [MBS-3704] – Allow adding sort names to artist aliases
- [MBS-4337] – Make user profile more social: add (optional) fields avatar, gender, birth year, country
On Tuesday 15 May 2012 at 18:00 UTC MusicBrainz will be unavailable for about 15-30 minutes while we release the latest and greatest schema on our main servers.
Sorry for inconvenience that this may cause you.
We’ve talked a bit about our upcoming schema change release, but we hadn’t nailed down the exact date of the release. Now that we’re tangibly close, we’ve settled on the May 15th as the actual release date.
As a reminder, here are the tickets that will change our schema and here are all the tickets scheduled for the 15th.
We’ve released another set of bug fixes and improvements for the server. Thanks to Joachim LeBlanc, Johannes Weißl and the rest of the MusicBrainz team for helping on this release!
- [MBS-2553] – Change wording for no External Links in the sidebar
- [MBS-4041] – Nonexistent elections cause Internal Server Error
- [MBS-4544] – Predefined advanced searches on /search no longer work
- [MBS-4547] – URL cleanup broken on URL edit page
- [MBS-4563] – Plugin::Diff is broken
- [MBS-4564] – robots.txt served as octet-stream on test.mb
- [MBS-4566] – Advanced Search Syntax Link missing from Search
- [MBS-4573] – Show a message when a label has no releases
- [MBS-4597] – Merging can fail if entities have aliases with the same locale
- [MBS-4609] – Comment element on release group in /ws/2 should be removed
- [MBS-1167] – "Read more" for annotation previews should load the full annotation in place, not take you to a different page
- [MBS-1881] – Move relationship types/attributes/instruments lists
- [MBS-2479] – Mark approvals differently from normal Yes votes
- [MBS-2814] – Reports don’t highlight entities with pending edits
- [MBS-3684] – Improve sorting of the "Releases with superfluous data tracks" report
- [MBS-4038] – Let users edit their permissions on test servers
- [MBS-4063] – Exclude stuff marked Single AND UK from the SeparateDiscs report
- [MBS-4125] – Sort report for creative commons download relationships
- [MBS-4476] – Provide indication of non-front cover art
- [MBS-4493] – ISRCs with multiple recordings: Do something about the DEF05 ISRCs
- [MBS-4530] – Remove the recordings with CC download relationships report
- [MBS-4560] – "No votes" failed edit should not fail in silence
- [MBS-4572] – Open up /artist/ in robots.txt
- [MBS-4551] – Display which git branch is active
- [MBS-4567] – Use markdown for README and INSTALL
- [MBS-4576] – Allow for google analytics support
- [MBS-4590] – Use /doc/About instead of /doc/About_MusicBrainz
- We’ve also improved cover art support slightly.
- [MBS-4160] – SoundCloud relationship under the External links section
Sorry for being a week behind on this release, but we’ve just finished pushing out another set of changes. Many thanks to Lukáš Lalinský, Paul Taylor and the rest of the MusicBrainz team for making this release happen! Here’s what we’ve just released:
- [MBS-3619] – Statistics page doesn’t validate
- [MBS-3794] – A "no votes" edits got wrong status "failed vote"
- [MBS-3834] – Hovering over artist names in "edit medium" tracklist changes does not show the artist sort name
- [MBS-4082] – Titles including quote marks are truncated when adding from a CD Stub
- [MBS-4131] – Edits show credited-as name when it’s the same as the artist name
- [MBS-4183] – Release editor: enters new artist if no radio button selected on ‘add missing entities’ tab
- [MBS-4314] – Add interface elements to reorder tracks on a tracklist without having to edit the tracknumbers.
- [MBS-4367] – Current search URLs are broken on the test server
- [MBS-4418] – beta.mb is unresponsive
- [MBS-4467] – ws/2/label doesn’t include label comment
- [MBS-4484] – Limited user can vote on edits
- [MBS-4500] – ISE: ‘Can’t call method "is_auto_editor"’ when attaching a TOC
- [MBS-4504] – Set default unknown value for medium.format_name
- [MBS-684] – TOC lookup displays too little release info
- [MBS-834] – Weird behaviour of the search checkboxes
- [MBS-1728] – Make ModBot’s edit notes grey again
- [MBS-1764] – Inconsistent display for merge edits
- [MBS-2242] – Disable editing of Medium title when there’s only one medium
- [MBS-2412] – User tags should be sorted
- [MBS-2867] – RE: "Add n track(s)" should reset to 1
- [MBS-3171] – Overview and Recording pages need to be able to exclude featured guest spots from display
- [MBS-3208] – Trim leading/trailing whitespace in release editor prior to Add Missing Entities check
- [MBS-3398] – Detect "M" in front of track numbers
- [MBS-3482] – "YouTube Relatiionship Type" needs autofix and doc
- [MBS-3628] – Prevent people from adding broken Facebook URLs
- [MBS-4234] – Move Basic search logic from mbserver to searchserver
- [MBS-4390] – Display disambiguation comments better in tooltips
- [MBS-4490] – "CD N" in Add disc from existing tracklist is confusing
- [MBS-4523] – Statistics: Use commas and right-align numbers
- [MBS-4535] – Make visited links more prominent
- [MBS-3160] – Add view to artist pages that shows release groups/recordings/etc credited to that artist only (solo releases only – exclude collaborations, feat., etc)
- [MBS-3266] – Allow filtering by artist credit
The Git tag for this release is
We’ve been working on hammering out the details of the upcoming schema change release and we’ve settled on 11 tickets that we’re going to implement. For a detailed description of how our database will change, please refer to the our documentation for these tickets.
This release will happen on or about 15 May, 2012.
As per my previous blog post, today is the deadline for submitting tickets for consideration in the May 15 2012 schema change release. Eleven tickets have been championed for this release — you can see each of these tickets in the schema change release fix version in jira.
I would like to call your attention to three tickets that I think ought to get more input from the community:
- Split release group attributes into two types
- Lyrics language for works
- Add ISO 639-3 language codes to the database
If any of these issues interest you, please take a look and leave a comment if you have any input. Finally, I will be keeping track of the progress of the schema change release on this wiki page.
I’m hoping to put together a complete schema change document that outlines the exact changes to our schema on April 2.
Many thanks to all of the volunteers who adopted tickets and are moving them forward!
We’ve just finished pushing out a new server update, that addresses a few minor bugs. We initially planned to roll these changes in with the release of our Cover Art Archive, but sadly this project needs a bit longer. Many thanks to Johannes Weißl, Wieland Hoffman, Ian McEwan and the MusicBrainz team for their work on this release.
- [MBS-3897] – Missing space in template for ARs w/disambig
- [MBS-4291] – Default install looks for compiled js/css.
- [MBS-4368] – Release editor: track parser is broken
- [MBS-4383] – Statistics page is showing "Active Last Week" stats twice, leaving out "Edited Last Week"
- [MBS-4391] – Track parser broken
- [MBS-4399] – Medium titles not displayed when attaching a discid to a medium
- [MBS-4403] – DBD::Pg::st execute failed: ERROR: new row for relation "recording" violates check constraint "recording_length_check" at lib/Sql.pm line 396
- [MBS-4404] – /ws/1 uses the wrong language code
- [MBS-4407] – Edit artist alias should fail if edited alias is deleted
- [MBS-1363] – Add threading headers to mod note emails
- [MBS-1473] – Report: unlikely language-script combinations
- [MBS-3313] – New/old edits wording in edit search is misleading
- [MBS-4044] – Cleanup Discogs URLs
- [MBS-4284] – Normalize URL encoding for specific sites
A Git tag will be pushed out later. The commit sha is
For our last schema change release we had a ton of issues around which tickets we should address and which ones were properly defined for us to work on. I’d like to make this a lot more clear for the next go round; here is what we’re going to do:
Starting today and for the next two weeks, we’re going to seek people to be the champion (sponsor) of a ticket. If you feel strongly about a schema change ticket getting taken care of, you should consider championing this ticket. Once you’ve decided to do adopt a ticket, you should assign the ticket to yourself.
Then, over the next two weeks it will be up to you to do the following:
- Derive consensus around the core concept of the ticket. If you go through the process of working up a ticket, but no one agrees with what you’re proposing, you’ve wasted your time. Make sure that you get buy in from others in the community. For instance, if Nikki doesn’t like it, chances are its not going to fly. 🙂
- Ensure that the ticket clearly states what needs to be done to implement the ticket. The ticket should essentially become or link to a requirements document. This requirements document should explain what the new feature should do. It should not explain how it should be done — we should leave the how to our developers who are going to implement the feature.
- Provide as much supporting documentation as you can. Mock-ups for UIs are deeply appreciated (even if they delve into the how realm of things) and very useful for meaningfully discussing these tickets.
- Have the ticket reviewed by a developer for clarity and completeness, then address any issues said developer may raise.
On 19 March, we’re going to look at the list of tickets that people have taken on and choose the ones that are clear enough to move forward. If you’ve done all the work outlined above, the chances are good that your ticket will be chosen to move forward. If your ticket is chosen to move forward, there will be more questions that the developers will raise — hopefully those can be tackled in the space of a week. After that we will take all of the well defined tickets and schedule them for implementation. All the other tickets that are not clear to implement will be rejected and will have to make another pass though this process in the autumn.
If you’re still interested, here is the list of schema change tickets that should be considered for this.