Dne středa 27. května 2020 14:55:32 CEST, Andrei Borzenkov napsal(a):
On Wed, May 27, 2020 at 3:41 PM Vojtěch Zeisek wrote:
Dne středa 27. května 2020 14:33:27 CEST, Andrei Borzenkov napsal(a):
On Wed, May 27, 2020 at 3:24 PM Vojtěch Zeisek wrote:
on relatively simple minimal installation (small web server in VM) on Leap 15.1 I try to install GitLab, but it complains:
Environment variable LANG specifies a non-UTF-8 locale. GitLab requires UTF-8 encoding to function properly. Please check your locale settings.
# locale LANG=POSIX LC_CTYPE=en_US.UTF-8 LC_NUMERIC="POSIX"
What is the value of ROOT_USES_LANG in /etc/sysconfig/language?
ROOT_USES_LANG="ctype"
Which matches what you get as root. See comments for this variable, you likely need "all" (not having openSUSE right now available, so do not remember exact name). It is also configurable in YaST.
Yes! That was the trick. Thank You! The desired value is "yes". Value "ctype" means that root uses just LC_CTYPE. Value "yes" means that root uses the full settings. -- Vojtěch Zeisek https://trapa.cz/ Komunita openSUSE GNU/Linuxu Community of the openSUSE GNU/Linux https://www.opensuse.org/