Our features site is undergoing a refresh! Be sure to explore the revamped site and discover our latest product roadmap launching here on Monday, March 18th.

Apply logic to update failure notifications

cPRex shared this idea 2 years 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