Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-5692

Internal server error when trying to create a new user with a blank database

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 2012-12-10
    • Fix Version/s: 2015-02-09
    • Component/s: Accounts
    • Labels:
      None
    • Environment:
      OS X 10.8.2, Postgresql 9.2.2

      Description

      I've installed mbserver and postgresql on my local machine by following the instructions provided in INSTALL.md. I created a clean database (carton exec ./admin/InitDb.pl – --createdb --clean) and started the server.
      Then I tried to create a new user; however, I was presented with the following error:

      Caught exception in MusicBrainz::Server::Controller::Account->register "DBD::Pg::st execute failed: ERROR: insert or update on table "editor_watch_release_group_type" violates foreign key constraint "editor_watch_release_group_type_fk_release_group_type"
      DETAIL: Key (release_group_type)=(2) is not present in table "release_group_primary_type".

      (see full error log)

      mbserver git commit id: f862b74455551ef66831582eb303941bbeed6173

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jessew Jesse W
                Reporter:
                dremora Kirill Korolyov
              • Votes:
                4 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: