litellm - 💡(How to fix) Fix [Bug]: Self-hosted installation fail due to schema.prisma

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

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

Code Example

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
RAW_BUFFERClick to expand / collapse

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: https://github.com/community-scripts/ProxmoxVE/issues/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

extent analysis

TL;DR

The issue is likely due to the Prisma schema not being found, and the prisma generate command is failing with an "Operation not permitted" error, so checking the Prisma schema location and permissions may resolve the issue.

Guidance

  • Verify that the Prisma schema file (schema.prisma) exists in the expected location and has the correct permissions.
  • Check the package.json file to ensure that the prisma.schema property is set to the correct path.
  • Run the prisma generate command with the --schema argument to specify the schema file location explicitly.
  • Review the installation script to ensure that the Prisma CLI is installed and configured correctly.

Example

No code example is provided as the issue seems to be related to configuration and permissions rather than code.

Notes

The issue may be related to the LiteLLM version (v1.83.7-stable) or the Prisma version being used. Checking the LiteLLM documentation and Prisma documentation for any known issues or configuration requirements may be helpful.

Recommendation

Apply workaround: Check the Prisma schema location and permissions, and run the prisma generate command with the --schema argument to specify the schema file location explicitly. This may resolve the issue without requiring an upgrade to a different version.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

litellm - 💡(How to fix) Fix [Bug]: Self-hosted installation fail due to schema.prisma