Upgrading CiviCRM Standalone¶
Follow this document to upgrade CiviCRM Standalone to the latest CiviCRM release.
Before upgrading
Make sure you have done the steps listed in before upgrading first.
Download the latest code¶
- Go to the CiviCRM website
-
Select the latest currently available CiviCRM Standalone archive.
Example:
civicrm-x.y.z-standalone.tar.gz
If you are installing directly on the command line, you will probably find it easier to download directly to the target directory on your server with the following command (corrected for your version):
wget https://download.civicrm.org/civicrm-x.y.z-standalone.tar.gz
Unpack the archive file¶
Unpack the archive somewhere other then where you did the original install to avoid unintentionally overwriting files:
tar xzf civicrm-x.y.z-standalone.tar.gz
Perform the upgrade¶
- Backup the
coredirectory in your installation by copying it to another location. - Copy the
coredirectory from the new download into your installation directory. - Visit your CiviCRM database upgrade page and click the "upgrade now" button:
https://example.org/civicrm/upgrade?reset=1
You should see an Upgrade successful message when the upgrade completes.
- If you receive any errors during the process, please note the exact error message and check for solutions on Stack Exchange or Mattermost. Now click the Return to CiviCRM home page or Return to CiviCRM status page link.
- You should be up and running with the latest CiviCRM version. Confirm by checking the version and revision in the page footer. Note that you may need to refresh the browser screen a couple times to clear out your local cache and ensure the layout loads correctly.
- Take some time to browse the CiviCRM features that your organization uses. If you notice unexpected behaviors or error messages, refer to the trouble-shooting section below.
See these steps to take after upgrading.