Docker install fails on init - ModuleNotFoundError: No module named 'psycopg2' #2306
FurkanAlev
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello,
I am trying to install Tactical RMM using Docker with an external PostgreSQL 16 server, but the installation fails.
The
tactical-initcontainer gets stuck in a loop with the message: "waiting for postgresql container to be ready...".After extensive troubleshooting with Gemini Pro, we ran a Python command inside the
tactical-initcontainer and found the root cause:ModuleNotFoundError: No module named 'psycopg2'This indicates that the required PostgreSQL driver is missing from the Python environment.
Troubleshooting steps taken:
psqlcontainer on the same network..envanddocker-compose.yml.latestand1.2.0tags for the VERSION variable.docker compose down,docker volume rm ...) before each attempt to avoid caching issues.The problem seems to be with the Docker image build.
All reactions