[Case 83489] E-mails from /scripts/upcp are not sent when cPanel version number is changed

JamesOakley

Well-Known Member
Apr 15, 2011
83
2
58
cPanel Access Level
Root Administrator
I've noticed this for a while, and have only now got round to posting a forum thread about it.

Every day, at the scheduled time, I get an e-mail from several servers reporting the output from /scripts/upcp.

Whenever cPanel's version number changes, no e-mail is sent. For example, last night, all the servers updated from 11.40.0.19 to 11.40.0.24. No e-mails were sent from any of them. I've checked the exim logs - it's not that they are being blocked downstream; the e-mails are never sent at all.

If /scripts/upcp simply triggers updates to an RPM controlled package, or through yum, that never prevents the e-mail from being sent. It's only an issue when cPanel's version number is incremented.

The log files in /var/cpanel/updatelogs are generated as normal, so I can see the log if I want to. However I don't want to have to log into each server and use a console tool to read the logs whenever I notice I wasn't e-mailed. Indeed, I don't want to rely on noticing that an e-mail was missing. The fact is: I am most concerned to read the update log when cPanel's version number has changed. The logs I most need to arrive in my inbox are the ones that don't come.

Given this is happening on multiple servers, I assume it's not just me. Has anyone else found this, and then found out how to solve it?
 

jimlongo

Well-Known Member
Mar 20, 2008
289
24
68
Happens to me every time as well.
I'll get it the next night, but not the first time it updates to a new version.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
I could not find an existing internal case open to address this issue. Please open a support ticket using the link in my signature and post the ticket number here so we can update this thread with the outcome.

Thank you.
 

JamesOakley

Well-Known Member
Apr 15, 2011
83
2
58
cPanel Access Level
Root Administrator
That's as may be. I'm happier to know that I've now reported it here, and to have it confirmed that there isn't yet an internal case number for this. Hopefully my ticket will trigger a case number, and it can be addressed in due course.
 

Infopro

Well-Known Member
May 20, 2003
17,075
524
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
Common issue, I believe - I've seen it on this forum before. I've just gotten used to the fact that the absence of an email from the upcp cron job means that an upgrade took place :)
I disagree. Also, the email should be sent regardless of an update.

Let's wait and see what cPanel Technical Support find out on this one. The /usr/local/cpanel/scripts/upcp --cron emails are working for me across all servers.
 

jimlongo

Well-Known Member
Mar 20, 2008
289
24
68
I had 2 tickets related to this that were never fully resolved.
4367789
4366961
 

ElviCities

Active Member
Aug 9, 2012
29
10
53
cPanel Access Level
Root Administrator
Twitter
I also experience this when cpanel upgrades to a newer version. I just assumed that it was a bug within exim, or the fact that exim is restarted during the upgrade process. Like the above user, I now just assume that when a upcp email is not generated, cpanel has upgraded to a new version.
 

cmo

Member
Dec 20, 2013
16
0
1
cPanel Access Level
Root Administrator
I'm fairly new to WHM and just experienced this as well. I like to look over my upcp, access and csf/lfd logs first thing when I get up every morning with my coffee. Didn't get the upcp email this morning and started to panic a little :(

Took me a while to find this thread and glad I did - it will save me a little more hair. Checked /var/cpanel/updatelogs and sure enough there was an update this morning (11.40.1.8 -> 11.40.1.9). Good to know I can expect an update when I don't get the report :D
 

Trane Francks

Well-Known Member
Jun 19, 2012
106
19
68
Machida, Tokyo, Japan
cPanel Access Level
Root Administrator
I disagree. Also, the email should be sent regardless of an update.

Let's wait and see what cPanel Technical Support find out on this one. The /usr/local/cpanel/scripts/upcp --cron emails are working for me across all servers.
I agree that the mail should be sent regardless, but it IS a common problem. I see this regularly whenever a major update happens, as with this recent change on the Stable release track. When certain packages are upgraded, especially related to mail. If I ever wind up with Courier running a deleted instance requiring a manual restart of the service, you can also bet that upcp notification wasn't sent.