diff --git a/ct/adventurelog.sh b/ct/adventurelog.sh index ccd76a46e..f169b7abc 100644 --- a/ct/adventurelog.sh +++ b/ct/adventurelog.sh @@ -51,7 +51,7 @@ function update_script() { cp -r /opt/adventurelog-backup/backend/server/media /opt/adventurelog/backend/server/media cd /opt/adventurelog/backend/server if [[ ! -x .venv/bin/python ]]; then - $STD uv venv .venv + $STD uv venv --clear .venv $STD .venv/bin/python -m ensurepip --upgrade fi $STD .venv/bin/python -m pip install --upgrade pip diff --git a/ct/autocaliweb.sh b/ct/autocaliweb.sh index b21e075d0..ece4d1c2e 100644 --- a/ct/autocaliweb.sh +++ b/ct/autocaliweb.sh @@ -44,7 +44,7 @@ function update_script() { msg_info "Updating Autocaliweb" cd "$INSTALL_DIR" if [[ ! -d "$VIRTUAL_ENV" ]]; then - $STD uv venv "$VIRTUAL_ENV" + $STD uv venv --clear "$VIRTUAL_ENV" fi $STD uv sync --all-extras --active cd "$INSTALL_DIR"/koreader/plugins diff --git a/ct/bazarr.sh b/ct/bazarr.sh index 56f7068f9..d324c0291 100755 --- a/ct/bazarr.sh +++ b/ct/bazarr.sh @@ -40,7 +40,7 @@ function update_script() { chmod 775 /opt/bazarr /var/lib/bazarr/ # Always ensure venv exists if [[ ! -d /opt/bazarr/venv/ ]]; then - $STD uv venv /opt/bazarr/venv --python 3.12 + $STD uv venv --clear /opt/bazarr/venv --python 3.12 fi # Always check and fix service file if needed diff --git a/ct/dispatcharr.sh b/ct/dispatcharr.sh index edfad9a90..a82335b20 100644 --- a/ct/dispatcharr.sh +++ b/ct/dispatcharr.sh @@ -103,7 +103,7 @@ function update_script() { cd /opt/dispatcharr rm -rf .venv - $STD uv venv + $STD uv venv --clear $STD uv pip install -r requirements.txt --index-strategy unsafe-best-match $STD uv pip install gunicorn gevent celery redis daphne msg_ok "Updated Dispatcharr Backend" diff --git a/ct/endurain.sh b/ct/endurain.sh index 4d756e65d..6d01cc9bb 100644 --- a/ct/endurain.sh +++ b/ct/endurain.sh @@ -61,7 +61,7 @@ function update_script() { msg_info "Updating Backend" cd /opt/endurain/backend $STD poetry export -f requirements.txt --output requirements.txt --without-hashes - $STD uv venv + $STD uv venv --clear $STD uv pip install -r requirements.txt msg_ok "Backend Updated" diff --git a/ct/esphome.sh b/ct/esphome.sh index 5119c816e..66ad02a8d 100644 --- a/ct/esphome.sh +++ b/ct/esphome.sh @@ -42,7 +42,7 @@ function update_script() { rm -rf "$VENV_PATH" mkdir -p /opt/esphome cd /opt/esphome - $STD uv venv "$VENV_PATH" + $STD uv venv --clear "$VENV_PATH" $STD "$VENV_PATH/bin/python" -m ensurepip --upgrade $STD "$VENV_PATH/bin/python" -m pip install --upgrade pip $STD "$VENV_PATH/bin/python" -m pip install esphome tornado esptool diff --git a/ct/jupyternotebook.sh b/ct/jupyternotebook.sh index ff4ed03df..4241ac0a7 100644 --- a/ct/jupyternotebook.sh +++ b/ct/jupyternotebook.sh @@ -34,7 +34,7 @@ function update_script() { PYTHON_VERSION="3.12" setup_uv mkdir -p "$INSTALL_DIR" cd "$INSTALL_DIR" - $STD uv venv .venv + $STD uv venv --clear .venv $STD "$VENV_PYTHON" -m ensurepip --upgrade $STD "$VENV_PYTHON" -m pip install --upgrade pip $STD "$VENV_PYTHON" -m pip install jupyter diff --git a/ct/prometheus-pve-exporter.sh b/ct/prometheus-pve-exporter.sh index 65991c201..1b6819294 100644 --- a/ct/prometheus-pve-exporter.sh +++ b/ct/prometheus-pve-exporter.sh @@ -41,7 +41,7 @@ function update_script() { rm -rf "$PVE_VENV_PATH" mkdir -p /opt/prometheus-pve-exporter cd /opt/prometheus-pve-exporter - $STD uv venv "$PVE_VENV_PATH" + $STD uv venv --clear "$PVE_VENV_PATH" $STD "$PVE_VENV_PATH/bin/python" -m ensurepip --upgrade $STD "$PVE_VENV_PATH/bin/python" -m pip install --upgrade pip $STD "$PVE_VENV_PATH/bin/python" -m pip install prometheus-pve-exporter diff --git a/ct/sabnzbd.sh b/ct/sabnzbd.sh index 84926f681..5e3189bd0 100644 --- a/ct/sabnzbd.sh +++ b/ct/sabnzbd.sh @@ -41,7 +41,7 @@ function update_script() { # Always ensure venv exists if [[ ! -d /opt/sabnzbd/venv ]]; then msg_info "Migrating SABnzbd to uv virtual environment" - $STD uv venv /opt/sabnzbd/venv + $STD uv venv --clear /opt/sabnzbd/venv msg_ok "Created uv venv at /opt/sabnzbd/venv" fi diff --git a/ct/scraparr.sh b/ct/scraparr.sh index 61b4033a5..07bc80aea 100644 --- a/ct/scraparr.sh +++ b/ct/scraparr.sh @@ -38,7 +38,7 @@ function update_script() { msg_info "Updating Scraparr" cd /opt/scraparr - $STD uv venv /opt/scraparr/.venv + $STD uv venv --clear /opt/scraparr/.venv $STD /opt/scraparr/.venv/bin/python -m ensurepip --upgrade $STD /opt/scraparr/.venv/bin/python -m pip install --upgrade pip $STD /opt/scraparr/.venv/bin/python -m pip install -r /opt/scraparr/src/scraparr/requirements.txt diff --git a/ct/streamlink-webui.sh b/ct/streamlink-webui.sh index 138414594..4f69c5790 100644 --- a/ct/streamlink-webui.sh +++ b/ct/streamlink-webui.sh @@ -39,7 +39,7 @@ function update_script() { CLEAN_INSTALL=1 fetch_and_deploy_gh_release "streamlink-webui" "CrazyWolf13/streamlink-webui" "tarball" msg_info "Updating streamlink-webui" - $STD uv venv /opt/streamlink-webui/backend/src/.venv + $STD uv venv --clear /opt/streamlink-webui/backend/src/.venv source /opt/streamlink-webui/backend/src/.venv/bin/activate $STD uv pip install -r /opt/streamlink-webui/backend/src/requirements.txt --python=/opt/streamlink-webui/backend/src/.venv cd /opt/streamlink-webui/frontend/src diff --git a/ct/tandoor.sh b/ct/tandoor.sh index 0aa8c65db..289d46230 100644 --- a/ct/tandoor.sh +++ b/ct/tandoor.sh @@ -50,7 +50,7 @@ function update_script() { cp -r /opt/tandoor.bak/{config,api,mediafiles,staticfiles} /opt/tandoor/ mv /opt/tandoor.bak/.env /opt/tandoor/.env cd /opt/tandoor - $STD uv venv .venv --python=python3 + $STD uv venv --clear .venv --python=python3 $STD uv pip install -r requirements.txt --python .venv/bin/python cd /opt/tandoor/vue3 $STD yarn install diff --git a/ct/warracker.sh b/ct/warracker.sh index db670b0fd..b45042b4b 100644 --- a/ct/warracker.sh +++ b/ct/warracker.sh @@ -39,7 +39,7 @@ function update_script() { msg_info "Updating Warracker" cd /opt/warracker/backend - $STD uv venv .venv + $STD uv venv --clear .venv $STD source .venv/bin/activate $STD uv pip install -r requirements.txt msg_ok "Updated Warracker" diff --git a/install/adventurelog-install.sh b/install/adventurelog-install.sh index 50d67e3d0..e95121c66 100644 --- a/install/adventurelog-install.sh +++ b/install/adventurelog-install.sh @@ -58,7 +58,7 @@ DISABLE_REGISTRATION=False EOF cd /opt/adventurelog/backend/server mkdir -p /opt/adventurelog/backend/server/media -$STD uv venv /opt/adventurelog/backend/server/.venv +$STD uv venv --clear /opt/adventurelog/backend/server/.venv $STD /opt/adventurelog/backend/server/.venv/bin/python -m ensurepip --upgrade $STD /opt/adventurelog/backend/server/.venv/bin/python -m pip install --upgrade pip $STD /opt/adventurelog/backend/server/.venv/bin/python -m pip install -r requirements.txt diff --git a/install/autocaliweb-install.sh b/install/autocaliweb-install.sh index 15501a15e..3ce812b66 100644 --- a/install/autocaliweb-install.sh +++ b/install/autocaliweb-install.sh @@ -77,7 +77,7 @@ echo "${KEPUB_VERSION#v}" >"$INSTALL_DIR"/KEPUBIFY_RELEASE sed 's/^/v/' ~/.autocaliweb >"$INSTALL_DIR"/ACW_RELEASE cd "$INSTALL_DIR" -$STD uv venv "$VIRTUAL_ENV" +$STD uv venv --clear "$VIRTUAL_ENV" $STD uv sync --all-extras --active cat <./dirs.json { diff --git a/install/babybuddy-install.sh b/install/babybuddy-install.sh index 547d02e2c..8f16c5432 100644 --- a/install/babybuddy-install.sh +++ b/install/babybuddy-install.sh @@ -29,7 +29,7 @@ fetch_and_deploy_gh_release "babybuddy" "babybuddy/babybuddy" "tarball" msg_info "Installing Babybuddy" mkdir -p /opt/data cd /opt/babybuddy -$STD uv venv .venv +$STD uv venv --clear .venv $STD source .venv/bin/activate $STD uv pip install -r requirements.txt cp babybuddy/settings/production.example.py babybuddy/settings/production.py diff --git a/install/bazarr-install.sh b/install/bazarr-install.sh index fb4c80c23..46f43ba8c 100755 --- a/install/bazarr-install.sh +++ b/install/bazarr-install.sh @@ -20,7 +20,7 @@ msg_info "Installing Bazarr" mkdir -p /var/lib/bazarr/ chmod 775 /opt/bazarr /var/lib/bazarr/ sed -i.bak 's/--only-binary=Pillow//g' /opt/bazarr/requirements.txt -$STD uv venv /opt/bazarr/venv --python 3.12 +$STD uv venv --clear /opt/bazarr/venv --python 3.12 $STD uv pip install -r /opt/bazarr/requirements.txt --python /opt/bazarr/venv/bin/python3 msg_ok "Installed Bazarr" diff --git a/install/comfyui-install.sh b/install/comfyui-install.sh index 1ff9bef06..f1c378c5c 100644 --- a/install/comfyui-install.sh +++ b/install/comfyui-install.sh @@ -36,7 +36,7 @@ PYTHON_VERSION="3.12" setup_uv fetch_and_deploy_gh_release "ComfyUI" "comfyanonymous/ComfyUI" "tarball" "latest" "/opt/ComfyUI" msg_info "Python dependencies" -$STD uv venv "/opt/ComfyUI/venv" +$STD uv venv --clear "/opt/ComfyUI/venv" if [[ "${comfyui_gpu_type,,}" == "nvidia" ]]; then pytorch_url="https://download.pytorch.org/whl/cu130" diff --git a/install/dispatcharr-install.sh b/install/dispatcharr-install.sh index 8a83868c5..9580d0df3 100644 --- a/install/dispatcharr-install.sh +++ b/install/dispatcharr-install.sh @@ -36,7 +36,7 @@ fetch_and_deploy_gh_release "dispatcharr" "Dispatcharr/Dispatcharr" "tarball" msg_info "Installing Python Dependencies with uv" cd /opt/dispatcharr -$STD uv venv +$STD uv venv --clear $STD uv pip install -r requirements.txt --index-strategy unsafe-best-match $STD uv pip install gunicorn gevent celery redis daphne msg_ok "Installed Python Dependencies" diff --git a/install/endurain-install.sh b/install/endurain-install.sh index 0260afaae..b375880e6 100644 --- a/install/endurain-install.sh +++ b/install/endurain-install.sh @@ -86,7 +86,7 @@ $STD uv tool update-shell export PATH="/root/.local/bin:$PATH" $STD poetry self add poetry-plugin-export $STD poetry export -f requirements.txt --output requirements.txt --without-hashes -$STD uv venv +$STD uv venv --clear $STD uv pip install -r requirements.txt msg_ok "Setup Backend" diff --git a/install/esphome-install.sh b/install/esphome-install.sh index c85c5b995..9b6a665c8 100644 --- a/install/esphome-install.sh +++ b/install/esphome-install.sh @@ -23,7 +23,7 @@ msg_info "Setting up Virtual Environment" mkdir -p /opt/esphome mkdir -p /root/config cd /opt/esphome -$STD uv venv /opt/esphome/.venv +$STD uv venv --clear /opt/esphome/.venv $STD /opt/esphome/.venv/bin/python -m ensurepip --upgrade $STD /opt/esphome/.venv/bin/python -m pip install --upgrade pip $STD /opt/esphome/.venv/bin/python -m pip install esphome tornado esptool diff --git a/install/huntarr-install.sh b/install/huntarr-install.sh index 7573508a1..ea43a1e91 100644 --- a/install/huntarr-install.sh +++ b/install/huntarr-install.sh @@ -17,7 +17,7 @@ PYTHON_VERSION="3.12" setup_uv fetch_and_deploy_gh_release "huntarr" "plexguide/Huntarr.io" "tarball" msg_info "Configure Huntarr" -$STD uv venv /opt/huntarr/.venv +$STD uv venv --clear /opt/huntarr/.venv $STD uv pip install --python /opt/huntarr/.venv/bin/python -r /opt/huntarr/requirements.txt msg_ok "Configured Huntrarr" diff --git a/install/jupyternotebook-install.sh b/install/jupyternotebook-install.sh index 7939c95f2..c8b5839d1 100644 --- a/install/jupyternotebook-install.sh +++ b/install/jupyternotebook-install.sh @@ -18,7 +18,7 @@ PYTHON_VERSION="3.12" setup_uv msg_info "Installing Jupyter" mkdir -p /opt/jupyter cd /opt/jupyter -$STD uv venv /opt/jupyter/.venv +$STD uv venv --clear /opt/jupyter/.venv $STD /opt/jupyter/.venv/bin/python -m ensurepip --upgrade $STD /opt/jupyter/.venv/bin/python -m pip install --upgrade pip $STD /opt/jupyter/.venv/bin/python -m pip install jupyter diff --git a/install/kapowarr-install.sh b/install/kapowarr-install.sh index 02eb61c71..b3433dc87 100644 --- a/install/kapowarr-install.sh +++ b/install/kapowarr-install.sh @@ -22,7 +22,7 @@ fetch_and_deploy_gh_release "kapowarr" "Casvt/Kapowarr" "tarball" msg_info "Setup Kapowarr" cd /opt/kapowarr -$STD uv venv .venv +$STD uv venv --clear .venv $STD source .venv/bin/activate $STD uv pip install --upgrade pip $STD uv pip install --no-cache-dir -r requirements.txt diff --git a/install/librenms-install.sh b/install/librenms-install.sh index 28337ab08..506a39e78 100644 --- a/install/librenms-install.sh +++ b/install/librenms-install.sh @@ -50,7 +50,7 @@ $STD useradd librenms -d /opt/librenms -M -r -s "$(which bash)" mkdir -p /opt/librenms/{rrd,logs,bootstrap/cache,storage,html} cd /opt/librenms APP_KEY=$(openssl rand -base64 40 | tr -dc 'a-zA-Z0-9') -$STD uv venv .venv +$STD uv venv --clear .venv $STD source .venv/bin/activate $STD uv pip install -r requirements.txt cat </opt/librenms/.env diff --git a/install/libretranslate-install.sh b/install/libretranslate-install.sh index aca707325..aa184f429 100644 --- a/install/libretranslate-install.sh +++ b/install/libretranslate-install.sh @@ -43,7 +43,7 @@ if [[ -z "$TORCH_VERSION" ]]; then TORCH_VERSION="2.5.0" fi cd /opt/libretranslate -$STD uv venv .venv --python 3.12 +$STD uv venv --clear .venv --python 3.12 $STD source .venv/bin/activate $STD uv pip install --upgrade pip setuptools $STD uv pip install Babel==2.12.1 diff --git a/install/litellm-install.sh b/install/litellm-install.sh index 18ee74bfa..c02bdae45 100644 --- a/install/litellm-install.sh +++ b/install/litellm-install.sh @@ -42,7 +42,7 @@ msg_ok "Set up PostgreSQL" msg_info "Setting up Virtual Environment" mkdir -p /opt/litellm cd /opt/litellm -$STD uv venv /opt/litellm/.venv +$STD uv venv --clear /opt/litellm/.venv $STD /opt/litellm/.venv/bin/python -m ensurepip --upgrade $STD /opt/litellm/.venv/bin/python -m pip install --upgrade pip $STD /opt/litellm/.venv/bin/python -m pip install litellm[proxy] prisma diff --git a/install/mylar3-install.sh b/install/mylar3-install.sh index 99446d78a..0a26ab913 100644 --- a/install/mylar3-install.sh +++ b/install/mylar3-install.sh @@ -29,7 +29,7 @@ fetch_and_deploy_gh_release "mylar3" "mylar3/mylar3" "tarball" msg_info "Installing ${APPLICATION}" mkdir -p /opt/mylar3-data -$STD uv venv /opt/mylar3/.venv +$STD uv venv --clear /opt/mylar3/.venv $STD /opt/mylar3/.venv/bin/python -m ensurepip --upgrade $STD /opt/mylar3/.venv/bin/python -m pip install --upgrade pip $STD /opt/mylar3/.venv/bin/python -m pip install --no-cache-dir -r /opt/mylar3/requirements.txt diff --git a/install/prometheus-pve-exporter-install.sh b/install/prometheus-pve-exporter-install.sh index 07d01acac..bc571b045 100644 --- a/install/prometheus-pve-exporter-install.sh +++ b/install/prometheus-pve-exporter-install.sh @@ -19,7 +19,7 @@ msg_info "Installing Prometheus Proxmox VE Exporter" mkdir -p /opt/prometheus-pve-exporter cd /opt/prometheus-pve-exporter -$STD uv venv /opt/prometheus-pve-exporter/.venv +$STD uv venv --clear /opt/prometheus-pve-exporter/.venv $STD /opt/prometheus-pve-exporter/.venv/bin/python -m ensurepip --upgrade $STD /opt/prometheus-pve-exporter/.venv/bin/python -m pip install --upgrade pip $STD /opt/prometheus-pve-exporter/.venv/bin/python -m pip install prometheus-pve-exporter diff --git a/install/sabnzbd-install.sh b/install/sabnzbd-install.sh index 95d562f55..fe87443fd 100644 --- a/install/sabnzbd-install.sh +++ b/install/sabnzbd-install.sh @@ -36,7 +36,7 @@ msg_ok "Setup Unrar" fetch_and_deploy_gh_release "sabnzbd-org" "sabnzbd/sabnzbd" "prebuild" "latest" "/opt/sabnzbd" "SABnzbd-*-src.tar.gz" msg_info "Installing SABnzbd" -$STD uv venv /opt/sabnzbd/venv +$STD uv venv --clear /opt/sabnzbd/venv $STD uv pip install -r /opt/sabnzbd/requirements.txt --python=/opt/sabnzbd/venv/bin/python msg_ok "Installed SABnzbd" diff --git a/install/scraparr-install.sh b/install/scraparr-install.sh index ce0eed232..b5a9b3192 100644 --- a/install/scraparr-install.sh +++ b/install/scraparr-install.sh @@ -18,7 +18,7 @@ fetch_and_deploy_gh_release "scrappar" "thecfu/scraparr" "tarball" "latest" "/op msg_info "Installing Scraparr" cd /opt/scraparr -$STD uv venv /opt/scraparr/.venv +$STD uv venv --clear /opt/scraparr/.venv $STD /opt/scraparr/.venv/bin/python -m ensurepip --upgrade $STD /opt/scraparr/.venv/bin/python -m pip install --upgrade pip $STD /opt/scraparr/.venv/bin/python -m pip install -r /opt/scraparr/src/scraparr/requirements.txt diff --git a/install/shelfmark-install.sh b/install/shelfmark-install.sh index 88258bbb1..961a7e1c2 100644 --- a/install/shelfmark-install.sh +++ b/install/shelfmark-install.sh @@ -131,7 +131,7 @@ msg_ok "Built Shelfmark frontend" msg_info "Configuring Shelfmark" cd /opt/shelfmark -$STD uv venv ./venv +$STD uv venv --clear ./venv $STD source ./venv/bin/activate $STD uv pip install -r ./requirements-base.txt [[ "$DEPLOYMENT_TYPE" == "1" ]] && $STD uv pip install -r ./requirements-shelfmark.txt diff --git a/install/stirling-pdf-install.sh b/install/stirling-pdf-install.sh index e6d032a36..07ac9a72e 100644 --- a/install/stirling-pdf-install.sh +++ b/install/stirling-pdf-install.sh @@ -61,7 +61,7 @@ msg_ok "Installed LibreOffice Components" msg_info "Installing Python Dependencies" mkdir -p /tmp/stirling-pdf -$STD uv venv /opt/.venv +$STD uv venv --clear /opt/.venv export PATH="/opt/.venv/bin:$PATH" source /opt/.venv/bin/activate $STD uv pip install --upgrade pip diff --git a/install/streamlink-webui-install.sh b/install/streamlink-webui-install.sh index fa496f789..b62d68b26 100644 --- a/install/streamlink-webui-install.sh +++ b/install/streamlink-webui-install.sh @@ -22,7 +22,7 @@ fetch_and_deploy_gh_release "streamlink-webui" "CrazyWolf13/streamlink-webui" "t msg_info "Setup ${APPLICATION}" mkdir -p "/opt/${APPLICATION}-download" -$STD uv venv /opt/"${APPLICATION}"/backend/src/.venv +$STD uv venv --clear /opt/"${APPLICATION}"/backend/src/.venv source /opt/"${APPLICATION}"/backend/src/.venv/bin/activate $STD uv pip install -r /opt/streamlink-webui/backend/src/requirements.txt --python=/opt/"${APPLICATION}"/backend/src/.venv cd /opt/"${APPLICATION}"/frontend/src diff --git a/install/tandoor-install.sh b/install/tandoor-install.sh index c713ff601..943b6df44 100644 --- a/install/tandoor-install.sh +++ b/install/tandoor-install.sh @@ -40,7 +40,7 @@ SECRET_KEY=$(openssl rand -base64 45 | sed 's/\//\\\//g') msg_info "Setup Tandoor" mkdir -p /opt/tandoor/{config,api,mediafiles,staticfiles} cd /opt/tandoor -$STD uv venv .venv --python=python3 +$STD uv venv --clear .venv --python=python3 $STD uv pip install -r requirements.txt --python .venv/bin/python cd /opt/tandoor/vue3 $STD yarn install diff --git a/install/tautulli-install.sh b/install/tautulli-install.sh index bbfc4dc27..b79c0d00d 100644 --- a/install/tautulli-install.sh +++ b/install/tautulli-install.sh @@ -25,7 +25,7 @@ cd /opt/Tautulli TAUTULLI_VERSION=$(get_latest_github_release "Tautulli/Tautulli" "false") echo "${TAUTULLI_VERSION}" >/opt/Tautulli/version.txt echo "master" >/opt/Tautulli/branch.txt -$STD uv venv +$STD uv venv --clear $STD source /opt/Tautulli/.venv/bin/activate $STD uv pip install -r requirements.txt $STD uv pip install pyopenssl diff --git a/install/trip-install.sh b/install/trip-install.sh index 7a400c4b6..6f9bf4178 100644 --- a/install/trip-install.sh +++ b/install/trip-install.sh @@ -30,7 +30,7 @@ msg_ok "Built Frontend" msg_info "Setting up Backend" cd /opt/trip/backend -$STD uv venv /opt/trip/.venv +$STD uv venv --clear /opt/trip/.venv $STD uv pip install --python /opt/trip/.venv/bin/python -r trip/requirements.txt msg_ok "Set up Backend" diff --git a/install/warracker-install.sh b/install/warracker-install.sh index 7adf6d25b..4528f5e73 100644 --- a/install/warracker-install.sh +++ b/install/warracker-install.sh @@ -49,7 +49,7 @@ fetch_and_deploy_gh_release "warracker" "sassanix/Warracker" "tarball" "latest" msg_info "Installing Warracker" cd /opt/warracker/backend -$STD uv venv .venv +$STD uv venv --clear .venv $STD source .venv/bin/activate $STD uv pip install -r requirements.txt mv /opt/warracker/env.example /opt/.env diff --git a/tools/addon/glances.sh b/tools/addon/glances.sh index 227d211e0..64e145a4c 100644 --- a/tools/addon/glances.sh +++ b/tools/addon/glances.sh @@ -56,7 +56,7 @@ install_glances_debian() { cd /opt mkdir -p glances cd glances - uv venv + uv venv --clear source .venv/bin/activate >/dev/null 2>&1 uv pip install --upgrade pip wheel setuptools >/dev/null 2>&1 uv pip install "glances[web]" >/dev/null 2>&1 @@ -126,7 +126,7 @@ install_glances_alpine() { cd /opt mkdir -p glances cd glances - uv venv + uv venv --clear source .venv/bin/activate uv pip install --upgrade pip wheel setuptools >/dev/null 2>&1 uv pip install "glances[web]" >/dev/null 2>&1