Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

Stop e-mails on failed restores

General questions about VestaCP
Post Reply
  • Print view
Advanced search
8 posts • Page 1 of 1
KeiroD
Posts: 61
Joined: Fri Oct 11, 2013 8:35 pm

Stop e-mails on failed restores
  • Quote

Post by KeiroD » Mon Jun 01, 2015 9:06 pm

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?
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Stop e-mails on failed restores
  • Quote

Post by skurudo » Tue Jun 02, 2015 12:07 pm

Tell us more about, what did you do to get many e-mails.
Top

patstan
Posts: 117
Joined: Wed Jul 30, 2014 10:53 am

Re: Stop e-mails on failed restores
  • Quote

Post by patstan » Tue Jun 02, 2015 12:34 pm

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?
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Stop e-mails on failed restores
  • Quote

Post by skurudo » Tue Jun 02, 2015 12:38 pm

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)
Top

KeiroD
Posts: 61
Joined: Fri Oct 11, 2013 8:35 pm

Re: Stop e-mails on failed restores
  • Quote

Post by KeiroD » Tue Jun 02, 2015 11:49 pm

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.
Top

iraton
Posts: 8
Joined: Thu May 22, 2014 7:51 pm

Re: Stop e-mails on failed restores
  • Quote

Post by iraton » Fri Apr 22, 2016 4:37 pm

Hi

I keep getting restored failed emails every 5 minutes, how can i cancel a restore?
Top

Falzo
Posts: 60
Joined: Mon Mar 28, 2016 8:49 am

Re: Stop e-mails on failed restores
  • Quote

Post by Falzo » Fri Apr 22, 2016 9:49 pm

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.
Top

iraton
Posts: 8
Joined: Thu May 22, 2014 7:51 pm

Re: Stop e-mails on failed restores
  • Quote

Post by iraton » Sat Apr 23, 2016 7:42 am

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
Top


Post Reply
  • Print view

8 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password