Compare commits

..

1 Commits

Author SHA1 Message Date
Michel Roegl-Brunner dafd34d4e6 Revert "fix(fileflows): handle update API failures and fix Node install (#14858)"
This reverts commit 171b954c7c.
2026-07-14 12:01:59 +02:00
2 changed files with 18 additions and 6 deletions
-2
View File
@@ -506,8 +506,6 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
### 🚀 Updated Scripts
- Revert "fix(fileflows): handle update API 401, force update, and Node install" [@michelroegl-brunner](https://github.com/michelroegl-brunner) ([#15764](https://github.com/community-scripts/ProxmoxVE/pull/15764))
- #### 🐞 Bug Fixes
- fix(fileflows): handle update API 401, force update, and Node install [@michelroegl-brunner](https://github.com/michelroegl-brunner) ([#14858](https://github.com/community-scripts/ProxmoxVE/pull/14858))
+18 -4
View File
@@ -35,12 +35,14 @@ function update_script() {
sleep 1
msg_ok "Stopped Service"
create_backup /opt/Heimdall/database \
/opt/Heimdall/public
PHP_VERSION="8.4" PHP_FPM="YES" setup_php
msg_info "Backing up Data"
cp -R /opt/Heimdall/database database-backup
cp -R /opt/Heimdall/public public-backup
sleep 1
msg_ok "Backed up Data"
setup_composer
fetch_and_deploy_gh_release "Heimdall" "linuxserver/Heimdall" "tarball"
restore_backup
msg_info "Updating Heimdall-Dashboard"
cd /opt/Heimdall
@@ -48,6 +50,18 @@ function update_script() {
$STD composer dump-autoload
msg_ok "Updated Heimdall-Dashboard"
msg_info "Restoring Data"
cd ~
cp -R database-backup/* /opt/Heimdall/database
cp -R public-backup/* /opt/Heimdall/public
sleep 1
msg_ok "Restored Data"
msg_info "Cleaning Up"
rm -rf {public-backup,database-backup}
sleep 1
msg_ok "Cleaned Up"
msg_info "Starting Service"
systemctl start heimdall.service
sleep 2