Table of Contents
NextCloud fix Setting locale to en_US.UTF-8 failed
Setting locale to en_US.UTF-8 failed
Setting locale to en_US.UTF-8/fr_FR.UTF-8/es_ES.UTF-8/de_DE.UTF-8/ru_RU.UTF-8/pt_BR.UTF-8/it_IT.UTF-8/ja_JP.UTF-8/zh_CN.UTF-8 failed.
Please install one of these locales on your system and restart your web server.
Fix Setting locale to en_US.UTF-8 failed
Your warning suggests that the locales you are requesting have not actually been compiled. So, you should use:
sudo dpkg-reconfigure locales
to select the locales to compile.
Alternatively, just edit the file:
/etc/locale.gen
and uncomment the locales you want, then run:
sudo locale-gen
to generate them.