Compare commits

..
23 changed files with 14 additions and 31 deletions

No files matched your search

-1
View File
@@ -38,7 +38,6 @@ function update_script() {
create_backup /opt/anki-sync-server/.env /opt/anki-sync-server/data
PYTHON_VERSION="3.12" setup_uv
msg_info "Updating Anki Sync Server"
$STD uv pip install --python /opt/anki-sync-server/venv/bin/python "anki==$(get_latest_github_release "ankitects/anki")"
cat <<EOF >~/.anki-sync-server
-1
View File
@@ -45,7 +45,6 @@ function update_script() {
create_backup /opt/airflow/.env
PYTHON_VERSION="3.12" setup_uv
msg_info "Updating Apache Airflow to ${LATEST}"
$STD uv pip install --python /opt/airflow/.venv/bin/python \
"apache-airflow[postgres,fab]==${LATEST}" \
-1
View File
@@ -56,7 +56,6 @@ function update_script() {
;;
esac
PYTHON_VERSION="3.12" setup_uv
msg_info "Updating Python Environment (${AUDIOMUSE_BACKEND})"
cd /opt/audiomuse-ai
$STD uv venv --clear --seed --python "$PY_VERSION" /opt/audiomuse-ai/.venv
+1 -2
View File
@@ -51,10 +51,9 @@ function update_script() {
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "bambuddy" "maziggy/bambuddy" "tarball" "latest" "/opt/bambuddy"
PYTHON_VERSION="3.13" setup_uv
msg_info "Updating Python Dependencies"
cd /opt/bambuddy
$STD uv venv --python 3.13 --clear
$STD uv venv --clear
$STD uv pip install -r requirements.txt
msg_ok "Updated Python Dependencies"
-1
View File
@@ -69,7 +69,6 @@ function update_script() {
exit 1
fi
PYTHON_VERSION="3.12" setup_uv
if [[ "$(cat /opt/borg1-venv/.pinned_version 2>/dev/null)" != "$BORG1_VERSION" ]]; then
msg_info "Installing Borg ${BORG1_VERSION} (Patience)"
$STD uv venv --clear --python "$BORG_PYTHON" /opt/borg1-venv
+2 -2
View File
@@ -40,7 +40,7 @@ function update_script() {
create_backup /opt/fireshare/fireshare.env
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "fireshare" "ShaneIsrael/fireshare" "tarball"
PYTHON_VERSION="3.14" UV_PROJECT_DIR="/opt/fireshare" setup_uv
UV_PROJECT_DIR="/opt/fireshare" setup_uv
restore_backup
rm -f /usr/local/bin/fireshare
@@ -56,7 +56,7 @@ function update_script() {
msg_info "Configuring Fireshare"
cd /opt/fireshare
$STD uv venv --python 3.14 --clear
$STD uv venv --clear
$STD .venv/bin/python -m ensurepip --upgrade
$STD .venv/bin/python -m pip install --upgrade --break-system-packages pip
$STD .venv/bin/python -m pip install --no-cache-dir --break-system-packages --ignore-installed app/server
+2 -3
View File
@@ -44,10 +44,9 @@ function update_script() {
restore_backup
PYTHON_VERSION="3.13" setup_uv
msg_info "Updating Python Dependencies"
cd /opt/homelable/backend
$STD uv venv --python 3.13 --clear /opt/homelable/backend/.venv
$STD uv venv --clear /opt/homelable/backend/.venv
$STD uv pip install --python /opt/homelable/backend/.venv/bin/python -r requirements.txt
msg_ok "Updated Python Dependencies"
@@ -61,7 +60,7 @@ function update_script() {
msg_info "Restoring MCP Server"
MCP_OWNER=$(stat -c '%U' /opt/homelable/mcp/.env)
cd /opt/homelable/mcp
$STD uv venv --python 3.13 --clear /opt/homelable/mcp/.venv
$STD uv venv --clear /opt/homelable/mcp/.venv
$STD uv pip install --python /opt/homelable/mcp/.venv/bin/python -r requirements.txt
chown -R "$MCP_OWNER":"$MCP_OWNER" /opt/homelable/mcp
systemctl restart homelable-mcp
+1 -1
View File
@@ -31,7 +31,7 @@ function update_script() {
exit
fi
PYTHON_VERSION="3.12" setup_uv
setup_uv
if check_for_gh_release "kapowarr" "Casvt/Kapowarr"; then
msg_info "Stopping Service"
-1
View File
@@ -40,7 +40,6 @@ function update_script() {
create_backup /opt/kima-hub/backend/.env /opt/kima-hub/frontend/.env
PYTHON_VERSION="3.13" setup_uv
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "kima-hub" "Chevron7Locked/kima-hub" "tarball"
restore_backup
+1 -2
View File
@@ -41,13 +41,12 @@ function update_script() {
CLEAN_INSTALL=1 CLEAN_INSTALL_KEEP="rrd" fetch_and_deploy_gh_release "librenms" "librenms/librenms" "tarball"
restore_backup
PYTHON_VERSION="3.13" setup_uv
msg_info "Updating LibreNMS"
mkdir -p /opt/librenms/{rrd,logs,bootstrap/cache,storage}
chown -R librenms:librenms /opt/librenms
chmod 771 /opt/librenms
chmod -R ug=rwX /opt/librenms/bootstrap/cache /opt/librenms/storage /opt/librenms/logs /opt/librenms/rrd
$STD su - librenms -s /bin/bash -c "cd /opt/librenms && uv venv --python 3.13 --clear .venv && source .venv/bin/activate && uv pip install -r requirements.txt"
$STD su - librenms -s /bin/bash -c "cd /opt/librenms && uv venv --clear .venv && source .venv/bin/activate && uv pip install -r requirements.txt"
$STD su - librenms -s /bin/bash -c "cd /opt/librenms && COMPOSER_ALLOW_SUPERUSER=1 composer install --no-dev"
$STD su - librenms -s /bin/bash -c "cd /opt/librenms && php8.4 artisan optimize:clear"
$STD su - librenms -s /bin/bash -c "cd /opt/librenms && php8.4 artisan migrate --force --isolated"
-1
View File
@@ -36,7 +36,6 @@ function update_script() {
systemctl stop matter-server
msg_ok "Stopped Service"
PYTHON_VERSION="3.12" setup_uv
msg_info "Updating Matter Server"
MATTER_VERSION=$(get_latest_github_release "matter-js/python-matter-server")
$STD uv pip install --python /opt/matter-server/.venv/bin/python --upgrade "python-matter-server[server]==${MATTER_VERSION}"
-1
View File
@@ -29,7 +29,6 @@ function update_script() {
fi
if check_for_gh_release "mylar3" "MylarComics/mylar3"; then
PYTHON_VERSION="3.11" setup_uv
fetch_and_deploy_gh_release "mylar3" "MylarComics/mylar3" "tarball"
systemctl restart mylar3
msg_ok "Updated successfully!"
-1
View File
@@ -38,7 +38,6 @@ function update_script() {
CLEAN_INSTALL=1 CLEAN_INSTALL_KEEP=".venv" fetch_and_deploy_gh_release "netalertx" "netalertx/NetAlertX" "tarball"
PYTHON_VERSION="3.13" setup_uv
msg_info "Updating NetAlertX"
cd /opt/netalertx
$STD uv pip install --python .venv/bin/python -r requirements.txt
-1
View File
@@ -41,7 +41,6 @@ function update_script() {
systemctl stop openviking
msg_ok "Stopped Service"
PYTHON_VERSION="3.12" setup_uv
msg_info "Updating OpenViking"
$STD uv pip install --python /opt/openviking/bin/python --upgrade openviking
msg_ok "Updated OpenViking"
-1
View File
@@ -35,7 +35,6 @@ function update_script() {
systemctl stop pyload
msg_ok "Stopped Service"
PYTHON_VERSION="3.13" setup_uv
msg_info "Updating ${APP}"
$STD uv pip install --python /opt/pyload/.venv --upgrade --prerelease allow "pyload-ng[all]"
msg_ok "Updated ${APP}"
+2 -2
View File
@@ -35,12 +35,12 @@ function update_script() {
systemctl stop scraparr
msg_ok "Services Stopped"
PYTHON_VERSION="3.13" setup_uv
PYTHON_VERSION="3.12" setup_uv
fetch_and_deploy_gh_release "scrappar" "thecfu/scraparr" "tarball" "latest" "/opt/scraparr"
msg_info "Updating Scraparr"
cd /opt/scraparr
$STD uv venv --python 3.13 --clear /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
-1
View File
@@ -43,7 +43,6 @@ function update_script() {
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "subwave" "perminder-klair/subwave" "tarball"
fetch_and_deploy_gh_release "liquidsoap" "savonet/liquidsoap" "binary" "$(grep -oP 'savonet/liquidsoap:\Kv[0-9.]+' /opt/subwave/docker/Dockerfile.broadcast)" "" "liquidsoap_*-debian-trixie-ocaml4.14.2-*_$(arch_resolve).deb"
PYTHON_VERSION="3.12" setup_uv
msg_info "Updating Analyzer and Kokoro"
$STD uv pip install --python /opt/analyzer/venv/bin/python librosa==0.11.0 soundfile==0.14.0 pyloudnorm==0.2.0
$STD uv pip install --python /opt/kokoro/venv/bin/python kokoro-onnx==0.5.0 soundfile==0.12.1 misaki==0.9.4 pyopenjtalk-plus==0.4.1.post10 cn2an==0.5.24 jieba==0.42.1 ordered-set==4.1.0 pypinyin==0.55.0 pypinyin-dict==0.9.0
+1 -1
View File
@@ -29,7 +29,7 @@ function update_script() {
exit
fi
PYTHON_VERSION="3.13" setup_uv
setup_uv
if check_for_gh_release "tianji" "msgbyte/tianji"; then
NODE_VERSION="22" NODE_MODULE="pnpm@$(curl -s https://raw.githubusercontent.com/msgbyte/tianji/master/package.json | jq -r '.packageManager | split("@")[1]')" setup_nodejs
+1 -2
View File
@@ -49,10 +49,9 @@ function update_script() {
restore_backup
PYTHON_VERSION="3.13" setup_uv
msg_info "Updating Python Dependencies"
cd /opt/transmute
$STD uv venv --python 3.13 --clear /opt/transmute/.venv
$STD uv venv --clear /opt/transmute/.venv
$STD uv pip install --python /opt/transmute/.venv/bin/python -r requirements.txt
msg_ok "Updated Python Dependencies"
-1
View File
@@ -47,7 +47,6 @@ function update_script() {
cp -r /opt/trip/src/dist/trip/browser/* /opt/trip/frontend/
msg_ok "Updated Frontend"
PYTHON_VERSION="3.12" setup_uv
msg_info "Updating Backend"
cd /opt/trip/backend
$STD uv pip install --python /opt/trip/.venv/bin/python -r trip/requirements.txt
-2
View File
@@ -41,8 +41,6 @@ function update_script() {
VLLM_BACKEND="$(cat /opt/vllm/.backend 2>/dev/null || echo cuda)"
VLLM_VERSION="$(get_latest_github_release "vllm-project/vllm")"
PYTHON_VERSION="3.12" setup_uv
msg_info "Updating vLLM (${VLLM_BACKEND}, Patience)"
case "$VLLM_BACKEND" in
rocm)
+2 -1
View File
@@ -39,9 +39,10 @@ function update_script() {
fetch_and_deploy_gh_release "warracker" "sassanix/Warracker" "tarball" "latest" "/opt/warracker"
PYTHON_VERSION="3.15" setup_uv
msg_info "Updating Warracker"
cd /opt/warracker/backend
$STD uv venv --clear .venv
$STD uv venv --python 3.15 --clear .venv
$STD source .venv/bin/activate
$STD uv pip install -r requirements.txt
msg_ok "Updated Warracker"
+1 -1
View File
@@ -20,7 +20,7 @@ $STD apt install -y \
nginx
msg_ok "Installed Dependencies"
PYTHON_VERSION="3.12" setup_uv
PYTHON_VERSION="3.15" setup_uv
PG_VERSION="17" setup_postgresql
msg_info "Setup PostgreSQL"