Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error message after upgrading to TrueNAS 12 #25

Open
ionutm80 opened this issue Mar 8, 2021 · 4 comments · May be fixed by #28
Open

Error message after upgrading to TrueNAS 12 #25

ionutm80 opened this issue Mar 8, 2021 · 4 comments · May be fixed by #28

Comments

@ionutm80
Copy link

ionutm80 commented Mar 8, 2021

Hey, I'm getting this error message when the script is running after upgrading to TrueNAS 12. Do you have any ideas what's wrong? What is messed up?

Thanks!

date: illegal option -- 0
usage: date [-jnRu] [-d dst] [-r seconds|file] [-t west] [-v[+|-]val[ymwdHMS]]
[-I[date | hours | minutes | seconds]]
[-f fmt date | [[[[[cc]yy]mm]dd]HH]MM[.ss]] [+format]
date: illegal option -- 0
usage: date [-jnRu] [-d dst] [-r seconds|file] [-t west] [-v[+|-]val[ymwdHMS]]
[-I[date | hours | minutes | seconds]]
[-f fmt date | [[[[[cc]yy]mm]dd]HH]MM[.ss]] [+format]

@otherjoel
Copy link

Have you tried updating to the latest version of the script?

@Halfang
Copy link

Halfang commented May 14, 2021

Getting the same error.
Script is v1.3.
Despite the error message, the script works and I get the emails.

However, I've remade the script and the error doesn't appear anymore. It also seems to have fixed the date-from-last-scrub which was completely broken since the upgrade, and shows the accurate date now. So, rebuild seems to have fixed it

@dak180 dak180 linked a pull request May 16, 2021 that will close this issue
1 task
@wpnz
Copy link

wpnz commented Jun 29, 2021

I was getting the Same Date Error in a 2nd Email, after using ensuring I have the latest version (1.3).

There is an option in TrueNAS in the Cron Job to: Hide Standard Error. That stopped me from getting the 2nd Date error email.

@ionutm80
Copy link
Author

ionutm80 commented Jun 30, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants