-
Notifications
You must be signed in to change notification settings - Fork 336
Open
Labels
bugSomething isn't workingSomething isn't workingtriageIssues / Features awaiting triageIssues / Features awaiting triage
Milestone
Description
🐞 Bug Summary
There was a change in the alembic execution to pass the -c
flag to the executable. This was done in the Makefile, but wasn't reflected as a part of Docker Compose. While running the Docker Compose setup locally, I ran into the issue and couldn't run the migration. The fix is easy by passing -c /app/mcpgateway/alembic.ini
in the Docker Compose file.
🧩 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
- Uncomment the
migration
service in thedocker-compose.yml
file. Also, uncomment the migration dependency in the gateway service. - Run
make docker-prod compose-up
- The migration job will fail with the error
FAILED: No 'script_location' key found in configuration.
🤔 Expected Behavior
The migration should run using alembic
📓 Logs / Error Output
FAILED: No 'script_location' key found in configuration.
🧠 Environment Info
You can retrieve most of this from the /version
endpoint.
Key | Value |
---|---|
Version or commit | v0.6.0 |
Runtime | Gunicorn |
Platform / OS | macOS |
Container | Docker |
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingtriageIssues / Features awaiting triageIssues / Features awaiting triage