Upgrade CiviCRM Standalone¶
Follow these steps 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, such as
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 than where you did the original install to avoid unintentionally overwriting files:
tar xzf civicrm-x.y.z-standalone.tar.gz
Perform the upgrade¶
- Back up 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=1You should see an Upgrade successful message when the upgrade completes.
-
If you receive any errors during the process, note the exact error message and check for solutions on Stack Exchange or Mattermost.
- Click the Return to CiviCRM home page or Return to CiviCRM status page link.
- Confirm that you are running the latest CiviCRM version by checking the version and revision in the page footer. You may need to refresh the browser screen a couple times to clear out your local cache and ensure the layout loads correctly.
- 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.