Home Setup Foreman locale issue on Centos 7
Post
Cancel

Setup Foreman locale issue on Centos 7

is about a locale issue during a foreman setup on CentOS 7.

locale environment variables were bad; continuing with LANG=C

In my case the output of locale -a showed en_US.utf8 but the output of env and the line line in /etc/locale.conf reads different.
en_US.UTF-8 which seams to be wrong or not translated correctly.
Long Story short, either export the correct settings or update the /etc/locales.conf file so that it read like this for example

LC_ALL=en_US.utf8
LANG=en_US.utf8
LANGUAGE=en_US.utf8
This post is licensed under CC BY 4.0 by the author.