SugarCRM Professional Silent Upgrader Upack Failed

Hello everyone! I would like to ask for your assistance regarding our CRM upgrade. I received an error message stating that "Unpack" FAILED. I`ve been looking for a solution, but unfortunately I can`t find one. Maybe someone can help me by creating a Q&A post here in SugarClub.

Regards

  • Hi ,

    This may be due to running an unsupported version of PHP for your version of Sugar. PHP at the CLI-level may be different than what you are running for your web server. 

    Please run the following to see what version your CLI is using:

    php -v

    Based on the supported platforms documented for Sugar 7.9 and Sugar 8.0, you should be running PHP 7.1 for this upgrade.

    If the CLI PHP version is different than what you are running from your web server, you can run the following command to see where the CLI PHP configuration is pointing:

    php -i | grep 'Configuration File'

  • Hi ,

    I am encountering a new error when I am trying to update our current SugarCRM Pro. I tried both silentupgrade and Upgrade Wizard and I got same error "files.md5 not found". Waiting for your response on this matter because it is our blocker why we can`t proceed with the sugarcrm version upgrade.

    Regards

    :CHECK LOGS BELOW:

    Fri, 20 Jan 2023 03:41:32 +0000 [Upgrader] - CliUpgrader v.7.7.2.2 (build 62) starting
    Fri, 20 Jan 2023 03:41:32 +0000 [Upgrader] - Stage healthcheck starting
    Fri, 20 Jan 2023 03:41:32 +0000 [Upgrader] - The from version is detected as 7.7.2.0 pro
    [2023-01-20T03:41:32+00:00] INFO HealthCheck v.7.7.2.2 (build 62) starting scanning /var/www/html/PMS
    [2023-01-20T03:41:32+00:00] INFO Initializing the environment
    [2023-01-20T03:41:33+00:00] CHECK-F [Issue 1][scriptFailure][515][Script failure: files.md5 not found]
    [2023-01-20T03:41:33+00:00] STATUS ===> Status changed to F
    [2023-01-20T03:41:33+00:00] ERROR files.md5 not found
    [2023-01-20T03:41:33+00:00] CHECK-F [Issue 2][phpError][529][E_NOTICE: Use of undefined constant CURLOPT_SSL_VERIFYPEER - assumed 'CURLOPT_SSL_VERIFYPEER' in file /home/vagrant/silentupgrader/SugarHeartbeatClient.php on line 67]
    [2023-01-20T03:41:33+00:00] CHECK-F [Issue 3][phpError][529][E_NOTICE: Use of undefined constant CURLOPT_SSL_VERIFYHOST - assumed 'CURLOPT_SSL_VERIFYHOST' in file /home/vagrant/silentupgrader/SugarHeartbeatClient.php on line 68]
    [2023-01-20T03:41:33+00:00] INFO *** START HEALTHCHECK ISSUES ***
    [2023-01-20T03:41:33+00:00] INFO  => F: [Issue 1][red][scriptFailure][515][Script failure: files.md5 not found] The checking script failed, which means the instaScannerMeta.phpnce probably contains bad PHP code that the script tried to load.
    [2023-01-20T03:41:33+00:00] INFO  => F: [Issue 2][red][phpError][529][E_NOTICE: Use of undefined constant CURLOPT_SSL_VERIFYPEER - assumed 'CURLOPT_SSL_VERIFYPEER' in file /home/vagrant/silentupgrader/SugarHeartbeatClient.php on line 67] PHP errors may be triggered by the interpreter when incorrect php-syntax or some run-time code-problems are found.
    [2023-01-20T03:41:33+00:00] INFO  => F: [Issue 3][red][phpError][529][E_NOTICE: Use of undefined constant CURLOPT_SSL_VERIFYHOST - assumed 'CURLOPT_SSL_VERIFYHOST' in file /home/vagrant/silentupgrader/SugarHeartbeatClient.php on line 68] PHP errors may be triggered by the interpreter when incorrect php-syntax or some run-time code-problems are found.
    [2023-01-20T03:41:33+00:00] INFO *** END HEALTHCHECK ISSUES ***
    Fri, 20 Jan 2023 03:41:33 +0000 [Upgrader] - ERROR: Health check failed (red flags). Please refer to the log file /home/vagrant/silentupgrader/silentUpgrade.log

  • HI ,

    The silent upgrader you are running does not appear to be correct. In your original post, you were attempting an upgrade from 7.9.4.0 to 8.0.0 but this silent upgrader output indicates you are using the silent upgrade script for 7.7.2.0. For each version upgrade, you will need an accompanying silent upgrade package for that destination version. Assuming you are attempting the 7.9.4.0 -> 8.0.0 upgrade, you should be using the 8.0.0 silent upgrade package.

    With that being said, files.md5 is a stock file with each version and based on the other errors in this output, it looks like you may not be scanning the Sugar instance directory. There's no reason the silent upgrader should be scanning /home/vagrant/silentupgrader/ which is where the 2nd and 3rd errors in the health check point to and this would explain why it could not find the files.md5 file either. If you're confident you have the proper silent upgrade command, please share the command you are running.

    Chris

  • Hello Chris,

    We`ve just tested the v7.9.4 to 8.0.0 at that time while we were waiting for the older patches. But, now that we've all received the necessary patches, we're going to upgrade our production instance from 7.7.0 to 7.7.2. We were able to resolve these issue. The previous programmer simply forgot to upload this file to bit bucket repo and I though this md5 file will automatically generated during upgrade process.

    Thank you for your quick response.

    Regards