-
Notifications
You must be signed in to change notification settings - Fork 136
Open
Description
psycopg2 fails to install during the startup script. Had been previously working fine both for custom Dockerfile and basic container start (docker run -d --privileged --name docker-test -p 8080:80 -p 8021:21 -p 8022:22 quay.io/bgruening/galaxy
)
Following errors when starting container:
2025-01-28 13:21:37 WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1007)'))': /simple/psycopg2-binary/
2025-01-28 13:21:37 ERROR: Could not find a version that satisfies the requirement psycopg2-binary==2.9.9 (from versions: none)
2025-01-28 13:21:37 ERROR: No matching distribution found for psycopg2-binary==2.9.9
2025-01-28 13:22:49 Checking if database is up and running
2025-01-28 13:22:53 Traceback (most recent call last):
2025-01-28 13:22:53 File "/usr/local/bin/check_database.py", line 19, in <module>
2025-01-28 13:22:53 mapping = init('/tmp/', db_url)
2025-01-28 13:22:53 File "/galaxy/lib/galaxy/model/mapping.py", line 45, in init
2025-01-28 13:22:53 engine = build_engine(
2025-01-28 13:22:53 File "/galaxy/lib/galaxy/model/orm/engine_factory.py", line 111, in build_engine
2025-01-28 13:22:53 engine = create_engine(url, **engine_options)
2025-01-28 13:22:53 File "<string>", line 2, in create_engine
2025-01-28 13:22:53 File "/galaxy_venv/lib/python3.10/site-packages/sqlalchemy/util/deprecations.py", line 281, in warned
2025-01-28 13:22:53 return fn(*args, **kwargs) # type: ignore[no-any-return]
2025-01-28 13:22:53 File "/galaxy_venv/lib/python3.10/site-packages/sqlalchemy/engine/create.py", line 599, in create_engine
2025-01-28 13:22:53 dbapi = dbapi_meth(**dbapi_args)
2025-01-28 13:22:53 File "/galaxy_venv/lib/python3.10/site-packages/sqlalchemy/dialects/postgresql/psycopg2.py", line 690, in import_dbapi
2025-01-28 13:22:53 import psycopg2
2025-01-28 13:22:53 ModuleNotFoundError: No module named 'psycopg2'
Metadata
Metadata
Assignees
Labels
No labels