๐ ๏ธ Troubleshooting โ
This page helps you resolve common issues encountered while setting up or running Notivae using Docker.
If you're stuck on something not listed here, feel free to open an issue or check the Contributing guide.
๐งฉ Docker Setup Issues โ
Docker/Docker Compose is not installed or not found โ
Symptoms
- Running
docker
ordocker compose
returnscommand not found
.
Solution
- Ensure Docker and Docker Compose are installed correctly:
- Restart your shell or terminal after installation.
๐ฆ Container Wonโt Start โ
Ports are already in use โ
Symptoms
- Error like:
Bind for 0.0.0.0:8766 failed: port is already allocated
Solution
- Another service is using the same port.
- Run:bashand kill the conflicting process or modify the port in
sudo lsof -i :8766
docker-compose.yml
.
Environment variables are not set or invalid โ
Symptoms
- Services crash on startup with unclear errors.
- Logs may reference missing configuration or fail to connect to other services.
Solution
- Ensure you have a
.env
file in the root directory (/srv/notivae-stack
) and that it's configured correctly. - Check for:
- Missing values
- Quotes around special characters
- Line endings (use Unix line endings)
๐งฎ Database Errors โ
Database container exits immediately โ
Symptoms
- Running
docker compose up
shows the database container starting and then exiting or restarting in a loop.
Possible Causes
- Invalid environment variables
- Volume permission issues
- Existing corrupt volume
Solutions
- Double-check database config in
.env
- Try resetting the volume (data will be lost):bash
docker volume rm notivae_pgdata
๐ฅ๏ธ Frontend is Blank or Unresponsive โ
Symptoms
- You open
http://localhost:8766
and see a blank screen or a browser error.
Solutions
- Check if all containers are running:bash
docker compose ps
- View frontend logs:bash
docker compose logs frontend
- Make sure the backend is reachable from the frontend container (
localhost
inside a container โ your host machine)
๐งน Cleanup Tips โ
Removing all containers, volumes, and networks โ
If you want to start over clean:
bash
docker-compose down -v
This will remove all associated volumes (e.g., database data). Be careful โ this is irreversible.
๐ Still Having Issues? โ
Open an issue on the repository with logs, your .env
config (redact sensitive info), and a description of whatโs not working.
Weโre early in development and appreciate any feedback or bug reports!