-
-
Notifications
You must be signed in to change notification settings - Fork 4k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
What happened?
Non root image keeps on raising this error when starting up or applying DB Migrations. I've found that this error is just a warning from prisma as it looks like the pod starts up, connects to the DB and serves requests
Relevant log output
2025-08-26 17:40:14,850 - litellm_proxy_extras - INFO - Running prisma migrate deploy
2025-08-26 17:40:17,928 - litellm_proxy_extras - INFO - prisma migrate deploy stdout: Prisma schema loaded from schema.prisma
Datasource "client": PostgreSQL database "litellm", schema "public" at "litellm-elelem.civhtgrwvpzc.us-east-1.rds.amazonaws.com"
31 migrations found in prisma/migrations
No pending migrations to apply.
2025-08-26 17:40:17,928 - litellm_proxy_extras - INFO - prisma migrate deploy completed
17:40:23 - LiteLLM Proxy:ERROR: prisma_migration.py:26 - 'prisma generate' stderr: Error:
Traceback (most recent call last):
LiteLLM: Setup complete. Skipping server startup as requested.
File "/usr/local/lib/python3.13/site-packages/prisma/generator/generator.py", line 112, in run
self._on_request(request)
~~~~~~~~~~~~~~~~^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/prisma/generator/generator.py", line 170, in _on_request
self.generate(data)
~~~~~~~~~~~~~^^^^^^
File "/usr/local/lib/python3.13/site-packages/prisma/generator/generator.py", line 255, in generate
shutil.copy(data.schema_path, packaged_schema)
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/shutil.py", line 428, in copy
copyfile(src, dst, follow_symlinks=follow_symlinks)
~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/shutil.py", line 262, in copyfile
with open(dst, 'wb') as fdst:
~~~~^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: '/usr/local/lib/python3.13/site-packages/prisma/schema.prisma'
Are you a ML Ops Team?
No
What LiteLLM version are you on ?
v1.75.0
Twitter / LinkedIn details
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working