Troubleshooting
Always start with these two:
sudo ./doctor.sh # 13 checks, read-onlysudo docker logs --tail 100 pacasys # recent logsContainer stuck in starting / unhealthy beyond 150 s
Section titled “Container stuck in starting / unhealthy beyond 150 s”First boot initialises the database; 40–90 s is normal. Beyond that, read the log:
sudo docker logs pacasys 2>&1 | tail -50Typical causes: wrong permissions on the data directory, disk full, PostgreSQL version mismatch (see below).
WARN exited: backend (exit status 1; not expected)
Section titled “WARN exited: backend (exit status 1; not expected)”sudo docker logs pacasys 2>&1 | grep -iE "error|panic" | tail -20Common causes: database unreachable (password changed in .env), port already taken on the host.
500s / missing pages (messages, shares, members)
Section titled “500s / missing pages (messages, shares, members)”Migrations did not finish:
sudo docker logs pacasys 2>&1 | grep -i migrate | tail -20Fix the root cause, then sudo docker restart pacasys to re-run migrations.
“Failed to list Docker images” / workspace containers won’t start / terminal won’t connect
Section titled ““Failed to list Docker images” / workspace containers won’t start / terminal won’t connect”The container lost access to the host docker.sock, or its GID changed:
ls -l /var/run/docker.sock # note the GIDSet DOCKER_GID in .env to that GID and recreate: sudo ./install.sh --skip-load.
“Port already in use”
Section titled ““Port already in use””sudo ss -lntp | grep 8080sudo ./install.sh --port 9000Data still written to the old directory after --data-dir
Section titled “Data still written to the old directory after --data-dir”--data-dir only rewrites .env; the container must be recreated: sudo ./install.sh --skip-load.
Disk full
Section titled “Disk full”df -h; du -sh /var/lib/pacasys/* | sort -h | tailClean trash/old backups/logs, or move the data root to a dedicated disk.
PostgreSQL major version mismatch after upgrade
Section titled “PostgreSQL major version mismatch after upgrade”Start an image with the same major version as the data directory, pg_dump, then upgrade and restore — or run a one-off pg_upgrade.
OnlyOffice opens but cannot save
Section titled “OnlyOffice opens but cannot save”The reverse proxy must forward WebSocket headers, allow a larger body (client_max_body_size ≥ 64m),
and the callback URL must be reachable from the OnlyOffice service.
What to send support
Section titled “What to send support”- Full
sudo ./doctor.shoutput sudo docker logs --tail 200 pacasys- Symptom, timestamp, recent changes
cat /opt/pacasys/VERSION
Open a ticket at https://support.pacasys.cloud.