Releases: RunOnFlux/fluxnode-watchdog
Releases · RunOnFlux/fluxnode-watchdog
Release list
v6.7.0
PR Description
Summary
This PR adds automatic update functionality for the FluxCloud UI frontend, enabling the watchdog to detect and install new releases independently from FluxOS updates and enables automatic updates for all services by default on non ArcaneOS.
Changes
- Always-on updates: Removed config flag dependencies (
zelflux_update,zelcash_update,zelbench_update) - all services now update automatically regardless of configuration on non ArcaneOS.
- FluxCloud UI initialization during FluxOS updates
- When FluxOS is updated to a newer version, the watchdog now checks if the CloudUI folder exists
- If the folder doesn't exist, it runs npm run update:cloudui to initialize the FluxCloud UI
- This ensures new FluxOS installations automatically get the FluxCloud UI
- Automatic FluxCloud UI version detection and updates
- Added a new version check that queries the GitHub Releases API for RunOnFlux/fluxos-frontend
- Only processes releases from the master branch for stability
- Compares the SHA256 hash of the dist.tar.gz release asset against the local CloudUI/version file
- Automatically updates when a new version is detected by running npm run update:cloudui
- Sends Discord and Telegram notifications on successful updates
Technical Details
- Version detection: Uses GitHub API to fetch the latest release metadata
- Hash comparison: Extracts SHA256 digest from release asset to compare with local version
- Branch filtering: Only applies updates from releases targeting the master branch
- Always enabled: FluxCloud UI updates run unconditionally (no config toggle required)
Notifications
When FluxCloud UI is updated, notifications are sent via:
- Discord webhook with version tag
- Telegram bot message with version tag
v6.3.0
- Clean local changes before git pull, should help with reported failed updates;
- Sleep some seconds between fluxOs commands;
- Auto update checks are now run between 1h and 4h.