Skip to main content

UNABLE TO UPDATE vCPANEL VERSION FROM v86.0.18 to v88.0.12 ON GUI

Comments

19 comments

  • andrew.n
    Do you have root access via SSH? Are you able to run the following command? /scripts/upcp --force
    0
  • cPanelLauren
    Based on that output it looks like you have updates disabled. What's in the file /etc/cpupdate.conf
    ?
    0
  • HuyND
    Based on that output it looks like you have updates disabled. What's in the file /etc/cpupdate.conf
    ?

    Yes, here it is. CPANEL=release RPMUP=never SARULESUP=never STAGING_DIR=/usr/local/cpanel UPDATES=never
    0
  • HuyND
    Do you have root access via SSH? Are you able to run the following command? /scripts/upcp --force

    Yes, I have root access and can run this command "/scripts/upcp --force"
    0
  • andrew.n
    Okay so just follow this The cPanel & WHM Update Configuration File - cpupdate.conf | cPanel & WHM Documentation and you will have daily updates.
    0
  • HuyND
    Okay so just follow this
    0
  • andrew.n
    Just restart cPanel to be sure and then run the upcp update, that should so it.
    0
  • HuyND
    Hi all, I just edit the file /etc/cpupdate.conf. And I can run /scripts/upcp --force. But i'm stack in this error: [2020-07-16 22:43:00 +0700] 17% complete [2020-07-16 22:43:00 +0700] E Running `/usr/local/cpanel/scripts/updatenow --upcp --log=/var/cpanel/updatelogs/update.1594914059.log --force` failed, exited with code 1 (signal = 0) => Log closed Thu Jul 16 22:43:02 2020 => Log closed Thu Jul 16 22:43:02 2020
    Please help me fix it. Thanks all
    0
  • andrew.n
    Very weird. Any more info in /var/cpanel/updatelogs/update.1594914059.log file?
    0
  • HuyND
    Very weird. Any more info in /var/cpanel/updatelogs/update.1594914059.log file?

    Yes. I run command #tail -100 /var/cpanel/updatelogs/update.1594914059.log. It show like below [2020-07-16 22:42:57 +0700] Retrieving and staging /cpanelsync/11.88.0.12/paper_lantern/htaccess/index.js.xz [2020-07-16 22:42:57 +0700] Retrieving and staging /cpanelsync/11.88.0.12/paper_lantern/js/expander.js.xz [2020-07-16 22:42:57 +0700] Retrieving and staging /cpanelsync/11.88.0.12/paper_lantern/js/jumpbox.js.xz [2020-07-16 22:42:57 +0700] Retrieving and staging /cpanelsync/11.88.0.12/paper_lantern/_assets/deferred/powered-by-cpanel.js.xz [2020-07-16 22:42:57 +0700] Retrieving and staging /cpanelsync/11.88.0.12/paper_lantern/mail/boxtrapper.css.xz [2020-07-16 22:42:58 +0700] Retrieving and staging /cpanelsync/11.88.0.12/paper_lantern/stats/errlog.html.tt.xz [2020-07-16 22:42:58 +0700] Retrieving and staging /cpanelsync/11.88.0.12/paper_lantern/js2-min/subdomain/index.js.xz [2020-07-16 22:42:58 +0700] Retrieving and staging /cpanelsync/11.88.0.12/paper_lantern/passenger/index.cmb.js.xz [2020-07-16 22:42:58 +0700] Retrieving and staging /cpanelsync/11.88.0.12/paper_lantern/user_manager/directives/issueList.js.xz [2020-07-16 22:42:58 +0700] Retrieving and staging /cpanelsync/11.88.0.12/paper_lantern/home/index.tt.xz [2020-07-16 22:42:58 +0700] Retrieving and staging /cpanelsync/11.88.0.12/paper_lantern/indexmanager/index.js.xz [2020-07-16 22:42:58 +0700] Retrieving and staging /cpanelsync/11.88.0.12/paper_lantern/webdav/doaddwebdav.html.tt.xz [2020-07-16 22:42:58 +0700] Retrieving and staging /cpanelsync/11.88.0.12/paper_lantern/clamavconnector/dodisinfect.js.xz [2020-07-16 22:42:58 +0700] Retrieving and staging /cpanelsync/11.88.0.12/paper_lantern/site_publisher/index.cmb.js.xz [2020-07-16 22:42:58 +0700] Retrieving and staging /cpanelsync/11.88.0.12/paper_lantern/domains/directives/itemLister.js.xz [2020-07-16 22:42:58 +0700] Retrieving and staging /cpanelsync/11.88.0.12/paper_lantern/webdav/dopasswd.html.tt.xz [2020-07-16 22:42:58 +0700] Retrieving and staging /cpanelsync/11.88.0.12/paper_lantern/filemanager/css/upload.css.xz [2020-07-16 22:42:58 +0700] Retrieving and staging /cpanelsync/11.88.0.12/paper_lantern/domains/index.cmb.min.js.xz [2020-07-16 22:42:58 +0700] Retrieving and staging /cpanelsync/11.88.0.12/paper_lantern/multiphp_ini_editor/index.dist.js.xz [2020-07-16 22:42:58 +0700] Retrieving and staging /cpanelsync/11.88.0.12/paper_lantern/htaccess/index.devel.js.xz [2020-07-16 22:42:58 +0700] Retrieving and staging /cpanelsync/11.88.0.12/paper_lantern/mail/search_index/index.cmb.js.xz [2020-07-16 22:42:58 +0700] Retrieving and staging /cpanelsync/11.88.0.12/paper_lantern/terminal/index.devel.js.xz [2020-07-16 22:42:58 +0700] Retrieving and staging /cpanelsync/11.88.0.12/paper_lantern/email_deliverability/controllers/ROUTES.js.xz [2020-07-16 22:42:58 +0700] Retrieving and staging /cpanelsync/11.88.0.12/paper_lantern/version_control/views/listRepositoriesController.js.xz [2020-07-16 22:42:58 +0700] Retrieving and staging /cpanelsync/11.88.0.12/paper_lantern/user_manager/directives/validateUsernameWithDomain.js.xz [2020-07-16 22:42:58 +0700] Retrieving and staging /cpanelsync/11.88.0.12/paper_lantern/domains/directives/tableShowingDirective.js.xz [2020-07-16 22:42:58 +0700] Retrieving and staging /cpanelsync/11.88.0.12/paper_lantern/backup/index.less.xz [2020-07-16 22:42:58 +0700] Retrieving and staging /cpanelsync/11.88.0.12/paper_lantern/indexmanager/dohtaccess.min.css.xz [2020-07-16 22:42:58 +0700] Retrieving and staging /cpanelsync/11.88.0.12/paper_lantern/passenger/directives/table_row_form.js.xz [2020-07-16 22:42:58 +0700] Retrieving and staging /cpanelsync/11.88.0.12/paper_lantern/home/views/statisticsController.js.xz [2020-07-16 22:42:58 +0700] Retrieving and staging /cpanelsync/11.88.0.12/paper_lantern/styled/retro/sprites/icon_spritemap.css.xz => Log closed Thu Jul 16 22:42:58 2020 => Log closed Thu Jul 16 22:42:58 2020 => Log closed Thu Jul 16 22:42:58 2020 => Log closed Thu Jul 16 22:42:58 2020 => Log closed Thu Jul 16 22:42:58 2020 => Log closed Thu Jul 16 22:42:58 2020 => Log closed Thu Jul 16 22:42:58 2020 => Log closed Thu Jul 16 22:42:58 2020 => Log closed Thu Jul 16 22:42:58 2020 => Log closed Thu Jul 16 22:42:58 2020 [2020-07-16 22:42:58 +0700] Sync child 2747350 exited cleanly. => Log closed Thu Jul 16 22:42:58 2020 [2020-07-16 22:42:58 +0700] Sync child 2747359 exited cleanly. [2020-07-16 22:42:58 +0700] Sync child 2747355 exited cleanly. [2020-07-16 22:42:58 +0700] Sync child 2747354 exited cleanly. [2020-07-16 22:42:58 +0700] Sync child 2747351 exited cleanly. [2020-07-16 22:42:58 +0700] Sync child 2747360 exited cleanly. => Log closed Thu Jul 16 22:42:58 2020 [2020-07-16 22:42:58 +0700] Sync child 2747353 exited cleanly. [2020-07-16 22:42:58 +0700] Sync child 2747352 exited cleanly. [2020-07-16 22:42:58 +0700] Sync child 2747358 exited cleanly. => Log closed Thu Jul 16 22:42:58 2020 [2020-07-16 22:42:58 +0700] Sync child 2747357 exited cleanly. [2020-07-16 22:42:58 +0700] Sync child 2747362 exited cleanly. => Log closed Thu Jul 16 22:42:58 2020 => Log closed Thu Jul 16 22:42:58 2020 [2020-07-16 22:42:58 +0700] Sync child 2747364 exited cleanly. [2020-07-16 22:42:58 +0700] Sync child 2747356 exited cleanly. => Log closed Thu Jul 16 22:42:58 2020 [2020-07-16 22:42:58 +0700] Sync child 2747363 exited cleanly. [2020-07-16 22:42:58 +0700] Sync child 2747361 exited cleanly. [2020-07-16 22:42:58 +0700] Sync child 2747365 exited cleanly. [2020-07-16 22:42:58 +0700] All files Staged [2020-07-16 22:42:58 +0700] Testing if the newly downloaded RPMS can be installed without conflict [2020-07-16 22:42:58 +0700] Testing RPM transaction [2020-07-16 22:42:59 +0700] clamd conflicts with cpanel-clamav-0.101.5-4.cp1186.x86_64 [2020-07-16 22:42:59 +0700] data(clamav) is needed by (installed) clamav-server-1:0.101.4-3.el7.x86_64 [2020-07-16 22:42:59 +0700] clamav-filesystem = 1:0.101.4-3.el7 is needed by (installed) clamav-server-1:0.101.4-3.el7.x86_64 [2020-07-16 22:42:59 +0700] clamav-lib = 1:0.101.4-3.el7 is needed by (installed) clamav-server-1:0.101.4-3.el7.x86_64 [2020-07-16 22:42:59 +0700] libclamav.so.9()(64bit) is needed by (installed) clamav-server-1:0.101.4-3.el7.x86_64 [2020-07-16 22:42:59 +0700] libclamav.so.9(CLAMAV_PRIVATE)(64bit) is needed by (installed) clamav-server-1:0.101.4-3.el7.x86_64 [2020-07-16 22:42:59 +0700] libclamav.so.9(CLAMAV_PUBLIC)(64bit) is needed by (installed) clamav-server-1:0.101.4-3.el7.x86_64 [2020-07-16 22:42:59 +0700] W Exit Code: 28 [2020-07-16 22:42:59 +0700] ***** FATAL: Test install failed: error: Failed dependencies: [2020-07-16 22:42:59 +0700] clamd conflicts with cpanel-clamav-0.101.5-4.cp1186.x86_64 [2020-07-16 22:42:59 +0700] data(clamav) is needed by (installed) clamav-server-1:0.101.4-3.el7.x86_64 [2020-07-16 22:42:59 +0700] clamav-filesystem = 1:0.101.4-3.el7 is needed by (installed) clamav-server-1:0.101.4-3.el7.x86_64 [2020-07-16 22:42:59 +0700] clamav-lib = 1:0.101.4-3.el7 is needed by (installed) clamav-server-1:0.101.4-3.el7.x86_64 [2020-07-16 22:42:59 +0700] libclamav.so.9()(64bit) is needed by (installed) clamav-server-1:0.101.4-3.el7.x86_64 [2020-07-16 22:42:59 +0700] libclamav.so.9(CLAMAV_PRIVATE)(64bit) is needed by (installed) clamav-server-1:0.101.4-3.el7.x86_64 [2020-07-16 22:42:59 +0700] libclamav.so.9(CLAMAV_PUBLIC)(64bit) is needed by (installed) clamav-server-1:0.101.4-3.el7.x86_64 [2020-07-16 22:42:59 +0700] The Administrator will be notified to review this output when this script completes [2020-07-16 22:42:59 +0700] ***** FATAL: Error testing if the RPMs will install: Test install failed: error: Failed dependencies: [2020-07-16 22:42:59 +0700] clamd conflicts with cpanel-clamav-0.101.5-4.cp1186.x86_64 [2020-07-16 22:42:59 +0700] data(clamav) is needed by (installed) clamav-server-1:0.101.4-3.el7.x86_64 [2020-07-16 22:42:59 +0700] clamav-filesystem = 1:0.101.4-3.el7 is needed by (installed) clamav-server-1:0.101.4-3.el7.x86_64 [2020-07-16 22:42:59 +0700] clamav-lib = 1:0.101.4-3.el7 is needed by (installed) clamav-server-1:0.101.4-3.el7.x86_64 [2020-07-16 22:42:59 +0700] libclamav.so.9()(64bit) is needed by (installed) clamav-server-1:0.101.4-3.el7.x86_64 [2020-07-16 22:42:59 +0700] libclamav.so.9(CLAMAV_PRIVATE)(64bit) is needed by (installed) clamav-server-1:0.101.4-3.el7.x86_64 [2020-07-16 22:42:59 +0700] libclamav.so.9(CLAMAV_PUBLIC)(64bit) is needed by (installed) clamav-server-1:0.101.4-3.el7.x86_64 [2020-07-16 22:42:59 +0700] see https://go.cpanel.net/rpmcheckfailed for more information [2020-07-16 22:42:59 +0700] The Administrator will be notified to review this output when this script completes [2020-07-16 22:42:59 +0700] Removing staged files and directories for binaries/linux-c7-x86_64, cpanel [2020-07-16 22:43:00 +0700] Removing staged files and directories for paper_lantern => Log closed Thu Jul 16 22:43:00 2020 [2020-07-16 22:43:00 +0700] 17% complete [2020-07-16 22:43:00 +0700] E Running `/usr/local/cpanel/scripts/updatenow --upcp --log=/var/cpanel/updatelogs/update.1594914059.log --force` failed, exited with code 1 (signal = 0) => Log closed Thu Jul 16 22:43:02 2020 => Log closed Thu Jul 16 22:43:02 2020
    0
  • andrew.n
    Clamav is your problem. You need to remove which you installed manually and then upcp will run smoothly.
    0
  • HuyND
    Clamav is your problem. You need to remove which you installed manually and then upcp will run smoothly.

    Hello all, The clamav was installed automatically while I was installing cPanel. How can I removed it ( "yum remove clamav" or remove on GUI cPanel). And then, when I'm done update the cPanel, so how can reinstall the clamav ?
    0
  • cPanelLauren
    The issue is that you've got separate versions of ClamAV installed and they're conflicting. What is the output of the following: rpm -qa |grep -i clam
    0
  • HuyND
    The issue is that you've got separate versions of ClamAV installed and they're conflicting. What is the output of the following: rpm -qa |grep -i clam

    Here it is clamav-update-0.101.4-3.el7.x86_64 clamav-scanner-0.101.4-3.el7.noarch clamav-lib-0.101.4-3.el7.x86_64 clamav-filesystem-0.101.4-3.el7.noarch cpanel-perl-530-File-Scan-ClamAV-1.95-1.cp1186.noarch cpanel-clamav-virusdefs-0.101.5-1.cp1186.x86_64 clamav-scanner-systemd-0.101.4-3.el7.noarch cpanel-clamav-0.101.5-1.cp1186.x86_64 clamav-server-systemd-0.101.4-3.el7.noarch clamav-data-0.101.4-3.el7.noarch clamav-devel-0.101.4-3.el7.x86_64 clamav-server-0.101.4-3.el7.x86_64 clamav-0.101.4-3.el7.x86_64
    0
  • cPanelLauren
    Depending on what you want to do you need to remove one version of ClamAV. The version of cPanel ClamAV does not match the secondary version you have installed.
    0
  • HuyND
    Depending on what you want to do you need to remove one version of ClamAV. The version of cPanel ClamAV does not match the secondary version you have installed.

    Hello Lauren, So How can I remove the secondary clamav, only 1 command "#yum remove clamav" ???
    0
  • andrew.n
    You can uninstall ClamAV from WHM under plugins and then run the rpm command to see what versions were left then running "yum remove version" should fix it like: yum remove clamav-server-0.101.4-3.el7.x86_64 Once all is removed, installed ClamAV from WHM again and then run the cPanel update.
    0
  • cPanelLauren
    You can uninstall ClamAV from WHM under plugins and then run the rpm command to see what versions were left then running "yum remove version" should fix it like: yum remove clamav-server-0.101.4-3.el7.x86_64 Once all is removed, installed ClamAV from WHM again and then run the cPanel update.

    Well really if you want to remove the 3rd party installation you'd want to remove ALL the packages associated with it not just the server package so the command would need to include all of these packages: : clamav-update-0.101.4-3.el7.x86_64 clamav-scanner-0.101.4-3.el7.noarch clamav-lib-0.101.4-3.el7.x86_64 clamav-filesystem-0.101.4-3.el7.noarch clamav-scanner-systemd-0.101.4-3.el7.noarch clamav-server-systemd-0.101.4-3.el7.noarch clamav-data-0.101.4-3.el7.noarch clamav-devel-0.101.4-3.el7.x86_64 clamav-server-0.101.4-3.el7.x86_64 clamav-0.101.4-3.el7.x86_64
    Uninstalling from WHM will only uninstall the cpanel-clamav package which is not what is being requested.
    0
  • HuyND
    Well really if you want to remove the 3rd party installation you'd want to remove ALL the packages associated with it not just the server package so the command would need to include all of these packages: : clamav-update-0.101.4-3.el7.x86_64 clamav-scanner-0.101.4-3.el7.noarch clamav-lib-0.101.4-3.el7.x86_64 clamav-filesystem-0.101.4-3.el7.noarch clamav-scanner-systemd-0.101.4-3.el7.noarch clamav-server-systemd-0.101.4-3.el7.noarch clamav-data-0.101.4-3.el7.noarch clamav-devel-0.101.4-3.el7.x86_64 clamav-server-0.101.4-3.el7.x86_64 clamav-0.101.4-3.el7.x86_64
    Uninstalling from WHM will only uninstall the cpanel-clamav package which is not what is being requested.

    Thanks for your support ! I did update the version cPanel to v88.0.13 already
    0

Please sign in to leave a comment.