Ironically, this second beta brings major changes.
Please let me know if you face issues: this is the last beta before the stable release.
Major changes in Beta 2
Apprise Notifications
Introducing Apprise support! (suggested in #126)
Apprise is a great utility that enables sending notifications to 100+ services.
It is much, much better than what I've build for Telegram and Discord, and is much more reliable.
Highlights:
- Can target multiple services at the same time
- Can attach the whole report in case of failures (not supported by all services, but Telegram and Discord do support this)
Apprise will be installed automatically if enabled in the configuration. You can find Apprise examples here.
If you are using Telegram and Discord, please switch to Apprise, it will only take a minute. Although the functionality remains available, I am dismissing support for standalone services in favour of Apprise.
Configuration file
Following suggestion #128, the configuration file is being renamed from .sh
to .conf
.
As usual this release brings changes to the config file, so you'll have to move over your preferences to the new file.
Other changes
- Fix an oversight where the SnapRAID config file discovery (for OMV) would not work correctly.
- Fix the script exit if the Script config file is not found
- Process the SnapRAID info at the right time, after the config file path has been validated
Previous changes in Beta 1
New features
- Ignore Files, decreases counts by ignoring files based on their path, thanks to @tehniemer in #104
- Improve check logic to detect a previous unfinished sync or other problems.
- Add the option to execute the last custom hook before spinning down drives by @DonkeeeyKong
Fixes and improvements
- SnapRAID binary is checked using PATH environment value, no more hardcoded values. If it's not found it will notify an error message.
- Minor code improvements thanks to @StephenWetzel
- Other minor code improvements
- Fix the update threshold function when 0 files are updated by @selfishbrat
- Version check logic improvements by @tehniemer
- Skip dependencies check on non-Debian based distros by @StephenWetzel
- Improve mailx version handling by @StephenWetzel + me
- Improve handling of large counts by @desertwitch
- Trim modified file warnings by @Izumiko
- Improve syslog messaging
Full Changelog: v3.4-beta1...3.4-beta2