There was an error or interruption during the execution of: │
│ "30 | System Settings"
This is the log-out put in the SSH terminal:
+ case "$choice2" in
+ locale_setting
+ local locale
+ dpkg -s locales
+ [[ -n 1 ]]
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2021-08-20_19:22:06_CEST [openHABian] Setting locale based on user choice... '
2021-08-20_19:22:06_CEST [openHABian] Setting locale based on user choice... + dpkg-reconfigure locales
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US.UTF-8",
LC_ALL = "en_US.UTF-8",
LC_CTYPE = "en_US.UTF-8",
LANG = (unset)
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory
Generating locales (this might take a while)...
de_DE.UTF-8... done
Generation complete.
*** update-locale: Error: invalid locale settings: LC_ALL=en_US.UTF-8 LANG=de_DE.UTF-8 LC_CTYPE=en_US.UTF-8 LANGUAGE=en_US.UTF-8
+ echo 'FAILED (reconfigure locales)'
FAILED (reconfigure locales)
+ return 1
When i check locale in the SSH terminal, this is the output:
openhabian@openhab:~ $ locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=
LANGUAGE=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8
I really dont know what to do. Can someone maybe give me a hint?
Thank you!
You are right.
I changed it to OpenHAB3 branch and did a reboot.
After this i tried again to set the locale in system settings.
However with the same result:
+ echo -n '2021-08-21_13:06:59_CEST [openHABian] Setting locale based on user choice... '
2021-08-21_13:06:59_CEST [openHABian] Setting locale based on user choice... + dpkg-reconfigure locales
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US.UTF-8",
LC_ALL = "en_US.UTF-8",
LC_CTYPE = "en_US.UTF-8",
LANG = (unset)
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory
Generating locales (this might take a while)...
de_DE.UTF-8... done
Generation complete.
*** update-locale: Error: invalid locale settings: LANGUAGE=en_US.UTF-8 LANG=de_DE.UTF-8 LC_CTYPE=en_US.UTF-8 LC_ALL=en_US.UTF-8
+ echo 'FAILED (reconfigure locales)'
FAILED (reconfigure locales)
+ return 1
After this i do at least have °C again, however still no German letters and no translation to German weekday names:
# File generated by update-locale
#LANG=en_US.UTF-8
LC_CTYPE=en_US.UTF-8
LC_ALL=en_US.UTF-8
LANGUAGE=en_US.UTF-8
Edit:
I now switched back to en_US.UTF-8 in the openhab-config.
(Deactivated de_DE.UTF-8 UTF-8 before).
Didnt receive any errors.
After a reboot I do have now correct temperature unit (°C) in mainUI and MQTT command again.
Also German letters are working again.
However, of course still english DateTime naming.