On RHEL7 having defined LANG=en_us installed fails setting up the postgres database
-sh-4.2$ /opt/gitlab/embedded/bin/initdb -D /var/opt/gitlab/postgresql/data -E UTF8
The files belonging to this database system will be owned by user “gitlab-psql”.
This user must also own the server process.
The database cluster will be initialized with locale “en_US”.
initdb: encoding mismatch
The encoding you selected (UTF8) and the encoding that the
selected locale uses (LATIN1) do not match. This would lead to
misbehavior in various character string processing functions.
Rerun initdb and either do not specify an encoding explicitly,
or choose a matching combination.
If there an override in gitlab.rb to select en_US.UTF8 to use as the locale?