I think something happened with a Nextcloud box that shouldn’t happen. Without, AFAIK, changes being made, this morning the Nextcloud box is no longer available for file or calendar sync, and throws “internal server error” when contacting.
Setup:
Nextcloud box (11.x, stable channel I think) connected to LAN, reachable through domain name with https (Let’s encrypt certificate) enabled.
synced with:
- desktop linux (nextcloud client + thunderbird)
- nokia n9
- jolla sailfish
- android
since this morning, web interface unavailable (gives white page), and none of the sync clients work. davdroid on android tells “500 internal server error”.
i can still ssh to the box, which i did. Did an apt-get update + upgrade + reboot. Still no change. Here’s the log from the upgrade:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_TIME = “en_GB.UTF-8”,
LC_MONETARY = “fi_FI.UTF-8”,
LC_ADDRESS = “fi_FI.UTF-8”,
LC_TELEPHONE = “fi_FI.UTF-8”,
LC_NAME = “fi_FI.UTF-8”,
LC_MEASUREMENT = “fi_FI.UTF-8”,
LC_IDENTIFICATION = “fi_FI.UTF-8”,
LC_NUMERIC = “fi_FI.UTF-8”,
LC_PAPER = “fi_FI.UTF-8”,
LANG = "en_GB.UTF-8"
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
Preconfiguring packages …
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
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
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
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
(Reading database … 36785 files and directories currently installed.)
Preparing to unpack …/base-files_9.4ubuntu4.4_armhf.deb …
Unpacking base-files (9.4ubuntu4.4) over (9.4ubuntu4.3) …
Processing triggers for plymouth-theme-ubuntu-text (0.9.2-3ubuntu13.1) …
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.122ubuntu8.8) …
update-initramfs: Generating /boot/initrd.img-4.4.0-1017-raspi2
cryptsetup: WARNING: failed to detect canonical device of /dev/sda2
cryptsetup: WARNING: could not determine root device from /etc/fstab
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
flash-kernel: installing version 4.4.0-1017-raspi2
Taking backup of vmlinuz.
Installing new vmlinuz.
Taking backup of bcm2709-rpi-2-b.dtb.
Installing new bcm2709-rpi-2-b.dtb.
Taking backup of initrd.img.
Installing new initrd.img.
Generating u-boot environment image… done.
Taking backup of uboot.env.
Installing new uboot.env.
Setting up base-files (9.4ubuntu4.4) …
Installing new version of config file /etc/issue …
Installing new version of config file /etc/issue.net …
Installing new version of config file /etc/lsb-release …
Processing triggers for plymouth-theme-ubuntu-text (0.9.2-3ubuntu13.1) …
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.122ubuntu8.8) …
update-initramfs: Generating /boot/initrd.img-4.4.0-1017-raspi2
cryptsetup: WARNING: failed to detect canonical device of /dev/sda2
cryptsetup: WARNING: could not determine root device from /etc/fstab
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
flash-kernel: installing version 4.4.0-1017-raspi2
Taking backup of vmlinuz.
Installing new vmlinuz.
Taking backup of bcm2709-rpi-2-b.dtb.
Installing new bcm2709-rpi-2-b.dtb.
Taking backup of initrd.img.
Installing new initrd.img.
Generating u-boot environment image… done.
Taking backup of uboot.env.
Installing new uboot.env.
(Reading database … 36785 files and directories currently installed.)
Preparing to unpack …/liblxc1_2.0.7-0ubuntu1~16.04.1_armhf.deb …
Unpacking liblxc1 (2.0.7-0ubuntu1~16.04.1) over (2.0.6-0ubuntu1~ubuntu16.04.2) …
Preparing to unpack …/lxc-common_2.0.7-0ubuntu1~16.04.1_armhf.deb …
Unpacking lxc-common (2.0.7-0ubuntu1~16.04.1) over (2.0.6-0ubuntu1~ubuntu16.04.2) …
Preparing to unpack …/lxd_2.0.9-0ubuntu1~16.04.2_armhf.deb …
Warning: Stopping lxd.service, but it can still be activated by:
lxd.socket
Unpacking lxd (2.0.9-0ubuntu1~16.04.2) over (2.0.8-0ubuntu1~ubuntu16.04.2) …
Warning: Stopping lxd.service, but it can still be activated by:
lxd.socket
Preparing to unpack …/lxd-client_2.0.9-0ubuntu1~16.04.2_armhf.deb …
Unpacking lxd-client (2.0.9-0ubuntu1~16.04.2) over (2.0.8-0ubuntu1~ubuntu16.04.2) …
Preparing to unpack …/lxcfs_2.0.6-0ubuntu1~16.04.1_armhf.deb …
Unpacking lxcfs (2.0.6-0ubuntu1~16.04.1) over (2.0.5-0ubuntu1~ubuntu16.04.1) …
Preparing to unpack …/console-setup-linux_1.108ubuntu15.3_all.deb …
Unpacking console-setup-linux (1.108ubuntu15.3) over (1.108ubuntu15.2) …
Preparing to unpack …/console-setup_1.108ubuntu15.3_all.deb …
Obsolete conffile /etc/init.d/keyboard-setup has been modified by you, renaming to .dpkg-bak
Unpacking console-setup (1.108ubuntu15.3) over (1.108ubuntu15.2) …
Preparing to unpack …/keyboard-configuration_1.108ubuntu15.3_all.deb …
Unpacking keyboard-configuration (1.108ubuntu15.3) over (1.108ubuntu15.2) …
Preparing to unpack …/klibc-utils_2.0.4-8ubuntu1.16.04.3_armhf.deb …
Unpacking klibc-utils (2.0.4-8ubuntu1.16.04.3) over (2.0.4-8ubuntu1.16.04.2) …
Preparing to unpack …/libklibc_2.0.4-8ubuntu1.16.04.3_armhf.deb …
Unpacking libklibc (2.0.4-8ubuntu1.16.04.3) over (2.0.4-8ubuntu1.16.04.2) …
Preparing to unpack …/resolvconf_1.78ubuntu4_all.deb …
Unpacking resolvconf (1.78ubuntu4) over (1.78ubuntu2) …
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
Preparing to unpack …/sudo_1.8.16-0ubuntu1.3_armhf.deb …
Unpacking sudo (1.8.16-0ubuntu1.3) over (1.8.16-0ubuntu1.2) …
Preparing to unpack …/krb5-locales_1.13.2+dfsg-5ubuntu2_all.deb …
Unpacking krb5-locales (1.13.2+dfsg-5ubuntu2) over (1.13.2+dfsg-5ubuntu1) …
Preparing to unpack …/libdrm2_2.4.70-1~ubuntu16.04.1_armhf.deb …
Unpacking libdrm2:armhf (2.4.70-1~ubuntu16.04.1) over (2.4.67-1ubuntu0.16.04.2) …
Preparing to unpack …/libgssapi-krb5-2_1.13.2+dfsg-5ubuntu2_armhf.deb …
Unpacking libgssapi-krb5-2:armhf (1.13.2+dfsg-5ubuntu2) over (1.13.2+dfsg-5ubuntu1) …
Preparing to unpack …/libkrb5-3_1.13.2+dfsg-5ubuntu2_armhf.deb …
Unpacking libkrb5-3:armhf (1.13.2+dfsg-5ubuntu2) over (1.13.2+dfsg-5ubuntu1) …
Preparing to unpack …/libkrb5support0_1.13.2+dfsg-5ubuntu2_armhf.deb …
Unpacking libkrb5support0:armhf (1.13.2+dfsg-5ubuntu2) over (1.13.2+dfsg-5ubuntu1) …
Preparing to unpack …/libk5crypto3_1.13.2+dfsg-5ubuntu2_armhf.deb …
Unpacking libk5crypto3:armhf (1.13.2+dfsg-5ubuntu2) over (1.13.2+dfsg-5ubuntu1) …
Preparing to unpack …/bluez_5.41-0ubuntu3~xenial1.1_armhf.deb …
Unpacking bluez (5.41-0ubuntu3~xenial1.1) over (5.37-0ubuntu5+rpi1~xenial1.0) …
Preparing to unpack …/pi-bluetooth_0.1.2~xenial1.5_armhf.deb …
Unpacking pi-bluetooth (0.1.2~xenial1.5) over (0.1.0~xenial1.0) …
Preparing to unpack …/python-rpi.gpio_0.6.3-1~xenial1.1_armhf.deb …
Unpacking python-rpi.gpio (0.6.3-1~xenial1.1) over (0.6.2~jessie-1~xenial1.2) …
Preparing to unpack …/python-sense-hat_2.2.0-1~xenial1.4_armhf.deb …
Unpacking python-sense-hat (2.2.0-1~xenial1.4) over (2.1.0-1~xenial1.2) …
Preparing to unpack …/python3-rpi.gpio_0.6.3-1~xenial1.1_armhf.deb …
Unpacking python3-rpi.gpio (0.6.3-1~xenial1.1) over (0.6.2~jessie-1~xenial1.2) …
Preparing to unpack …/python3-sense-hat_2.2.0-1~xenial1.4_armhf.deb …
Unpacking python3-sense-hat (2.2.0-1~xenial1.4) over (2.1.0-1~xenial1.2) …
Preparing to unpack …/raspi-gpio_0.20170105~xenial1.0_armhf.deb …
Unpacking raspi-gpio (0.20170105~xenial1.0) over (0.20150914~xenial1.0) …
Preparing to unpack …/grub-legacy-ec2_0.7.9-0ubuntu1~16.04.2_all.deb …
Leaving 'diversion of /usr/sbin/grub-set-default to /usr/sbin/grub-set-default.real by grub-legacy-ec2’
Unpacking grub-legacy-ec2 (0.7.9-0ubuntu1~16.04.2) over (0.7.8-49-g9e904bb-0ubuntu1~16.04.4) …
Preparing to unpack …/i2c-tools_3.1.2-3~xenial1.0_armhf.deb …
Unpacking i2c-tools (3.1.2-3~xenial1.0) over (3.1.1-1) …
Preparing to unpack …/python-gpiozero_1.3.1~xenial1.0_all.deb …
Unpacking python-gpiozero (1.3.1~xenial1.0) over (1.2.0~xenial1.0) …
Preparing to unpack …/python3-gpiozero_1.3.1~xenial1.0_all.deb …
Unpacking python3-gpiozero (1.3.1~xenial1.0) over (1.2.0~xenial1.0) …
Processing triggers for libc-bin (2.23-0ubuntu5) …
Processing triggers for systemd (229-4ubuntu16) …
Processing triggers for ureadahead (0.100.0-19) …
Processing triggers for dbus (1.10.6-1ubuntu3.3) …
Setting up lxd-client (2.0.9-0ubuntu1~16.04.2) …
Setting up lxcfs (2.0.6-0ubuntu1~16.04.1) …
Setting up keyboard-configuration (1.108ubuntu15.3) …
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
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
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
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
update-initramfs: deferring update (trigger activated)
Setting up console-setup-linux (1.108ubuntu15.3) …
Installing new version of config file /etc/console-setup/compose.ISO-8859-1.inc …
Installing new version of config file /etc/console-setup/compose.ISO-8859-13.inc …
Installing new version of config file /etc/console-setup/compose.ISO-8859-14.inc …
Installing new version of config file /etc/console-setup/compose.ISO-8859-15.inc …
Installing new version of config file /etc/console-setup/compose.ISO-8859-2.inc …
Installing new version of config file /etc/console-setup/compose.ISO-8859-3.inc …
Installing new version of config file /etc/console-setup/compose.ISO-8859-4.inc …
Installing new version of config file /etc/console-setup/compose.ISO-8859-7.inc …
Installing new version of config file /etc/console-setup/compose.ISO-8859-9.inc …
Setting up console-setup (1.108ubuntu15.3) …
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
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
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
update-initramfs: deferring update (trigger activated)
Setting up libklibc (2.0.4-8ubuntu1.16.04.3) …
Setting up klibc-utils (2.0.4-8ubuntu1.16.04.3) …
Setting up resolvconf (1.78ubuntu4) …
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
Setting up sudo (1.8.16-0ubuntu1.3) …
Setting up krb5-locales (1.13.2+dfsg-5ubuntu2) …
Setting up libdrm2:armhf (2.4.70-1~ubuntu16.04.1) …
Setting up libkrb5support0:armhf (1.13.2+dfsg-5ubuntu2) …
Setting up libk5crypto3:armhf (1.13.2+dfsg-5ubuntu2) …
Setting up libkrb5-3:armhf (1.13.2+dfsg-5ubuntu2) …
Setting up libgssapi-krb5-2:armhf (1.13.2+dfsg-5ubuntu2) …
Setting up bluez (5.41-0ubuntu3~xenial1.1) …
Installing new version of config file /etc/bluetooth/main.conf …
Setting up pi-bluetooth (0.1.2~xenial1.5) …
Setting up python-rpi.gpio (0.6.3-1~xenial1.1) …
Setting up python-sense-hat (2.2.0-1~xenial1.4) …
Setting up python3-rpi.gpio (0.6.3-1~xenial1.1) …
Setting up python3-sense-hat (2.2.0-1~xenial1.4) …
Setting up raspi-gpio (0.20170105~xenial1.0) …
Setting up grub-legacy-ec2 (0.7.9-0ubuntu1~16.04.2) …
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
Searching for GRUB installation directory … found: /boot/grub
Searching for default file … found: /boot/grub/default
Testing for an existing GRUB menu.lst file … found: /boot/grub/menu.lst
Searching for splash image … none found, skipping …
Ignoring non-Xen Kernel on Xen domU host: vmlinuz-4.4.0-1017-raspi2
Updating /boot/grub/menu.lst … done
Setting up i2c-tools (3.1.2-3~xenial1.0) …
Setting up python-gpiozero (1.3.1~xenial1.0) …
Setting up python3-gpiozero (1.3.1~xenial1.0) …
Setting up liblxc1 (2.0.7-0ubuntu1~16.04.1) …
Setting up lxc-common (2.0.7-0ubuntu1~16.04.1) …
Setting up lxd (2.0.9-0ubuntu1~16.04.2) …
Processing triggers for initramfs-tools (0.122ubuntu8.8) …
update-initramfs: Generating /boot/initrd.img-4.4.0-1017-raspi2
cryptsetup: WARNING: failed to detect canonical device of /dev/sda2
cryptsetup: WARNING: could not determine root device from /etc/fstab
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
flash-kernel: installing version 4.4.0-1017-raspi2
Taking backup of vmlinuz.
Installing new vmlinuz.
Taking backup of bcm2709-rpi-2-b.dtb.
Installing new bcm2709-rpi-2-b.dtb.
Taking backup of initrd.img.
Installing new initrd.img.
Generating u-boot environment image… done.
Taking backup of uboot.env.
Installing new uboot.env.
Processing triggers for resolvconf (1.78ubuntu4) …
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
Processing triggers for libc-bin (2.23-0ubuntu5) …