-
Notifications
You must be signed in to change notification settings - Fork 414
Open
Labels
bugSomething isn't workingSomething isn't workingtriageIssues / Features awaiting triageIssues / Features awaiting triage
Description
π Bug Summary
In docker env , when start app , and get error
π§© Affected Component
Select the area of the project impacted:
-
mcpgateway- API -
mcpgateway- UI (admin panel) -
mcpgateway.wrapper- stdio wrapper - Federation or Transports
- CLI, Makefiles, or shell scripts
- Container setup (Docker/Podman/Compose)
- Other (explain below)
π Steps to Reproduce
14:03:06 - mcpgateway.config - WARNING - π SECURITY WARNING - auth_encryption_secret: Secret has low entropy. Consider using a more random value.
Failed to read config file: gunicorn.config.py
Traceback (most recent call last):
File "/app/.venv/lib64/python3.12/site-packages/gunicorn/app/base.py", line 110, in get_config_from_filename
spec.loader.exec_module(mod)
File "<frozen importlib._bootstrap_external>", line 999, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/app/gunicorn.config.py", line 19, in <module>
from mcpgateway.config import settings
File "/app/mcpgateway/__init__.py", line 19, in <module>
from mcpgateway import reverse_proxy, wrapper, translate
File "/app/mcpgateway/reverse_proxy.py", line 67, in <module>
from mcpgateway.services.logging_service import LoggingService
File "/app/mcpgateway/services/__init__.py", line 15, in <module>
from mcpgateway.services.gateway_service import GatewayError, GatewayService
File "/app/mcpgateway/services/gateway_service.py", line 74, in <module>
from mcpgateway.db import EmailTeam
File "/app/mcpgateway/db.py", line 115, in <module>
engine = create_engine(
^^^^^^^^^^^^^^
File "<string>", line 2, in create_engine
File "/app/.venv/lib64/python3.12/site-packages/sqlalchemy/util/deprecations.py", line 281, in warned
return fn(*args, **kwargs) # type: ignore[no-any-return]
^^^^^^^^^^^^^^^^^^^
File "/app/.venv/lib64/python3.12/site-packages/sqlalchemy/engine/create.py", line 617, in create_engine
dbapi = dbapi_meth(**dbapi_args)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/.venv/lib64/python3.12/site-packages/sqlalchemy/dialects/mysql/mariadbconnector.py", line 180, in import_dbapi
return __import__("mariadb")
^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'mariadb'
π€ Expected Behavior
What should have happened instead?
π Logs / Error Output
Paste any relevant stack traces or logs here.
π§ Environment Info
You can retrieve most of this from the /version endpoint.
| Key | Value |
|---|---|
| Version or commit | e.g. v0.9.0 or main@a1b2c3d |
| Runtime | e.g. Python 3.11, Gunicorn |
| Platform / OS | e.g. Ubuntu 22.04 |
| Container | e.g. Docker |
π§© Additional Context (optional)
Add any configuration details, flags, or related issues.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingtriageIssues / Features awaiting triageIssues / Features awaiting triage