Skip to content

๐Ÿ› ๏ธ 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 or docker compose returns command not found.

Solution

๐Ÿ“ฆ 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:
    bash
    sudo lsof -i :8766
    and kill the conflicting process or modify the port in 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!