github auanasgheps/snapraid-aio-script v3.4-beta3
v3.4 - BETA 3

pre-release4 months ago

Wait, what? Another beta? Yes.

I've made more changes and I want to have them tested before publishing a stable release.

Your feedback is much appreciated!

Major changes in Beta 3

  • Apprise is installed via pipx, so it doesn't conflict with the python env and uses the latest version available
  • Apprise can be used to send email reports
    • Goodbye to mailx incompatibility headaches!
    • I am deprecating the Custom Notification Service (HOOK_NOTIFICATION) because I believe all usecases are now covered by Apprise. Let me know if you are still using it. It will be removed in the future.

Other changes & Fixes

  • Apprise detection is improved
  • Handle Apprise Discord by not sending markdown code because it breaks. (Discord issue)
  • Parity file filter update, ensures all parity files are included, related to #140
  • Handle filename spaces in snapraid config, fixes #140
  • Check for root execution, requested in #129
  • Improve dependencies install and detection, fixes #135
  • Exit if snapraid configuration file is not found
  • Do not send emails twice when there's a warning, fixes #141

Previous Beta changes (combined)

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 extension change

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 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
  • 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

Full Changelog: v3.4-beta1...v3.4-beta3

Don't miss a new snapraid-aio-script release

NewReleases is sending notifications on new releases.