Skip to main content

The last attempt to update cPanel & WHM was blocked - Workaround

Comments

32 comments

  • davorg
    That's a bit drastic IMO. cPanel is now suggesting if this isn't working on your server to open a ticket.. YMMV

    I have same problems with DNS Only cPanel server. How can I open ticket?
    0
  • cPanelMichael
    Hello, The issue reported here happens on servers where the "STAGING_DIR=" entry in /etc/cpupdate.conf is removed during the upcp process (e.g. cPanel versions 11.46.0.0 through 11.46.3.1 and 11.48.1.2). The removal of the entry prevents the definition of the staging directory and blocks updates. Internal case number 181689 is open to address this issue, but you can run the following command in the meantime as a temporary workaround:
    echo 'STAGING_DIR=/home' >> /etc/cpupdate.conf ; chattr +i /etc/cpupdate.conf ; /scripts/upcp ; chattr -i /etc/cpupdate.conf
    Note this command assumes you want to use /home as the staging directory. Thank you.
    0

Please sign in to leave a comment.