generalcivicrm

Upgrade CiviCRM

It is strongly recommended to create a backup before starting the update process. If you have important data, create and restore a backup to ensure that everything works properly.

You can upgrade the application only without modifying any other stack components by following these instructions.

To upgrade Drupal, follow these instructions. During the process, you may encounter errors when attempting to verify permissions and clear cached files, as Bitnami’s default file permissions are different from those assumed by the CiviCRM documentation.

To resolve this, unpack the new files and then use the following commands to verify file permissions and clear cached files instead of the ones shown in CiviCRM documentation:

$ sudo chown bitnami:daemon -R /opt/bitnami/apps/civicrm/htdocs
$ sudo find /opt/bitnami/apps/civicrm/htdocs -type f -exec chmod 660 {} \;
$ sudo find /opt/bitnami/apps/civicrm/htdocs -type d -exec chmod 770 {} \;
$ sudo chmod 640 /opt/bitnami/apps/civicrm/htdocs/sites/default/settings.php
$ sudo chmod 750 /opt/bitnami/apps/civicrm/htdocs/sites/default
$ sudo chmod 750 /opt/bitnami/apps/civicrm/htdocs/sites
$ sudo rm -rf /opt/bitnami/apps/civicrm/htdocs/sites/default/files/civicrm/templates_c/*

Once done, continue with the official documentation to upgrade the database and the application.

Last modification November 20, 2018