Common Issues
Find your symptom, then follow the fix. Most problems come from a URL setting that doesn't match the address in your browser, so check that first.
First, read the log
The backend log usually names the problem.
docker compose logs --tail 200 appdocker compose --env-file .env.advanced -f docker/docker-compose.advanced.yml logs --tail 200 server webSymptoms
| Symptom | Likely cause | Fix |
|---|---|---|
admin / admin doesn't work | The admin password is generated on first start | Find the admin password |
| The page doesn't load right after the first start | The world data is still importing | Wait a few minutes and watch the log. With less than 2 GB of RAM the import can be killed; see below. |
| Login or sign-up does nothing, or returns 403 | URL or CSRF settings don't match your address | Login and Registration Unresponsive |
| Photos don't show | The public URL is wrong or not reachable | Images Not Displaying |
| A reverse proxy returns 502 | The proxy points at the wrong container or port | The proxy returns 502 |
| Social or OIDC sign-in returns 404 | /accounts isn't routed to the backend | Social sign-in returns 404 |
| The World Travel country list is empty | The world data was skipped or didn't finish | Run download_countries. See Management Commands. |
| An export or import stays "Preparing…" | The background worker isn't running | Background Jobs |
| An integration can't connect | localhost means the AdventureLog container, not your server | An integration can't connect |
| Emails never arrive | Email is set to print to the log | SMTP Email |
| Uploads fail for large files | The upload size limit | Raise BODY_SIZE_LIMIT. See Environment Variables. |
Backend restarts with nginx failed! | An old Advanced Deployment with a renamed service | Nginx Failed to Start |
The container keeps restarting on first start
The first start imports the world geography data, which needs about 2 GB of RAM. If the log shows download_countries was interrupted (likely out of memory), give the container more memory, or set SKIP_WORLD_DATA=1 to skip the import and run it later.
The proxy returns 502
- Standard Deployment: proxy the whole domain to the app container on port
80, or to the host onHOST_PORT(8015by default). - Advanced Deployment: proxy pages to the
webcontainer on port3000, and/media,/admin,/accounts, and/staticto theservercontainer on port80. - If the proxy runs in Docker, it must share a Docker network with AdventureLog.
See the reverse proxy guides.
Social sign-in returns 404
On Advanced Deployment, your reverse proxy must send /accounts/* to the backend. Standard Deployment handles this itself. Also check that the redirect URL at your identity provider uses your backend's public address. See Social Auth & OIDC.
An integration can't connect
Immich, Wanderer, Endurain, and OIDC providers are called from the AdventureLog server, not from your browser. Inside a container, localhost and 127.0.0.1 mean the container itself. Use your server's LAN IP address, a hostname, or a shared Docker network instead.
Still stuck?
Ask in the Discord server or open a GitHub issue. Include your install method, the AdventureLog version from Settings → About, and the relevant log lines with secrets removed.
