cPanel & WHM update failure in upcp script
Dear, I've been updated on WHM just received email error.
[QUOTE="The cPanel & WHM update process failed for the following reason">
Post-sync cleanup ended; however, it did not exit cleanly. Review the update logs to determine why the update failed.
[CODE="Update log preview"> 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 ---------------------------------------------------------------------------------------------------- => 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
[CODE="Update log preview"> 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 ---------------------------------------------------------------------------------------------------- => 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
-
Hello, Can you verify if this issue continues when forcing another cPanel update with the "/scripts/upcp --force" command? Thank you. 0 -
[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 20170 -
Hello, It looks like the update completed successfully on the next attempt. Let us know if you encounter any additional issues. Thank you. 0 -
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. 0 -
Next new update now. [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 20170 -
The PHP directive "extension" is not supported by this interface
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:/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.0 -
[root@x ~]# /scripts/migrate_local_ini_to_php_ini --run --verbose Processing ea-php56 " 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. Error: (XID mdyxnh) 1 error occurred: Error #1: The PHP directive "extension" is not supported by this interface. " done! Processing ea-php70 " 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. Error: (XID fq2fka) 1 error occurred: Error #1: The PHP directive "extension" is not supported by this interface. " done! 0 -
Hello, You can use the following command to see which extension directives are used: grep extension /opt/cpanel/ea-php56/root/etc/php.d/local.ini
Thank you.0 -
[root@x ~]# grep extension /opt/cpanel/ea-php56/root/etc/php.d/local.ini extension="imagick.so" ; Directives are variables used to configure PHP or PHP extensions. ; dynamically loaded extension (either a PHP extension or a Zend extension), ; you may only use these constants *after* the line that loads the extension. ; encodings. To use this feature, mbstring extension must be enabled. ; leading '/'. You must also specify the file extension being used including ; Directory in which the loadable extensions (modules) reside. ; PHP: Description of core php.ini directives - Manual ; extension_dir = "./" ; extension_dir = "ext" ; If you wish to have an extension loaded automatically, use the following ; extension=modulename.extension ; extension=msql.dll ; extension=msql.so ; extension=/path/to/extension/msql.so ; If you only provide the name of the extension, PHP will look for it in its ; default extension directory. ; Note: packaged extension modules are now loaded via the .ini files ;sqlite3.extension_dir = ; the hash extension. A list of available hashes is returned by the hash_algos() ; Sets the directory name where SOAP extension will put cache files. 0 -
extension="imagick.so"
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.0 -
Removed that line and reinstalled it. [root@x ~]# grep extension /opt/cpanel/ea-php56/root/etc/php.d/local.ini ; Directives are variables used to configure PHP or PHP extensions. ; dynamically loaded extension (either a PHP extension or a Zend extension), ; you may only use these constants *after* the line that loads the extension. ; encodings. To use this feature, mbstring extension must be enabled. ; leading '/'. You must also specify the file extension being used including ; Directory in which the loadable extensions (modules) reside. ; PHP: Description of core php.ini directives - Manual ; extension_dir = "./" ; extension_dir = "ext" ; If you wish to have an extension loaded automatically, use the following ; extension=modulename.extension ; extension=msql.dll ; extension=msql.so ; extension=/path/to/extension/msql.so ; If you only provide the name of the extension, PHP will look for it in its ; default extension directory. ; Note: packaged extension modules are now loaded via the .ini files ;sqlite3.extension_dir = ; the hash extension. A list of available hashes is returned by the hash_algos() ; Sets the directory name where SOAP extension will put cache files. 0 -
Hello, Let us know if you encounter any additional issues. Thank you. 0 -
It is working now. You can solve this thread. Thanks. 0
Please sign in to leave a comment.
Comments
13 comments