Compare commits

...

6 Commits

Author SHA1 Message Date
community-scripts-pr-app[bot]
9c1f80e3c9 Update CHANGELOG.md (#14685)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-05-24 10:46:34 +00:00
CanbiZ (MickLesk)
4dc5dfb366 Add installation steps for Nginx mod_zip module (#14678) 2026-05-24 12:46:13 +02:00
community-scripts-pr-app[bot]
4b2cacf78f Update CHANGELOG.md (#14684)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-05-24 10:27:59 +00:00
Slaviša Arežina
e5c66aa4d2 Refactor (#14673) 2026-05-24 12:27:38 +02:00
community-scripts-pr-app[bot]
b00ae8c350 Update CHANGELOG.md (#14683)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-05-24 10:26:40 +00:00
CanbiZ (MickLesk)
7cfa47d138 fix(isponsorblocktv): detect CPU capabilities to select compatible binary (#14677)
Instead of hard-failing when AVX is not present, detect whether the host
CPU supports AVX + AVX2 + MOVBE (x86-64-v3 microarchitecture level) and
select the appropriate upstream binary accordingly:

- iSponsorBlockTV-x86_64-linux     → modern CPUs (AVX/AVX2/MOVBE)
- iSponsorBlockTV-x86_64-linux-v1  → any x86_64 CPU (fallback)

The same detection logic is applied in update_script() so updates
stay consistent with the initially installed binary type.

Fixes: https://github.com/community-scripts/ProxmoxVE/issues/14660
Upstream: dmunozv04/iSponsorBlockTV#463
2026-05-24 12:26:18 +02:00
6 changed files with 64 additions and 21 deletions

View File

@@ -469,6 +469,17 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
## 2026-05-24
### 🚀 Updated Scripts
- #### ✨ New Features
- RomM: add installation steps for Nginx mod_zip module [@MickLesk](https://github.com/MickLesk) ([#14678](https://github.com/community-scripts/ProxmoxVE/pull/14678))
- ISponsorblockTV: detect CPU capabilities to select compatible binary [@MickLesk](https://github.com/MickLesk) ([#14677](https://github.com/community-scripts/ProxmoxVE/pull/14677))
- #### 🔧 Refactor
- Refactor: MQTT [@tremor021](https://github.com/tremor021) ([#14673](https://github.com/community-scripts/ProxmoxVE/pull/14673))
## 2026-05-23
### 🚀 Updated Scripts

View File

@@ -36,7 +36,11 @@ function update_script() {
systemctl stop isponsorblocktv
msg_ok "Stopped Service"
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "isponsorblocktv" "dmunozv04/iSponsorBlockTV" "singlefile" "latest" "/opt/isponsorblocktv" "iSponsorBlockTV-x86_64-linux"
ISBTV_BINARY="iSponsorBlockTV-x86_64-linux-v1"
if grep -q ' avx ' /proc/cpuinfo 2>/dev/null && grep -q ' avx2 ' /proc/cpuinfo 2>/dev/null && grep -q ' movbe ' /proc/cpuinfo 2>/dev/null; then
ISBTV_BINARY="iSponsorBlockTV-x86_64-linux"
fi
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "isponsorblocktv" "dmunozv04/iSponsorBlockTV" "singlefile" "latest" "/opt/isponsorblocktv" "${ISBTV_BINARY}"
msg_info "Starting Service"
systemctl start isponsorblocktv

View File

@@ -21,18 +21,28 @@ color
catch_errors
function update_script() {
header_info
check_container_storage
check_container_resources
if [[ ! -f /etc/mosquitto/conf.d/default.conf ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating ${APP} LXC"
$STD apt update
$STD apt -y upgrade
msg_ok "Updated successfully!"
header_info
check_container_storage
check_container_resources
if [[ ! -f /etc/mosquitto/conf.d/default.conf ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
if [[ ! -f /etc/apt/sources.list.d/mqtt.sources ]]; then
setup_deb822_repo \
"mqtt" \
"https://repo.mosquitto.org/debian/mosquitto-repo.gpg" \
"https://repo.mosquitto.org/debian" \
"trixie"
fi
msg_info "Updating MQTT"
$STD apt update
$STD apt upgrade -y
msg_ok "Updated successfully!"
exit
}
start

View File

@@ -13,12 +13,12 @@ setting_up_container
network_check
update_os
if ! grep -q ' avx ' /proc/cpuinfo 2>/dev/null; then
msg_error "CPU does not support AVX instructions (required by iSponsorBlockTV/PyApp)"
exit 106
ISBTV_BINARY="iSponsorBlockTV-x86_64-linux-v1"
if grep -q ' avx ' /proc/cpuinfo 2>/dev/null && grep -q ' avx2 ' /proc/cpuinfo 2>/dev/null && grep -q ' movbe ' /proc/cpuinfo 2>/dev/null; then
ISBTV_BINARY="iSponsorBlockTV-x86_64-linux"
fi
fetch_and_deploy_gh_release "isponsorblocktv" "dmunozv04/iSponsorBlockTV" "singlefile" "latest" "/opt/isponsorblocktv" "iSponsorBlockTV-x86_64-linux"
fetch_and_deploy_gh_release "isponsorblocktv" "dmunozv04/iSponsorBlockTV" "singlefile" "latest" "/opt/isponsorblocktv" "${ISBTV_BINARY}"
msg_info "Setting up iSponsorBlockTV"
install -d /var/lib/isponsorblocktv

View File

@@ -13,18 +13,26 @@ setting_up_container
network_check
update_os
msg_info "Installing Mosquitto MQTT Broker"
source /etc/os-release
$STD apt update
$STD apt -y install mosquitto mosquitto-clients
setup_deb822_repo \
"mqtt" \
"https://repo.mosquitto.org/debian/mosquitto-repo.gpg" \
"https://repo.mosquitto.org/debian" \
"trixie"
msg_info "Installing Mosquitto MQTT Broker"
$STD apt install -y \
mosquitto \
mosquitto-clients
msg_ok "Installed Mosquitto MQTT Broker"
msg_info "Configuring Mosquitto MQTT Broker"
cat <<EOF >/etc/mosquitto/conf.d/default.conf
allow_anonymous false
persistence true
password_file /etc/mosquitto/passwd
listener 1883
EOF
msg_ok "Installed Mosquitto MQTT Broker"
msg_ok "Configured Mosquitto MQTT Broker"
motd_ssh
customize

View File

@@ -41,6 +41,16 @@ $STD apt install -y \
nginx
msg_ok "Installed Dependencies"
msg_info "Installing Nginx mod_zip module"
setup_deb822_repo \
"getpagespeed-extras" \
"https://extras.getpagespeed.com/deb-archive-keyring.gpg" \
"https://extras.getpagespeed.com/debian" \
"$(get_os_info codename)" \
"main"
$STD apt-get install -y nginx nginx-module-zip
msg_ok "Installed Nginx mod_zip module"
PYTHON_VERSION="3.13" setup_uv
NODE_VERSION="24" setup_nodejs
setup_mariadb