Compare commits

..

2 Commits

Author SHA1 Message Date
MickLesk
12d9a4642c Choose Ceph repo based on PVE minor
Pass PVE_MINOR into start_routines_9 and use it to pick the correct Ceph repository. start_routines_9 now accepts an optional PVE_MINOR (default 0). The script determines CEPH_RELEASE as "ceph-tentacle" for PVE minor >= 2, otherwise "ceph-squid", updates the deb822 URIs accordingly, and includes the selected release in the confirmation message.
2026-05-21 16:46:51 +02:00
MickLesk
034bbb1a52 Add Proxmox VE 9.2 support
Expand supported Proxmox VE range to include 9.2. Updated documentation (README.md, SECURITY.md) and adjusted version checks and user messages across scripts (misc/core.func, misc/vm-core.func, tools/pve/post-pve-install.sh and multiple vm/*-vm.sh templates) to accept Proxmox 9.2. Also updated the vm-core regex and post-install checks to allow 9.0–9.2 and updated corresponding error/help messages.
2026-05-21 16:42:12 +02:00
3 changed files with 7 additions and 18 deletions

View File

@@ -470,13 +470,8 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
- #### 🐞 Bug Fixes
- snowshare: use mv instead of cp for uploads backup to prevent disk fill [@TuroYT](https://github.com/TuroYT) ([#14558](https://github.com/community-scripts/ProxmoxVE/pull/14558))
- Technitium DNS: download release before stopping the service on update [@w-gitops](https://github.com/w-gitops) ([#14616](https://github.com/community-scripts/ProxmoxVE/pull/14616))
- #### ✨ New Features
- Proxmox VE 9.2 support [@MickLesk](https://github.com/MickLesk) ([#14624](https://github.com/community-scripts/ProxmoxVE/pull/14624))
## 2026-05-20
### 🚀 Updated Scripts

View File

@@ -35,20 +35,16 @@ function update_script() {
systemctl stop snowshare
msg_ok "Stopped Service"
if ! grep -q '^UPLOAD_DIR=' /opt/snowshare.env 2>/dev/null; then
msg_info "Migrating uploads to persistent directory"
mkdir -p /opt/snowshare_data
if [ -d /opt/snowshare/uploads ] && [ -z "$(ls -A /opt/snowshare_data 2>/dev/null)" ]; then
mv /opt/snowshare/uploads/* /opt/snowshare_data/ 2>/dev/null || true
mv /opt/snowshare/uploads/.[!.]* /opt/snowshare_data/ 2>/dev/null || true
rmdir /opt/snowshare/uploads 2>/dev/null || true
fi
echo "UPLOAD_DIR=/opt/snowshare_data" >>/opt/snowshare.env
msg_ok "Migrated uploads to /opt/snowshare_data"
fi
msg_info "Backing up uploads"
[ -d /opt/snowshare/uploads ] && cp -a /opt/snowshare/uploads /opt/.snowshare_uploads_backup
msg_ok "Uploads backed up"
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "snowshare" "TuroYT/snowshare" "tarball"
msg_info "Restoring uploads"
[ -d /opt/.snowshare_uploads_backup ] && rm -rf /opt/snowshare/uploads && cp -a /opt/.snowshare_uploads_backup /opt/snowshare/uploads
msg_ok "Uploads restored"
msg_info "Updating Snowshare"
cd /opt/snowshare
$STD npm ci

View File

@@ -21,14 +21,12 @@ fetch_and_deploy_gh_release "snowshare" "TuroYT/snowshare" "tarball"
msg_info "Installing SnowShare"
cd /opt/snowshare
$STD npm ci
mkdir -p /opt/snowshare_data
cat <<EOF >/opt/snowshare.env
DATABASE_URL="postgresql://$PG_DB_USER:$PG_DB_PASS@localhost:5432/$PG_DB_NAME"
NEXTAUTH_URL="http://localhost:3000"
NEXTAUTH_SECRET="$(openssl rand -base64 32)"
ALLOW_SIGNUP=true
NODE_ENV=production
UPLOAD_DIR=/opt/snowshare_data
EOF
set -a
source /opt/snowshare.env