Upgrade Failure Message for cPanel
Dear All,
I've a problem with upcp script. The server always email me that the upgrade is not successful. But the thing is when i'm trying upgrade manually and force to reinstall the upgrade, there is no message of a failure.
Here is the log that i get from the email:
Please help me on this issue. Thank you.
[2017-12-29 20:37:44 +0700] [/usr/local/cpanel/scripts/migrate_local_ini_to_php_ini] Processing ea-php56 "
[2017-12-29 20:37:44 +0700] [/usr/local/cpanel/scripts/migrate_local_ini_to_php_ini] No local.ini.
[2017-12-29 20:37:44 +0700] [/usr/local/cpanel/scripts/migrate_local_ini_to_php_ini] " done!
[2017-12-29 20:37:44 +0700] [/usr/local/cpanel/scripts/migrate_local_ini_to_php_ini] Processing ea-php70 "
[2017-12-29 20:37:44 +0700] [/usr/local/cpanel/scripts/migrate_local_ini_to_php_ini] No local.ini.
[2017-12-29 20:37:44 +0700] [/usr/local/cpanel/scripts/migrate_local_ini_to_php_ini] " done!
[2017-12-29 20:37:44 +0700] - Finished command `/usr/local/cpanel/scripts/migrate_local_ini_to_php_ini --run --verbose` in 0.058 seconds
[2017-12-29 20:37:44 +0700] 93% complete
[2017-12-29 20:37:44 +0700] - Finished in 0.009 seconds
[2017-12-29 20:37:44 +0700] Processing: Ensuring an "Active" MySQL profile is set
[2017-12-29 20:37:44 +0700] - Processing command `/usr/local/cpanel/scripts/check_mysql`
[2017-12-29 20:37:44 +0700] [/usr/local/cpanel/scripts/check_mysql] "check_mysql" will complete in the background (process ID 10898).
[2017-12-29 20:37:44 +0700] - Finished command `/usr/local/cpanel/scripts/check_mysql` in 0.059 seconds
[2017-12-29 20:37:44 +0700] 94% complete
[2017-12-29 20:37:44 +0700] Processing: Checking CloudLinux installation
[2017-12-29 20:37:44 +0700] - Processing command `/usr/local/cpanel/bin/cloudlinux_update`
[2017-12-29 20:37:44 +0700] - Finished command `/usr/local/cpanel/bin/cloudlinux_update` in 0.036 seconds
[2017-12-29 20:37:44 +0700] Processing: Updating plugins data cache
[2017-12-29 20:37:44 +0700] - Processing command `/usr/local/cpanel/bin/refresh_plugin_cache`
[2017-12-29 20:37:44 +0700] - Finished command `/usr/local/cpanel/bin/refresh_plugin_cache` in 0.008 seconds
[2017-12-29 20:37:44 +0700] 95% complete
=> Log closed Fri Dec 29 20:37:44 2017
----------------------------------------------------------------------------------------------------
=> Log opened from cPanel Update (upcp) - Slave (9211) at Fri Dec 29 20:37:44 2017
[2017-12-29 20:37:44 +0700] E Post Maintenance ended, however it did not exit cleanly (256). Please check the logs for an indication of what happenedPlease help me on this issue. Thank you.
-
Could you run the following code in a terminal and let us know what output you get awk '$4=="E"' /var/cpanel/updatelogs/update.xxxxxxxxxx.log
(Replace the xxxxxxxxx with the number of the latest log file in /var/cpanel/updatelogs/)0 -
Okay. Here are the results: [2017-12-29 20:37:40 +0700] E [/usr/local/cpanel/scripts/restartsrv_eximstats] The "/usr/local/cpanel/scripts/restartsrv_eximstats" command (process 10847) reported error number 255 when it ended. [2017-12-29 20:37:44 +0700] E Post Maintenance ended, however it did not exit cleanly (256). Please check the logs for an indication of what happened
Please assist me on finding the solution... Thank you.0 -
Try running /usr/local/cpanel/scripts/restartsrv_eximstats in a terminal and let us know the output 0 -
Hello, It's likely this relates to the issue discussed on the following post: cPanel update failure in upcp script - tailwatchd Let us know if the workaround on the above post helps. Thank you. 0 -
Sorry for the late reply. I think I've got the solution for this after running this command: /usr/local/cpanel/scripts/restartsrv_eximstats
Thanks rpvw and Michael for the help! :)0
Please sign in to leave a comment.
Comments
5 comments