Compare commits

..
Author SHA1 Message Date
github-actions[bot] b001bb738b Update CHANGELOG.md 2026-12-05 14:32:57 +00:00
CanbiZ (MickLesk) 2d26b6e0d4 BunkerWeb: fetch the installer from the release assets (#19310)
v1.6.19 no longer ships misc/install-bunkerweb.sh in the repository, so
every install since that release failed with a 404. The installer and its
sha256 are release assets (since 1.6.18); the checksum is verified.
2026-12-05 15:32:42 +01:00
CanbiZ (MickLesk) 8c9273c207 Alpine VM: find the cloud image under its 3.25 name (#19311)
Alpine 3.25 (2026-12-03) dropped the generic_ prefix and the bios/uefi
split: latest-stable now only holds alpine-3.25.0-x86_64-cloudinit-r0,
so the image lookup found nothing and the script stopped. The new image
boots under OVMF.
2026-12-05 15:04:30 +01:00
CanbiZ (MickLesk) 01f870d2bc UniFi OS Server VM: download the installer on first boot (#19312)
The 786 MB installer was uploaded into the cloud image before Cloud-Init
grew its root filesystem. Ubuntu 24.04's image has 778 MB free there, so
every Ubuntu install failed with a libguestfs write error. The image now
carries only the download URL.
2026-12-05 15:04:02 +01:00
0059ca1815 MySQL: set up the repository with the current signing key (#19305)
RPM-GPG-KEY-mysql-2023 (B7B3B788A8D3785C) expired on 2025-10-22, so apt
rejects repo.mysql.com with EXPKEYSIG and `update` never upgrades MySQL.
Oracle re-issued the same key as RPM-GPG-KEY-mysql-2025 (valid until
2027-10-23).

- install: add the repository with setup_deb822_repo and the 2025 key
  instead of a hand-rolled keyring and sources file
- update: move installs still on /usr/share/keyrings/mysql.gpg to the
  same setup, keeping their release track

Co-authored-by: root <root@paperclip.pilz.dev>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-05 09:14:37 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] 61e6cde880 Update CHANGELOG.md (#19292)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-12-05 00:11:33 +00:00
6 changed files with 85 additions and 53 deletions

No files matched your search

+32
View File
@@ -590,6 +590,38 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
</details>
## 2026-12-05
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- UniFi OS Server VM: download the installer on first boot [@MickLesk](https://github.com/MickLesk) ([#19312](https://github.com/community-scripts/ProxmoxVE/pull/19312))
- MySQL: set up the repository with the current signing key [@austinpilz](https://github.com/austinpilz) ([#19305](https://github.com/community-scripts/ProxmoxVE/pull/19305))
- #### 🔧 Refactor
- BunkerWeb: fetch the installer from the release assets [@MickLesk](https://github.com/MickLesk) ([#19310](https://github.com/community-scripts/ProxmoxVE/pull/19310))
- Alpine VM: find the cloud image under its 3.25 name [@MickLesk](https://github.com/MickLesk) ([#19311](https://github.com/community-scripts/ProxmoxVE/pull/19311))
## 2026-12-04
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- Wiki.js: rebuild SQLite in the application directory [@maniac79](https://github.com/maniac79) ([#19299](https://github.com/community-scripts/ProxmoxVE/pull/19299))
- Frigate: stop the service cleanly [@MickLesk](https://github.com/MickLesk) ([#19296](https://github.com/community-scripts/ProxmoxVE/pull/19296))
- Update authentik 2026.8.7 [@thieneret](https://github.com/thieneret) ([#19051](https://github.com/community-scripts/ProxmoxVE/pull/19051))
- #### ✨ New Features
- Authentik: bump to 2026.11 [@MickLesk](https://github.com/MickLesk) ([#19298](https://github.com/community-scripts/ProxmoxVE/pull/19298))
- #### 🔧 Refactor
- Kyoo: install the FFmpeg build its transcoder needs [@MickLesk](https://github.com/MickLesk) ([#19294](https://github.com/community-scripts/ProxmoxVE/pull/19294))
## 2026-12-03
### 🚀 Updated Scripts
+12 -1
View File
@@ -25,10 +25,21 @@ function update_script() {
header_info
check_container_storage
check_container_resources
if [[ ! -f /usr/share/keyrings/mysql.gpg ]]; then
if [[ ! -f /etc/apt/sources.list.d/mysql.sources ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
if [[ -f /usr/share/keyrings/mysql.gpg ]]; then
setup_deb822_repo \
"mysql" \
"https://repo.mysql.com/RPM-GPG-KEY-mysql-2025" \
"http://repo.mysql.com/apt/$(get_os_info id)" \
"$(get_os_info codename)" \
"$(sed -n 's/^Components: //p' /etc/apt/sources.list.d/mysql.sources)"
rm -f /usr/share/keyrings/mysql.gpg
fi
msg_info "Updating ${APP} LXC"
apt_update_safe
$STD apt -y upgrade
+5 -2
View File
@@ -20,9 +20,12 @@ $STD apt install -y \
msg_ok "Installed Dependencies"
RELEASE=$(get_latest_github_release "bunkerity/bunkerweb")
confirm_external_installer "install-bunkerweb.sh" "https://github.com/bunkerity/bunkerweb/raw/v${RELEASE}/misc/install-bunkerweb.sh"
INSTALLER_URL="https://github.com/bunkerity/bunkerweb/releases/download/v${RELEASE}/install-bunkerweb.sh"
confirm_external_installer "install-bunkerweb.sh" "$INSTALLER_URL"
msg_info "Installing BunkerWeb (Patience)"
curl -fsSL -o install-bunkerweb.sh "https://github.com/bunkerity/bunkerweb/raw/v${RELEASE}/misc/install-bunkerweb.sh"
curl -fsSL -o install-bunkerweb.sh "$INSTALLER_URL"
curl -fsSL -o install-bunkerweb.sh.sha256 "${INSTALLER_URL}.sha256"
$STD sha256sum -c install-bunkerweb.sh.sha256
chmod +x install-bunkerweb.sh
$STD ./install-bunkerweb.sh --yes
$STD apt-mark unhold bunkerweb nginx
+7 -24
View File
@@ -14,11 +14,6 @@ setting_up_container
network_check
update_os
msg_info "Installing Dependencies"
$STD apt install -y \
lsb-release
msg_ok "Installed Dependencies"
RELEASE_REPO="mysql-8.0"
RELEASE_AUTH="mysql_native_password"
prompt="${var_mysql_lts:-}"
@@ -28,26 +23,14 @@ if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
RELEASE_AUTH="caching_sha2_password"
fi
setup_deb822_repo \
"mysql" \
"https://repo.mysql.com/RPM-GPG-KEY-mysql-2025" \
"http://repo.mysql.com/apt/$(get_os_info id)" \
"$(get_os_info codename)" \
"${RELEASE_REPO}"
msg_info "Installing MySQL"
curl -fsSL https://repo.mysql.com/RPM-GPG-KEY-mysql-2023 | gpg --dearmor -o /usr/share/keyrings/mysql.gpg
if [ "$(lsb_release -si)" = "Debian" ]; then
cat <<EOF >/etc/apt/sources.list.d/mysql.sources
Types: deb
URIs: http://repo.mysql.com/apt/debian
Suites: $(lsb_release -sc)
Components: ${RELEASE_REPO}
Signed-By: /usr/share/keyrings/mysql.gpg
EOF
else
cat <<EOF >/etc/apt/sources.list.d/mysql.sources
Types: deb
URIs: http://repo.mysql.com/apt/ubuntu
Suites: $(lsb_release -sc)
Components: ${RELEASE_REPO}
Signed-By: /usr/share/keyrings/mysql.gpg
EOF
fi
apt_update_safe
export DEBIAN_FRONTEND=noninteractive
$STD apt install -y \
mysql-community-client \
+5 -4
View File
@@ -97,18 +97,19 @@ fi
msg_info "Retrieving the URL for the Alpine cloud image"
# Alpine publishes a bios and a uefi variant side by side. This script boots
# through OVMF, so picking the bios image would produce a VM that never starts.
# Up to 3.24 Alpine published a bios and a uefi variant side by side; this
# script boots through OVMF, so the bios image would never start. From 3.25
# there is one image (no generic_ prefix) that boots both ways.
# The release number and the -r revision both live in the filename, so the
# directory has to be listed rather than guessed.
CLOUD_DIR="https://dl-cdn.alpinelinux.org/alpine/latest-stable/releases/cloud"
FILE=$(curl -fsSL "${CLOUD_DIR}/" 2>/dev/null | grep -oP 'href="\Kgeneric_alpine-[0-9.]+-x86_64-uefi-cloudinit-r[0-9]+\.qcow2(?=")' | sort -V | tail -1)
FILE=$(curl -fsSL "${CLOUD_DIR}/" 2>/dev/null | grep -oP 'href="\K(generic_)?alpine-[0-9.]+-x86_64-(uefi-)?cloudinit-r[0-9]+\.qcow2(?=")' | sort -V | tail -1)
if [[ -z "$FILE" ]]; then
msg_error "Could not determine the current Alpine cloud image"
exit 1
fi
ALPINE_VERSION=$(echo "$FILE" | grep -oP 'generic_alpine-\K[0-9.]+')
ALPINE_VERSION=$(echo "$FILE" | grep -oP 'alpine-\K[0-9.]+')
msg_ok "Alpine ${CL}${BL}${ALPINE_VERSION}${CL} ${GN}(${FILE})"
URL="${CLOUD_DIR}/${FILE}"
+24 -22
View File
@@ -249,14 +249,8 @@ cp -f "$CACHE_FILE" "$FILE"
# Resize the imported disk with vm_resize_disk; Cloud-Init grows the actual root
# filesystem before the first-boot installer runs, without another offline copy.
# --- Download UniFi OS installer on the host ---
msg_info "Downloading UniFi OS Server ${UOS_VERSION} installer"
curl -fsSL "${UOS_URL}" -o "unifi-os-server.bin"
chmod +x "unifi-os-server.bin"
msg_ok "Downloaded UniFi OS Server installer"
# --- Pre-install packages and setup first-boot installer ---
msg_info "Customizing disk image (installing packages, staging installer)"
msg_info "Customizing disk image (installing packages, first-boot installer)"
# Create the first-boot installer script
FIRSTBOOT_SCRIPT="$TEMP_DIR/unifi-os-firstboot.sh"
@@ -332,16 +326,25 @@ if [ ! -f /swapfile ]; then
echo "[$(date)] Swap file created"
fi
# Run UniFi OS installer
if [ -f /opt/unifi-os-server.bin ]; then
cd /opt
./unifi-os-server.bin <<<'y'
rm -f /opt/unifi-os-server.bin
echo "[$(date)] UniFi OS Server installed successfully"
else
echo "[$(date)] ERROR: /opt/unifi-os-server.bin not found"
exit 1
fi
# The installer (~800 MB) does not fit the cloud image's root filesystem
# before Cloud-Init has grown it, so it is fetched here
echo "[$(date)] Downloading UniFi OS Server installer..."
for attempt in {1..3}; do
if curl -fsSL --retry 3 -o /opt/unifi-os-server.bin "$(cat /opt/unifi-os-server.url)"; then
break
fi
if [ "$attempt" -eq 3 ]; then
echo "[$(date)] Installer download failed after 3 attempts"
exit 1
fi
echo "[$(date)] Installer download failed (attempt $attempt/3), retrying in 10s..."
sleep 10
done
chmod +x /opt/unifi-os-server.bin
cd /opt
./unifi-os-server.bin <<<'y'
rm -f /opt/unifi-os-server.bin /opt/unifi-os-server.url
echo "[$(date)] UniFi OS Server installed successfully"
echo "[$(date)] First-boot setup complete"
FBEOF
@@ -349,18 +352,17 @@ FBEOF
vm_prepare_cloud_image "$FILE" "$HN"
vm_customize "UniFi OS installer" "$FILE" \
--upload "unifi-os-server.bin:/opt/unifi-os-server.bin" \
--chmod 0755:/opt/unifi-os-server.bin \
--write "/opt/unifi-os-server.url:${UOS_URL}" \
--run-command "systemctl enable ssh" || exit 1
vm_firstboot_unit "$FILE" "unifi-os-firstboot" "$FIRSTBOOT_SCRIPT" \
--description "UniFi OS Server First Boot Installer" \
--after qemu-guest-agent.service \
--requires-path /opt/unifi-os-server.bin \
--requires-path /opt/unifi-os-server.url \
--cloud-init yes || exit 1
rm -f "$FIRSTBOOT_SCRIPT" "unifi-os-server.bin"
msg_ok "Disk image customized (UniFi OS ${UOS_VERSION} staged for first-boot install)"
rm -f "$FIRSTBOOT_SCRIPT"
msg_ok "Disk image customized (UniFi OS ${UOS_VERSION} installs on first boot)"
vm_claim_vmid
msg_info "Creating UniFi OS VM"