mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-11-27 16:14:28 +01:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
796a8b292c |
No files matched your search
@@ -38,6 +38,7 @@ 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
|
||||
|
||||
@@ -45,6 +45,7 @@ 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}" \
|
||||
|
||||
@@ -56,6 +56,7 @@ 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
|
||||
|
||||
+2
-1
@@ -51,9 +51,10 @@ 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 --clear
|
||||
$STD uv venv --python 3.13 --clear
|
||||
$STD uv pip install -r requirements.txt
|
||||
msg_ok "Updated Python Dependencies"
|
||||
|
||||
|
||||
@@ -69,6 +69,7 @@ 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
@@ -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"
|
||||
UV_PROJECT_DIR="/opt/fireshare" setup_uv
|
||||
PYTHON_VERSION="3.14" 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 --clear
|
||||
$STD uv venv --python 3.14 --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
|
||||
|
||||
+3
-2
@@ -44,9 +44,10 @@ function update_script() {
|
||||
|
||||
restore_backup
|
||||
|
||||
PYTHON_VERSION="3.13" setup_uv
|
||||
msg_info "Updating Python Dependencies"
|
||||
cd /opt/homelable/backend
|
||||
$STD uv venv --clear /opt/homelable/backend/.venv
|
||||
$STD uv venv --python 3.13 --clear /opt/homelable/backend/.venv
|
||||
$STD uv pip install --python /opt/homelable/backend/.venv/bin/python -r requirements.txt
|
||||
msg_ok "Updated Python Dependencies"
|
||||
|
||||
@@ -60,7 +61,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 --clear /opt/homelable/mcp/.venv
|
||||
$STD uv venv --python 3.13 --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
@@ -31,7 +31,7 @@ function update_script() {
|
||||
exit
|
||||
fi
|
||||
|
||||
setup_uv
|
||||
PYTHON_VERSION="3.12" setup_uv
|
||||
|
||||
if check_for_gh_release "kapowarr" "Casvt/Kapowarr"; then
|
||||
msg_info "Stopping Service"
|
||||
|
||||
@@ -40,6 +40,7 @@ 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
|
||||
|
||||
+2
-1
@@ -41,12 +41,13 @@ 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 --clear .venv && source .venv/bin/activate && uv pip install -r requirements.txt"
|
||||
$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 && 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"
|
||||
|
||||
@@ -36,6 +36,7 @@ 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}"
|
||||
|
||||
@@ -29,6 +29,7 @@ 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!"
|
||||
|
||||
@@ -38,6 +38,7 @@ 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
|
||||
|
||||
@@ -41,6 +41,7 @@ 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"
|
||||
|
||||
@@ -35,6 +35,7 @@ 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
@@ -35,12 +35,12 @@ function update_script() {
|
||||
systemctl stop scraparr
|
||||
msg_ok "Services Stopped"
|
||||
|
||||
PYTHON_VERSION="3.12" setup_uv
|
||||
PYTHON_VERSION="3.13" setup_uv
|
||||
fetch_and_deploy_gh_release "scrappar" "thecfu/scraparr" "tarball" "latest" "/opt/scraparr"
|
||||
|
||||
msg_info "Updating Scraparr"
|
||||
cd /opt/scraparr
|
||||
$STD uv venv --clear /opt/scraparr/.venv
|
||||
$STD uv venv --python 3.13 --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
|
||||
|
||||
@@ -43,6 +43,7 @@ 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
@@ -29,7 +29,7 @@ function update_script() {
|
||||
exit
|
||||
fi
|
||||
|
||||
setup_uv
|
||||
PYTHON_VERSION="3.13" 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
|
||||
|
||||
|
||||
+2
-1
@@ -49,9 +49,10 @@ function update_script() {
|
||||
|
||||
restore_backup
|
||||
|
||||
PYTHON_VERSION="3.13" setup_uv
|
||||
msg_info "Updating Python Dependencies"
|
||||
cd /opt/transmute
|
||||
$STD uv venv --clear /opt/transmute/.venv
|
||||
$STD uv venv --python 3.13 --clear /opt/transmute/.venv
|
||||
$STD uv pip install --python /opt/transmute/.venv/bin/python -r requirements.txt
|
||||
msg_ok "Updated Python Dependencies"
|
||||
|
||||
|
||||
@@ -47,6 +47,7 @@ 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
|
||||
|
||||
@@ -41,6 +41,8 @@ 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)
|
||||
|
||||
Reference in new issue
Block a user