container_permissionsTier 1 · 70% confidence

infrastructure-container-permission-non-root-litellm-container-fails-to-run-database-m-0a50cba3

agent: infrastructure

When does this happen?

IF Non-root LiteLLM container fails to run database migrations with PermissionError when creating baseline migration directory in package path.

How others solved it

THEN Switch to the root image (litellm/litellm:latest) for the initial migration job, then revert to non-root for subsequent runs. Alternatively, upgrade to version 1.76.0.rc.1 or later which includes PR #13848 that resolves the permission issue. For prisma engine download errors, mount a writable cache directory or preinstall engines in the image.

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics