From e180a3bc449da7628a533944a2ef90ecfb2b6cec Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Mon, 9 Mar 2026 13:51:59 +0100 Subject: [PATCH] openwebui: Ensure required dependencies (#12717) * openwebui: Ensure required dependencies Added zstd and build-essential as dependencies for the script. * Update dependencies in openwebui-install.sh Added build-essential and libmariadb-dev to dependencies. --- ct/openwebui.sh | 3 ++- install/openwebui-install.sh | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ct/openwebui.sh b/ct/openwebui.sh index 17ce1d3fd..cce154863 100644 --- a/ct/openwebui.sh +++ b/ct/openwebui.sh @@ -25,6 +25,8 @@ function update_script() { check_container_storage check_container_resources + ensure_dependencies zstd build-essential libmariadb-dev + if [[ -d /opt/open-webui ]]; then msg_warn "Legacy installation detected — migrating to uv based install..." msg_info "Stopping Service" @@ -92,7 +94,6 @@ EOF OLLAMA_VERSION=$(ollama -v | awk '{print $NF}') RELEASE=$(curl -s https://api.github.com/repos/ollama/ollama/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4)}') if [ "$OLLAMA_VERSION" != "$RELEASE" ]; then - ensure_dependencies zstd msg_info "Ollama update available: v$OLLAMA_VERSION -> v$RELEASE" msg_info "Downloading Ollama v$RELEASE \n" curl -fS#LO https://github.com/ollama/ollama/releases/download/v${RELEASE}/ollama-linux-amd64.tar.zst diff --git a/install/openwebui-install.sh b/install/openwebui-install.sh index 1d72c6deb..1344a88c6 100644 --- a/install/openwebui-install.sh +++ b/install/openwebui-install.sh @@ -16,7 +16,9 @@ update_os msg_info "Installing Dependencies" $STD apt install -y \ ffmpeg \ - zstd + zstd \ + build-essential \ + libmariadb-dev msg_ok "Installed Dependencies" setup_hwaccel