Package Details: open-webui 0.9.6-1

Git Clone URL: https://aur.archlinux.org/open-webui.git (read-only, click to copy)
Package Base: open-webui
Description: Web UI and OpenAI API for various LLM runners, including Ollama
Upstream URL: https://github.com/open-webui/open-webui
Licenses: BSD-3-Clause
Conflicts: open-webui-dinit, open-webui-git, open-webui-no-venv, open-webui-openrc, open-webui-uv
Submitter: mistersmee
Maintainer: JulianXhokaxhiu
Last Packager: JulianXhokaxhiu
Votes: 28
Popularity: 0.65
First Submitted: 2024-10-09 08:08 (UTC)
Last Updated: 2026-06-06 15:28 (UTC)

Pinned Comments

JulianXhokaxhiu commented on 2026-06-06 15:33 (UTC)

New package version released: 0.9.6-1

Changes:

  • Reworked the packaging, now it uses uv to install open-webui. Additionally ollama will be required as it will be included in the default config. tika-server is still an optional dependency as it can be configured later in the WebUI.

PLEASE NOTE: If you're upgrading this package you MUST move your /var/opt/open-webui/data into /var/lib/open-webui path, or you will risk losing your previous configuration.

Enjoy!

JulianXhokaxhiu commented on 2026-06-04 22:47 (UTC) (edited on 2026-06-04 22:49 (UTC) by JulianXhokaxhiu)

Hello all, unfortunately the previous maintainer seems to have been inactive for the past months, so I adopted this one. I will try to update it as soon as possible, keeping the same identical dependencies.

If in the meantime you are looking for open-webui standalone, I made a new package that uses uv to install it: https://aur.archlinux.org/packages/open-webui-uv

This package will likely go the same direction, plus ollama and tika-server as dependencies wired together. I'll let you know when it will be ready.

Thanks all

Latest Comments

1 2 3 4 5 6 .. 11 Next › Last »

JulianXhokaxhiu commented on 2026-06-06 15:33 (UTC)

New package version released: 0.9.6-1

Changes:

  • Reworked the packaging, now it uses uv to install open-webui. Additionally ollama will be required as it will be included in the default config. tika-server is still an optional dependency as it can be configured later in the WebUI.

PLEASE NOTE: If you're upgrading this package you MUST move your /var/opt/open-webui/data into /var/lib/open-webui path, or you will risk losing your previous configuration.

Enjoy!

JulianXhokaxhiu commented on 2026-06-04 22:47 (UTC) (edited on 2026-06-04 22:49 (UTC) by JulianXhokaxhiu)

Hello all, unfortunately the previous maintainer seems to have been inactive for the past months, so I adopted this one. I will try to update it as soon as possible, keeping the same identical dependencies.

If in the meantime you are looking for open-webui standalone, I made a new package that uses uv to install it: https://aur.archlinux.org/packages/open-webui-uv

This package will likely go the same direction, plus ollama and tika-server as dependencies wired together. I'll let you know when it will be ready.

Thanks all

donko3005 commented on 2026-05-10 15:52 (UTC)

What happened with the mantainer?

Iiridayn commented on 2026-04-24 23:36 (UTC) (edited on 2026-05-21 21:30 (UTC) by Iiridayn)

Updates too often, outdated, frustrated, switched to podman:

  1. sudo cp -R /var/opt/open-webui/ ~/var/open-webui
  2. sudo chown -R user: ~/var/open-webui
  3. cat /etc/open-webui.conf > ~/var/open-webui/env.conf
  4. Modify ~/var/open-webui/env.conf to remove all "
  5. Add in custom PORT= line if have one (as I did) in systemd override file
  6. I also added RAG_EMBEDDING_ENGINE=ollama and RAG_EMBEDDING_MODEL= (a model name), so it wouldn't download from Hugging Face on every container start; fine since I'm running local ollama anyway
  7. podman run --rm --name openwebui --env-file ~/var/open-webui/env.conf --network=host -v ~/var/open-webui/data:/app/backend/data ghcr.io/open-webui/open-webui:main
  8. sqlite3 ~/var/open-webui/data/webui.db "UPDATE file SET path = REPLACE(path, '/var/opt/open-webui/data/uploads/', '/app/backend/data/uploads/');" so embedded images still work.

That's probably all the essential steps I did; no longer a system service and systemd isn't my strong point so it won't be, but I'm willing to put up with that. I'll give it a bit before I wipe /var/opt/open-webui/.

Edit: Updated line 7. Removed -d and logs -f, replaced with --rm; nearly systemd ready with that. To update: podman pull ghcr.io/open-webui/open-webui:main, then restart the container (line 7). In parallel, clean up the former base image. Can clean it up with podman image prune if happy to clean up all unused base images, or podman images followed by podman rmi <the image id>. Also added an overlooked var/ for the data directory.

Iiridayn commented on 2026-04-13 10:57 (UTC) (edited on 2026-04-13 11:05 (UTC) by Iiridayn)

makepkg -s had me install nodejs-lts, then reported eventually:

npm error notsup Required: {"node":">=18.13.0 <=22.x.x","npm":">=6.0.0"} npm error notsup Actual: {"node":"v24.14.1","npm":"11.12.1"}

Seems like LTS doesn't go far enough into the past for their version requirements. It appears not safe to change line 158 of src/open-webui/package.json to support a more recent nodejs - i18next-parser requires an older nodejs (22), is deprecated, and though there is an autoupgrade (https://github.com/i18next/i18next-parser) to i18next-cli, it appears to require having i18next-parser installed already.

I tried removing those (

    sed -i '158s/ <=22.x.x//' package.json
    sed -i '/i18next-parser/d' package.json

) in PKGBUILD prepare(), but then the vite build process returned an error:

[vite]: Rollup failed to resolve import "@internationalized/date" from "<builddir>/open-webui/src/open-webui/node_modules/bits-ui/dist/internal/date-time/utils.js".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
`build.rollupOptions.external`

Based on the import name, that would appear to imply i18next-parser is required, so node has to be at newest 22.

Updating PKGBUILD to use nodejs-lts-jod (node 22) stops at the same error, implying removing i18next-parser didn't help and there might be an error in upstream.

Edit: the jimreynold2nd comment on 2026-03-31 worked to build it

vini.nu commented on 2026-04-12 03:10 (UTC) (edited on 2026-04-12 03:12 (UTC) by vini.nu)

==> Starting build()...
Requirement already satisfied: pip in ./.venv/lib/python3.14/site-packages (25.3)
Collecting pip
  Using cached pip-26.0.1-py3-none-any.whl.metadata (4.7 kB)
Collecting setuptools
  Using cached setuptools-82.0.1-py3-none-any.whl.metadata (6.5 kB)
Collecting wheel
  Using cached wheel-0.46.3-py3-none-any.whl.metadata (2.4 kB)
Collecting packaging>=24.0 (from wheel)
  Using cached packaging-26.0-py3-none-any.whl.metadata (3.3 kB)
Using cached pip-26.0.1-py3-none-any.whl (1.8 MB)
Using cached setuptools-82.0.1-py3-none-any.whl (1.0 MB)
Using cached wheel-0.46.3-py3-none-any.whl (30 kB)
Using cached packaging-26.0-py3-none-any.whl (74 kB)
Installing collected packages: setuptools, pip, packaging, wheel
  Attempting uninstall: pip
    Found existing installation: pip 25.3
    Uninstalling pip-25.3:
      Successfully uninstalled pip-25.3

Successfully installed packaging-26.0 pip-26.0.1 setuptools-82.0.1 wheel-0.46.3
npm error code EBADENGINE
npm error engine Unsupported engine
npm error engine Not compatible with your version of node/npm: open-webui@0.8.12
npm error notsup Not compatible with your version of node/npm: open-webui@0.8.12
npm error notsup Required: {"node":">=18.13.0 <=22.x.x","npm":">=6.0.0"}
npm error notsup Actual:   {"node":"v24.14.0","npm":"11.11.1"}
npm error A complete log of this run can be found in: /home/v/.npm/_logs/2026-04-12T03_08_27_969Z-debug-0.log
==> ERROR: A failure occurred in build().
    Aborting...
cat /home/v/.npm/_logs/2026-04-12T03_08_27_969Z-debug-0.log                                                      ✔ 
0 verbose cli /usr/bin/node /usr/bin/npm
1 info using npm@11.11.1
2 info using node@v24.14.0
3 silly config load:file:/usr/lib/node_modules/npm/npmrc
4 silly config load:file:/var/tmp/pamac-build-v/open-webui/src/open-webui/.npmrc
5 silly config load:file:/home/v/.npmrc
6 silly config load:file:/etc/npmrc
7 verbose title npm install
8 verbose argv "install" "--legacy-peer-deps"
9 verbose logfile logs-max:10 dir:/home/v/.npm/_logs/2026-04-12T03_08_27_969Z-
10 verbose logfile /home/v/.npm/_logs/2026-04-12T03_08_27_969Z-debug-0.log
11 silly logfile done cleaning log files
12 silly packumentCache heap:4496293888 maxSize:1124073472 maxEntrySize:562036736
13 silly idealTree buildDeps
14 verbose stack Error: Unsupported engine
14 verbose stack     at checkEngine (/usr/lib/node_modules/npm/node_modules/npm-install-checks/lib/index.js:16:25)
14 verbose stack     at #checkEngineAndPlatform (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:191:13)
14 verbose stack     at Arborist.buildIdealTree (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:173:41)
14 verbose stack     at async Promise.all (index 1)
14 verbose stack     at async Arborist.reify (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:111:5)
14 verbose stack     at async Install.exec (/usr/lib/node_modules/npm/lib/commands/install.js:146:5)
14 verbose stack     at async Npm.exec (/usr/lib/node_modules/npm/lib/npm.js:193:9)
14 verbose stack     at async module.exports (/usr/lib/node_modules/npm/lib/cli/entry.js:67:5)
15 verbose pkgid open-webui@0.8.12
16 error code EBADENGINE
17 error engine Unsupported engine
18 error engine Not compatible with your version of node/npm: open-webui@0.8.12
19 error notsup Not compatible with your version of node/npm: open-webui@0.8.12
19 error notsup Required: {"node":">=18.13.0 <=22.x.x","npm":">=6.0.0"}
19 error notsup Actual:   {"node":"v24.14.0","npm":"11.11.1"}
20 silly unfinished npm timer reify 1775963308109
21 silly unfinished npm timer reify:loadTrees 1775963308111
22 verbose cwd /var/tmp/pamac-build-v/open-webui/src/open-webui
23 verbose os Linux 6.18.18-1-MANJARO
24 verbose node v24.14.0
25 verbose npm  v11.11.1
26 verbose exit 1
27 verbose code 1
28 error A complete log of this run can be found in: /home/v/.npm/_logs/2026-04-12T03_08_27_969Z-debug-0.log

gwuensch commented on 2026-04-01 16:14 (UTC)

This needs to depend on 'nodejs>=18.13.0' 'nodejs<23.0.0', as nodejs-lts-kyrpton is too new:

npm error code EBADENGINE
npm error engine Unsupported engine
npm error engine Not compatible with your version of node/npm: open-webui@0.8.12
npm error notsup Not compatible with your version of node/npm: open-webui@0.8.12
npm error notsup Required: {"node":">=18.13.0 <=22.x.x","npm":">=6.0.0"}
npm error notsup Actual:   {"node":"v24.14.1","npm":"11.12.1"}

Also, this package currently does not build in a clean chroot:

error during build:
[vite]: Rollup failed to resolve import "@internationalized/date" from "/build/open-webui/src/open-webui/node_modules/bits-ui/dist/internal/date-time/utils.js".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
`build.rollupOptions.external`
    at viteWarn (file:///build/open-webui/src/open-webui/node_modules/vite/dist/node/chunks/dep-BK3b2jBa.js:65855:17)
    at onwarn (file:///build/open-webui/src/open-webui/node_modules/@sveltejs/kit/src/exports/vite/index.js:951:9)
    at onRollupWarning (file:///build/open-webui/src/open-webui/node_modules/vite/dist/node/chunks/dep-BK3b2jBa.js:65885:5)
    at onwarn (file:///build/open-webui/src/open-webui/node_modules/vite/dist/node/chunks/dep-BK3b2jBa.js:65550:7)
    at file:///build/open-webui/src/open-webui/node_modules/rollup/dist/es/shared/node-entry.js:20995:13
    at Object.logger [as onLog] (file:///build/open-webui/src/open-webui/node_modules/rollup/dist/es/shared/node-entry.js:22968:9)
    at ModuleLoader.handleInvalidResolvedId (file:///build/open-webui/src/open-webui/node_modules/rollup/dist/es/shared/node-entry.js:21712:26)
    at file:///build/open-webui/src/open-webui/node_modules/rollup/dist/es/shared/node-entry.js:21670:26

And is there any reason you disabled check() and the .install script (which, by the way, should not be included in the source array)?

jimreynold2nd commented on 2026-04-01 02:36 (UTC)

Here's my fix to build it:

diff --git a/PKGBUILD b/PKGBUILD
index b829433..2a3ce7a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@ arch=('any')
 url="https://github.com/open-webui/open-webui"
 license=('BSD-3-Clause')
 depends=('python' 'npm')
-makedepends=('git' 'nodejs-lts')
+makedepends=('git' 'nodejs-lts-jod')
 optdepends=('ollama' 'tika-server')
 conflicts=('open-webui-git' 'open-webui-no-venv')
 source=("git+https://github.com/open-webui/open-webui.git#tag=v$pkgver"
@@ -28,13 +28,13 @@ prepare() {

 build() {
     cd "$srcdir/$pkgname"
-    export PATH="/usr/lib/node_modules/node/bin:$PATH"
     python -m venv .venv
     source .venv/bin/activate
     pip install --upgrade pip setuptools wheel
     [ -f requirements.txt ] && pip install -r requirements.txt
     export NODE_OPTIONS="--max_old_space_size=4096"
-    npm install --legacy-peer-deps
+    npm install node-gyp
+    npm install
     npm run build
     deactivate
 }

jimreynold2nd commented on 2026-04-01 00:49 (UTC)

open-webui requires NodeJS <= 22.x.x, and nodejs-lts points to krypton, which is 24. I think you have to specify nodejs-lts-jod.