Skip to content

How to recover Nextcloud

Symptoms

  • https://cloud.cadenceworks.tech errors
  • Containers unhealthy / restarting
  • Upload or login failures

Steps

bash
docker ps -a | grep nextcloud
docker logs nextcloud-app-1 --tail 80
docker logs nextcloud-db-1 --tail 40
cd ~/nextcloud && docker compose ps
cd ~/nextcloud && docker compose restart
docker exec nextcloud-db-1 pg_isready -U nextcloud

If the app starts but proxy fails, check Caddy (recover Caddy) and that the app still listens on 127.0.0.1:9080:

bash
ss -lntp | grep 9080
curl -sI http://127.0.0.1:9080/ | head -5

Verify

bash
curl -sI https://cloud.cadenceworks.tech | head -8

Reference: Nextcloud.

Northeast Systems · Aux Server · Infra Server