Page 1 of 1
Stop e-mails on failed restores
Posted: Mon Jun 01, 2015 9:06 pm
by KeiroD
VestaCP needs to stop continuously sending e-mails on failed restores.
If it failed, send a message once to three times. After that, stop sending e-mails. There's no reason to be continuously sending e-mails on the same subject.
What needs to be disabled or changed to make this behavior stop?
Re: Stop e-mails on failed restores
Posted: Tue Jun 02, 2015 12:07 pm
by skurudo
Tell us more about, what did you do to get many e-mails.
Re: Stop e-mails on failed restores
Posted: Tue Jun 02, 2015 12:34 pm
by patstan
skurudo wrote:Tell us more about, what did you do to get many e-mails.
What he means is that whenever a backup fails to restore properly, apparently it keeps bashing him with the same message over and over again although that makes no sense.
How frequently are you getting these messages/emails may i ask?
Re: Stop e-mails on failed restores
Posted: Tue Jun 02, 2015 12:38 pm
by skurudo
patstan wrote:What he means is that whenever a backup fails to restore properly, apparently it keeps bashing him with the same message over and over again although that makes no sense.
It's clear, need to understand, what exactly did user. (it's for tests, if they needed)
Re: Stop e-mails on failed restores
Posted: Tue Jun 02, 2015 11:49 pm
by KeiroD
skurudo wrote:patstan wrote:What he means is that whenever a backup fails to restore properly, apparently it keeps bashing him with the same message over and over again although that makes no sense.
It's clear, need to understand, what exactly did user. (it's for tests, if they needed)
Clicked Restore for a domain by accident. For some reason it's unable to open the tarball, based on the e-mail.
Since it cannot open the tarball, it continues to e-mail me until the issue is resolved. Or, well, if the issue persists. If it can't do that, it should fail gracefully and not spam the user on a failed action constantly.
Re: Stop e-mails on failed restores
Posted: Fri Apr 22, 2016 4:37 pm
by iraton
Hi
I keep getting restored failed emails every 5 minutes, how can i cancel a restore?
Re: Stop e-mails on failed restores
Posted: Fri Apr 22, 2016 9:49 pm
by Falzo
I've seen something like this too, it simply doesn't remove the whole restore task from the queue if it fails.
so it will retry on every cron run, which then fails again, every five minutes...
if I remember correctly that may happen with backups too, as its the same queue.
@iraton you'll find that you need to edit or clear out the file /usr/local/vesta/data/queue/backup.pipe to get rid of this issue.
Re: Stop e-mails on failed restores
Posted: Sat Apr 23, 2016 7:42 am
by iraton
Falzo wrote:I've seen something like this too, it simply doesn't remove the whole restore task from the queue if it fails.
so it will retry on every cron run, which then fails again, every five minutes...
if I remember correctly that may happen with backups too, as its the same queue.
@iraton you'll find that you need to edit or clear out the file /usr/local/vesta/data/queue/backup.pipe to get rid of this issue.
Just what i needed thank you