Skip to content

Commit

Permalink
Update page3.md
Browse files Browse the repository at this point in the history
  • Loading branch information
odavydova authored Jan 29, 2025
1 parent 8cbd04a commit cde5361
Showing 1 changed file with 34 additions and 21 deletions.
55 changes: 34 additions & 21 deletions docs/protection/page3.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,43 @@ Keeping your software up to date is important because software updates improve e

**Before upgrading**

Review release notes and check if anything changed that could potentially cause issues.
Review if there is enough disk space for the upgrade
SSH into VM
Review system information that is shown, or run df -h
Make a backup of the VM
Go to the VM in Azure > Backup + disaster recovery > Backup > Backup now
If an external database is used: make a backup of the database
Go to the database in Azure > Settings > Backup and restore > Backup now
Review if the current PHP version of the system is compatible with the EspoCRM version you're going to upgrade to
In your EspoCRM instance, go to Administration > System requirements > Check your PHP version
Compare to PHP version supported by version you want to upgrade to; the PHP version required by the latest EspoCRM release can be found here
If necessary, upgrade PHP:
SSH into the VM
Run sudo apt-get update && sudo apt-get upgrade
Enable maintenance mode in EspoCRM: Administration > Settings > Maintenance Mode
Disable cron in EspoCRM: Administration > Settings > Disable Cron
1.Review release notes and check if anything changed that could potentially cause issues.

2.Review if there is enough disk space for the upgrade

- SSH into VM
- Review system information that is shown, or run df -h

3. Make a backup of the VM

- Go to the VM in Azure > Backup + disaster recovery > Backup > Backup now

4. If an external database is used: make a backup of the database

- Go to the database in Azure > Settings > Backup and restore > Backup now

5. Review if the current PHP version of the system is compatible with the EspoCRM version you're going to upgrade to

- In your EspoCRM instance, go to Administration > System requirements > Check your PHP version

- Compare to PHP version supported by version you want to upgrade to; the PHP version required by the latest EspoCRM release can be found here

- If necessary, upgrade PHP:
- SSH into the VM
- Run sudo apt-get update && sudo apt-get upgrade

6. Enable maintenance mode in EspoCRM: Administration > Settings > Maintenance Mode

7. Disable cron in EspoCRM: Administration > Settings > Disable Cron

**Upgrade**

SSH into the VM
Run sudo /var/www/espocrm/command.sh upgrade
1. SSH into the VM

2. Run sudo /var/www/espocrm/command.sh upgrade

**After upgrading**

Disable maintenance mode in EspoCRM
Enable cron in EspoCRM
Review if everything still works as expected
- Disable maintenance mode in EspoCRM
- Enable cron in EspoCRM
- Review if everything still works as expected

0 comments on commit cde5361

Please sign in to comment.