I’m trying to upgrade a SuiteCRM instance from 7.11.18 to 7.12.8 using the Upgrade Wizard, with the intention to later upgrade to 7.14.4 (knowing it requires PHP 8.1).
However, when I reach the execution step of the upgrade process, it fails with these errors in the upgradeWizard.log file:
[UpgradeWizard] - Running SQL file /bitnami/suitecrm/cache/upgrades/temp/3wOniI/scripts/65x_to__mysql.sql
[UpgradeWizard] - *** ERROR: Schema change script [/bitnami/suitecrm/cache/upgrades/temp/3wOniI/scripts/65x_to__mysql.sql] could not be found!
...
[UpgradeWizard] - *** ERROR: no sugar_version.php file location found! - cannot complete upgrade...
Additional Info:
Upgrade package: SuiteCRM-Upgrade-7.11.x-to-7.12.8.zip from the official website.
Yeah, that’s a known headache when upgrading older SuiteCRM 7.11.x builds, especially on Bitnami stacks. What’s happening is the Upgrade Wizard is misdetecting your current version because the sugar_version.php file still reports 6.5.25 — that value comes from the old SugarCRM base, and it confuses the upgrade scripts into thinking it’s upgrading from 6.5.x instead of 7.11.x. As a result, it tries to run a non-existent schema change script like 65x_to__mysql.sql and then crashes with a 500 error.
The easiest fix is to manually edit your SuiteCRM root sugar_version.php and make sure it correctly reflects your current version, like:
Then clear the /cache/upgrades/temp/ and /upload/upgrades/ folders, re-upload the official SuiteCRM-Upgrade-7.11.x-to-7.12.8.zip, and rerun the Upgrade Wizard. Also double-check file permissions (chown -R daemon:daemon /opt/bitnami/suitecrm or www-data depending on your stack).
If it still fails, you can unpack the upgrade zip manually, copy over the sugar_version.php and modules updates yourself, then run Repair and Rebuild from Admin — but fixing the version mismatch usually makes the wizard behave correctly.
In short, it’s not your DB or environment — it’s just SuiteCRM thinking you’re on an ancient 6.5.x base. Correct the version and restart the upgrade. And if at any point your database gets corrupted during retries, you can use Stellar Repair for MySQL to safely rebuild or recover any damaged tables before continuing.