Walkthrough Tutorial on how to Upgrade SuiteCRM 8
Upgrading SuiteCRM 8 can be daunting task. Here is a step by step walkthrough tutorial on how to upgrade SuiteCRM to the latest version by command line.
Before you start any upgrade make sure you backup both your file system and database.
Disclaimer: This is for educational purposes only. Take appropriate precautions to prevent data loss. iGo Sales and Marketing is not responsible for lost data or corrupted installation. Ensure you understand what you are doing before undertaking the upgrade process.
Step 1: Check your version
Check which version you are on, check your PHP version.
Step 2: Check the Compatibility Matrix
Check SuiteCRM’s compatibility matrix to ensure you are on the right PHP version for the version you are on and the version you are going to. (links below)
Step 3: Download the files
Download the appropriate link from the SuiteCRM website for the UPGRADE version you want to upgrade to. (links below)
Step 4: Read and follow the instructions
The instructions on the SuiteCRM website give you the appropriate steps. (Links below)
- Create the directory and move the download file there.
- Run the upgrade command in terminal.
- Run the finish upgrade command in terminal.
- Reset file Permissions
- Reset file ownerships
- Quick Repair & Rebuild
- Test
Commands:
Upgrade command:
./bin/console suitecrm:app:upgrade -t "<version>"
Post Upgrade Command:
./bin/console suitecrm:app:upgrade-finalize -t "<version>"
Reset File Permissions
find . -type d -not -perm 2755 -exec chmod 2755 {} \;
find . -type f -not -perm 0644 -exec chmod 0644 {} \;
find . ! -user www-data -exec chown www-data:www-data {} \;
Links
https://docs.suitecrm.com/8.x/admin/installation-guide/upgrading/
https://docs.suitecrm.com/8.x/admin/compatibility-matrix/
https://suitecrm.com/releases/
For custom SuiteCRM Development or SuiteCRM consultations reach out to us. We can help.