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 cPanel & WHM update failure in upcp script

Discussion in 'General Discussion' started by Sametto Chan, Aug 23, 2017.

Tags:
  1. Sametto Chan

    Sametto Chan Well-Known Member

    Joined:
    Jun 24, 2016
    Messages:
    242
    Likes Received:
    22
    Trophy Points:
    93
    cPanel Access Level:
    Root Administrator
    Twitter:
    Dear, I've been updated on WHM just received email error.

    Code:
    2017-08-23 14:11:48 +0200] ==> Starting cPanel....
    [2017-08-23 14:11:48 +0200] - Processing command `/usr/local/cpanel/etc/init/startup`
    [2017-08-23 14:11:51 +0200] [11621] Waiting for cpaneld to shutdown ... not running.
    [2017-08-23 14:11:51 +0200] [11621] Waiting for webmaild to shutdown ... not running.
    [2017-08-23 14:11:53 +0200] [11621] Waiting for cpdavd-ssl to shutdown ... not running.
    [2017-08-23 14:11:53 +0200] [11621] Waiting for cpanellogd to shutdown ..... terminated.
    [2017-08-23 14:11:53 +0200] [11621] Waiting for eximstats to shutdown ... not running.
    [2017-08-23 14:11:55 +0200] [11621] mailmanctl: no process found
    [2017-08-23 14:11:55 +0200] [11621] Waiting for eximstats to shutdown ... not running.
    [2017-08-23 14:12:02 +0200] [11621] [+] No running cPGreyList process found.
    [2017-08-23 14:12:02 +0200] [11621] You may be running this update interactively from within WHM.
    [2017-08-23 14:12:02 +0200] [11621] It is necessary we restart cpsrvd, but this will kill the session displaying update progress.
    [2017-08-23 14:12:02 +0200] [11621] Please see the logs in /var/cpanel/updatelogs/ for further information if the update progress stops
    [2017-08-23 14:12:02 +0200] [11621] 
    [2017-08-23 14:12:23 +0200] [11621] (XID y53h9w) The “cpgreylistd” service is disabled.
    [2017-08-23 14:12:34 +0200] [11621] The system failed to open the PID cmdline file for PID 11870: No such file or directory at /usr/local/cpanel/Cpanel/RestartSrv.pm line 770.
    [2017-08-23 14:12:37 +0200] - Processing command `/usr/local/cpanel/whostmgr/bin/whostmgr2 --updateaddons`
    [2017-08-23 14:12:55 +0200] [12332] Locale database build scheduled.
    [2017-08-23 14:12:55 +0200] - Processing command `/usr/local/cpanel/bin/update_appconfig_apps`
    [2017-08-23 14:12:56 +0200] ==> Post Install Complete
    [2017-08-23 14:12:56 +0200] 55% complete
    => Log closed Wed Aug 23 14:12:56 2017
    ----------------------------------------------------------------------------------------------------
    [COLOR=#ff4d4d][B]=> Log opened from cPanel Update (upcp) - Slave (9049) at Wed Aug 23 14:12:56 2017
    [2017-08-23 14:12:56 +0200] E Post-sync cleanup has ended, however it did not exit cleanly. Please check the logs for an indication of what happened[/B][/COLOR]
    
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,165
    Likes Received:
    1,372
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Can you verify if this issue continues when forcing another cPanel update with the "/scripts/upcp --force" command?

    Thank you.
     
  3. Sametto Chan

    Sametto Chan Well-Known Member

    Joined:
    Jun 24, 2016
    Messages:
    242
    Likes Received:
    22
    Trophy Points:
    93
    cPanel Access Level:
    Root Administrator
    Twitter:
    Code:
    [2017-08-23 19:31:32 +0200]   94% complete
    [2017-08-23 19:31:32 +0200]   95% complete
    => Log closed Wed Aug 23 19:31:32 2017
    ----------------------------------------------------------------------------------------------------
    => Log opened from cPanel Update (upcp) - Slave (3221) at Wed Aug 23 19:31:32 2017
    [2017-08-23 19:31:32 +0200]   Post Maintenance completed successfully
    [2017-08-23 19:31:32 +0200]   Polling updatenow to see if a newer version is available for upgrade
    => Log closed Wed Aug 23 19:31:32 2017
    ----------------------------------------------------------------------------------------------------
    => Log opened from /usr/local/cpanel/scripts/updatenow (10968) at Wed Aug 23 19:31:34 2017
    [2017-08-23 19:31:34 +0200]   Detected version '11.66.0.15' from version file.
    [2017-08-23 19:31:34 +0200]   Running version '11.66.0.15' of updatenow.
    [2017-08-23 19:31:34 +0200]   Target version set to '11.66.0.15'
    [2017-08-23 19:31:34 +0200]   Up to date (11.66.0.15)
    => Log closed Wed Aug 23 19:31:34 2017
    ----------------------------------------------------------------------------------------------------
    => Log opened from cPanel Update (upcp) - Slave (3221) at Wed Aug 23 19:31:34 2017
    [2017-08-23 19:31:35 +0200]   95% complete
    [2017-08-23 19:31:35 +0200]   Running Standardized hooks
    [2017-08-23 19:31:35 +0200]   100% complete
    [2017-08-23 19:31:35 +0200]  
    [2017-08-23 19:31:35 +0200]     cPanel update completed
    [2017-08-23 19:31:35 +0200]   A log of this update is available at /var/cpanel/updatelogs/update.1503507481.log
    [2017-08-23 19:31:35 +0200]   Removing upcp pidfile
    [2017-08-23 19:31:35 +0200]  
    [2017-08-23 19:31:35 +0200] Completed all updates
    => Log closed Wed Aug 23 19:31:35 2017
    
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,165
    Likes Received:
    1,372
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    It looks like the update completed successfully on the next attempt. Let us know if you encounter any additional issues.

    Thank you.
     
  5. Sametto Chan

    Sametto Chan Well-Known Member

    Joined:
    Jun 24, 2016
    Messages:
    242
    Likes Received:
    22
    Trophy Points:
    93
    cPanel Access Level:
    Root Administrator
    Twitter:
    It's working now. This is not solved thread yet. Next new update version if works or not. I will reply to this thread later.
     
    cPanelMichael likes this.
  6. Sametto Chan

    Sametto Chan Well-Known Member

    Joined:
    Jun 24, 2016
    Messages:
    242
    Likes Received:
    22
    Trophy Points:
    93
    cPanel Access Level:
    Root Administrator
    Twitter:
    Next new update now.
    Code:
    [2017-08-29 01:19:02 +0200]   Processing: Checking for deprecated PHP local.ini
    [2017-08-29 01:19:02 +0200]    - Processing command `/usr/local/cpanel/scripts/migrate_local_ini_to_php_ini --run --verbose`
    [2017-08-29 01:19:02 +0200]      [13480]  Failed to migrate /opt/cpanel/ea-php56/root/etc/php.d/local.ini to /opt/cpanel/ea-php56/root/etc/php.ini. This will need done manually.
    [2017-08-29 01:19:02 +0200]      [13480]  Failed to migrate /opt/cpanel/ea-php70/root/etc/php.d/local.ini to /opt/cpanel/ea-php70/root/etc/php.ini. This will need done manually.
    [2017-08-29 01:19:02 +0200]      [13480] Processing ea-php56 …
    [2017-08-29 01:19:02 +0200]      [13480]  Error: (XID bmcjj8) 1 error occurred:
    [2017-08-29 01:19:02 +0200]      [13480]  Error #1: The PHP directive “extension” is not supported by this interface.
    [2017-08-29 01:19:02 +0200]      [13480]  … done!
    [2017-08-29 01:19:02 +0200]      [13480] Processing ea-php70 …
    [2017-08-29 01:19:02 +0200]      [13480]  Error: (XID 99pnvd) 1 error occurred:
    [2017-08-29 01:19:02 +0200]      [13480]  Error #1: The PHP directive “extension” is not supported by this interface.
    [2017-08-29 01:19:02 +0200]      [13480]  … done!
    [2017-08-29 01:19:02 +0200]   Processing: Ensuring an "Active" MySQL profile is set
    [2017-08-29 01:19:02 +0200]    - Processing command `/usr/local/cpanel/scripts/check_mysql`
    [2017-08-29 01:19:02 +0200]      [13482] “check_mysql” will complete in the background (process ID 13489).
    [2017-08-29 01:19:02 +0200]   Processing: Checking CloudLinux installation
    [2017-08-29 01:19:02 +0200]    - Processing command `/usr/local/cpanel/bin/cloudlinux_update`
    [2017-08-29 01:19:02 +0200]   Processing: Updating plugins data cache
    [2017-08-29 01:19:02 +0200]    - Processing command `/usr/local/cpanel/bin/refresh_plugin_cache`
    => Log closed Tue Aug 29 01:19:04 2017
    ----------------------------------------------------------------------------------------------------
    => Log opened from cPanel Update (upcp) - Slave (7883) at Tue Aug 29 01:19:04 2017
    [2017-08-29 01:19:04 +0200]   Post Maintenance completed successfully
    [2017-08-29 01:19:04 +0200]   Polling updatenow to see if a newer version is available for upgrade
    => Log closed Tue Aug 29 01:19:04 2017
    ----------------------------------------------------------------------------------------------------
    => Log opened from /usr/local/cpanel/scripts/updatenow (13494) at Tue Aug 29 01:19:05 2017
    [2017-08-29 01:19:05 +0200]   Detected version '11.66.0.17' from version file.
    [2017-08-29 01:19:05 +0200]   Running version '11.66.0.17' of updatenow.
    [2017-08-29 01:19:05 +0200]   Target version set to '11.66.0.17'
    [2017-08-29 01:19:05 +0200]   Up to date (11.66.0.17)
    => Log closed Tue Aug 29 01:19:05 2017
    ----------------------------------------------------------------------------------------------------
    => Log opened from cPanel Update (upcp) - Slave (7883) at Tue Aug 29 01:19:05 2017
    [2017-08-29 01:19:06 +0200]   Running Standardized hooks
    [2017-08-29 01:19:06 +0200]  
    [2017-08-29 01:19:06 +0200]  cPanel update completed
    [2017-08-29 01:19:06 +0200]   A log of this update is available at /var/cpanel/updatelogs/update.1503961419.log
    [2017-08-29 01:19:06 +0200]   Removing upcp pidfile
    [2017-08-29 01:19:06 +0200]  
    [2017-08-29 01:19:06 +0200] Completed all updates
    => Log closed Tue Aug 29 01:19:06 2017
    
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,165
    Likes Received:
    1,372
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    It looks like the cPanel update completed successfully, aside from this warning message. You can manually migrate your local ini file to a php.ini file with the following command:

    Code:
    /scripts/migrate_local_ini_to_php_ini --run --verbose
    If you continue to receive that error message, check to see if the referenced local.ini files use "extension" directives.

    Thank you.
     
  8. Sametto Chan

    Sametto Chan Well-Known Member

    Joined:
    Jun 24, 2016
    Messages:
    242
    Likes Received:
    22
    Trophy Points:
    93
    cPanel Access Level:
    Root Administrator
    Twitter:
     
  9. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,165
    Likes Received:
    1,372
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    You can use the following command to see which extension directives are used:

    Code:
    grep extension /opt/cpanel/ea-php56/root/etc/php.d/local.ini
    Thank you.
     
  10. Sametto Chan

    Sametto Chan Well-Known Member

    Joined:
    Jun 24, 2016
    Messages:
    242
    Likes Received:
    22
    Trophy Points:
    93
    cPanel Access Level:
    Root Administrator
    Twitter:
     
  11. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,165
    Likes Received:
    1,372
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    You need to remove that line from the following files if you want to convert your local.ini files:

    /opt/cpanel/ea-php56/root/etc/php.d/local.ini
    /opt/cpanel/ea-php70/root/etc/php.d/local.ini

    Ensure to reinstall the imagick PECL module after completing the conversion.

    Thank you.
     
  12. Sametto Chan

    Sametto Chan Well-Known Member

    Joined:
    Jun 24, 2016
    Messages:
    242
    Likes Received:
    22
    Trophy Points:
    93
    cPanel Access Level:
    Root Administrator
    Twitter:
    Removed that line and reinstalled it.
     
  13. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,165
    Likes Received:
    1,372
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Let us know if you encounter any additional issues.

    Thank you.
     
  14. Sametto Chan

    Sametto Chan Well-Known Member

    Joined:
    Jun 24, 2016
    Messages:
    242
    Likes Received:
    22
    Trophy Points:
    93
    cPanel Access Level:
    Root Administrator
    Twitter:
    It is working now. You can solve this thread. Thanks.
     
    cPanelMichael likes this.
Loading...

Share This Page