Package Details: open-webui-git 0.3.8.r16.geff736a-1

Git Clone URL: https://aur.archlinux.org/open-webui-git.git (read-only, click to copy)
Package Base: open-webui-git
Description: Web UI and OpenAI API for various LLM runners, including Ollama
Upstream URL: https://openwebui.com/
Licenses: MIT
Provides: stable-diffusion-ui
Submitter: bendavis78
Maintainer: bendavis78
Last Packager: bendavis78
Votes: 3
Popularity: 0.128673
First Submitted: 2024-06-18 22:55 (UTC)
Last Updated: 2024-07-11 16:04 (UTC)

Dependencies (3)

Required by (0)

Sources (3)

Latest Comments

antt001 commented on 2024-08-22 06:31 (UTC)

I had an issue installing the package with python 3.10 error. here is the patch to fix it:

diff --git a/open-webui-git.install b/open-webui-git.install
index c19b423..153de73 100644
--- a/open-webui-git.install
+++ b/open-webui-git.install
@@ -20,13 +20,13 @@ _install() {

     if [ ! -d "./venv" ]; then
         echo "Setting up virtual environment for $_appname..."
-        su "$_appuser" -s /bin/bash -c "python3.10 -m venv ${_apphome}/backend/venv" || return 1
+        su "$_appuser" -s /bin/bash -c "python3.11 -m venv ${_apphome}/backend/venv" || return 1
     fi
     echo "Updating python virtual environment..."
     su "$_appuser" -s /bin/bash -c "cd ${_apphome}/backend && ./venv/bin/pip install -r requirements.txt" || return 1


-    echo $(head -c 12 /dev/random | base64) > "$KEY_FILE"
+    # echo $(head -c 12 /dev/random | base64) > "$KEY_FILE"
     # Install default config if needed
     if [ ! -f "/etc/${_appname}.conf" ]; then
         # Generate the secret key if needed

dbb commented on 2024-08-21 13:00 (UTC)

@JamesMowery I just encountered that myself. From the error it looks like the version of nodejs in the repos, 22.6.0, is out of range of what it requires (>=18.13.0 <=21.x.x). I fixed it by adding nodejs-lts-iron (which is 20.16.0) to makedepends.

The AUR PKGBUILD should probably be updated accordingly.

JamesMowery commented on 2024-08-21 04:48 (UTC)

I attempted to reinstall this again (as I just did a fresh install of Arch and got all the Nvidia drivers installed), and I had more errors:

==> Starting pkgver()...
==> Updated version: open-webui-git 0.3.13.r2.gec99ac7-1
==> Sources are ready.
==> Making package: open-webui-git 0.3.13.r2.gec99ac7-1 (Tue 20 Aug 2024 09:46:39 PM MST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Starting build()...
npm error code EBADENGINE
npm error engine Unsupported engine
npm error engine Not compatible with your version of node/npm: open-webui@0.3.13
npm error notsup Not compatible with your version of node/npm: open-webui@0.3.13
npm error notsup Required: {"node":">=18.13.0 <=21.x.x","npm":">=6.0.0"}
npm error notsup Actual:   {"npm":"10.8.2","node":"v22.6.0"}
npm error A complete log of this run can be found in: /home/james/.npm/_logs/2024-08-21T04_46_39_366Z-debug-0.log
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: open-webui-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
open-webui-git - exit status 4

TTsdzb commented on 2024-08-15 10:58 (UTC)

I tried systemctl log -u open-webui but it says -u is an invalid argument.

@chris200x9 Try journalctl -u open-webui.

chris200x9 commented on 2024-07-24 02:30 (UTC)

I got the

open-webui.service: Failed with result 'resources'. Unit failed systemd The unit open-webui.service has entered the 'failed' state with result 'resources'.

too. I tried systemctl log -u open-webui but it says -u is an invalid argument.

Anyway, looking through the unit file I see the Enviromentfile is /etc/open-webui.conf but looking in /etc that file doesn't exist.

bendavis78 commented on 2024-07-11 16:04 (UTC)

@Exengo: thanks, I had fixed this locally and forgot to update the package. It should be fixed in the latest version.

bendavis78 commented on 2024-07-11 15:58 (UTC)

@JamesMowery Can you try updating to the latest version, and if it fails again, check the output of systemctl log -u open-webui (and paste it here)?

Exengo commented on 2024-07-11 10:42 (UTC)

To get the service working I had to edit the service file with sudo systemctl edit --full open-webui.service and add ./ before start.sh at the end of ExecStart= so the line reads like this:

ExecStart=/bin/bash -c "cd /opt/open-webui/backend && . ./venv/bin/activate && ./start.sh"

Then I had to add executable permission to start.sh with sudo chmod u+x /opt/open-webui/backend/start.sh.

JamesMowery commented on 2024-06-26 04:54 (UTC) (edited on 2024-06-26 04:59 (UTC) by JamesMowery)

I have, perhaps, a dumb question, but I'll ask it anyways: how do I run this? I installed it, and there's nothing I can see that I can run. Very confused. Any help is appreciated!

Edit: I was able to locate a systemctl service. I attempt to start it and I get the error:

Jun 25 21:56:26 phoenix systemd[1]: open-webui.service: Failed with result 'resources'. Unit failed systemd The unit open-webui.service has entered the 'failed' state with result 'resources'.

Jun 25 21:56:26 phoenix systemd[1]: Failed to start Open Web UI for LLMs. A start job for unit open-webui.service has failed systemd A start job for unit open-webui.service has finished with a failure. The job identifier is 14582 and the job result is failed.