Openwebui update failed - dependencies #1513

Closed
opened 2025-11-20 05:11:35 -05:00 by saavagebueno · 7 comments
Owner

Originally created by @kiwipaulrob on GitHub (Jul 16, 2025).

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

Openwebui

📂 What was the exact command used to execute the script?

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

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

📝 Provide a clear and concise description of the issue.

Ran update but Openwebui did not start. Had to manually update some dependencies. Used Claude to get commands to force updates.

Sez Claude...

now running thank you. any idea why these dependencies were not working after i updated openwebui?

Yes, this is a common issue after updating OpenWebUI from source. Here's what likely happened:

When you updated OpenWebUI (probably with git pull), the requirements.txt file was updated with new dependencies like pycrdt and ddgs, but the install script you showed earlier only ran pip3 install -r requirements.txt during the initial installation.
After updating the code, you need to reinstall/update the Python dependencies to match the new requirements. The proper way to handle this after an update would be:

bashcd /opt/open-webui/backend
pip3 install -r requirements.txt -U --break-system-packages

This would have caught both missing dependencies at once. For future updates, always run this command after pulling new code to ensure all dependencies are current.

The --break-system-packages flag is needed because you're in a Debian-based container that uses externally managed Python environments.

🔄 Steps to reproduce the issue.

Installed missing dependencies

pip3 install ddgs --break-system-packages

pip3 install pycrdt --break-system-packages

Paste the full error output (if available).

ModuleNotFoundError: No module named 'pycrdt'

ModuleNotFoundError: No module named 'ddgs'

🖼️ Additional context (optional).

Working now. Looks like install / update script needs updating.

Thanks.

Originally created by @kiwipaulrob on GitHub (Jul 16, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Openwebui ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/openwebui.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 📝 Provide a clear and concise description of the issue. Ran update but Openwebui did not start. Had to manually update some dependencies. Used Claude to get commands to force updates. Sez Claude... ``` now running thank you. any idea why these dependencies were not working after i updated openwebui? Yes, this is a common issue after updating OpenWebUI from source. Here's what likely happened: When you updated OpenWebUI (probably with git pull), the requirements.txt file was updated with new dependencies like pycrdt and ddgs, but the install script you showed earlier only ran pip3 install -r requirements.txt during the initial installation. After updating the code, you need to reinstall/update the Python dependencies to match the new requirements. The proper way to handle this after an update would be: bashcd /opt/open-webui/backend pip3 install -r requirements.txt -U --break-system-packages This would have caught both missing dependencies at once. For future updates, always run this command after pulling new code to ensure all dependencies are current. The --break-system-packages flag is needed because you're in a Debian-based container that uses externally managed Python environments. ``` ### 🔄 Steps to reproduce the issue. Installed missing dependencies pip3 install ddgs --break-system-packages pip3 install pycrdt --break-system-packages ### ❌ Paste the full error output (if available). ModuleNotFoundError: No module named 'pycrdt' ModuleNotFoundError: No module named 'ddgs' ### 🖼️ Additional context (optional). Working now. Looks like install / update script needs updating. Thanks.
saavagebueno added the bug label 2025-11-20 05:11:35 -05:00
Author
Owner

@panzer-arc commented on GitHub (Jul 19, 2025):

The latest updates broke the update script. Creating a fresh instance doesn't work either.

[ERROR] in line 159: exit code 0: while executing command "$@" > /dev/null 2>&1

[ERROR] in line 1236: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/install/"var_install".sh)" ?

@panzer-arc commented on GitHub (Jul 19, 2025): The latest updates broke the update script. Creating a fresh instance doesn't work either. [ERROR] in line 159: exit code 0: while executing command "$@" > /dev/null 2>&1 [ERROR] in line 1236: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/install/"$var_install".sh)" $?
Author
Owner

@MickLesk commented on GitHub (Jul 19, 2025):

Verbose?

@MickLesk commented on GitHub (Jul 19, 2025): Verbose?
Author
Owner

@panzer-arc commented on GitHub (Jul 19, 2025):

Verbose logs:

owuilog.txt

@panzer-arc commented on GitHub (Jul 19, 2025): Verbose logs: [owuilog.txt](https://github.com/user-attachments/files/21332677/owuilog.txt)
Author
Owner

@scottet commented on GitHub (Jul 19, 2025):

I am having the same problem using this install script. I get the same NPM error message in my logs as well.

@scottet commented on GitHub (Jul 19, 2025): I am having the same problem using this install script. I get the same NPM error message in my logs as well.
Author
Owner

@PinkWaters00 commented on GitHub (Jul 20, 2025):

Getting same error updating:

` Updating Open WebUI (Patience)No local changes to save
HEAD is now at 5eca495d3 refac: readme
remote: Enumerating objects: 3441, done.
remote: Counting objects: 100% (1477/1477), done.
remote: Compressing objects: 100% (105/105), done.
remote: Total 3441 (delta 1409), reused 1372 (delta 1372), pack-reused 1964 (from 2)
Receiving objects: 100% (3441/3441), 7.45 MiB | 20.19 MiB/s, done.
Resolving deltas: 100% (2275/2275), completed with 206 local objects.
From https://github.com/open-webui/open-webui
5eca495d3..5fbfe2bdc main -> origin/main
a4885ac54..6e0328798 dev -> origin/dev

  • [new tag] v0.6.18 -> v0.6.18
  • [new tag] v0.6.16 -> v0.6.16
  • [new tag] v0.6.17 -> v0.6.17
    npm error code ERESOLVE
    npm error ERESOLVE could not resolve
    npm error
    npm error While resolving: @tiptap/extension-bubble-menu@2.26.1
    npm error Found: @tiptap/core@3.0.7
    npm error node_modules/@tiptap/core
    npm error @tiptap/core@"^3.0.7" from the root project
    npm error peer @tiptap/core@"^3.0.7" from @tiptap/extension-blockquote@3.0.7
    npm error node_modules/@tiptap/extension-blockquote
    npm error @tiptap/extension-blockquote@"^3.0.7" from @tiptap/starter-kit@3.0.7
    npm error node_modules/@tiptap/starter-kit
    npm error @tiptap/starter-kit@"^3.0.7" from the root project
    npm error 27 more (@tiptap/extension-bold, @tiptap/extension-code, ...)
    npm error
    npm error Could not resolve dependency:
    npm error peer @tiptap/core@"^2.7.0" from @tiptap/extension-bubble-menu@2.26.1
    npm error node_modules/@tiptap/extension-bubble-menu
    npm error @tiptap/extension-bubble-menu@"^2.26.1" from the root project
    npm error
    npm error Conflicting peer dependency: @tiptap/core@2.26.1
    npm error node_modules/@tiptap/core
    npm error peer @tiptap/core@"^2.7.0" from @tiptap/extension-bubble-menu@2.26.1
    npm error node_modules/@tiptap/extension-bubble-menu
    npm error @tiptap/extension-bubble-menu@"^2.26.1" from the root project
    npm error
    npm error Fix the upstream dependency conflict, or retry
    npm error this command with --force or --legacy-peer-deps
    npm error to accept an incorrect (and potentially broken) dependency resolution.
    npm error
    npm error
    npm error For a full report see:
    npm error /root/.npm/_logs/2025-07-20T04_39_10_064Z-eresolve-report.txt
    npm notice
    npm notice New major version of npm available! 10.9.2 -> 11.4.2
    npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.4.2
    npm notice To update run: npm install -g npm@11.4.2
    npm notice
    npm error A complete log of this run can be found in: /root/.npm/_logs/2025-07-20T04_39_10_064Z-debug-0.log

[ERROR] in line 60: exit code 0: while executing command $STD npm install`

@PinkWaters00 commented on GitHub (Jul 20, 2025): Getting same error updating: `⏳ Updating Open WebUI (Patience)No local changes to save HEAD is now at 5eca495d3 refac: readme remote: Enumerating objects: 3441, done. remote: Counting objects: 100% (1477/1477), done. remote: Compressing objects: 100% (105/105), done. remote: Total 3441 (delta 1409), reused 1372 (delta 1372), pack-reused 1964 (from 2) Receiving objects: 100% (3441/3441), 7.45 MiB | 20.19 MiB/s, done. Resolving deltas: 100% (2275/2275), completed with 206 local objects. From https://github.com/open-webui/open-webui 5eca495d3..5fbfe2bdc main -> origin/main a4885ac54..6e0328798 dev -> origin/dev * [new tag] v0.6.18 -> v0.6.18 * [new tag] v0.6.16 -> v0.6.16 * [new tag] v0.6.17 -> v0.6.17 npm error code ERESOLVE npm error ERESOLVE could not resolve npm error npm error While resolving: @tiptap/extension-bubble-menu@2.26.1 npm error Found: @tiptap/core@3.0.7 npm error node_modules/@tiptap/core npm error @tiptap/core@"^3.0.7" from the root project npm error peer @tiptap/core@"^3.0.7" from @tiptap/extension-blockquote@3.0.7 npm error node_modules/@tiptap/extension-blockquote npm error @tiptap/extension-blockquote@"^3.0.7" from @tiptap/starter-kit@3.0.7 npm error node_modules/@tiptap/starter-kit npm error @tiptap/starter-kit@"^3.0.7" from the root project npm error 27 more (@tiptap/extension-bold, @tiptap/extension-code, ...) npm error npm error Could not resolve dependency: npm error peer @tiptap/core@"^2.7.0" from @tiptap/extension-bubble-menu@2.26.1 npm error node_modules/@tiptap/extension-bubble-menu npm error @tiptap/extension-bubble-menu@"^2.26.1" from the root project npm error npm error Conflicting peer dependency: @tiptap/core@2.26.1 npm error node_modules/@tiptap/core npm error peer @tiptap/core@"^2.7.0" from @tiptap/extension-bubble-menu@2.26.1 npm error node_modules/@tiptap/extension-bubble-menu npm error @tiptap/extension-bubble-menu@"^2.26.1" from the root project npm error npm error Fix the upstream dependency conflict, or retry npm error this command with --force or --legacy-peer-deps npm error to accept an incorrect (and potentially broken) dependency resolution. npm error npm error npm error For a full report see: npm error /root/.npm/_logs/2025-07-20T04_39_10_064Z-eresolve-report.txt npm notice npm notice New major version of npm available! 10.9.2 -> 11.4.2 npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.4.2 npm notice To update run: npm install -g npm@11.4.2 npm notice npm error A complete log of this run can be found in: /root/.npm/_logs/2025-07-20T04_39_10_064Z-debug-0.log [ERROR] in line 60: exit code 0: while executing command $STD npm install`
Author
Owner

@MickLesk commented on GitHub (Jul 20, 2025):

Open an issue at openwebui Repo please, there deps are broken

@MickLesk commented on GitHub (Jul 20, 2025): Open an issue at openwebui Repo please, there deps are broken
Author
Owner

@PinkWaters00 commented on GitHub (Jul 20, 2025):

looks like per their changelog "npm install --force" is required for the time being
https://github.com/open-webui/open-webui/releases/tag/v0.6.17

👀 Tiptap Editor Upgraded to v3: The underlying rich text editor has been updated for future-proofing, though some supporting libraries remain on v2 for compatibility. For now, please install dependencies using 'npm install --force' to avoid installation errors.

@PinkWaters00 commented on GitHub (Jul 20, 2025): looks like per their changelog "npm install --force" is required for the time being https://github.com/open-webui/open-webui/releases/tag/v0.6.17 > 👀 Tiptap Editor Upgraded to v3: The underlying rich text editor has been updated for future-proofing, though some supporting libraries remain on v2 for compatibility. For now, please install dependencies using 'npm install --force' to avoid installation errors.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#1513