upcp failed due to smartcheck error
I've been getting this error for the past week. Any help appreciated. Thanks!
[2017-12-12 22:19:43 -0500] Processing: Checking for deprecated PHP local.ini
[2017-12-12 22:19:43 -0500] - Processing command `/usr/local/cpanel/scripts/migrate_local_ini_to_php_ini --run --verbose`
[2017-12-12 22:19:43 -0500] [/usr/local/cpanel/scripts/migrate_local_ini_to_php_ini] Processing ea-php71 "
[2017-12-12 22:19:43 -0500] [/usr/local/cpanel/scripts/migrate_local_ini_to_php_ini] No local.ini.
[2017-12-12 22:19:43 -0500] [/usr/local/cpanel/scripts/migrate_local_ini_to_php_ini] " done!
[2017-12-12 22:19:43 -0500] - Finished command `/usr/local/cpanel/scripts/migrate_local_ini_to_php_ini --run --verbose` in 0.179 seconds
[2017-12-12 22:19:43 -0500] 92% complete
[2017-12-12 22:19:43 -0500] 93% complete
[2017-12-12 22:19:43 -0500] - Finished in 0.049 seconds
[2017-12-12 22:19:43 -0500] Processing: Ensuring an "Active" MySQL profile is set
[2017-12-12 22:19:43 -0500] - Processing command `/usr/local/cpanel/scripts/check_mysql`
[2017-12-12 22:19:44 -0500] [/usr/local/cpanel/scripts/check_mysql] "check_mysql" will complete in the background (process ID 26310).
[2017-12-12 22:19:44 -0500] - Finished command `/usr/local/cpanel/scripts/check_mysql` in 0.229 seconds
[2017-12-12 22:19:44 -0500] Processing: Checking CloudLinux installation
[2017-12-12 22:19:44 -0500] - Processing command `/usr/local/cpanel/bin/cloudlinux_update`
[2017-12-12 22:19:44 -0500] - Finished command `/usr/local/cpanel/bin/cloudlinux_update` in 0.103 seconds
[2017-12-12 22:19:44 -0500] 94% complete
[2017-12-12 22:19:44 -0500] Processing: Updating plugins data cache
[2017-12-12 22:19:44 -0500] - Processing command `/usr/local/cpanel/bin/refresh_plugin_cache`
[2017-12-12 22:19:44 -0500] - Finished command `/usr/local/cpanel/bin/refresh_plugin_cache` in 0.213 seconds
[2017-12-12 22:19:44 -0500] 95% complete
=> Log closed Tue Dec 12 22:19:44 2017
----------------------------------------------------------------------------------------------------
=> Log opened from cPanel Update (upcp) - Slave (25556) at Tue Dec 12 22:19:44 2017
[2017-12-12 22:19:44 -0500] E Pre Maintenance ended, however it did not exit cleanly (256). Please check the logs for an indication of what happened
-
Hello, Please let us know the output from the following command: awk '$4=="E"' /var/cpanel/updatelogs/update.XXXXXX.log
Replace "update.XXXXXX.log" with the name of the most recent log file in the /var/cpanel/updatelogs/ directory. Thank you.0 -
This is the output of the command. [2017-12-12 22:19:22 -0500] E [/usr/local/cpanel/scripts/smartcheck] The "/usr/local/cpanel/scripts/smartcheck" command (process 26231) reported error number 2 when it ended. [2017-12-12 22:19:44 -0500] E Pre Maintenance ended, however it did not exit cleanly (256). Please check the logs for an indication of what happened0 -
Hello, Could you manually run the script referenced in that output and let us know the result? EX: /usr/local/cpanel/scripts/smartcheck
Thank you.0 -
Output: root@host [/var/cpanel/updatelogs]# /usr/local/cpanel/scripts/smartcheck Could not open /etc/fstab: No such file or directory at /usr/local/cpanel/scripts/smartcheck line 271.0 -
Hello, Could you verify which specific version of cPanel you are updating from? This was fixed as part internal case CPANEL-16615 in cPanel version 68.0.12: Fixed case CPANEL-16615: Create fstab if missing. The previous thread is found at: SOLVED - upcp failure - smartcheck Thank you. 0 -
WHM says I'm at 68.0.19. I followed the suggestion in the thread you linked to and reran the /usr/local/cpanel/scripts/smartcheck command. No more errors :) Thank you! 0
Please sign in to leave a comment.
Comments
6 comments