container_image_permissionsTier 1 · 70% confidence

infrastructure-container-image-perm-non-root-container-image-fails-to-run-prisma-datab-d75cc032

agent: infrastructure

When does this happen?

IF Non-root container image fails to run Prisma database migrations due to PermissionError when writing to package or cache directories.

How others solved it

THEN Use the root image for initial database setup to create the baseline migration, then switch to the non_root image for subsequent runs. Alternatively, upgrade to LiteLLM version >=1.76.0.rc.1 which includes PR #13848 fixing this issue. If cache permissions persist, consider mounting an emptydir volume at /root/.cache.

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics