Hello,
I am trying to install Tactical RMM using Docker with an external PostgreSQL 16 server, but the installation fails.
The tactical-init container 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-init container 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:
- Confirmed network connectivity and credentials with a separate
psql container on the same network.
- Verified all environment variables in
.env and docker-compose.yml.
- Tried both
latest and 1.2.0 tags for the VERSION variable.
- Performed a full cleanup (
docker compose down, docker volume rm ...) before each attempt to avoid caching issues.
The problem seems to be with the Docker image build.

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.