Nextcloud box: "internal server error"

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) …

as of this morning, nextcloud box is up and running again, without any input from my side. (!!)

it seems probable that an automatic upgrade from 11.0.1.2 to 11.0.2.7 fixed the issue.

since being able to log in again, i regained access to the logs. i can see that nextcloud did an auto-update last night, which presumably fixed the internal server error. here’s what seems to be a relevant log error, causing the internal server error in the first place:

Uncaught Error: Access to undeclared static property: OC\Files\Filesystem::$normalizedPathCache in /snap/nextcloud/875/htdocs/lib/private/Files/Filesystem.php:806 Stack trace: #0 /snap/nextcloud/875/htdocs/lib/private/Files/View.php(2018): OC\Files\Filesystem::normalizePath(’/admin/files/In…’) #1 /snap/nextcloud/875/htdocs/lib/private/Files/View.php(1156): OC\Files\View->unlockFile(’/InstantUpload/…’, 1) #2 [internal function]: OC\Files\View->OC\Files{closure}() #3 /snap/nextcloud/875/htdocs/3rdparty/icewind/streams/src/CallbackWrapper.php(109): call_user_func(Object(Closure)) #4 [internal function]: Icewind\Streams\CallbackWrapper->stream_close() #5 {main} thrown at /snap/nextcloud/875/htdocs/lib/private/Files/Filesystem.php#806

and this is the last night the auto-update log:

Info \OC\Updater::resetLogLevel: Reset log level to Warning(2) 2017-03-09T07:01:46+0200
Info \OC\Updater::maintenanceDisabled: Turned off maintenance mode 2017-03-09T07:01:46+0200
Info \OC\Updater::updateEnd: Update successful 2017-03-09T07:01:46+0200
Info \OC\Repair::info: Repair info: No mounts updated 2017-03-09T07:01:46+0200
Info \OC\Repair::step: Repair step: Fix potential broken mount points 2017-03-09T07:01:46+0200
Info \OC\Repair::step: Repair step: Add preview cleanup background jobs 2017-03-09T07:01:46+0200
Info \OC\Repair::info: Repair info: Repair step already executed 2017-03-09T07:01:46+0200
Info \OC\Repair::step: Repair step: Add move avatar background job 2017-03-09T07:01:46+0200
Info \OC\Repair::step: Repair step: Move .step file of updater to backup location 2017-03-09T07:01:46+0200
Info \OC\Repair::step: Repair step: Repair unmerged shares 2017-03-09T07:01:46+0200
Info \OC\Repair::step: Repair step: Remove shares of a users root folder 2017-03-09T07:01:46+0200
Info \OC\Repair::finishProgress 2017-03-09T07:01:46+0200
Info \OC\Repair::advance: (1) 2017-03-09T07:01:45+0200
Info \OC\Repair::startProgress: Starting … Fix permissions so avatars can be stored again (2) 2017-03-09T07:01:45+0200
Info \OC\Repair::step: Repair step: Fix permissions so avatars can be stored again 2017-03-09T07:01:45+0200
Info \OC\Repair::finishProgress 2017-03-09T07:01:45+0200
Info \OC\Repair::advance: (1) 2017-03-09T07:01:45+0200
Info \OC\Repair::advance: (1) 2017-03-09T07:01:45+0200
Info \OC\Repair::advance: (1) 2017-03-09T07:01:45+0200
Info \OC\Repair::advance: (1) 2017-03-09T07:01:45+0200
Info \OC\Repair::startProgress: Starting … Remove old (< 9.0) calendar/contact shares (4) 2017-03-09T07:01:45+0200
Info \OC\Repair::step: Repair step: Remove old (< 9.0) calendar/contact shares 2017-03-09T07:01:45+0200
Info \OC\Repair::step: Repair step: Remove old share propagation app entries 2017-03-09T07:01:45+0200
Info \OC\Repair::step: Repair step: Repair invalid shares 2017-03-09T07:01:45+0200
Info \OC\Repair::step: Repair step: Repair outdated OCS IDs 2017-03-09T07:01:45+0200
Info \OC\Repair::info: Repair info: Removed 0 unneeded “{DAV:}getetag” entries from properties table. 2017-03-09T07:01:45+0200
Info \OC\Repair::step: Repair step: Remove getetag entries in properties table 2017-03-09T07:01:45+0200
Info \OC\Repair::step: Repair step: Drop old background jobs 2017-03-09T07:01:45+0200
Info \OC\Repair::finishProgress 2017-03-09T07:01:45+0200
Info \OC\Repair::advance: Drop old database table: gallery_photos (1) 2017-03-09T07:01:45+0200
Info \OC\Repair::advance: Drop old database table: gallery_albums (1) 2017-03-09T07:01:45+0200
Info \OC\Repair::advance: Drop old database table: contacts_cards_properties (1) 2017-03-09T07:01:45+0200
Info \OC\Repair::advance: Drop old database table: contacts_cards (1) 2017-03-09T07:01:45+0200
Info \OC\Repair::advance: Drop old database table: contacts_addressbooks (1) 2017-03-09T07:01:45+0200
Info \OC\Repair::advance: Drop old database table: clndr_repeat (1) 2017-03-09T07:01:45+0200
Info \OC\Repair::advance: Drop old database table: clndr_share_calendar (1) 2017-03-09T07:01:45+0200
Info \OC\Repair::advance: Drop old database table: clndr_share_event (1) 2017-03-09T07:01:45+0200
Info \OC\Repair::advance: Drop old database table: clndr_objects (1) 2017-03-09T07:01:44+0200
Info \OC\Repair::advance: Drop old database table: clndr_calendars (1) 2017-03-09T07:01:44+0200
Info \OC\Repair::advance: Drop old database table: sharing (1) 2017-03-09T07:01:44+0200
Info \OC\Repair::advance: Drop old database table: queuedtasks (1) 2017-03-09T07:01:44+0200
Info \OC\Repair::advance: Drop old database table: principals (1) 2017-03-09T07:01:44+0200
Info \OC\Repair::advance: Drop old database table: principalgroups (1) 2017-03-09T07:01:44+0200
Info \OC\Repair::advance: Drop old database table: pictures_images_cache (1) 2017-03-09T07:01:44+0200
Info \OC\Repair::advance: Drop old database table: permissions (1) 2017-03-09T07:01:44+0200
Info \OC\Repair::advance: Drop old database table: media_users (1) 2017-03-09T07:01:44+0200
Info \OC\Repair::advance: Drop old database table: media_songs (1) 2017-03-09T07:01:44+0200
Info \OC\Repair::advance: Drop old database table: media_sessions (1) 2017-03-09T07:01:44+0200
Info \OC\Repair::advance: Drop old database table: media_artists (1) 2017-03-09T07:01:44+0200
Info \OC\Repair::advance: Drop old database table: media_albums (1) 2017-03-09T07:01:44+0200
Info \OC\Repair::advance: Drop old database table: log (1) 2017-03-09T07:01:44+0200
Info \OC\Repair::advance: Drop old database table: locks (1) 2017-03-09T07:01:44+0200
Info \OC\Repair::advance: Drop old database table: gallery_sharing (1) 2017-03-09T07:01:44+0200
Info \OC\Repair::advance: Drop old database table: fscache (1) 2017-03-09T07:01:44+0200
Info \OC\Repair::advance: Drop old database table: foldersize (1) 2017-03-09T07:01:44+0200
Info \OC\Repair::advance: Drop old database table: file_map (1) 2017-03-09T07:01:44+0200
Info \OC\Repair::advance: Drop old database table: calendar_share_event (1) 2017-03-09T07:01:44+0200
Info \OC\Repair::advance: Drop old database table: calendar_share_calendar (1) 2017-03-09T07:01:44+0200
Info \OC\Repair::advance: Drop old database table: calendar_objects (1) 2017-03-09T07:01:44+0200
Info \OC\Repair::advance: Drop old database table: calendar_calendars (1) 2017-03-09T07:01:44+0200
Info \OC\Repair::startProgress: Starting … Drop old database tables (31) 2017-03-09T07:01:44+0200
Info \OC\Repair::step: Repair step: Drop old database tables 2017-03-09T07:01:44+0200
Info \OC\Repair::info: Repair info: 0 tags with no entries have been removed. 2017-03-09T07:01:44+0200
Info \OC\Repair::info: Repair info: 0 tag entries for deleted tags have been removed. 2017-03-09T07:01:44+0200
Info \OC\Repair::info: Repair info: 0 tags for delete files have been removed. 2017-03-09T07:01:44+0200
Info \OC\Repair::info: Repair info: 0 tags of deleted users have been removed. 2017-03-09T07:01:44+0200
Info \OC\Repair::step: Repair step: Clean tags and favorites 2017-03-09T07:01:44+0200
Info \OC\Repair::info: Repair info: ETags have been fixed for 0 files/folders. 2017-03-09T07:01:44+0200
Info \OC\Repair::step: Repair step: Generate ETags for file where no ETag is present. 2017-03-09T07:01:44+0200
Info \OC\Repair::info: Repair info: Asset cache cleared. 2017-03-09T07:01:44+0200
Info \OC\Repair::step: Repair step: Remove asset cache 2017-03-09T07:01:44+0200
Info \OC\Repair::step: Repair step: Repair legacy storages 2017-03-09T07:01:44+0200
Info \OC\Repair::step: Repair step: Repair mime types 2017-03-09T07:01:44+0200
Info \OC\Repair::step: Repair step: Repair MySQL collation 2017-03-09T07:01:44+0200
Info \OC\Updater::upgradeAppStoreApp: Update 3rd-party app: tasks 2017-03-09T07:01:40+0200
Info \OC\Updater::upgradeAppStoreApp: Update 3rd-party app: contacts 2017-03-09T07:01:35+0200
Info \OC\Updater::upgradeAppStoreApp: Update 3rd-party app: calendar 2017-03-09T07:01:29+0200
Info \OC\Updater::upgradeAppStoreApp: Update 3rd-party app: audioplayer 2017-03-09T07:01:22+0200
Info \OC\Updater::thirdPartyAppDisabled: Disabled 3rd-party app: tasks 2017-03-09T07:01:17+0200
Info \OC\Updater::thirdPartyAppDisabled: Disabled 3rd-party app: direct_menu 2017-03-09T07:01:17+0200
Info \OC\Updater::thirdPartyAppDisabled: Disabled 3rd-party app: contacts 2017-03-09T07:01:17+0200
Info \OC\Updater::thirdPartyAppDisabled: Disabled 3rd-party app: calendar 2017-03-09T07:01:17+0200
Info \OC\Updater::thirdPartyAppDisabled: Disabled 3rd-party app: audioplayer 2017-03-09T07:01:17+0200
Info \OC\Updater::dbUpgrade: Updated database 2017-03-09T07:01:17+0200
Info \OC\Updater::dbUpgradeBefore: Updating database schema 2017-03-09T07:01:16+0200
Info \OC\Repair::info: Repair info: lucene_status table does not exist -> nothing to do 2017-03-09T07:01:16+0200
Info \OC\Repair::step: Repair step: Repair duplicate entries in oc_lucene_status 2017-03-09T07:01:16+0200
Info \OC\Repair::step: Repair step: Repair SQLite autoincrement 2017-03-09T07:01:16+0200
Info \OC\Repair::step: Repair step: Repair MySQL collation 2017-03-09T07:01:16+0200
Info \OC\Repair::step: Repair step: Repair MySQL database engine 2017-03-09T07:01:16+0200
Debug starting upgrade from 11.0.1.2 to 11.0.2.7 2017-03-09T07:01:16+0200
Info \OC\Updater::maintenanceEnabled: Turned on maintenance mode 2017-03-09T07:01:16+0200

also, a day after the internal server error, i got an email from Let’s encrypt with subject “[Test Message] Let’s Encrypt staging environment certificate expiry”. it was confusing, as it implied i only had setup a “test” certificate (i set it up as described in user manual for NB). also, yesterday my sync clients received a new certificate to accept. oddly, my nokia n9 warned me about a man-in-the-middle attack. therefore, it would be reassuring to hear some feedback.

and any comments to help me understand the original internal server error would be greatly appreciated.

Please report in the nextcloud-snap repository. Thank you :slight_smile:

sorry, could you specify?

Of course. This is where all issues are reported: