Hi Janwillem,

Error parsing time at /home/solarspeed/easy-backup/tmp/par-726f6f74/cache-f1214cafafa8c3fccb2fe571fe0f283e2a94c809/inc/lib/Time/Piece.pm line 481, <GEN3> line 1703.

Can it be that this causes the mail issue and/or not deletion of the log file? I think you still have alter-admin access to one of the servers, so feel free to check if you have time or I happily open a new ticket.


Thank you. I was able to debug the issue on your server.

The problem was the method how I calculated how much time the backup or restore had taken. For that I fetched the start/end time via "date --rfc-3339=seconds" and used the Perl module Time::Piece to figure out the difference in minutes and seconds.

The issue? "date --rfc-3339=seconds" gives us the timezone as well and during the processing I used a filter that didn't like the timezone your server was using. There is nothing wrong with the timezone settings of your server, it's just that my code didn't account for how it was presented.

As the code then threw an error on that "elapsed time calculation" you never got the email, as the emailing happened afterwards in the code.

I changed that code to use Unix-Timestamps instead and that now works fine. You should already have gotten an email from your server about a backup that I just ran manually.

I'm now publishing Easy-Backup v1.1.0 to NewLinQ, which fixes this issue, a minor display error and the duplicity messages on the screen and in the email are now in English. Even if the shell is set to a different language.

--
With best regards

Michael Stauber

_______________________________________________
Blueonyx mailing list
Blueonyx@mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx

Reply via email to