mirror of
https://github.com/open-webui/open-webui.git
synced 2026-06-01 14:29:26 -05:00
Error installing manually on linux behind a company proxy #1144
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 @ntrouve-onera on GitHub (Jun 5, 2024).
Bug Report
Description
I struggle to go through the 'npm run build' part of the manual installation process because micropip from pyodide fail to download the necessary packages.
I'm behind a proxy that is properly set up through bashrc and export through my terminal.
All other internet accessing/downloading operations worked (pip, git, npm i).
Here is a cropped error message (the middle of the error message is unreadable).
`" open-webui@0.2.4 build
Setting up pyodide + micropip
Loading micropip, packaging
Loaded micropip, packaging
Downloading Pyodide packages: [
'requests',
'beautifulsoup4',
'numpy',
'pandas',
'matplotlib',
'scikit-learn',
'scipy',
'regex',
'seaborn'
]
/home/ntrouve/install/open-webui/node_modules/pyodide/pyodide.asm.js:9
[..... cropping here because there are 8 pages of unreadable content]
PythonError: Traceback (most recent call last):
File "/lib/python3.12/site-packages/micropip/_commands/install.py", line 142, in install
await transaction.gather_requirements(requirements)
File "/lib/python3.12/site-packages/micropip/transaction.py", line 55, in gather_requirements
await asyncio.gather(*requirement_promises)
File "/lib/python3.12/site-packages/micropip/transaction.py", line 62, in add_requirement
return await self.add_requirement_inner(Requirement(req))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lib/python3.12/site-packages/micropip/transaction.py", line 151, in add_requirement_inner
await self._add_requirement_from_package_index(req)
File "/lib/python3.12/site-packages/micropip/transaction.py", line 186, in _add_requirement_from_package_index
metadata = await package_index.query_package(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lib/python3.12/site-packages/micropip/package_index.py", line 286, in query_package
raise ValueError(
ValueError: Can't fetch metadata for 'seaborn'. Please make sure you have entered a correct package name and correctly specified index_urls (if you changed them).
type: 'ValueError',
__error_address: 22142800
}
Node.js v18.19.1`
Steps to Reproduce:
Run manual installation process up to "npm run build" instruction.
Expected Behavior:
Pyodide install its necessary packages and frontend is built
Actual Behavior:
Pyodide fail to install the packages
Environment
Open WebUI Version: v0.2.4
Ollama (if applicable): v0.1.41
**Operating System:**Ubuntu 20.04
Browser (if applicable): Not there yet
Reproduction Details
Confirmation:
Logs and Screenshots
Installation Method
Manual installation
Additional Information
I'm behind a company proxy, ollama works fine in a terminal