mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 19:38:46 -05:00
[GH-ISSUE #10435] Manual install fails on v0.5.15 with "unsupported engine". Works on v0.5.14 #31421
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mattcaron on GitHub (Feb 20, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/10435
Bug Report
Installation Method
Manual install based on development instructions (and I swear there used to be docs on how to do this, but I can't find them anymore).
Environment
Open WebUI Version: v0.5.15
Ollama (if applicable): v0.5.11
Operating System: Ubuntu 24.04
Browser (if applicable): Firefox 135.0
Confirmation:
Expected Behavior:
Install succeeds without error.
Actual Behavior:
npm installfails with error:Description
Bug Summary:
Following the instructions here: https://docs.openwebui.com/getting-started/advanced-topics/development#-local-development-setup
And synthesizing them into a local production upgrade, e.g.:
(No need to create the venv, it exists already)
The first step fails with the above shown error.
Reproduction Details
Steps to Reproduce:
From soup to nuts:
Logs and Screenshots
Log:
2025-02-20T14_51_31_588Z-debug-0.log
Browser Console Logs:
N/A - not happening in browser.
Docker Container Logs:
N/A - Not using docker
Screenshots/Screen Recordings (if applicable):
N/A - see copy paste in "Actual behavior".
Additional Information
I fully realize this may be a PEBTAC problem, because the operator was fed non-updated development instructions. If there is some other command that should be run, docs likely need to be updated.
Oh, and because I expect it will rapidly become relevant:
@tjbck commented on GitHub (Feb 20, 2025):
Node 22 is required!
@mattcaron commented on GitHub (Feb 20, 2025):
Ah, thank you. So, not a regression. I can't say that I'm surprised by this answer, FWIW.
For anyone finding this, if you're lazy, you can do this to update Node.js on any debianish system:
If you don't trust random scripts from the internet, do this:
Add key
Create
/etc/apt/sources.list.d/nodesource.listas follows (changearchas necessary):Create
/etc/apt/preferences.d/nsolidas follows:Create
/etc/apt/preferences.d/nodejsas follows:Fix perms:
Install it:
Once this is done, v0.5.15 installs and runs using the process described in the bug report.
@hipatiaLavender commented on GitHub (Feb 27, 2025):
Thanks to @mattcaron, after reading your very useful comment I managed to get webui built again. Strange thing is the webui server now says it is version v0.5.16, (should have been v0.5.17) plus the client says v0.5.18 is now available - so I can do it all again tomorrow!
@merrime-n commented on GitHub (May 5, 2025):
I had Node v18. As soon as I read @tjbck 's reply I changed the Node version and it worked.
Here's what you need to do:
Then you can run
npm installwith no problems.