Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

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.

SOLVED Error Updating cPanel to Version 68

Discussion in 'General Discussion' started by sbhooley, Jan 18, 2018.

Tags:
  1. sbhooley

    sbhooley Member

    Joined:
    Jan 18, 2018
    Messages:
    7
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    USA
    cPanel Access Level:
    Root Administrator
    I am on version cPanel & WHM 64.0 (build 42), trying to update to 68.0.26

    When I try to update through WHM, I get the following error:

    Code:
    [2018-01-18 18:41:34 +0000]   cpanel-perl-524-Net-FTPSSL-0.35-1.cp1162.noarch.rpm already downloaded
    
    [2018-01-18 18:41:34 +0000]   cpanel-perl-524-Perl-Strip-1.1-1.cp1162.noarch.rpm already downloaded
    
    [2018-01-18 18:41:34 +0000]   cpanel-perl-524-Devel-CheckLib-1.09-1.cp1162.x86_64.rpm already downloaded
    
    [2018-01-18 18:41:34 +0000]   cpanel-perl-524-Net-FastCGI-0.14-2.cp1162.noarch.rpm already downloaded
    
    [2018-01-18 18:41:34 +0000]   cpanel-perl-524-Acme-Damn-0.08-1.cp1162.x86_64.rpm already downloaded
    
    [2018-01-18 18:41:34 +0000]   cpanel-perl-524-Crypt-Format-0.07-1.cp1162.noarch.rpm already downloaded
    
    [2018-01-18 18:41:34 +0000]   cpanel-perl-524-Selenium-Remote-Driver-1.12-1.cp1162.noarch.rpm already downloaded
    
    [2018-01-18 18:41:34 +0000]   cpanel-perl-524-TestRail-API-0.041-1.cp1162.noarch.rpm already downloaded
    
    [2018-01-18 18:41:34 +0000]   cpanel-perl-524-Crypt-OpenSSL-DSA-0.19-1.cp1162.x86_64.rpm already downloaded
    
    [2018-01-18 18:41:34 +0000]   cpanel-perl-524-Email-Simple-2.213-1.cp1162.noarch.rpm already downloaded
    
    [2018-01-18 18:41:34 +0000]   cpanel-perl-524-cPanel-TaskQueue-0.800-7.cp1162.noarch.rpm already downloaded
    
    [2018-01-18 18:41:34 +0000]   All files Staged
    
    [2018-01-18 18:41:34 +0000]   Testing if the newly downloaded RPMS can be installed without conflict
    
    [2018-01-18 18:41:34 +0000]   Testing RPM transaction
    
    [2018-01-18 18:41:35 +0000]   error: Failed dependencies:
    
    [2018-01-18 18:41:35 +0000]  MySQL-server is needed by cpanel-perl-524-munin-2.0.30-1.cp1162.x86_64
    
    [2018-01-18 18:41:35 +0000] W Exit Code: 180
    
    [2018-01-18 18:41:35 +0000] ***** FATAL: Test install failed: error: Failed dependencies:
    
    [2018-01-18 18:41:35 +0000]  MySQL-server is needed by cpanel-perl-524-munin-2.0.30-1.cp1162.x86_64
    
    [2018-01-18 18:41:35 +0000]   The Administrator will be notified to review this output when this script completes
    
    [2018-01-18 18:41:35 +0000] ***** FATAL: Error testing if the RPMs will install: Test install failed: error: Failed dependencies:
    
    [2018-01-18 18:41:35 +0000]  MySQL-server is needed by cpanel-perl-524-munin-2.0.30-1.cp1162.x86_64
    
    [2018-01-18 18:41:35 +0000]   see RPM Installation Failures - cPanel Knowledge Base - cPanel Documentation for more information
    
    [2018-01-18 18:41:35 +0000]   The Administrator will be notified to review this output when this script completes
    
    => Log closed Thu Jan 18 18:41:35 2018
    
    [2018-01-18 18:41:35 +0000] E Running `/usr/local/cpanel/scripts/updatenow --upcp --log=/var/cpanel/updatelogs/update.1516300832.log` failed, exited with code 1 (signal = 0)
    
    => Log closed Thu Jan 18 18:41:35 2018


    I looked at mysql and everything is functioning. Sites are functioning. The only thing I can think of is that a server admin that assists me installed Percona 5.7 -- which to my understanding now, can cause problems? This is a production server, so I am not sure how to make the upgrade happen with no downtime.

    Please assist.
     
    #1 sbhooley, Jan 18, 2018
    Last edited by a moderator: Jan 18, 2018
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    42,734
    Likes Received:
    1,706
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    It looks like the Munin RPM update is failing due to the use of Percona. You could try setting the Munin RPM to unmanaged to temporarily workaround this issue until you are able to revert from Percona back to MySQL or MariaDB:

    Code:
    /scripts/update_local_rpm_versions --edit target_settings.munin unmanaged
    Let us know if that helps.

    Thank you.
     
  3. sbhooley

    sbhooley Member

    Joined:
    Jan 18, 2018
    Messages:
    7
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    USA
    cPanel Access Level:
    Root Administrator
    And if I want to "manage" it again, then I would do "
    /scripts/update_local_rpm_versions --edit target_settings.munin managed"?

    Also is there any danger in temporarily workaround this, and proceeding with the upgrade?
     
  4. sbhooley

    sbhooley Member

    Joined:
    Jan 18, 2018
    Messages:
    7
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    USA
    cPanel Access Level:
    Root Administrator
    And if I want to "manage" it again, then I would do "
    /scripts/update_local_rpm_versions --edit target_settings.munin managed"?

    Also is there any danger in temporarily workaround this, and proceeding with the upgrade?
     
  5. twhiting9275

    twhiting9275 Well-Known Member

    Joined:
    Sep 26, 2002
    Messages:
    552
    Likes Received:
    15
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    Twitter:
    The workaround shouldn't affect your server at all, except to say that it will allow the server to update to 68

    It's odd that the packagers didn't take into account that others require other DB's in this case . cPanel should be the ones supplying these specific RPMs
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    42,734
    Likes Received:
    1,706
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    It might prevent you from reinstalling the Munin plugin. Generally, the better approach is to have your system administrator revert the Percona installation and use a supported database server (e.g. MySQL or MariaDB).

    Thank you.
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    42,734
    Likes Received:
    1,706
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    To update, this is actually a defect where Munin is requiring the incorrect package name for "MySQL-server". Internal case CPANEL-17756 addresses this issue in cPanel version 70 by ensuring it instead depends on the presence of mysqld. It doesn't look like we will backport this change to cPanel version 68 (it only affects unsupported database server installations such as Percona on cPanel 68). Thus, setting the Munin RPM target to "unmanaged" as mentioned earlier in this thread will act as a workaround to allow the cPanel update to proceed.

    Thank you.
     
    sbhooley likes this.
  8. sbhooley

    sbhooley Member

    Joined:
    Jan 18, 2018
    Messages:
    7
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    USA
    cPanel Access Level:
    Root Administrator
    I am not sure how to close this, but your suggestions worked perfectly. I am on version 68, and things are working more smoothly now. Thanks!
     
    cPanelMichael likes this.
Loading...

Share This Page