Paper Lantern for cPanel accounts is being retired this year. Find out more »
cPanel & WHM Version 102 has been released, and brings a slew of great updates. Take a look at what is included, and then upgrade today!

Apply logic to update failure notifications

cPRex shared this idea 34 days ago
Not Planned

A cPanel update notification can be triggered due to the following error:

E [/usr/local/cpanel/scripts/find_outdated_services] 14: curl#52 - "Empty reply from server"
E [/usr/local/cpanel/scripts/find_outdated_services] Cannot find a valid baseurl for repo: repo_name
It would be nice if the update system was able to detect this is a mirror failure, and only notify the server admin if the failure happens repeatedly.

Replies (2)

photo
1

Indeed this would be a nice feature to add. Keep in mind that email alerts often trigger the recipient to open a ticket with the web host, so it ends up costing time for several people.

photo
1

+1


Personally I'd like minor failures like this related to time outs/repos to just include a 'sleep 10 min' and try again. After the 3rd failure then error notify as normal.

Leave a Comment
 
Attach a file