Troubleshooting¶
| Symptom | Likely cause and fix |
|---|---|
| Page loads but shows "Backend server is not reachable" | The Go API died or isn't running. Run docker logs homevault. The container stops itself if the backend exits, so restart: unless-stopped brings it back. In development, check that BACKEND_URL matches BACKEND_PORT. |
| Container keeps restarting | Usually the data volume isn't writable, or the database is corrupt. Check docker logs homevault and the permissions on ./data. If the database is damaged, restore the latest data backup. |
| Port already in use | Change the left side of the mapping: "8088:5959". |
| Camera / scanner doesn't open | Browsers only allow the camera over HTTPS or on localhost. Use a reverse proxy with TLS, and allow camera access in the browser's site settings. |
| "Install app" isn't offered | HTTPS is required. On iOS, only Safari can install. |
| Images don't load | Check that ./data/images exists and is readable. Hard-refresh to clear an old cached service worker. |
| "failed to decode image" on upload | The file is damaged or in an unsupported format. Use JPEG, PNG, WebP, GIF or HEIC. Running outside Docker, HEIC also needs heif-convert (libheif-examples on Debian/Ubuntu, libheif on Homebrew). |
| API request returns 401 or 403 | 401: the key is missing, wrong, revoked or expired. 403: a read-only key was used to change data. |
| Image from URL fails | The URL must be public http(s). Local network addresses are blocked on purpose. Some sites block hot-linking; download the image and upload it instead. |
| Search doesn't find an item | It may be in a segment: turn on Include all segments. Archived items are never shown; find and restore them under Items → Archived. |
| Backup "skipped" | Nothing changed since the last backup of that kind, so there's nothing new to save. That's intended. To force a fresh copy of both archives, call POST /api/proxy/backups/run?force=true. |
| Scheduled backup runs at the wrong hour | The container is on UTC. Mount /etc/localtime (see Time zone). |
| NAS test: mounting is not enabled / mount failed | Switch to a host mount with Local mode, or start with docker-compose.nas.yml and sign in as an admin. Check the share path and credentials, and SMB protocol settings on the NAS. |
| "the destination must be an absolute path inside one of…" | Bind the folder under /mnt or /nas, or add its parent to BACKUP_TARGET_ROOTS. |
| Cannot write to a Local destination | The API runs as PUID:PGID (default 1000). Give that user write access to the folder. |
| Restore succeeded but nothing changed | Restart the container after restoring a database. |
| Can't delete a floor | Containers are still on it. Move them to another floor (or choose None) or delete them first. |
| Can't delete a container | It still has child containers. Move or delete them first. |
| Disk filling up | Lower Keep in backup settings, prune old backups, and make sure Docker log rotation is configured. |
For more detail, set LOG_LEVEL=debug and LOG_FORMAT=console temporarily,
then run docker logs -f homevault.