Skip to content

fix mcp_table server_name error & remove arm64 platform from dockerfile - #11

Merged
mateo-di merged 7 commits into
mainfrom
feature/fix-mcp-sql-migration-issue
Sep 30, 2025
Merged

fix mcp_table server_name error & remove arm64 platform from dockerfile#11
mateo-di merged 7 commits into
mainfrom
feature/fix-mcp-sql-migration-issue

Conversation

@mateo-di

Copy link
Copy Markdown
Collaborator

Fix error message:

2025-09-26 07:45:20.636 ART
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
2025-09-26 07:45:20.636 ART
File "/usr/lib/python3.13/site-packages/prisma/engine/utils.py", line 200, in handle_response_errors
2025-09-26 07:45:20.636 ART
raise prisma_errors.DataError(data[0])
2025-09-26 07:45:21.651 ART
prisma.errors.DataError: The column `LiteLLM_MCPServerTable.server_name` does not exist in the current database.
2025-09-26 07:45:50.555 ART
INFO: 169.254.169.126:3925 - "GET /health/liveliness HTTP/1.1" 200 OK
2025-09-26 07:45:50.629 ART
�[92m10:45:50 - LiteLLM Proxy:ERROR�[0m: proxy_server.py:3011 - litellm.proxy.proxy_server.py::ProxyConfig:_init_mcp_servers_in_db - The column `LiteLLM_MCPServerTable.server_name` does not exist in the current database.
2025-09-26 07:45:50.629 ART
Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/litellm/proxy/proxy_server.py", line 3009, in _init_mcp_servers_in_db await global_mcp_server_manager._add_mcp_servers_from_db_to_in_memory_registry() File "/usr/lib/python3.13/site-packages/litellm/proxy/_experimental/mcp_server/mcp_server_manager.py", line 843, in _add_mcp_servers_from_db_to_in_memory_registry db_mcp_servers = await get_all_mcp_servers(prisma_client) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/litellm/proxy/_experimental/mcp_server/db.py", line 56, in get_all_mcp_servers mcp_servers = await prisma_client.db.litellm_mcpservertable.find_many() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/prisma/actions.py", line 8688, in find_many resp = await self._client._execute( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-09-26 07:45:50.629 ART
...<11 lines>...
2025-09-26 07:45:50.629 ART
)
2025-09-26 07:45:50.629 ART
^
2025-09-26 07:45:50.629 ART
File "/usr/lib/python3.13/site-packages/prisma/client.py", line 567, in _execute
2025-09-26 07:45:50.629 ART
return await self._engine.query(builder.build(), tx_id=self._tx_id)
2025-09-26 07:45:50.629 ART
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-09-26 07:45:50.629 ART
File "/usr/lib/python3.13/site-packages/prisma/engine/query.py", line 244, in query
2025-09-26 07:45:50.629 ART
return await self.request(
2025-09-26 07:45:50.629 ART
^^^^^^^^^^^^^^^^^^^
2025-09-26 07:45:50.629 ART
...<4 lines>...
2025-09-26 07:45:50.629 ART
)
2025-09-26 07:45:50.629 ART
^
2025-09-26 07:45:50.629 ART
File "/usr/lib/python3.13/site-packages/prisma/engine/http.py", line 141, in request
2025-09-26 07:45:50.629 ART
return utils.handle_response_errors(resp, errors_data)
2025-09-26 07:45:50.629 ART
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
2025-09-26 07:45:50.629 ART
File "/usr/lib/python3.13/site-packages/prisma/engine/utils.py", line 200, in handle_response_errors
2025-09-26 07:45:50.629 ART
raise prisma_errors.DataError(data[0])
2025-09-26 07:45:51.666 ART
prisma.errors.DataError: The column `LiteLLM_MCPServerTable.server_name` does not exist in the current database.
2025-09-26 07:46:20.559 ART
INFO: 169.254.169.126:47629 - "GET /health/liveliness HTTP/1.1" 200 OK
2025-09-26 07:46:20.631 ART
�[92m10:46:20 - LiteLLM Proxy:ERROR�[0m: proxy_server.py:3011 - litellm.proxy.proxy_server.py::ProxyConfig:_init_mcp_servers_in_db - The column `LiteLLM_MCPServerTable.server_name` does not exist in the current database.
2025-09-26 07:46:20.631 ART
Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/litellm/proxy/proxy_server.py", line 3009, in _init_mcp_servers_in_db await global_mcp_server_manager._add_mcp_servers_from_db_to_in_memory_registry() File "/usr/lib/python3.13/site-packages/litellm/proxy/_experimental/mcp_server/mcp_server_manager.py", line 843, in _add_mcp_servers_from_db_to_in_memory_registry db_mcp_servers = await get_all_mcp_servers(prisma_client) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/litellm/proxy/_experimental/mcp_server/db.py", line 56, in get_all_mcp_servers mcp_servers = await prisma_client.db.litellm_mcpservertable.find_many() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/prisma/actions.py", line 8688, in find_many resp = await self._client._execute( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-09-26 07:46:20.631 ART
...<11 lines>...

@mateo-di
mateo-di marked this pull request as ready for review September 29, 2025 19:18
@mateo-di mateo-di changed the title fix mcp_table server_name error fix mcp_table server_name error & remove arm64 platform from dockerfile Sep 30, 2025
@mateo-di
mateo-di merged commit 3532931 into main Sep 30, 2025
3 of 4 checks passed
mateo-di added a commit that referenced this pull request Feb 4, 2026
PRs #4, #5, #7, #11 were merged to 'main' before the carto/main
branch convention was established. The feature analyzer was only
querying carto/main, missing these early customizations.

Fix:
- Hardcode legacy PR numbers (4, 5, 7, 11) in the analyzer
- Merge legacy PRs with carto/main PRs before filtering
- Update resolver to rely on workflow_run trigger instead of
  manually triggering the analyzer

This ensures the analyzer reports on all CARTO customizations,
including the streaming ID consistency and Redis session fixes.
Cartofante pushed a commit that referenced this pull request Aug 17, 2026
…lease

ci: add fork GHCR publish workflow for Concourse releases
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant