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.

Cron <root@host> /scripts/upcp <-- What's this?

Discussion in 'General Discussion' started by jcsolutions, Aug 18, 2003.

  1. jcsolutions

    jcsolutions Well-Known Member

    Joined:
    Nov 4, 2002
    Messages:
    184
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Canada
    I upgraded to Cpanel 7.4.2 S-82 on RH 7.3 this Saturday. I come to the office today and found 2 emails from the server with the subject "Cron <root@host> /scripts/upcp". What is this about? I've never received anything like this before.

    The contents of the emails start out like this...

    PHP version file is up to date
    Cpanel updates are coming from layer2.cpanel.net
    fileutils passes checksum
    findutils passes checksum
    net-tools passes checksum
    Checking /dev/hdb....OK
    x - creating lock directory
    x - SKIPPING /usr/local/lib/php.ini (file already exists)
    Using Mysql3
    MySQL is up to date (Wed Dec 31 19:00:00 1969)
    MySQL-shared is up to date (Wed Dec 31 19:00:00 1969)
    MySQL-devel is up to date (Wed Dec 31 19:00:00 1969)
    more ...

    I've always had manual updates to the Stable version checked off in WHM. I just double-checked and that's still what it says.

    This looks like cpanel tried updating itself. Am I correct?

    cPanel.net Support Ticket Number:
     
  2. ciphervendor

    ciphervendor Well-Known Member

    Joined:
    Aug 26, 2002
    Messages:
    1,052
    Likes Received:
    0
    Trophy Points:
    36
    There's a root cron to update cPanel. It calls /scripts/upcp. If you don't want it to run, disable updates in WHM.

    cPanel.net Support Ticket Number:
     
  3. jcsolutions

    jcsolutions Well-Known Member

    Joined:
    Nov 4, 2002
    Messages:
    184
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Canada
    I know about that script. I run it when I update cpanel. But in my WHM, I've got MANUAL updates selected, not automatic. So what I'm wondering is if this is a bug in the latest release and should I be worried about it?

    cPanel.net Support Ticket Number:
     
  4. micron

    micron Member

    Joined:
    Dec 1, 2002
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    getting the same emails every 2am est too. i have update preferences at 'manual updates only (stable tree)'. maybe a bug?

    cPanel.net Support Ticket Number:
     
  5. jcsolutions

    jcsolutions Well-Known Member

    Joined:
    Nov 4, 2002
    Messages:
    184
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Canada
    Glad to see I'm not the only one! :)

    Guess we'll see what happens tonight and if it comes again, I'll submit a bug report. I'm sure DarkORB is even already aware of it. It's a minor bug anyway... as long as it keeps trying to upgrade to STABLE release! :eek:

    cPanel.net Support Ticket Number:
     
  6. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    I've gotten emails like that every day since I got my first server. It's not actually updating cpanel. If it's set to manual, like I also do, the /scripts/upcp still runs daily and checks for security updates. It just doesn't do a cpanel update unless it's set to automatic. It may do a cpanel update if it's security related.

    cPanel.net Support Ticket Number:
     
  7. stephem

    stephem Member

    Joined:
    Apr 25, 2003
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    I too have been getting emails about the update at around 2.45am local time ever since upgrading on Saturday.

    I wonder if that's because there was a popup Window when WHM had been upgraded telling me that I hadn't given an email address for root's mail, which I then filled in (Change System Mail Preferences).

    Could it be, as in Squirrel's case, that the cron job had been run every day but only now does the system know where to send the email saying the job has been run?

    cPanel.net Support Ticket Number:
     
  8. Juanra

    Juanra Well-Known Member

    Joined:
    Sep 22, 2001
    Messages:
    777
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Spain
    Check /root/mail/inbox, you could have tons of email there.

    cPanel.net Support Ticket Number:
     
  9. isputra

    isputra Well-Known Member

    Joined:
    May 3, 2003
    Messages:
    576
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Mbelitar
    I've gotten emails like that every day since upgraded to Cpanel 7.4.2 S-82 on RH 7.3

    I set on Manual Update too

    I think cPanel must answer this :D

    cPanel.net Support Ticket Number:
     
  10. stephem

    stephem Member

    Joined:
    Apr 25, 2003
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    That sounds logical - but there's nothing in there. So either I have got it totally wrong (highly likely :) ) or the emails are new since the upgrade.
     
  11. jcsolutions

    jcsolutions Well-Known Member

    Joined:
    Nov 4, 2002
    Messages:
    184
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Canada
    I'd say your exactly right stephen.

    ChangeLog
    Thu Aug 7 03:38:47 EDT 2003
    7.x Build#18
    ---------------------------------------------------------------
    entice users to forward roots mail elsewhere
    ---------------------------------------------------------------

    I guess root mail wasn't being received before this, although I wonder if it was sent at all. My root inbox is empty.

    cPanel.net Support Ticket Number:
     
  12. Tom Pyles

    Tom Pyles Well-Known Member

    Joined:
    Apr 26, 2002
    Messages:
    254
    Likes Received:
    0
    Trophy Points:
    16
    I have recevied these e-mails since Day 1 on our first server. We are set for manual updates. The e-mail I receive doesn't have the same info as when we manually run /scripts/upcp. Some critical security updates, and info that back-ups are running.

    cPanel.net Support Ticket Number:
     
  13. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    As long as the updates are set to run daily, which they will be as long as you don't edit the cronjob, AND as long as you do have a root email account set up, you will get upcp emails every time it runs to tell you what it has done.

    If there is no root email account specified, I believe the email just goes to the queue and then gets deleted when it can't be delivered.

    cPanel.net Support Ticket Number:
     
  14. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    The script always runs and self-repairs/corrects problems it finds. If you have updates to to manual it won't download a new release.

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page