Most issues with LogiMath’s local setup fall into a small number of categories: Docker not installed or misconfigured, volume synchronisation problems, port conflicts, database connectivity errors, or display environment issues with the Flet frontend. The solutions below address each case directly.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/whitiue/logiMathApp/llms.txt
Use this file to discover all available pages before exploring further.
Docker not found — command not found error
Docker not found — command not found error
Error:Docker is not installed or not on your Both commands should return a version string. On Windows, ensure Docker Desktop is running in the system tray before issuing any
PATH.Solution: Download and install Docker Desktop for your operating system. After installation, restart your terminal and verify:docker commands.Changes not appearing — volumes not syncing
Changes not appearing — volumes not syncing
Symptom: You edit a file in The
src/BackEnd/ or src/FrontEnd/ but the running container does not reflect the change.Solution: Tear down the stack including its volumes and rebuild from scratch:-v flag removes named volumes so stale data cannot mask new code. If the issue persists, clear Docker’s build cache:Port 5432 already in use — PostgreSQL port conflict
Port 5432 already in use — PostgreSQL port conflict
Error:Another PostgreSQL instance is already listening on port 5432 on the host.Solution: Change the host port in The internal container port must stay Restart the stack after saving the file:
docker-compose.yml. Open the file and update the postgres service’s ports mapping:5432. The DATABASE_URL in your .env file does not need to change — it uses the Docker service name postgres and the internal port:Backend cannot connect to database — psycopg2.OperationalError
Backend cannot connect to database — psycopg2.OperationalError
Error:orThe backend container cannot reach the database.Solution: Work through these checks in order:
-
Confirm all containers are running:
The
postgresservice must showhealthy. If it showsstarting, wait 10–15 seconds and check again. -
Inspect the database logs for startup errors:
-
Verify
DATABASE_URLin your.envfile usespostgres(the Docker service name) as the host, notlocalhost:The value must match the format from.env.example: -
If you changed any credentials in
.env, make surePOSTGRES_USER,POSTGRES_PASSWORD, andPOSTGRES_DBmatch the username, password, and database name inDATABASE_URL.
Flet DISPLAY not set error when running inside Docker
Flet DISPLAY not set error when running inside Docker
Error:or a similar Keep the backend and database running with Docker Compose in a separate terminal. The frontend will connect to the backend at
DISPLAY not set message from Flet.Cause: Docker containers run headless (no display server), but Flet requires a graphical display to render the application window.Solution: Run the frontend directly on your host machine, outside of Docker:http://localhost:8000 as long as the API_HOST and API_PORT environment variables are set correctly.Git push permission denied — SSH key not configured
Git push permission denied — SSH key not configured
Error:Your local machine does not have a valid SSH key registered with GitHub.Solution:
-
Test your current SSH access:
A successful connection returns:
Hi <username>! You've successfully authenticated... -
If the test fails, generate a new SSH key and add it to your GitHub account:
Then copy the public key (
~/.ssh/id_ed25519.pub) and add it in GitHub → Settings → SSH and GPG keys → New SSH key. - Full instructions are in the GitHub SSH documentation.