Skip to content

[Bug]: Self-hosted installation fail due to schema.prisma #26097

@Sly777

Description

@Sly777

Check for existing issues

  • I have searched the existing issues and checked that my issue is not a duplicate.

What happened?

While trying to do a basic install of LiteLLM the script fails due to the command prisma generate not being permitted.

You can also check all details on this issue in different repo:
community-scripts/ProxmoxVE#13854

Steps to Reproduce

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/litellm.sh)"

Relevant log output

Installing Prisma CLI
{'x86': False, 'risc': False, 'lts': False}

Install prebuilt node (25.9.0) ../opt/litellm/.venv/lib/python3.13/site-packages/nodeenv.py:639: DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata. Use the filter argument to control this behavior.
archive.extractall(src_dir, extract_list)
... done.
Error: Could not find Prisma Schema that is required for this command.
You can either provide it with --schema argument, set it as prisma.schema in your package.json or put it into the default location.
Checked following paths:
schema.prisma: file not found
prisma/schema.prisma: file not found
prisma/schema: directory not found

See also https://pris.ly/d/prisma-schema-location
✖️ in line 33: exit code 1 (General error / Operation not permitted): while executing command /opt/litellm/.venv/bin/prisma generate

--- Last 20 lines of log ---
[2026-04-19 20:50:15] [OK] Network Connected: 192.168.1.183 fd98:e208:9bbd:0:be24:11ff:feb3:97b2
[2026-04-19 20:50:17] [OK] IPv4 Internet Connected
[2026-04-19 20:50:17] [ERROR] IPv6 Internet Not Connected
[2026-04-19 20:50:17] [OK] Git DNS: github.com:(✔️ ) raw.githubusercontent.com:(✔️ ) api.github.com:(✔️ ) git.community-scripts.org:(✔️ )
[2026-04-19 20:50:17] [INFO] Updating Container OS
[2026-04-19 20:50:33] [OK] Updated Container OS
[2026-04-19 20:50:33] [INFO] Installing Dependencies
[2026-04-19 20:50:45] [OK] Installed Dependencies
[2026-04-19 20:50:45] [INFO] Setup PostgreSQL 17
[2026-04-19 20:51:01] [OK] Setup PostgreSQL 17
[2026-04-19 20:51:01] [INFO] Setting up PostgreSQL Database
[2026-04-19 20:51:02] [OK] Set up PostgreSQL Database
[2026-04-19 20:51:04] [INFO] Setup uv 0.11.7
[2026-04-19 20:51:06] [INFO] Installing uvx wrapper
[2026-04-19 20:51:06] [OK] uvx wrapper installed
[2026-04-19 20:51:06] [INFO] Installing Python 3.13 via uv
[2026-04-19 20:51:07] [OK] Python 3.13 installed
[2026-04-19 20:51:07] [OK] Setup uv 0.11.7
[2026-04-19 20:51:07] [INFO] Setting up Virtual Environment
[2026-04-19 20:51:51] [ERROR] in line 33: exit code 1 (General error / Operation not permitted): while executing command /opt/litellm/.venv/bin/prisma generate

✖️ Installation failed in container 150 (exit code: 1)
📋 Installation log: /tmp/litellm-150-df400b36.log

Error: General error / Operation not permitted

What part of LiteLLM is this about?

SDK (litellm Python package)

What LiteLLM version are you on ?

v1.83.7-stable

Twitter / LinkedIn details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    SDKbugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions