Skip to main content

upcp failed due to smartcheck error

Comments

6 comments

  • cPanelMichael
    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
  • eibyer
    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 happened
    0
  • cPanelMichael
    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
  • eibyer
    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
  • cPanelMichael
    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
  • eibyer
    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.