From 096f0ba2db4f93d1d48066fbf2939f325206c5b7 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Wed, 7 Oct 2026 21:40:00 +0200 Subject: [PATCH] AudioMuse-AI: replace the venv on update without asking (#17738) uv venv on an existing .venv asks before replacing it and refuses outright without a terminal, so updates through update-apps.sh failed and left the services stopped (#17734). --clear replaces it the way the interactive prompt did. --- ct/audiomuse-ai.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ct/audiomuse-ai.sh b/ct/audiomuse-ai.sh index 618c1a487..5348205c7 100644 --- a/ct/audiomuse-ai.sh +++ b/ct/audiomuse-ai.sh @@ -58,7 +58,7 @@ function update_script() { msg_info "Updating Python Environment (${AUDIOMUSE_BACKEND})" cd /opt/audiomuse-ai - $STD uv venv --seed --python "$PY_VERSION" /opt/audiomuse-ai/.venv + $STD uv venv --clear --seed --python "$PY_VERSION" /opt/audiomuse-ai/.venv $STD uv pip install --python /opt/audiomuse-ai/.venv \ -r "/opt/audiomuse-ai/requirements/${REQ_COMMON}" \ -r "/opt/audiomuse-ai/requirements/${REQ_ACCEL}"