-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
What happened?
LiteLLM constantly reports missing tables (liteLLM_Config, LiteLLM_VerificationToken and others.
Tests show the Prisma client can connect ot the right db, and schema and read all tables correctly.
This could be a mismatch between Primsa client version, or other issues, but it's not clear why the tables are not found.
Relevant log output
Alert type: db_exceptions
Level: High
Timestamp: 15:26:26
Message: DB read/write call failed: The table public.LiteLLM_Config does not exist in the current database.LiteLLM Prisma Client Exception get_generic_data: The table public.LiteLLM_Config does not exist in the current database.
Exception Type: <class 'prisma.errors.TableNotFoundError'>
Traceback (most recent call last):
File "/usr/lib/python3.13/site-packages/litellm/proxy/utils.py", line 1888, in get_generic_data
response = await self.db.litellm_config.find_first( # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
where={key: value} # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/lib/python3.13/site-packages/prisma/actions.py", line 12837, in find_first
resp = await self._client._execute(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<10 lines>...
)
^
File "/usr/lib/python3.13/site-packages/prisma/client.py", line 579, in _execute
return await self._engine.query(builder.build(), tx_id=self._tx_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lAre you a ML Ops Team?
No
What LiteLLM version are you on ?
ghcr.io/berriai/litellm:v1.79.3-stable.gemini3
Twitter / LinkedIn details
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working