Package Details: open-webui 0.4.8-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: MIT
Conflicts: open-webui-git
Submitter: mistersmee
Maintainer: mistersmee
Last Packager: mistersmee
Votes: 2
Popularity: 1.33
First Submitted: 2024-10-09 08:08 (UTC)
Last Updated: 2024-12-07 17:56 (UTC)

Dependencies (3)

Required by (0)

Sources (3)

Latest Comments

30p87 commented on 2024-12-17 22:56 (UTC)

The Github package explicitly recommends python311, and this would solve problems of some packages/libraries being deprecated in 3.12, but still working, but not existing at all for 3.13, which is the current -testing version. So the package uses a not-recommended python version right now, which deprecates dependencies, and the package is non installable/runnable with python > 3.12, so testing.

Changing the dependencies in the PKGBUILD from just python to python311, and explicitly using python3.11 instead of just python in the .install fixes everything I observed.

envolution commented on 2024-11-25 08:17 (UTC)

@mistersmee awesome, thanks mate

mistersmee commented on 2024-11-24 18:55 (UTC)

@envolution, after trying and testing stuff, I've gone with the second approach you suggested, as while what I said about it not building with the latest nodejs version is true, it doesn't actually require nodejs to run at all, so I'm dropping it entirely from the dependencies.

mistersmee commented on 2024-11-24 09:47 (UTC) (edited on 2024-11-24 09:57 (UTC) by mistersmee)

@envolution, the package simply doesn't build or run with just nodejs as dependency, upstream has nodejs pinned to 18.13.0 <= nodejs <= 22.x.x, and nodejs is at 23.x.x in the repos. It's not a case of reminding users that a certain version of node is supported, it's moving around the versions of node that aren't supported.

envolution commented on 2024-11-24 08:55 (UTC)

please set node dependency to node rather than nodejs-lts-iron - it's fine to remind users that a certain version of node is supported, but you should assume users have various ways of managing node versions themselves

you could also

PKGBUILD
_ensure_local_nvm() {
    export NVM_DIR="${srcdir}/.nvm"
    source /usr/share/nvm/init-nvm.sh || [[ $? != 1 ]]
    nvm install
    nvm use
    echo "in _ensure nvm dir = ${NVM_DIR}"
}
echo "lts/iron" > .nvmrc
_ensure_local_nvm
...build steps...

but i think open-webui probably wouldn't need this enforecment

mistersmee commented on 2024-11-22 15:42 (UTC) (edited on 2024-11-22 15:42 (UTC) by mistersmee)

@dbb, done, permissions on data directory set to 700, with pkgrel 0.4.3-2

dbb commented on 2024-11-22 14:00 (UTC)

@mistersmee That works, but I would install the data directory with --mode=700 (or maybe 750 or 770) since on a multiuser system you probably don't want other users being able to read those files.

mistersmee commented on 2024-11-22 10:26 (UTC)

@dbb, the latest version I pushed, 0.4.3-1 should fix this alongside being the latest upstream version, please test and see if it was fixed.

dbb commented on 2024-11-21 13:18 (UTC) (edited on 2024-11-21 13:19 (UTC) by dbb)

With a fresh install there's an peewee.OperationalError: unable to open database file exception on startup. Seems to be because while the package installs /var/opt/open-webui it does not install /var/opt/open-webui/data. I created that directory, chown-ed it to open-webui, chmod-ed it to 700, and it seems to startup and run fine now.