Something has broken my ownCloud server. I’ve not changed anything, so probably it’s a recent debian package upgrade that has broken it. I am seeing:
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 webserver.
However I have en_US installed:
$ locale -a | fgrep en_US
en_US
en_US.iso885915
en_US.utf8
ownCloud
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 webserver.
ownCloud – A safe home for all your data
I have the same problem. I have tried to use different versions of php without luck.
$ locale -a
C
C.UTF-8
en_US.utf8
POSIX
I am using Debian buster, Apache/2.4.37 (Debian) OpenSSL/1.1.1 and PHP Version 7.2.9-1
The log reads:
{“reqId”:“NNBkyC8CFFrVwXPrakIx”,“level”:3,“time”:“2018-11-15T09:30:02-05:00”,“remoteAddr”:“”,“user”:“–”,“app”:“PHP”,“method”:“–”,“url”:“–”,“message”:“You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at /var/www/owncloud/lib/composer/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php#18”}
PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web
development and can be embedded into HTML.
Homepage: http://www.php.net/
I’m not 100% certain, but I think I had this same problem recently. I think I did these steps to fix it. I’m not sure, I didn’t take notes. Since then, I accidentally upgraded my php from 7.2 to 7.3, so I cannot test to see if this is the fix that did it or not.
Just in case I am remembering correctly, try looking here.
echo ; cat /etc/debian_version ; echo ; cat /etc/apache2/envvars | grep -ne "LANG\|locale" ; echo ; cat /etc/default/locale
buster/sid
25:## The locale used by some modules like mod_dav
26:export LANG=C
27:## Uncomment the following line to use the system default locale instead:
28:. /etc/default/locale
30:export LANG
# File generated by update-locale
LANG="en_US.UTF-8"