mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-11-28 16:34:21 +01:00
Compare commits
24
Commits
No files matched your search
+31
-1
@@ -587,6 +587,24 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
||||
|
||||
</details>
|
||||
|
||||
## 2026-11-28
|
||||
|
||||
### 🚀 Updated Scripts
|
||||
|
||||
- #### 🐞 Bug Fixes
|
||||
|
||||
- Garage: use published stable releases for install and update [@mormied22](https://github.com/mormied22) ([#19084](https://github.com/community-scripts/ProxmoxVE/pull/19084))
|
||||
|
||||
### 💾 Core
|
||||
|
||||
- PHP: Keep Sury from pulling a second PHP in, and read the version from packages [@MickLesk](https://github.com/MickLesk) ([core#316](https://github.com/community-scripts/core/pull/316))
|
||||
- Give PVE containers from linuxcontainers.org images the Proxmox templates Base set [@MickLesk](https://github.com/MickLesk) ([core#315](https://github.com/community-scripts/core/pull/315))
|
||||
- PHP: keep modules, pools and settings when setup_php changes the PHP version [@MickLesk](https://github.com/MickLesk) ([core#314](https://github.com/community-scripts/core/pull/314))
|
||||
|
||||
### 📚 Documentation
|
||||
|
||||
- docs: add 9.3 support [@cwmoriarty](https://github.com/cwmoriarty) ([#19129](https://github.com/community-scripts/ProxmoxVE/pull/19129))
|
||||
|
||||
## 2026-11-27
|
||||
|
||||
### 🆕 New Scripts
|
||||
@@ -595,13 +613,25 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
||||
|
||||
### 🚀 Updated Scripts
|
||||
|
||||
- #### 🐞 Bug Fixes
|
||||
|
||||
- yourls: bump PHP from 8.3 to 8.4 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#19104](https://github.com/community-scripts/ProxmoxVE/pull/19104))
|
||||
- tandoor: bump Python from 3.13 to 3.14 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#19110](https://github.com/community-scripts/ProxmoxVE/pull/19110))
|
||||
- poznote: bump PHP from 8.4 to 8.5 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#19102](https://github.com/community-scripts/ProxmoxVE/pull/19102))
|
||||
- suggestarr: bump Python from 3.12 to 3.13 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#19109](https://github.com/community-scripts/ProxmoxVE/pull/19109))
|
||||
- romm: bump Python from 3.13 to 3.14 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#19108](https://github.com/community-scripts/ProxmoxVE/pull/19108))
|
||||
- norish: bump Python from 3.14 to 3.15 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#19107](https://github.com/community-scripts/ProxmoxVE/pull/19107))
|
||||
- mealie: bump Python from 3.12 to 3.14 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#19106](https://github.com/community-scripts/ProxmoxVE/pull/19106))
|
||||
|
||||
- #### ✨ New Features
|
||||
|
||||
- Gramps Web: install AI chat dependencies [@owenvoke](https://github.com/owenvoke) ([#19092](https://github.com/community-scripts/ProxmoxVE/pull/19092))
|
||||
|
||||
### 💾 Core
|
||||
|
||||
- incus: check an imported VM image on the target remote [@MickLesk](https://github.com/MickLesk) ([core#309](https://github.com/community-scripts/core/pull/309))
|
||||
- Incus: offer the LAN network IncusOS gives instances, and rank NAT last [@MickLesk](https://github.com/MickLesk) ([core#313](https://github.com/community-scripts/core/pull/313))
|
||||
- core: wait for the package lists lock instead of taking it for a bad mirror [@MickLesk](https://github.com/MickLesk) ([core#304](https://github.com/community-scripts/core/pull/304))
|
||||
- incus: check an imported VM image on the target remote [@MickLesk](https://github.com/MickLesk) ([core#309](https://github.com/community-scripts/core/pull/309))
|
||||
- Offer no DNS retry to a container without a connection out [@MickLesk](https://github.com/MickLesk) ([core#310](https://github.com/community-scripts/core/pull/310))
|
||||
- Refuse a static address without a gateway before pct create [@MickLesk](https://github.com/MickLesk) ([core#312](https://github.com/community-scripts/core/pull/312))
|
||||
- Protect a container once its install succeeded, not at creation [@MickLesk](https://github.com/MickLesk) ([core#311](https://github.com/community-scripts/core/pull/311))
|
||||
|
||||
@@ -76,7 +76,7 @@ guest's own package manager.
|
||||
|
||||
| Component | Details |
|
||||
| --------- | ------- |
|
||||
| **Proxmox VE** | 8.0 – 8.4, or 9.0 – 9.2 |
|
||||
| **Proxmox VE** | 8.0 – 8.4, or 9.0 – 9.3 |
|
||||
| **Access** | Root shell on the Proxmox host |
|
||||
| **Network** | Internet access during installation |
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@ This project currently supports the following versions of Proxmox VE (PVE):
|
||||
|
||||
| Version | Supported |
|
||||
| ------- | ------------------ |
|
||||
| 9.3.x | :white_check_mark: |
|
||||
| 9.2.x | :white_check_mark: |
|
||||
| 9.1.x | :white_check_mark: |
|
||||
| 9.0.x | :white_check_mark: |
|
||||
|
||||
+44
-59
@@ -33,73 +33,58 @@ color
|
||||
catch_errors
|
||||
|
||||
update_deb_based() {
|
||||
if [[ ! -f /usr/local/bin/garage ]]; then
|
||||
msg_error "No ${APP} Installation Found!"
|
||||
exit
|
||||
fi
|
||||
GITEA_RELEASE=$(curl -fsSL https://api.github.com/repos/deuxfleurs-org/garage/tags | jq -r '.[0].name')
|
||||
if [[ "${GITEA_RELEASE}" != "$(cat ~/.garage 2>/dev/null)" ]] || [[ ! -f ~/.garage ]]; then
|
||||
msg_info "Stopping Service"
|
||||
systemctl stop garage
|
||||
msg_ok "Stopped Service"
|
||||
|
||||
msg_info "Backing Up Data"
|
||||
cp /usr/local/bin/garage /usr/local/bin/garage.old 2>/dev/null || true
|
||||
cp /etc/garage.toml /etc/garage.toml.bak 2>/dev/null || true
|
||||
msg_ok "Backed Up Data"
|
||||
|
||||
msg_info "Updating Garage"
|
||||
curl -fsSL "https://garagehq.deuxfleurs.fr/_releases/${GITEA_RELEASE}/$(arch_resolve "x86_64" "aarch64")-unknown-linux-musl/garage" -o /usr/local/bin/garage
|
||||
chmod +x /usr/local/bin/garage
|
||||
echo "${GITEA_RELEASE}" >~/.garage
|
||||
msg_ok "Updated Garage"
|
||||
|
||||
msg_info "Starting Service"
|
||||
systemctl start garage
|
||||
msg_ok "Started Service"
|
||||
msg_ok "Updated successfully!"
|
||||
else
|
||||
msg_ok "No update required. Garage is already at ${GITEA_RELEASE}"
|
||||
fi
|
||||
systemctl restart garage
|
||||
}
|
||||
|
||||
update_alpine() {
|
||||
if [[ ! -f /usr/local/bin/garage ]]; then
|
||||
msg_error "No ${APP} Installation Found!"
|
||||
exit
|
||||
fi
|
||||
|
||||
GITEA_RELEASE=$(curl -fsSL https://api.github.com/repos/deuxfleurs-org/garage/tags | jq -r '.[0].name')
|
||||
if [[ "${GITEA_RELEASE}" != "$(cat ~/.garage 2>/dev/null)" ]] || [[ ! -f ~/.garage ]]; then
|
||||
msg_info "Stopping Service"
|
||||
rc-service garage stop || true
|
||||
msg_ok "Stopped Service"
|
||||
|
||||
msg_info "Backing Up Data"
|
||||
cp /usr/local/bin/garage /usr/local/bin/garage.old 2>/dev/null || true
|
||||
cp /etc/garage.toml /etc/garage.toml.bak 2>/dev/null || true
|
||||
msg_ok "Backed Up Data"
|
||||
|
||||
msg_info "Updating Garage"
|
||||
curl -fsSL "https://garagehq.deuxfleurs.fr/_releases/${GITEA_RELEASE}/$(arch_resolve "x86_64" "aarch64")-unknown-linux-musl/garage" -o /usr/local/bin/garage
|
||||
chmod +x /usr/local/bin/garage
|
||||
echo "${GITEA_RELEASE}" >~/.garage
|
||||
msg_ok "Updated Garage"
|
||||
|
||||
msg_info "Starting Service"
|
||||
rc-service garage start || rc-service garage restart
|
||||
msg_ok "Started Service"
|
||||
msg_ok "Updated successfully!"
|
||||
else
|
||||
msg_ok "No update required. Garage is already at ${GITEA_RELEASE}"
|
||||
fi
|
||||
rc-service garage restart || rc-service garage start
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
header_info
|
||||
check_container_storage
|
||||
check_container_resources
|
||||
|
||||
if [[ ! -f /usr/local/bin/garage ]]; then
|
||||
msg_error "No Garage installation found"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
local garage_release garage_binary
|
||||
garage_release=$(curl -fsSL https://git.deuxfleurs.fr/api/v1/repos/Deuxfleurs/garage/releases/latest |
|
||||
jq -er 'select(.draft == false and .prerelease == false) | .tag_name | strings | select(length > 0)') || {
|
||||
msg_error "Could not determine the latest stable Garage release"
|
||||
exit 1
|
||||
}
|
||||
if [[ -f ~/.garage && "$garage_release" == "$(<~/.garage)" ]]; then
|
||||
msg_ok "No update required. Garage is already at ${garage_release}"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
msg_info "Downloading Garage ${garage_release}"
|
||||
garage_binary=$(mktemp /usr/local/bin/garage.XXXXXX)
|
||||
if ! download_file "https://garagehq.deuxfleurs.fr/_releases/${garage_release}/$(arch_resolve "x86_64" "aarch64")-unknown-linux-musl/garage" "$garage_binary"; then
|
||||
rm -f "$garage_binary"
|
||||
exit 1
|
||||
fi
|
||||
msg_ok "Downloaded Garage ${garage_release}"
|
||||
|
||||
msg_info "Backing up Garage"
|
||||
cp /usr/local/bin/garage /usr/local/bin/garage.old 2>/dev/null || true
|
||||
cp /etc/garage.toml /etc/garage.toml.bak 2>/dev/null || true
|
||||
msg_ok "Backed up Garage"
|
||||
|
||||
msg_info "Updating Garage"
|
||||
chmod 755 "$garage_binary"
|
||||
mv -f "$garage_binary" /usr/local/bin/garage
|
||||
msg_ok "Updated Garage"
|
||||
|
||||
msg_info "Restarting Garage"
|
||||
run_os_update
|
||||
msg_ok "Restarted Garage"
|
||||
printf '%s\n' "$garage_release" >~/.garage
|
||||
msg_ok "Updated Garage successfully"
|
||||
exit 0
|
||||
}
|
||||
|
||||
start
|
||||
@@ -108,5 +93,5 @@ description
|
||||
|
||||
msg_ok "Completed successfully!\n"
|
||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||
echo -e "${INFO}${YW}Access it using the following URL:${CL}"
|
||||
echo -e "${GATEWAY}${BGN}http://${IP}${CL}"
|
||||
echo -e "${INFO}${YW}Use this Garage S3 API endpoint${CL}"
|
||||
echo -e "${GATEWAY}${BGN}http://${IP}:3900${CL}"
|
||||
+1
-1
@@ -45,7 +45,7 @@ function update_script() {
|
||||
msg_ok "Backup completed"
|
||||
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "mealie" "mealie-recipes/mealie" "tarball"
|
||||
PYTHON_VERSION="3.12" UV_PROJECT_DIR="/opt/mealie" setup_uv
|
||||
PYTHON_VERSION="3.14" UV_PROJECT_DIR="/opt/mealie" setup_uv
|
||||
|
||||
msg_info "Restoring Configuration"
|
||||
mv -f /opt/mealie.env /opt/mealie/mealie.env
|
||||
|
||||
@@ -0,0 +1,81 @@
|
||||
#!/usr/bin/env bash
|
||||
_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func"
|
||||
source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func")
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: MickLesk (CanbiZ)
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://gitlab.com/g33kphr33k/musicgrabber
|
||||
|
||||
APP="MusicGrabber"
|
||||
var_tags="${var_tags:-music;downloader;media}"
|
||||
var_cpu="${var_cpu:-2}"
|
||||
var_ram="${var_ram:-2048}"
|
||||
var_disk="${var_disk:-8}"
|
||||
var_os="${var_os:-debian}"
|
||||
var_version="${var_version:-13}"
|
||||
#var_arm64="${var_arm64:-no}" # unset = ask the user; arm64 uses Debian Chromium instead of Google Chrome, not run yet
|
||||
var_unprivileged="${var_unprivileged:-1}"
|
||||
|
||||
header_info "$APP"
|
||||
variables
|
||||
color
|
||||
catch_errors
|
||||
|
||||
function update_script() {
|
||||
header_info
|
||||
check_container_storage
|
||||
check_container_resources
|
||||
|
||||
if [[ ! -d /opt/musicgrabber ]]; then
|
||||
msg_error "No ${APP} Installation Found!"
|
||||
exit
|
||||
fi
|
||||
|
||||
RELEASE=$(get_latest_gl_tag "g33kphr33k/musicgrabber" "v*")
|
||||
if [[ "$RELEASE" == "$(cat ~/.musicgrabber 2>/dev/null)" ]]; then
|
||||
msg_ok "No update required. ${APP} is already at ${RELEASE}"
|
||||
exit
|
||||
fi
|
||||
|
||||
msg_info "Stopping MusicGrabber"
|
||||
systemctl stop musicgrabber
|
||||
msg_ok "Stopped MusicGrabber"
|
||||
|
||||
fetch_and_deploy_gh_release "yt-dlp" "yt-dlp/yt-dlp" "singlefile" "latest" "/usr/local/bin" "yt-dlp_$(arch_resolve "linux" "linux_aarch64")"
|
||||
fetch_and_deploy_gh_release "deno" "denoland/deno" "prebuild" "latest" "/usr/local/bin" "deno-$(arch_resolve "x86_64" "aarch64")-unknown-linux-gnu.zip"
|
||||
CLEAN_INSTALL=1 CLEAN_INSTALL_KEEP=".venv" fetch_and_deploy_gl_tag "musicgrabber" "g33kphr33k/musicgrabber" "$RELEASE"
|
||||
|
||||
msg_info "Updating MusicGrabber"
|
||||
cd /opt/musicgrabber
|
||||
$STD uv pip install --python .venv/bin/python \
|
||||
"fastapi~=0.162.0" \
|
||||
"uvicorn[standard]~=0.54.0" \
|
||||
"httpx~=0.28.1" \
|
||||
"pydantic~=2.14.1" \
|
||||
"mutagen~=1.48.1" \
|
||||
"playwright~=1.64.1" \
|
||||
"apprise>=1.13.1,<2" \
|
||||
"bcrypt~=4.3.0" \
|
||||
"pycryptodome~=4.2.0" \
|
||||
"certifi>=2026.10.18" \
|
||||
"seleniumbase>=4.54,<5"
|
||||
PLAYWRIGHT_BROWSERS_PATH=/opt/ms-playwright $STD .venv/bin/playwright install chromium
|
||||
msg_ok "Updated MusicGrabber"
|
||||
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_from_url "https://codeload.github.com/FraysKosher/flac-verifier/tar.gz/$(grep -oP 'FraysKosher/flac-verifier/tar.gz/\K[0-9a-f]+' /opt/musicgrabber/Dockerfile)" "/opt/flac-verifier/engine"
|
||||
|
||||
msg_info "Starting MusicGrabber"
|
||||
systemctl start musicgrabber
|
||||
msg_ok "Started MusicGrabber"
|
||||
msg_ok "Updated successfully!"
|
||||
exit
|
||||
}
|
||||
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
||||
msg_ok "Completed Successfully!\n"
|
||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||
echo -e "${INFO}${YW}Access it using the following URL:${CL}"
|
||||
echo -e "${GATEWAY}${BGN}http://${IP}:8080${CL}"
|
||||
+1
-1
@@ -38,7 +38,7 @@ function update_script() {
|
||||
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "norish" "norish-recipes/norish" "tarball"
|
||||
NODE_VERSION="26" NODE_MODULE="pnpm@$(jq -r '.packageManager | split("@")[1]' /opt/norish/package.json)" setup_nodejs
|
||||
PYTHON_VERSION="3.14" setup_uv
|
||||
PYTHON_VERSION="3.15" setup_uv
|
||||
fetch_and_deploy_gh_release "obscura" "$(sed -n 's#^OBSCURA_REPO=https://github.com/##p' /opt/norish/docker/obscura/pin.env)" "prebuild" "v$(sed -n 's/^OBSCURA_VERSION=//p' /opt/norish/docker/obscura/pin.env)" "/opt/obscura" "obscura-$(arch_resolve "x86_64" "aarch64")-linux-stealth.tar.gz"
|
||||
fetch_and_deploy_gh_release "yt-dlp" "yt-dlp/yt-dlp" "singlefile" "latest" "/usr/local/bin" "$(arch_resolve "yt-dlp_linux" "yt-dlp_linux_aarch64")"
|
||||
|
||||
|
||||
@@ -39,6 +39,7 @@ function update_script() {
|
||||
|
||||
create_backup /var/www/html/data
|
||||
|
||||
PHP_VERSION="8.5" PHP_FPM="YES" setup_php
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "poznote" "timothepoznanski/poznote" "tarball"
|
||||
|
||||
msg_info "Deploying New Version"
|
||||
|
||||
+1
-1
@@ -73,7 +73,7 @@ function update_script() {
|
||||
/opt/romm/frontend/dist/assets/ruffle
|
||||
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "romm" "rommapp/romm" "tarball" "latest" "/opt/romm"
|
||||
PYTHON_VERSION="3.13" UV_PROJECT_DIR="/opt/romm" setup_uv
|
||||
PYTHON_VERSION="3.14" UV_PROJECT_DIR="/opt/romm" setup_uv
|
||||
echo "__version__ = \"$(cat ~/.romm)\"" >/opt/romm/backend/__version__.py
|
||||
|
||||
find /opt/romm/backend/alembic/versions -maxdepth 1 -type f -name '1.*.py' -delete 2>/dev/null || true
|
||||
|
||||
+1
-1
@@ -62,7 +62,7 @@ function update_script() {
|
||||
|
||||
msg_info "Updating Python Environment"
|
||||
cd /opt/suggestarr
|
||||
$STD uv venv --python 3.12 /opt/suggestarr/.venv
|
||||
$STD uv venv --python 3.13 /opt/suggestarr/.venv
|
||||
$STD uv pip install --python /opt/suggestarr/.venv -r /opt/suggestarr/api_service/requirements.txt
|
||||
msg_ok "Updated Python Environment"
|
||||
|
||||
|
||||
+1
-1
@@ -47,7 +47,7 @@ function update_script() {
|
||||
create_backup /opt/tandoor/.env
|
||||
|
||||
NODE_VERSION="22" NODE_MODULE="yarn" setup_nodejs
|
||||
PYTHON_VERSION="3.13" setup_uv
|
||||
PYTHON_VERSION="3.14" setup_uv
|
||||
CLEAN_INSTALL=1 CLEAN_INSTALL_KEEP="config api mediafiles staticfiles" fetch_and_deploy_gh_release "tandoor" "TandoorRecipes/recipes" "tarball" "latest" "/opt/tandoor"
|
||||
|
||||
restore_backup
|
||||
|
||||
@@ -38,6 +38,7 @@ function update_script() {
|
||||
|
||||
create_backup /opt/yourls/user
|
||||
|
||||
PHP_VERSION="8.4" PHP_FPM="YES" PHP_MODULE="mysql,mbstring,gd,xml,curl" setup_php
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "yourls" "YOURLS/YOURLS" "tarball"
|
||||
|
||||
restore_backup
|
||||
|
||||
@@ -15,8 +15,7 @@ update_os
|
||||
|
||||
setup_deb_based() {
|
||||
msg_info "Setup Garage"
|
||||
GITEA_RELEASE=$(curl -s https://api.github.com/repos/deuxfleurs-org/garage/tags | jq -r '.[0].name')
|
||||
curl -fsSL "https://garagehq.deuxfleurs.fr/_releases/${GITEA_RELEASE}/$(arch_resolve "x86_64" "aarch64")-unknown-linux-musl/garage" -o /usr/local/bin/garage
|
||||
download_file "https://garagehq.deuxfleurs.fr/_releases/${garage_release}/$(arch_resolve "x86_64" "aarch64")-unknown-linux-musl/garage" /usr/local/bin/garage
|
||||
chmod +x /usr/local/bin/garage
|
||||
mkdir -p /var/lib/garage/{data,meta,snapshots}
|
||||
mkdir -p /etc/garage
|
||||
@@ -29,7 +28,7 @@ RPC Secret: $RPC_SECRET
|
||||
Admin Token: $ADMIN_TOKEN
|
||||
Metrics Token: $METRICS_TOKEN
|
||||
EOF
|
||||
echo $GITEA_RELEASE >>~/.garage
|
||||
printf '%s\n' "$garage_release" >~/.garage
|
||||
cat <<EOF >/etc/garage.toml
|
||||
metadata_dir = "/var/lib/garage/meta"
|
||||
data_dir = "/var/lib/garage/data"
|
||||
@@ -91,8 +90,7 @@ setup_alpine() {
|
||||
$STD apk add --no-cache openssl
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
GITEA_RELEASE=$(curl -s https://api.github.com/repos/deuxfleurs-org/garage/tags | jq -r '.[0].name')
|
||||
curl -fsSL "https://garagehq.deuxfleurs.fr/_releases/${GITEA_RELEASE}/$(arch_resolve "x86_64" "aarch64")-unknown-linux-musl/garage" -o /usr/local/bin/garage
|
||||
download_file "https://garagehq.deuxfleurs.fr/_releases/${garage_release}/$(arch_resolve "x86_64" "aarch64")-unknown-linux-musl/garage" /usr/local/bin/garage
|
||||
chmod +x /usr/local/bin/garage
|
||||
mkdir -p /var/lib/garage/{data,meta,snapshots}
|
||||
mkdir -p /etc/garage
|
||||
@@ -105,7 +103,7 @@ RPC Secret: $RPC_SECRET
|
||||
Admin Token: $ADMIN_TOKEN
|
||||
Metrics Token: $METRICS_TOKEN
|
||||
EOF
|
||||
echo $GITEA_RELEASE >>~/.garage
|
||||
printf '%s\n' "$garage_release" >~/.garage
|
||||
cat <<EOF >/etc/garage.toml
|
||||
metadata_dir = "/var/lib/garage/meta"
|
||||
data_dir = "/var/lib/garage/data"
|
||||
@@ -155,6 +153,11 @@ EOF
|
||||
msg_ok "Service active"
|
||||
}
|
||||
|
||||
garage_release=$(curl -fsSL https://git.deuxfleurs.fr/api/v1/repos/Deuxfleurs/garage/releases/latest |
|
||||
jq -er 'select(.draft == false and .prerelease == false) | .tag_name | strings | select(length > 0)') || {
|
||||
msg_error "Could not determine the latest stable Garage release"
|
||||
exit 1
|
||||
}
|
||||
run_os_setup
|
||||
|
||||
motd_ssh
|
||||
|
||||
@@ -30,7 +30,7 @@ msg_ok "Installed Dependencies"
|
||||
|
||||
PG_VERSION="16" setup_postgresql
|
||||
fetch_and_deploy_gh_release "mealie" "mealie-recipes/mealie" "tarball"
|
||||
PYTHON_VERSION="3.12" UV_PROJECT_DIR="/opt/mealie" setup_uv
|
||||
PYTHON_VERSION="3.14" UV_PROJECT_DIR="/opt/mealie" setup_uv
|
||||
PG_DB_NAME="mealie_db" PG_DB_USER="mealie_user" PG_DB_GRANT_SUPERUSER="true" setup_postgresql_db
|
||||
|
||||
if [[ -f /opt/mealie/frontend/pnpm-lock.yaml ]]; then
|
||||
|
||||
@@ -0,0 +1,107 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: MickLesk (CanbiZ)
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://gitlab.com/g33kphr33k/musicgrabber
|
||||
|
||||
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
||||
color
|
||||
verb_ip6
|
||||
catch_errors
|
||||
setting_up_container
|
||||
network_check
|
||||
update_os
|
||||
|
||||
msg_info "Installing Dependencies"
|
||||
$STD apt install -y \
|
||||
libchromaprint-tools \
|
||||
xauth \
|
||||
xvfb
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
setup_ffmpeg
|
||||
PYTHON_VERSION="3.12" setup_uv
|
||||
fetch_and_deploy_gh_release "yt-dlp" "yt-dlp/yt-dlp" "singlefile" "latest" "/usr/local/bin" "yt-dlp_$(arch_resolve "linux" "linux_aarch64")"
|
||||
fetch_and_deploy_gh_release "deno" "denoland/deno" "prebuild" "latest" "/usr/local/bin" "deno-$(arch_resolve "x86_64" "aarch64")-unknown-linux-gnu.zip"
|
||||
fetch_and_deploy_gl_tag "musicgrabber" "g33kphr33k/musicgrabber" "v*"
|
||||
|
||||
msg_info "Setting up MusicGrabber"
|
||||
cd /opt/musicgrabber
|
||||
$STD uv venv --python 3.12 .venv
|
||||
$STD uv pip install --python .venv/bin/python \
|
||||
"fastapi~=0.162.0" \
|
||||
"uvicorn[standard]~=0.54.0" \
|
||||
"httpx~=0.28.1" \
|
||||
"pydantic~=2.14.1" \
|
||||
"mutagen~=1.48.1" \
|
||||
"playwright~=1.64.1" \
|
||||
"apprise>=1.13.1,<2" \
|
||||
"bcrypt~=4.3.0" \
|
||||
"pycryptodome~=4.2.0" \
|
||||
"certifi>=2026.10.18" \
|
||||
"seleniumbase>=4.54,<5"
|
||||
PLAYWRIGHT_BROWSERS_PATH=/opt/ms-playwright $STD .venv/bin/playwright install --with-deps chromium
|
||||
msg_ok "Set up MusicGrabber"
|
||||
|
||||
msg_info "Installing Browser for SeleniumBase"
|
||||
if [[ "$(arch_resolve)" == "amd64" ]]; then
|
||||
setup_deb822_repo \
|
||||
"google-chrome" \
|
||||
"https://dl.google.com/linux/linux_signing_key.pub" \
|
||||
"https://dl.google.com/linux/chrome/deb/" \
|
||||
"stable"
|
||||
$STD apt install -y google-chrome-stable
|
||||
rm -f /etc/apt/sources.list.d/google-chrome.list
|
||||
$STD .venv/bin/sbase get uc_driver stable
|
||||
else
|
||||
$STD apt install -y chromium chromium-driver
|
||||
install -m 755 /usr/bin/chromedriver .venv/lib/python3.12/site-packages/seleniumbase/drivers/uc_driver
|
||||
fi
|
||||
$STD .venv/bin/python -c "from pathlib import Path; import seleniumbase; from seleniumbase.undetected.patcher import Patcher; driver = Path(seleniumbase.__file__).parent / 'drivers' / 'uc_driver'; Patcher(executable_path=str(driver)).auto(); driver.chmod(0o755)"
|
||||
msg_ok "Installed Browser for SeleniumBase"
|
||||
|
||||
msg_info "Setting up FLAC Verifier"
|
||||
$STD uv venv --python 3.12 /opt/flac-verifier
|
||||
$STD uv pip install --python /opt/flac-verifier/bin/python "numpy==2.2.6" "scipy==1.15.3" "soundfile==0.13.1" "mutagen==1.47.0"
|
||||
msg_ok "Set up FLAC Verifier"
|
||||
fetch_and_deploy_from_url "https://codeload.github.com/FraysKosher/flac-verifier/tar.gz/$(grep -oP 'FraysKosher/flac-verifier/tar.gz/\K[0-9a-f]+' /opt/musicgrabber/Dockerfile)" "/opt/flac-verifier/engine"
|
||||
|
||||
msg_info "Configuring MusicGrabber"
|
||||
mkdir -p /opt/musicgrabber_data/music
|
||||
cat <<EOF >/opt/musicgrabber_data/.env
|
||||
MUSIC_DIR=/opt/musicgrabber_data/music
|
||||
DB_PATH=/opt/musicgrabber_data/music_grabber.db
|
||||
LISTEN_ADDR=0.0.0.0
|
||||
LISTEN_PORT=8080
|
||||
PLAYWRIGHT_BROWSERS_PATH=/opt/ms-playwright
|
||||
PYTHONUNBUFFERED=1
|
||||
EOF
|
||||
msg_ok "Configured MusicGrabber"
|
||||
|
||||
msg_info "Creating Service"
|
||||
cat <<EOF >/etc/systemd/system/musicgrabber.service
|
||||
[Unit]
|
||||
Description=MusicGrabber
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=/opt/musicgrabber
|
||||
EnvironmentFile=/opt/musicgrabber_data/.env
|
||||
Environment=PATH=/opt/musicgrabber/.venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||
ExecStartPre=-/usr/bin/timeout 45 /usr/local/bin/yt-dlp -U
|
||||
ExecStart=/opt/musicgrabber/.venv/bin/uvicorn app:app --host \${LISTEN_ADDR} --port \${LISTEN_PORT}
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
systemctl enable -q --now musicgrabber
|
||||
msg_ok "Created Service"
|
||||
|
||||
motd_ssh
|
||||
customize
|
||||
cleanup_lxc
|
||||
@@ -19,7 +19,7 @@ msg_ok "Installed Dependencies"
|
||||
|
||||
PG_VERSION="17" setup_postgresql
|
||||
PG_DB_NAME="norish" PG_DB_USER="norish" setup_postgresql_db
|
||||
PYTHON_VERSION="3.14" setup_uv
|
||||
PYTHON_VERSION="3.15" setup_uv
|
||||
|
||||
fetch_and_deploy_gh_release "norish" "norish-recipes/norish" "tarball"
|
||||
NODE_VERSION="26" NODE_MODULE="pnpm@$(jq -r '.packageManager | split("@")[1]' /opt/norish/package.json)" setup_nodejs
|
||||
|
||||
@@ -17,7 +17,7 @@ msg_info "Installing Dependencies"
|
||||
$STD apt install -y nginx
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
PHP_VERSION="8.4" PHP_FPM="YES" setup_php
|
||||
PHP_VERSION="8.5" PHP_FPM="YES" setup_php
|
||||
|
||||
fetch_and_deploy_gh_release "poznote" "timothepoznanski/poznote" "tarball"
|
||||
|
||||
|
||||
@@ -162,7 +162,7 @@ else
|
||||
fi
|
||||
|
||||
fetch_and_deploy_gh_release "romm" "rommapp/romm" "tarball"
|
||||
PYTHON_VERSION="3.13" UV_PROJECT_DIR="/opt/romm" setup_uv
|
||||
PYTHON_VERSION="3.14" UV_PROJECT_DIR="/opt/romm" setup_uv
|
||||
echo "__version__ = \"$(cat ~/.romm)\"" >/opt/romm/backend/__version__.py
|
||||
|
||||
msg_info "Creating environment file"
|
||||
|
||||
@@ -17,7 +17,7 @@ msg_info "Installing Dependencies"
|
||||
$STD apt install -y build-essential
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
PYTHON_VERSION="3.12" setup_uv
|
||||
PYTHON_VERSION="3.13" setup_uv
|
||||
NODE_VERSION="22" setup_nodejs
|
||||
|
||||
fetch_and_deploy_gh_release "suggestarr" "giuseppe99barchetta/SuggestArr" "tarball"
|
||||
@@ -33,7 +33,7 @@ msg_ok "Built Frontend"
|
||||
|
||||
msg_info "Setting up Python Environment"
|
||||
cd /opt/suggestarr
|
||||
$STD uv venv --python 3.12 /opt/suggestarr/.venv
|
||||
$STD uv venv --python 3.13 /opt/suggestarr/.venv
|
||||
$STD uv pip install --python /opt/suggestarr/.venv -r /opt/suggestarr/api_service/requirements.txt
|
||||
msg_ok "Set up Python Environment"
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ msg_ok "Installed Dependencies"
|
||||
NODE_VERSION="22" NODE_MODULE="yarn" setup_nodejs
|
||||
fetch_and_deploy_gh_release "tandoor" "TandoorRecipes/recipes" "tarball" "latest" "/opt/tandoor"
|
||||
PG_VERSION="17" setup_postgresql
|
||||
PYTHON_VERSION="3.13" setup_uv
|
||||
PYTHON_VERSION="3.14" setup_uv
|
||||
PG_DB_USER="tandoor" PG_DB_NAME="db_recipes" PG_DB_EXTENSIONS="unaccent,pg_trgm" setup_postgresql_db
|
||||
SECRET_KEY=$(openssl rand -base64 45 | sed 's/\//\\\//g')
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ msg_ok "Installed Dependencies"
|
||||
|
||||
setup_mariadb
|
||||
MARIADB_DB_NAME="yourls" MARIADB_DB_USER="yourls" setup_mariadb_db
|
||||
PHP_VERSION="8.3" PHP_FPM="YES" PHP_MODULE="mysql,mbstring,gd,xml,curl" setup_php
|
||||
PHP_VERSION="8.4" PHP_FPM="YES" PHP_MODULE="mysql,mbstring,gd,xml,curl" setup_php
|
||||
|
||||
fetch_and_deploy_gh_release "yourls" "YOURLS/YOURLS" "tarball"
|
||||
|
||||
|
||||
Reference in new issue
Block a user