Skip to content

Turn it on again

Compare
Choose a tag to compare
@auanasgheps auanasgheps released this 31 Dec 17:30
· 157 commits to master since this release
496b748

This version has been in the works for quite a while. There are many changes, also thanks to the many contributions!
The config file has been completely redesigned and is a breaking change for existing users.

  • Telegram notifications
    • Send short telegram messages about the script status. It's the same info sent to Healthchecks, which can be enabled at the same time.
    • You will have to create a bot to use this feature.
    • The whole email message does not fit due to space limitations.
  • Discord notifications, thanks to @ranapushpender
    • Same feature set as Telegram
  • Notification Hook, thanks to @Caedis
    • Allows to use an external service/script/mail binary not natively supported by this script
  • Custom Hooks, thanks to @nzlov #27
    • Configure shell commands or scripts to run before and after SnapRAID operations
  • Improved error handling
    • Exit with an error when SnapRAID files are not found during sanity check (parity, data)
    • New error messages for email subject and Healthchecks/Telegram
    • If the configuration file is not found, write a message to the default snapraid log location
  • Configuration file
    • Configurations are now split in categories
    • You must update the configuration file, moving your configs to the new one
    • If you haven't updated the config file after an upgrade, the script will exit with an error.
    • You must update the configuration time every time is needed. This change ensures consistency and avoids unwanted errors.
  • Remote Docker management improvements
    • Add configurable delay for actions to remote host to improve success rates, thanks to @tehniemer #22
    • Manage multiple remote hosts, thanks to @tehniemer #24
  • Disks spin down has been fixed, now uses hd-idle
  • Migrate python-markdown to python3-markdown, to enable compatibility with Debian 11 / OMV6.
  • Fixed email formatting when Scrub job is not run

Upgrade Notice: If you are using a previous version of the script, you will have to move your preferences to the new script-config.sh. The old file can't be reused or the script will throw an error.