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!

SOLVED [CPANEL-19611] cPanel & WHM update process failed

Discussion in 'General Discussion' started by jdrusso92, May 29, 2018.

Tags:
  1. jdrusso92

    jdrusso92 Registered

    Joined:
    Aug 25, 2017
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    North Carolina
    cPanel Access Level:
    Root Administrator
    I've been receiving this email daily for the last few days, but I haven't been able to find a solution.

    Code:
    /etc/redhat-release:CentOS release 6.9 (Final)
    /usr/local/cpanel/version:11.70.0.44
    /var/cpanel/envtype:standard
    CPANEL=release
    
    The errors logged are:
    Code:
    [2018-05-29 08:55:10 -0400] E    [/usr/local/cpanel/scripts/find_outdated_services] The “/usr/local/cpanel/scripts/find_outdated_services” command (process 11494) reported error number 255 when it ended.
    [2018-05-29 08:58:31 -0400] E Pre Maintenance ended, however it did not exit cleanly (256). The following events were logged: "scripts/find_outdated_services". Please check the logs for an indication of what happened
    
    When I try to run "scripts/find_outdated_services --always-restart" this is the ouput:
    Code:
    Looking for outdated services …
    The system did not find any outdated services.
    
    So it appears to work fine when I run the find_outdated_services command outside of upcp, but in the upcp operation it triggers this error.
     
  2. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,042
    Likes Received:
    212
    Trophy Points:
    173
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @jdrusso92

    I believe this is related to an internal case we have open currently CPANEL-19611 find_outdated_services sometimes exits with an error code during upcp, without leaving useful error information logged.

    In the case description, it noted that it fails during updates but not when running manually.

    This shouldn't be affecting your ability to update but the internal case is currently in test for v74 of cPanel. Once it's resolved I'll update this thread again.

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Shood

    Shood Well-Known Member

    Joined:
    Aug 12, 2015
    Messages:
    52
    Likes Received:
    10
    Trophy Points:
    83
    Location:
    Middle East
    cPanel Access Level:
    Root Administrator
    Hello, I have exactly the same issue, my cPanel version 70.0.46
    Thank you Lauren for your clarification.
    As I see from your reply that I can get all updates through a manually update "Upgrade to Latest Version", right?
    However, is there an expected date to publish v74?
     
  4. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,042
    Likes Received:
    212
    Trophy Points:
    173
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @Shood

    You should be able to update regardless of this error. If you want to check if you really have outdated services or not you can run /scripts/find_outdated_services manually but you should be alright to disregard the notices about this until the issue is resolved. I do show in the case now that they backported the resolution to v72 of cPanel - I would recommend waiting until 72 is in CURRENT to update to it.

    I don't have a specific date for when the release will be published but I can see that v72 is in EDGE right now.


    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Shood likes this.
  5. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,042
    Likes Received:
    212
    Trophy Points:
    173
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hello,


    I just wanted to update that this issue is fixed in v74 which is in RELEASE. It was also backported to v72 of cPanel. Please let us know if you encounter any further issues with this.

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Shood

    Shood Well-Known Member

    Joined:
    Aug 12, 2015
    Messages:
    52
    Likes Received:
    10
    Trophy Points:
    83
    Location:
    Middle East
    cPanel Access Level:
    Root Administrator
    Hello @cPanelLauren
    My cPanel updated to v74 on the last Wednesday but I still receiving the same error message, this is the output of script:
    Code:
    /usr/local/cpanel/scripts/find_outdated_services
    Output:
    Code:
    STDERR: Repository 'mariadb' is missing name in configuration, using id
    Cpanel::Exception::ProcessFailed/(XID mu6uzq) An unknown error in the “Cpanel::Exception::ProcessFailed” package has occurred.
     at /usr/local/cpanel/Cpanel/ProcessCheck/Outdated.pm line 279.
            Cpanel::ProcessCheck::Outdated::_handle_stderr(Cpanel::SafeRun::Object=HASH(0x17568f8)) called at /usr/local/cpanel/Cpanel/ProcessCheck/Outdated.pm line 116
            Cpanel::ProcessCheck::Outdated::outdated_services() called at /usr/local/cpanel/scripts/find_outdated_services line 71
            scripts::find_outdated_services::__ANON__() called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/Try/Tiny.pm line 95
            eval {...} called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/Try/Tiny.pm line 90
            Try::Tiny::try(CODE(0x1493760), Try::Tiny::Catch=REF(0xdedf28)) called at /usr/local/cpanel/scripts/find_outdated_services line 80
            scripts::find_outdated_services::run(scripts::find_outdated_services=HASH(0xdc42d0)) called at /usr/local/cpanel/scripts/find_outdated_services line 60
    Thank you.
     
  7. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,042
    Likes Received:
    212
    Trophy Points:
    173
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    HI @Shood


    This error is a bit different, there seems to be an issue with MariaDB's repo file. Can you confirm that it looks the same as follows:

    Code:
    [22:41:45] [9695235] [~]$ cat /etc/yum.repos.d/MariaDB.repo
    # MariaDB 10.2 CentOS repository list - created 2018-06-07 02:40 UTC
    # http://downloads.mariadb.org/mariadb/repositories/
    [mariadb]
    name = MariaDB
    baseurl = http://yum.mariadb.org/10.2/centos7-amd64
    gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
    gpgcheck=1
    Essentially that the name = MariaDB portion is present


    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. Shood

    Shood Well-Known Member

    Joined:
    Aug 12, 2015
    Messages:
    52
    Likes Received:
    10
    Trophy Points:
    83
    Location:
    Middle East
    cPanel Access Level:
    Root Administrator
    Thank you @cPanelLauren for your reply
    Yes I got this output

    Code:
    [16:23] [ ~] # cat /etc/yum.repos.d/MariaDB.repo
    [mariadb]
    baseurl = http://yum.mariadb.org/10.2/centos7-amd64
    gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
    gpgcheck=1
    So we have another issue to fix?
     
  9. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,042
    Likes Received:
    212
    Trophy Points:
    173
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hello @Shood

    No, the issue is the name of the repository is missing in yours. Please see the example I provided.


    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Shood likes this.
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice