Compare commits

..

7 Commits

Author SHA1 Message Date
Sam Heinz f7df8aad9c add retry for uv - same as immich 2026-08-02 06:20:54 +10:00
community-scripts-pr-app[bot] 382ef231d8 Update CHANGELOG.md (#16199)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-08-01 19:19:51 +00:00
community-scripts-pr-app[bot] de122d075f Update CHANGELOG.md (#16198)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-08-01 19:19:37 +00:00
Sam Heinz cffbe03b20 Update bazarr-install.sh (#16191) 2026-08-01 21:19:28 +02:00
community-scripts-pr-app[bot] f11aab9f17 Update CHANGELOG.md (#16197)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-08-01 19:19:15 +00:00
Sam Heinz f12751cbd9 add CLEANUPARR_CONFIG_PATH, CLEANUPARR_LOGS_PATH vars (#16193) 2026-08-01 21:19:08 +02:00
Sam Heinz 73b804bce7 fix romm missing 7z (#16194) 2026-08-01 21:18:48 +02:00
11 changed files with 74 additions and 30 deletions
+13
View File
@@ -508,6 +508,19 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
</details>
## 2026-08-01
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- Update bazarr-install.sh [@asylumexp](https://github.com/asylumexp) ([#16191](https://github.com/community-scripts/ProxmoxVE/pull/16191))
- fix romm missing 7z [@asylumexp](https://github.com/asylumexp) ([#16194](https://github.com/community-scripts/ProxmoxVE/pull/16194))
- #### 🔧 Refactor
- add CLEANUPARR_CONFIG_PATH, CLEANUPARR_LOGS_PATH vars [@asylumexp](https://github.com/asylumexp) ([#16193](https://github.com/community-scripts/ProxmoxVE/pull/16193))
## 2026-07-31
### 🚀 Updated Scripts
+10 -1
View File
@@ -118,10 +118,19 @@ function update_script() {
export UV_COMPILE_BYTECODE="1"
export UV_LINK_MODE="copy"
export UV_NATIVE_TLS="1"
export UV_HTTP_TIMEOUT="300"
export RUSTUP_PERMIT_COPY_RENAME="true"
export UV_PYTHON_INSTALL_DIR="/usr/local/bin"
cd /opt/authentik
$STD uv sync --frozen --no-install-project --no-dev
for attempt in 1 2 3; do
if [[ $attempt -eq 3 ]]; then
$STD uv sync --frozen --no-install-project --no-dev
break
fi
$STD uv sync --frozen --no-install-project --no-dev && break
msg_warn "uv sync attempt $attempt failed, retrying..."
sleep $((attempt * 15))
done
chown -R authentik:authentik /opt/authentik
msg_ok "Updated python server"
+13 -1
View File
@@ -33,7 +33,19 @@ function update_script() {
systemctl stop cleanuparr
msg_ok "Stopped Service"
create_backup /opt/cleanuparr/config
if [[ ! -d /etc/cleanuparr ]]; then
msg_info "Migrating Configuration to /etc/cleanuparr"
mv /opt/cleanuparr/config /etc/cleanuparr
mkdir -p /etc/cleanuparr /var/log/cleanuparr
rm -rf /etc/cleanuparr/logs
sed -i -e 's|^Environment="CONFIG_DIR=.*|Environment="CLEANUPARR_CONFIG_PATH=/etc/cleanuparr"|' \
-e '/^Environment="CLEANUPARR_CONFIG_PATH=/a Environment="CLEANUPARR_LOGS_PATH=/var/log/cleanuparr"' \
/etc/systemd/system/cleanuparr.service
systemctl daemon-reload
msg_ok "Migrated Configuration to /etc/cleanuparr"
fi
create_backup /etc/cleanuparr
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "Cleanuparr" "Cleanuparr/Cleanuparr" "prebuild" "latest" "/opt/cleanuparr" "*linux-$(arch_resolve).zip"
+6
View File
@@ -30,6 +30,12 @@ function update_script() {
exit
fi
if [[ ! -x /usr/bin/7zz || ! -x /usr/bin/bsdtar ]]; then
msg_info "Installing Archive Tools"
$STD apt install -y 7zip-standalone libarchive-tools
msg_ok "Installed Archive Tools"
fi
NODE_VERSION="24" setup_nodejs
if check_for_gh_release "romm" "rommapp/romm"; then
+10 -1
View File
@@ -122,9 +122,18 @@ export UV_NO_BINARY_PACKAGE="cryptography lxml python-kadmin-rs xmlsec"
export UV_COMPILE_BYTECODE="1"
export UV_LINK_MODE="copy"
export UV_NATIVE_TLS="1"
export UV_HTTP_TIMEOUT="300"
export UV_PYTHON_INSTALL_DIR="/usr/local/bin"
cd /opt/authentik
$STD uv sync --frozen --no-install-project --no-dev
for attempt in 1 2 3; do
if [[ $attempt -eq 3 ]]; then
$STD uv sync --frozen --no-install-project --no-dev
break
fi
$STD uv sync --frozen --no-install-project --no-dev && break
msg_warn "uv sync attempt $attempt failed, retrying..."
sleep $((attempt * 15))
done
cp /opt/authentik/authentik/sources/kerberos/krb5.conf /etc/krb5.conf
msg_ok "Setup python server"
+1
View File
@@ -22,6 +22,7 @@ chmod 775 /opt/bazarr /var/lib/bazarr/
sed -i.bak 's/--only-binary=Pillow//g' /opt/bazarr/requirements.txt
$STD uv venv --clear /opt/bazarr/venv --python 3.12
$STD uv pip install -r /opt/bazarr/requirements.txt --python /opt/bazarr/venv/bin/python3
$STD uv pip install psycopg2-binary --python /opt/bazarr/venv/bin/python3
msg_ok "Installed Bazarr"
msg_info "Creating Service"
+3 -1
View File
@@ -16,6 +16,7 @@ update_os
fetch_and_deploy_gh_release "Cleanuparr" "Cleanuparr/Cleanuparr" "prebuild" "latest" "/opt/cleanuparr" "*linux-$(arch_resolve).zip"
msg_info "Creating Service"
mkdir -p /etc/cleanuparr /var/log/cleanuparr
cat <<EOF >/etc/systemd/system/cleanuparr.service
[Unit]
Description=Cleanuparr Daemon
@@ -29,7 +30,8 @@ ExecStart=/opt/cleanuparr/Cleanuparr
Restart=on-failure
RestartSec=5
Environment="PORT=11011"
Environment="CONFIG_DIR=/opt/cleanuparr/config"
Environment="CLEANUPARR_CONFIG_PATH=/etc/cleanuparr"
Environment="CLEANUPARR_LOGS_PATH=/var/log/cleanuparr"
[Install]
WantedBy=multi-user.target
+2
View File
@@ -37,6 +37,8 @@ $STD apt install -y \
redis-server \
redis-tools \
p7zip-full \
7zip-standalone \
libarchive-tools \
tzdata
msg_ok "Installed Dependencies"
+7 -7
View File
@@ -578,13 +578,6 @@ fi
msg_ok "Customized image"
msg_info "Expanding root filesystem to ${DISK_SIZE}"
GROWN_FILE=$(mktemp --suffix=.qcow2)
qemu-img create -f qcow2 "$GROWN_FILE" "$DISK_SIZE" >/dev/null
virt-resize --quiet --expand /dev/sda1 "$WORK_FILE" "$GROWN_FILE" >/dev/null
mv -f "$GROWN_FILE" "$WORK_FILE"
msg_ok "Expanded root filesystem to ${DISK_SIZE}"
STORAGE_TYPE=$(pvesm status -storage "$STORAGE" | awk 'NR>1 {print $2}')
case $STORAGE_TYPE in
nfs | dir)
@@ -666,6 +659,13 @@ DESCRIPTION=$(
EOF
)
qm set $VMID -description "$DESCRIPTION" >/dev/null
if [ -n "$DISK_SIZE" ]; then
msg_info "Resizing disk to $DISK_SIZE GB"
qm resize $VMID scsi0 ${DISK_SIZE} >/dev/null
else
msg_info "Using default disk size of $DEFAULT_DISK_SIZE GB"
qm resize $VMID scsi0 ${DEFAULT_DISK_SIZE} >/dev/null
fi
msg_ok "Created a Debian 13 VM ${CL}${BL}(${HN})"
if [ "$START_VM" == "yes" ]; then
+7 -14
View File
@@ -519,20 +519,6 @@ echo -en "\e[1A\e[0K"
FILE=$(basename $URL)
msg_ok "Downloaded ${CL}${BL}${FILE}${CL}"
if ! command -v virt-resize &>/dev/null; then
msg_info "Installing libguestfs-tools"
apt-get update >/dev/null 2>&1
apt-get install -y libguestfs-tools >/dev/null 2>&1
msg_ok "Installed libguestfs-tools"
fi
msg_info "Expanding root filesystem to ${DISK_SIZE}"
GROWN_FILE=$(mktemp --suffix=.qcow2)
qemu-img create -f qcow2 "$GROWN_FILE" "$DISK_SIZE" >/dev/null
virt-resize --quiet --expand /dev/sda1 "$FILE" "$GROWN_FILE" >/dev/null
mv -f "$GROWN_FILE" "$FILE"
msg_ok "Expanded root filesystem to ${DISK_SIZE}"
STORAGE_TYPE=$(pvesm status -storage $STORAGE | awk 'NR>1 {print $2}')
case $STORAGE_TYPE in
nfs | dir)
@@ -610,6 +596,13 @@ DESCRIPTION=$(
EOF
)
qm set "$VMID" -description "$DESCRIPTION" >/dev/null
if [ -n "$DISK_SIZE" ]; then
msg_info "Resizing disk to $DISK_SIZE GB"
qm resize $VMID scsi0 ${DISK_SIZE} >/dev/null
else
msg_info "Using default disk size of $DEFAULT_DISK_SIZE GB"
qm resize $VMID scsi0 ${DEFAULT_DISK_SIZE} >/dev/null
fi
msg_ok "Created a Debian 12 VM ${CL}${BL}(${HN})"
if [ "$START_VM" == "yes" ]; then
+2 -5
View File
@@ -659,11 +659,8 @@ fi
# Resize disk to target size
msg_info "Resizing disk image to ${DISK_SIZE}"
GROWN_FILE=$(mktemp --suffix=.qcow2)
qemu-img create -f qcow2 "$GROWN_FILE" "${DISK_SIZE}" >/dev/null
virt-resize --quiet --expand /dev/sda1 "$WORK_FILE" "$GROWN_FILE" >/dev/null
mv -f "$GROWN_FILE" "$WORK_FILE"
msg_ok "Resized disk image and expanded root filesystem"
qemu-img resize "$WORK_FILE" "${DISK_SIZE}" >/dev/null 2>&1
msg_ok "Resized disk image"
# ==============================================================================
# VM CREATION