auanasgheps / snapraid-aio-script

The definitive all-in-one SnapRAID script on Linux. Diff, sync, scrub are things of the past. Manage SnapRAID and much, much more!
GNU General Public License v3.0
231 stars 37 forks source link

Error in preprocessing in 3.2-DEV3 #40

Closed tehniemer closed 2 years ago

tehniemer commented 2 years ago

I'm seeing errors in the preprocessing section of my logs, but the script still runs. It seems to have something to do with RETENTION_DAYS, this is the error line 83: [: : integer expression expected

auanasgheps commented 2 years ago

I am running DEV2 without a problem, the RETENTION_DAYS feature is already there and working properly. DEV3 is the merge with the added/deleted ratio.

Are you using an updated config file and RETENTION_DAYS is declared?

tehniemer commented 2 years ago

I must have forgotten to update my config, pulled the updates from the dev branch and the error is gone.

auanasgheps commented 2 years ago

In dev I don't update the config file versioning every time I make a change, but at least this method works for main/public upgrades :)

tehniemer commented 2 years ago

I rebased my version with the dev version before I submitted my other pull request, it seems there were some things added in the dev config file that I didn't notice.