[Pkg-postgresql-public] Bug#831448: gitlab: fails to install database

Christoph Berg myon at debian.org
Fri Nov 11 08:59:18 UTC 2016


Control: reassign -1 gitlab

Re: cloos at jhcloos.com 2016-07-16 <146865654111.19106.9733884192285737596.reportbug at ore.jhcloos.com>
> Package: gitlab
> Version: 8.9.0+dfsg-4
> Severity: grave
> Justification: renders package unusable
> 
> installing gitlab via apt with LANG=en_US.UTF-8 results in this:
> 
> Create database if not present
> psql: FATAL:  database "gitlab_production" does not exist
> createdb: database creation failed: ERROR:  encoding "UTF8" does not match locale "en_US"
> DETAIL:  The chosen LC_CTYPE setting requires encoding "LATIN1".

Hi,

the initial database cluster ("9.6 main") created on the system will
use the default system locale.

This is not a PostgreSQL bug; gitlab needs to error out more
gracefully if it requires an UTF8 database, but the cluster is using a
different encoding.

cloos: Was your system configured with "en_US" when you installed
postgresql? reportbug now reports your locale to be "en_US.UTF-8".

Pirate: I'd suggest documenting this in gitlab's README.Debian. (And
then closing this bug.)

Christoph
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-postgresql-public/attachments/20161111/34e54526/attachment-0001.sig>


More information about the Pkg-postgresql-public mailing list