The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'E-mail Discussions' started by JamesOakley, Nov 20, 2013.

  1. JamesOakley

    JamesOakley Well-Known Member

    Joined:
    Apr 15, 2011
    Messages:
    83
    Likes Received:
    2
    Trophy Points:
    8
    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?
     
  2. jimlongo

    jimlongo Well-Known Member

    Joined:
    Mar 20, 2008
    Messages:
    145
    Likes Received:
    2
    Trophy Points:
    18
    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.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,762
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  4. JamesOakley

    JamesOakley Well-Known Member

    Joined:
    Apr 15, 2011
    Messages:
    83
    Likes Received:
    2
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    Ticket ID is 4401523.
     
  5. Tom Risager

    Tom Risager Well-Known Member

    Joined:
    Jul 10, 2012
    Messages:
    107
    Likes Received:
    3
    Trophy Points:
    18
    Location:
    Copenhagen, Denmark, Denmark
    cPanel Access Level:
    Root Administrator
    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 :)
     
  6. JamesOakley

    JamesOakley Well-Known Member

    Joined:
    Apr 15, 2011
    Messages:
    83
    Likes Received:
    2
    Trophy Points:
    8
    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.
     
  7. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,461
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
  8. Tom Risager

    Tom Risager Well-Known Member

    Joined:
    Jul 10, 2012
    Messages:
    107
    Likes Received:
    3
    Trophy Points:
    18
    Location:
    Copenhagen, Denmark, Denmark
    cPanel Access Level:
    Root Administrator
    Fair enough. I've never seen it work correctly on any of my servers.

    Yes, of course it should work. Like the OP I just didn't get around to reporting it.
     
  9. jimlongo

    jimlongo Well-Known Member

    Joined:
    Mar 20, 2008
    Messages:
    145
    Likes Received:
    2
    Trophy Points:
    18
    I had 2 tickets related to this that were never fully resolved.
    4367789
    4366961
     
  10. JamesOakley

    JamesOakley Well-Known Member

    Joined:
    Apr 15, 2011
    Messages:
    83
    Likes Received:
    2
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    The cause was upcp restarting exim at the end of the script - but only in those cases when the cPanel version is incremented.

    The internal case number for this is 83489.
     
  11. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,461
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Thank you both for the updates including ticket and case ids.
     
  12. ElviCities

    ElviCities Member

    Joined:
    Aug 9, 2012
    Messages:
    15
    Likes Received:
    5
    Trophy Points:
    3
    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.
     
  13. cmo

    cmo Member

    Joined:
    Dec 20, 2013
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    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
     
  14. Trane Francks

    Trane Francks Well-Known Member

    Joined:
    Jun 19, 2012
    Messages:
    56
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Machida, Tokyo, Japan
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page