Troubleshooting
Common problems and their fixes for non-technical users.
App won't start at all
Check that Docker Desktop is running. Open Docker Desktop from your taskbar or applications. The Docker icon should appear in the system tray (Windows) or menu bar (Mac).
Then try:
yarn docker:upWait 20–30 seconds before running the app again.
"Address already in use" or "Port in use" error
Another program is already using port 3000 (API) or 4200 (Web).
Find and stop the other program, or run:
Windows:
netstat -ano | findstr :3000
taskkill /PID <PID_NUMBER> /FMac / Linux:
lsof -i :3000
kill -9 <PID_NUMBER>Then start Folio again.
"Cannot connect to database" error
The database container isn't running. Run:
yarn docker:upIf it still fails, stop and restart Docker containers:
yarn docker:down
yarn docker:upI forgot my admin password
If you're using local development defaults, the admin password is admin123.
If you changed it and forgot it, reset it via the database:
- Make sure the database is running (
yarn docker:up). - Open PgAdmin at http://localhost:5050 (login:
admin@folio.com/admin). - Connect to the
foliodatabase. - An admin can also use the CLI:
docker exec -it folio-postgres psql -U folio -d folio -c \
"UPDATE users SET password_hash = '<new_bcrypt_hash>' WHERE email = 'admin@folio.local';"TIP
For a quick local reset, re-running the seed will restore the default admin. Be aware this may reset other seed data:
yarn docker:down
yarn docker:upProfile changed but the UI looks the same
This is normal — the profile change takes effect after a hard page reload.
Press Ctrl + Shift + R (Windows/Linux) or Cmd + Shift + R (Mac) to force-reload.
The web app shows a blank page
Usually caused by an API connection issue. Check:
- Is
yarn dev:apistill running in its terminal? - Is
apps/web/.envpointing to the correct API URL? Openapps/web/.envand confirm:VITE_API_URL=http://localhost:3000 - Try restarting the web dev server (
Ctrl + C, thenyarn dev:web).
Books or Authors imported from external sources are empty
External providers require internet access and, for some providers, API keys.
- Open Library and Library of Congress: free, no key needed — check your internet connection.
- Google Books: requires
GOOGLE_BOOKS_API_KEYin your.envfile. - ISBNdb / WorldCat: paid services — check your API key in
.env.
How to back up your data
Run this command while Docker is running:
docker exec -t folio-postgres pg_dump -U folio folio > folio-backup.sqlThis creates a file called folio-backup.sql in the current folder.
Restore from backup:
docker exec -i folio-postgres psql -U folio -d folio < folio-backup.sqlHow to fully reset and start fresh
This deletes all your data
This removes all books, authors, users, and settings you've added.
yarn docker:down
docker volume rm folio_postgres_data
yarn docker:upThe database will re-initialize from the default schema and seed data.
Still stuck?
- Check GitHub Issues to see if others had the same problem.
- Open a new issue with the error message from your terminal.