Skip to main content

How to enable automatic updates

Comments

6 comments

  • quietFinn

    do this in (root) command terminal:
    cat /etc/cpupdate.conf

    you should see something like :
    CPANEL=stable
    RPMUP=daily
    SARULESUP=daily
    STAGING_DIR=/usr/local/cpanel
    UPDATES=daily

    the last line means that cPanel is updated daily.

    In here:
    https://support.cpanel.net/hc/en-us/articles/360053076314-How-to-re-enable-automatic-updates

    it says that you can enable automatic updates in WHM, but that's not the case any more

    Additional information here:
    https://docs.cpanel.net/whm/server-configuration/update-preferences/

     

     

     

     

     

     

    0
  • cPRex Jurassic Moderator

    quietFinn - thanks for pointing that out.  I've actually just removed that entire article since that doesn't apply to modern systems. 

    0
  • HappyFeat

    I thought my problem might have been the delay, but I'm on STABLE so there shouldn't be a delay

    0
  • HappyFeat

    Is there a solution for this?

    If I look at the root cron tab, I can see -

    30 20 * * * (/usr/local/cpanel/scripts/fix-cpanel-perl; /usr/local/cpanel/scripts/upcp --cron > /dev/null)

    So it appears that it *should* run at 8:30pm every night

    0
  • William Del Piero cPanel Staff

    Hi,

     

    Did you check the /etc/cpupdate.conf file to ensure that the "UPDATES" value is set to daily? If this has already been set, I recommend checking the cPanel update logs within /var/cpanel/updatelogs to see if you can find any issues occurring with the updates.

    0
  • HappyFeat

    I think I worked it out - I think I'm seeing these notifications in the morning, but if I don't do it manually it updates that night.

    0

Please sign in to leave a comment.