Skip to main content

cPanel & WHM update failure in upcp script

Comments

7 comments

  • SysSachin
    Hello, Please try update cPnale forcefully using following command : /scripts/upcp --force
    0
  • NixTree
    Is there any thing else in the logs ? If so please paste it as well. Else please check and confirm your update preferences and make sure you have selected the stable release and then try a force cpanel update using /scripts/upcp --force option
    0
  • fullfatdesigns
    I've tried a force update and its getting stuck at this line
    E Blocker found: Your RPM database appears unstable. It is not possible at the moment to install a simple RPM.
    Edit : This is the message I get when logged into whm;
    Reasons for blocked updates. Please correct these issues and rerun updates. fatal: Your RPM database appears unstable. It is not possible at the moment to install a simple RPM. fatal: Cannot upgrade because yum is locked (/var/run/yum.pid has existed for 10+ minutes).
    0
  • cPanelMichael
    Hello @fullfatdesigns, Check for any hanging YUM and RPM processes via:
    ps aux|grep rpm ps aux|grep yum
    Kill any of those processes that are no longer active, and then rebuild the RPM database via: "WHM Home " Software " Rebuild RPM Database" Then, run "yum update" to see if it completes successfully. Thank you.
    0
  • fullfatdesigns
    Thanks. Its running now, but stuck at 35%;
    - Processing command `/usr/local/cpanel/scripts/check_cpanel_rpms --list-only --long-list --notify`
    Its been like that for about 50mins... should it take that long?
    0
  • cPanelMichael
    Its been like that for about 50mins... should it take that long?

    Try waiting a few more minutes. If it's still hanging, open a support ticket using the link in my signature and we will take a closer look to determine what's happening. You can post the ticket number here and we will update this thread with the outcome. Thanks!
    0
  • fullfatdesigns
    Thanks. Ticket opened. ID 7841309
    0

Please sign in to leave a comment.