Running Fettledesk
Troubleshooting
What to check when Fettledesk won't start, changes are refused, you can't sign in, uploads fail, or an upgrade goes wrong.
Start with the logs and the readiness check:
docker compose ps
docker compose logs --tail 100 app
curl -s http://localhost:8080/readyz
Errors in the app show a reference, such as Reference 2f7fdfdc-acf8-46f4-8186-00fb48612538. Search the logs for it:
docker compose logs app | grep 2f7fdfdc-acf8-46f4-8186-00fb48612538
The page doesn't load
- The port is already in use:
docker compose upfails with "port is already allocated". Choose another port and tell Fettledesk the new address:HTTP_PORT=8095 PUBLIC_URL=http://localhost:8095 docker compose up -d. - The app keeps restarting:
docker compose logs appshows why. A setting that's wrong is listed with what it expects; fix.envand rundocker compose up -dagain. - "Database not ready yet" over and over: PostgreSQL isn't healthy. Check
docker compose logs db; a full disk is the usual cause.
"This request came from …, not …"
Fettledesk refuses changes sent from any address other than PUBLIC_URL, to block cross-site request forgery. Set PUBLIC_URL to exactly the address in the browser's address bar, including https:// and any port, then start it again. Opening Fettledesk by another address (say, by IP address instead of its name) shows pages, but refuses changes.
Can't find the setup code
It's printed in the log while Fettledesk isn't set up yet: run docker compose logs app and look for Not set up yet. A new code is made each time it starts, so use the latest one. Or set your own with SETUP_CODE and start it again.
Can't sign in
- Five wrong passwords lock that email from that address for 15 minutes.
- Deactivated people can't sign in. An admin can reactivate them under People.
- Forgotten password: use the link on the sign-in page (with outgoing email set up), or ask an admin to Reset password under People.
Emails don't arrive
See Email: when it doesn't work. For outgoing email, Recently sent in Organisation settings → Outgoing email shows what went out and why anything failed.
Uploads fail
- "That file is too large": raise
ATTACHMENT_MAX_MBand start Fettledesk again. A reverse proxy may need its own limit raised too. - "That file type isn't allowed": Fettledesk checks the content, not the name. Zip the file to share something outside the allowed types.
Boards don't update live
Live updates use server-sent events. A reverse proxy that buffers or compresses responses holds them back: see Behind your own reverse proxy.
An upgrade went wrong
Database changes run before the server starts. If one fails, your data is untouched (each change is a transaction). Go back to the previous version, start it, and report the log lines.
"Migration … was changed after it was applied" means the image has a different migration file from the one that ran. That only happens with a modified build; use an official build or restore the original file.
Search is slow on a large install
If you run your own PostgreSQL on SSD storage, set random_page_cost=1.1 (the bundled database does).
Still stuck?
Open an issue on GitHub with the reference number from the error message, and what you were doing.