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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Bug fixes, 2011-09-12
    • Component/s: None
    • Labels:
      None

      Description

      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?

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                Bug fixes, 2011-09-12