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

InitDB can fail if the locale of the machine isn't set correctly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • Bug fixes, 2011-09-12
    • None
    • None
    • None

      When installing the server on a clean Debian machine, an error was given by the InitDB script when it was trying to create the databases (unfortunately I don't have a copy of that error any more).

      Luks helped me resolve this via IRC, by creating the database manually in psql using the following command:

      CREATE DATABASE musicbrainz_db WITH OWNER = musicbrainz TEMPLATE template0 ENCODING = 'UNICODE' LC_CTYPE='en_GB.UTF-8' LC_COLLATE='en_GB.UTF-8';

      Should the InitDB script be creating the database this way too, in case anyone else runs into the same problem?

            acid2 Oliver Charles
            adhawkins Andy Hawkins
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                Bug fixes, 2011-09-12