NextcloudPi configuration tools stopped working

NextcloudPi arm64 Docker 20.0.0 w/ 1.31.0 on Armbian
Automatic Updates for ncp + nextcloud + apps enabled.

My system suddenly went offline today due to Internal Server Error
No longer able to use the ncp-webui or terminal interface, even after restarting the instance.

  • Webui opens, but no system info displayed.
  • attempting to nc-update returns Unauthorized request. Try reloading the page
  • Attempting to access ncp-config returns Select ncp-app to configure or activate:
    but I can only select the top most directories, such as /var

I do have ncp-config and /data backups available.

It is a space issue. I’ve run out of space on / due to garbage building up due to Docker. Here is the relevant issue from unattended-upgrades-dpkg.log

Preconfiguring packages ...
(Reading database ... 19894 files and directories currently installed.)
Preparing to unpack .../mariadb-server-10.3_1%3a10.3.23-0+deb10u1_arm64.deb ...
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of stop.
ERROR: There's not enough space in /var/lib/mysql/
dpkg: error processing archive /var/cache/apt/archives/mariadb-server-10.3_1%3a10.3.23-0+deb10u1_arm64.deb (--unpack):
 new mariadb-server-10.3 package pre-installation script subprocess returned error exit status 1
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Preparing to unpack .../mariadb-server_1%3a10.3.23-0+deb10u1_all.deb ...
Unpacking mariadb-server (1:10.3.23-0+deb10u1) over (1:10.3.22-0+deb10u1) ...
Errors were encountered while processing:
 /var/cache/apt/archives/mariadb-server-10.3_1%3a10.3.23-0+deb10u1_arm64.deb
Log ended: 2020-10-15  06:51:08

Solved by migrating /var to a newly mounted partition and restarting.

1 Like