Repository navigation
Troubleshooting
Start with the logs and the health status:
docker compose ps -a
docker compose logs --tail=100 migrate
docker compose logs --tail=100 api
docker compose logs --tail=100 webCompose stops with "set ... in .env". FILECANOPY_VERSION and POSTGRES_PASSWORD are required in .env, and Compose refuses to start without them. Set both and run docker compose up -d --wait again.
migrate exited with an error. Read its log. A backup made by a newer release cannot be restored into an older one, and the migration step refuses. Run the same or a newer version. Do not delete volumes to fix this.
API not healthy. Check docker compose logs api. Most often the library or app-data folder is not owned by FILECANOPY_UID/GID. Fix ownership with sudo chown 10001:10001 library app-data (or your UID and GID), then restart. Do not change ownership recursively on an existing library.
Port 8080 already in use. Set FILECANOPY_HTTP_PORT to another port in .env.
Password rejected by the database. Use only letters, digits, - and _ in POSTGRES_PASSWORD. Characters such as @, /, :, # and $ break the database URL.
The one-time setup token is printed in the API log. Find it with:
docker compose logs api | grep -i "setup token"If you set FILECANOPY_SETUP_TOKEN yourself, use that value.
Everyone is locked out after a few mistakes. FILECANOPY_TRUSTED_PROXIES is probably empty. Without it all visitors look like the proxy and share one sign-in limit. Set it to the proxy's address, then check the audit log's newest login.failed row. See Reverse proxy.
The browser shows a security or cookie error. Check that you reach FileCanopy over HTTPS through the proxy and that FILECANOPY_PUBLIC_URL matches the address you type exactly.
Large uploads fail with 413 or time out. The proxy's body limit is too small. Apply the advanced settings in deploy/proxy/npm-advanced.conf.
Search does not find text in a scanned PDF. OCR is off by default. Set COMPOSE_PROFILES=ocr and FILECANOPY_OCR_URL as described in AI and OCR options.
Office files have no preview. Previews need the converter profile. See AI and OCR options.
Confidential files appear locked. They lock after five minutes idle, by design. Reauthenticate with your PIN or password.
Scan is slow on a large library. The first scan after a restore or import can take a long time. Progress shows in the scan banner.
The Backups page is missing. Start with the backup override and set FILECANOPY_BACKUP_PATH. See Backups.
A remote destination is refused. Private addresses are refused unless FILECANOPY_BACKUP_ALLOW_PRIVATE_DESTINATIONS=true. SFTP needs the host-key fingerprint pinned.
Remote jobs fail to save. FILECANOPY_SECRETS_KEY is required for remote credentials.
Restore refuses to run. The target must be empty. Use a new installation and a new project name for a drill.
Collect the output of docker compose ps -a and the relevant logs, remove secrets and file names you do not want shared, and open a GitHub issue. For a vulnerability, follow Security and reporting instead.