Compare commits

...

3 Commits

Author SHA1 Message Date
Michel Roegl-Brunner
c4894f21a8 fix(glance): preserve glance.yml across updates
CLEAN_INSTALL wipes /opt/glance without restoring user config; back up and restore glance.yml around the prebuild deploy.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-01 10:08:46 +02:00
community-scripts-pr-app[bot]
162cb9b887 Update CHANGELOG.md (#14844)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-06-01 08:01:45 +00:00
Adrián Musante
5776f3fef5 Fix FileFlows service handling by using systemctl --all with quoted glob (#14838) 2026-06-01 10:01:17 +02:00
3 changed files with 20 additions and 2 deletions

View File

@@ -472,6 +472,12 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
## 2026-06-01
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- [FileFlows] Fix service handling by using systemctl --all with quoted glob [@adrianmusante](https://github.com/adrianmusante) ([#14838](https://github.com/community-scripts/ProxmoxVE/pull/14838))
## 2026-05-31
### 🚀 Updated Scripts

View File

@@ -34,7 +34,7 @@ function update_script() {
update_available=$(curl -fsSL -X 'GET' "http://localhost:19200/api/status/update-available" -H 'accept: application/json' | jq .UpdateAvailable)
if [[ "${update_available}" == "true" ]]; then
msg_info "Stopping Service"
systemctl stop fileflows*
systemctl --all stop 'fileflows*'
msg_info "Stopped Service"
msg_info "Creating Backup"
@@ -46,7 +46,7 @@ function update_script() {
fetch_and_deploy_from_url "https://fileflows.com/downloads/zip" "/opt/fileflows"
msg_info "Starting Service"
systemctl start fileflows*
systemctl --all start 'fileflows*'
msg_ok "Started Service"
msg_ok "Updated successfully!"
else

View File

@@ -34,8 +34,20 @@ function update_script() {
systemctl stop glance
msg_ok "Stopped Service"
if [[ -f /opt/glance/glance.yml ]]; then
msg_info "Backing up glance.yml"
cp /opt/glance/glance.yml /tmp/glance.yml.bak
msg_ok "Backed up glance.yml"
fi
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "glance" "glanceapp/glance" "prebuild" "latest" "/opt/glance" "glance-linux-amd64.tar.gz"
if [[ -f /tmp/glance.yml.bak ]]; then
msg_info "Restoring glance.yml"
mv /tmp/glance.yml.bak /opt/glance/glance.yml
msg_ok "Restored glance.yml"
fi
msg_info "Starting Service"
systemctl start glance
msg_ok "Started Service"