mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-11-28 16:34:21 +01:00
Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fe5a81fdb0 | ||
|
|
4a3b7cbc02 | ||
|
|
b43d52b91b | ||
|
|
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
|
create_backup /opt/anki-sync-server/.env /opt/anki-sync-server/data
|
||||||
|
|
||||||
|
PYTHON_VERSION="3.12" setup_uv
|
||||||
msg_info "Updating Anki Sync Server"
|
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")"
|
$STD uv pip install --python /opt/anki-sync-server/venv/bin/python "anki==$(get_latest_github_release "ankitects/anki")"
|
||||||
cat <<EOF >~/.anki-sync-server
|
cat <<EOF >~/.anki-sync-server
|
||||||
@@ -61,5 +62,7 @@ description
|
|||||||
|
|
||||||
msg_ok "Completed Successfully!\n"
|
msg_ok "Completed Successfully!\n"
|
||||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||||
echo -e "${INFO}${YW}Access it using the following URL:${CL}"
|
echo -e "${INFO}${YW}Health check:${CL}"
|
||||||
echo -e "${GATEWAY}${BGN}http://${IP}:8080${CL}"
|
echo -e "${GATEWAY}${BGN}http://${IP}:8080/health${CL}"
|
||||||
|
echo -e "${INFO}${YW}Sync server URL for the Anki clients:${CL}"
|
||||||
|
echo -e "${GATEWAY}${BGN}http://${IP}:8080/${CL}"
|
||||||
@@ -45,6 +45,7 @@ function update_script() {
|
|||||||
|
|
||||||
create_backup /opt/airflow/.env
|
create_backup /opt/airflow/.env
|
||||||
|
|
||||||
|
PYTHON_VERSION="3.12" setup_uv
|
||||||
msg_info "Updating Apache Airflow to ${LATEST}"
|
msg_info "Updating Apache Airflow to ${LATEST}"
|
||||||
$STD uv pip install --python /opt/airflow/.venv/bin/python \
|
$STD uv pip install --python /opt/airflow/.venv/bin/python \
|
||||||
"apache-airflow[postgres,fab]==${LATEST}" \
|
"apache-airflow[postgres,fab]==${LATEST}" \
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ function update_script() {
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
PYTHON_VERSION="3.12" setup_uv
|
||||||
msg_info "Updating Python Environment (${AUDIOMUSE_BACKEND})"
|
msg_info "Updating Python Environment (${AUDIOMUSE_BACKEND})"
|
||||||
cd /opt/audiomuse-ai
|
cd /opt/audiomuse-ai
|
||||||
$STD uv venv --clear --seed --python "$PY_VERSION" /opt/audiomuse-ai/.venv
|
$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"
|
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"
|
msg_info "Updating Python Dependencies"
|
||||||
cd /opt/bambuddy
|
cd /opt/bambuddy
|
||||||
$STD uv venv --clear
|
$STD uv venv --python 3.13 --clear
|
||||||
$STD uv pip install -r requirements.txt
|
$STD uv pip install -r requirements.txt
|
||||||
msg_ok "Updated Python Dependencies"
|
msg_ok "Updated Python Dependencies"
|
||||||
|
|
||||||
|
|||||||
@@ -69,6 +69,7 @@ function update_script() {
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
PYTHON_VERSION="3.12" setup_uv
|
||||||
if [[ "$(cat /opt/borg1-venv/.pinned_version 2>/dev/null)" != "$BORG1_VERSION" ]]; then
|
if [[ "$(cat /opt/borg1-venv/.pinned_version 2>/dev/null)" != "$BORG1_VERSION" ]]; then
|
||||||
msg_info "Installing Borg ${BORG1_VERSION} (Patience)"
|
msg_info "Installing Borg ${BORG1_VERSION} (Patience)"
|
||||||
$STD uv venv --clear --python "$BORG_PYTHON" /opt/borg1-venv
|
$STD uv venv --clear --python "$BORG_PYTHON" /opt/borg1-venv
|
||||||
|
|||||||
+4
-3
@@ -40,14 +40,15 @@ function update_script() {
|
|||||||
|
|
||||||
create_backup /opt/fireshare/fireshare.env
|
create_backup /opt/fireshare/fireshare.env
|
||||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "fireshare" "ShaneIsrael/fireshare" "tarball"
|
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
|
restore_backup
|
||||||
rm -f /usr/local/bin/fireshare
|
rm -f /usr/local/bin/fireshare
|
||||||
|
|
||||||
if ! grep -q "__FIRESHARE_PORT__" /etc/nginx/nginx.conf; then
|
if ! grep -q "__FIRESHARE_PORT__" /etc/nginx/nginx.conf; then
|
||||||
cp /opt/fireshare/app/nginx/prod.conf /etc/nginx/nginx.conf
|
cp /opt/fireshare/app/nginx/prod.conf /etc/nginx/nginx.conf
|
||||||
sed -i 's|root /processed/|root /opt/fireshare-processed/|g' /etc/nginx/nginx.conf
|
sed -i 's|root /processed/|root /opt/fireshare-processed/|g' /etc/nginx/nginx.conf
|
||||||
sed -i 's/^user[[:space:]]\+nginx;/user root;/' /etc/nginx/nginx.conf
|
sed -i 's|alias /data/|alias /opt/fireshare-data/|g' /etc/nginx/nginx.conf
|
||||||
|
sed -i 's/^user[[:space:]]\+[^;]*;/user root;/' /etc/nginx/nginx.conf
|
||||||
sed -i 's|root[[:space:]]\+/app/build;|root /opt/fireshare/app/client/build;|' /etc/nginx/nginx.conf
|
sed -i 's|root[[:space:]]\+/app/build;|root /opt/fireshare/app/client/build;|' /etc/nginx/nginx.conf
|
||||||
sed -i 's/__FIRESHARE_PORT__/80/g' /etc/nginx/nginx.conf
|
sed -i 's/__FIRESHARE_PORT__/80/g' /etc/nginx/nginx.conf
|
||||||
cp /opt/fireshare/app/nginx/error.html /etc/nginx/
|
cp /opt/fireshare/app/nginx/error.html /etc/nginx/
|
||||||
@@ -56,7 +57,7 @@ function update_script() {
|
|||||||
msg_info "Configuring Fireshare"
|
msg_info "Configuring Fireshare"
|
||||||
|
|
||||||
cd /opt/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 ensurepip --upgrade
|
||||||
$STD .venv/bin/python -m pip install --upgrade --break-system-packages pip
|
$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
|
$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
|
restore_backup
|
||||||
|
|
||||||
|
PYTHON_VERSION="3.13" setup_uv
|
||||||
msg_info "Updating Python Dependencies"
|
msg_info "Updating Python Dependencies"
|
||||||
cd /opt/homelable/backend
|
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
|
$STD uv pip install --python /opt/homelable/backend/.venv/bin/python -r requirements.txt
|
||||||
msg_ok "Updated Python Dependencies"
|
msg_ok "Updated Python Dependencies"
|
||||||
|
|
||||||
@@ -60,7 +61,7 @@ function update_script() {
|
|||||||
msg_info "Restoring MCP Server"
|
msg_info "Restoring MCP Server"
|
||||||
MCP_OWNER=$(stat -c '%U' /opt/homelable/mcp/.env)
|
MCP_OWNER=$(stat -c '%U' /opt/homelable/mcp/.env)
|
||||||
cd /opt/homelable/mcp
|
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
|
$STD uv pip install --python /opt/homelable/mcp/.venv/bin/python -r requirements.txt
|
||||||
chown -R "$MCP_OWNER":"$MCP_OWNER" /opt/homelable/mcp
|
chown -R "$MCP_OWNER":"$MCP_OWNER" /opt/homelable/mcp
|
||||||
systemctl restart homelable-mcp
|
systemctl restart homelable-mcp
|
||||||
|
|||||||
+1
-1
@@ -31,7 +31,7 @@ function update_script() {
|
|||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
setup_uv
|
PYTHON_VERSION="3.12" setup_uv
|
||||||
|
|
||||||
if check_for_gh_release "kapowarr" "Casvt/Kapowarr"; then
|
if check_for_gh_release "kapowarr" "Casvt/Kapowarr"; then
|
||||||
msg_info "Stopping Service"
|
msg_info "Stopping Service"
|
||||||
|
|||||||
@@ -40,6 +40,7 @@ function update_script() {
|
|||||||
|
|
||||||
create_backup /opt/kima-hub/backend/.env /opt/kima-hub/frontend/.env
|
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"
|
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "kima-hub" "Chevron7Locked/kima-hub" "tarball"
|
||||||
|
|
||||||
restore_backup
|
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"
|
CLEAN_INSTALL=1 CLEAN_INSTALL_KEEP="rrd" fetch_and_deploy_gh_release "librenms" "librenms/librenms" "tarball"
|
||||||
restore_backup
|
restore_backup
|
||||||
|
|
||||||
|
PYTHON_VERSION="3.13" setup_uv
|
||||||
msg_info "Updating LibreNMS"
|
msg_info "Updating LibreNMS"
|
||||||
mkdir -p /opt/librenms/{rrd,logs,bootstrap/cache,storage}
|
mkdir -p /opt/librenms/{rrd,logs,bootstrap/cache,storage}
|
||||||
chown -R librenms:librenms /opt/librenms
|
chown -R librenms:librenms /opt/librenms
|
||||||
chmod 771 /opt/librenms
|
chmod 771 /opt/librenms
|
||||||
chmod -R ug=rwX /opt/librenms/bootstrap/cache /opt/librenms/storage /opt/librenms/logs /opt/librenms/rrd
|
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 && 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 optimize:clear"
|
||||||
$STD su - librenms -s /bin/bash -c "cd /opt/librenms && php8.4 artisan migrate --force --isolated"
|
$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
|
systemctl stop matter-server
|
||||||
msg_ok "Stopped Service"
|
msg_ok "Stopped Service"
|
||||||
|
|
||||||
|
PYTHON_VERSION="3.12" setup_uv
|
||||||
msg_info "Updating Matter Server"
|
msg_info "Updating Matter Server"
|
||||||
MATTER_VERSION=$(get_latest_github_release "matter-js/python-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}"
|
$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
|
fi
|
||||||
|
|
||||||
if check_for_gh_release "mylar3" "MylarComics/mylar3"; then
|
if check_for_gh_release "mylar3" "MylarComics/mylar3"; then
|
||||||
|
PYTHON_VERSION="3.11" setup_uv
|
||||||
fetch_and_deploy_gh_release "mylar3" "MylarComics/mylar3" "tarball"
|
fetch_and_deploy_gh_release "mylar3" "MylarComics/mylar3" "tarball"
|
||||||
systemctl restart mylar3
|
systemctl restart mylar3
|
||||||
msg_ok "Updated successfully!"
|
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"
|
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"
|
msg_info "Updating NetAlertX"
|
||||||
cd /opt/netalertx
|
cd /opt/netalertx
|
||||||
$STD uv pip install --python .venv/bin/python -r requirements.txt
|
$STD uv pip install --python .venv/bin/python -r requirements.txt
|
||||||
|
|||||||
@@ -41,6 +41,7 @@ function update_script() {
|
|||||||
systemctl stop openviking
|
systemctl stop openviking
|
||||||
msg_ok "Stopped Service"
|
msg_ok "Stopped Service"
|
||||||
|
|
||||||
|
PYTHON_VERSION="3.12" setup_uv
|
||||||
msg_info "Updating OpenViking"
|
msg_info "Updating OpenViking"
|
||||||
$STD uv pip install --python /opt/openviking/bin/python --upgrade openviking
|
$STD uv pip install --python /opt/openviking/bin/python --upgrade openviking
|
||||||
msg_ok "Updated OpenViking"
|
msg_ok "Updated OpenViking"
|
||||||
|
|||||||
@@ -35,6 +35,7 @@ function update_script() {
|
|||||||
systemctl stop pyload
|
systemctl stop pyload
|
||||||
msg_ok "Stopped Service"
|
msg_ok "Stopped Service"
|
||||||
|
|
||||||
|
PYTHON_VERSION="3.13" setup_uv
|
||||||
msg_info "Updating ${APP}"
|
msg_info "Updating ${APP}"
|
||||||
$STD uv pip install --python /opt/pyload/.venv --upgrade --prerelease allow "pyload-ng[all]"
|
$STD uv pip install --python /opt/pyload/.venv --upgrade --prerelease allow "pyload-ng[all]"
|
||||||
msg_ok "Updated ${APP}"
|
msg_ok "Updated ${APP}"
|
||||||
|
|||||||
+2
-2
@@ -35,12 +35,12 @@ function update_script() {
|
|||||||
systemctl stop scraparr
|
systemctl stop scraparr
|
||||||
msg_ok "Services Stopped"
|
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"
|
fetch_and_deploy_gh_release "scrappar" "thecfu/scraparr" "tarball" "latest" "/opt/scraparr"
|
||||||
|
|
||||||
msg_info "Updating Scraparr"
|
msg_info "Updating Scraparr"
|
||||||
cd /opt/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 ensurepip --upgrade
|
||||||
$STD /opt/scraparr/.venv/bin/python -m pip install --upgrade pip
|
$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
|
$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"
|
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"
|
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"
|
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/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
|
$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
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
setup_uv
|
PYTHON_VERSION="3.13" setup_uv
|
||||||
if check_for_gh_release "tianji" "msgbyte/tianji"; then
|
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
|
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
|
restore_backup
|
||||||
|
|
||||||
|
PYTHON_VERSION="3.13" setup_uv
|
||||||
msg_info "Updating Python Dependencies"
|
msg_info "Updating Python Dependencies"
|
||||||
cd /opt/transmute
|
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
|
$STD uv pip install --python /opt/transmute/.venv/bin/python -r requirements.txt
|
||||||
msg_ok "Updated Python Dependencies"
|
msg_ok "Updated Python Dependencies"
|
||||||
|
|
||||||
|
|||||||
@@ -47,6 +47,7 @@ function update_script() {
|
|||||||
cp -r /opt/trip/src/dist/trip/browser/* /opt/trip/frontend/
|
cp -r /opt/trip/src/dist/trip/browser/* /opt/trip/frontend/
|
||||||
msg_ok "Updated Frontend"
|
msg_ok "Updated Frontend"
|
||||||
|
|
||||||
|
PYTHON_VERSION="3.12" setup_uv
|
||||||
msg_info "Updating Backend"
|
msg_info "Updating Backend"
|
||||||
cd /opt/trip/backend
|
cd /opt/trip/backend
|
||||||
$STD uv pip install --python /opt/trip/.venv/bin/python -r trip/requirements.txt
|
$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_BACKEND="$(cat /opt/vllm/.backend 2>/dev/null || echo cuda)"
|
||||||
VLLM_VERSION="$(get_latest_github_release "vllm-project/vllm")"
|
VLLM_VERSION="$(get_latest_github_release "vllm-project/vllm")"
|
||||||
|
|
||||||
|
PYTHON_VERSION="3.12" setup_uv
|
||||||
msg_info "Updating vLLM (${VLLM_BACKEND}, Patience)"
|
msg_info "Updating vLLM (${VLLM_BACKEND}, Patience)"
|
||||||
case "$VLLM_BACKEND" in
|
case "$VLLM_BACKEND" in
|
||||||
rocm)
|
rocm)
|
||||||
|
|||||||
@@ -140,7 +140,8 @@ $STD npm run build
|
|||||||
systemctl stop nginx
|
systemctl stop nginx
|
||||||
cp /opt/fireshare/app/nginx/prod.conf /etc/nginx/nginx.conf
|
cp /opt/fireshare/app/nginx/prod.conf /etc/nginx/nginx.conf
|
||||||
sed -i 's|root /processed/|root /opt/fireshare-processed/|g' /etc/nginx/nginx.conf
|
sed -i 's|root /processed/|root /opt/fireshare-processed/|g' /etc/nginx/nginx.conf
|
||||||
sed -i 's/^user[[:space:]]\+nginx;/user root;/' /etc/nginx/nginx.conf
|
sed -i 's|alias /data/|alias /opt/fireshare-data/|g' /etc/nginx/nginx.conf
|
||||||
|
sed -i 's/^user[[:space:]]\+[^;]*;/user root;/' /etc/nginx/nginx.conf
|
||||||
sed -i 's|root[[:space:]]\+/app/build;|root /opt/fireshare/app/client/build;|' /etc/nginx/nginx.conf
|
sed -i 's|root[[:space:]]\+/app/build;|root /opt/fireshare/app/client/build;|' /etc/nginx/nginx.conf
|
||||||
sed -i 's/__FIRESHARE_PORT__/80/g' /etc/nginx/nginx.conf
|
sed -i 's/__FIRESHARE_PORT__/80/g' /etc/nginx/nginx.conf
|
||||||
cp /opt/fireshare/app/nginx/error.html /etc/nginx/
|
cp /opt/fireshare/app/nginx/error.html /etc/nginx/
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ fetch_and_deploy_gh_release "kima-hub" "Chevron7Locked/kima-hub" "tarball"
|
|||||||
|
|
||||||
msg_info "Installing Python Dependencies"
|
msg_info "Installing Python Dependencies"
|
||||||
$STD uv venv --python 3.13 /opt/kima-hub/venv
|
$STD uv venv --python 3.13 /opt/kima-hub/venv
|
||||||
$STD uv pip install --no-cache --python /opt/kima-hub/venv \
|
$STD uv pip install --no-cache --torch-backend cpu --python /opt/kima-hub/venv \
|
||||||
tensorflow \
|
tensorflow \
|
||||||
essentia-tensorflow \
|
essentia-tensorflow \
|
||||||
redis \
|
redis \
|
||||||
|
|||||||
Reference in new issue
Block a user