| myst | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
(upgrading-plone-5-within-5.x.x-series-label)=
This chapter outlines steps for minor upgrades within the Plone 5 major release.
Before performing any Plone upgrade, you should always have a complete backup of your site.
See the {doc}`../preparations` chapter of this documentation for more details.
In addition, you should check the {doc}`../version-specific-migration/index` chapter of this documentation for any notes that may apply to the specific version upgrade that you are about to perform.
Out of the box, Plone's Unified Installer includes a {file}buildout.cfg (typically located at your-plone-directory/zinstance/buildout.cfg) file that contains the following parameter.
extends =
base.cfg
versions.cfg
# https://dist.plone.org/release/5.1-latest/versions.cfgThis tells buildout to get all of its package versions from the included {file}versions.cfg file.
Notice that there is another line, commented out, that points to dist.plone.org.
This location will always contain the most recent versions that comprise the latest release in the Plone 5.1 series.
You can also replace 5.1-latest with 5.0-latest or 5.2-latest, or another existing minor release in the 5.x series.
To upgrade your buildout to use the latest Plone 5.1.x release, comment out versions.cfg and uncomment the line pointing to dist.plone.org, so it looks like this:
extends =
base.cfg
# versions.cfg
https://dist.plone.org/release/5.1-latest/versions.cfgSave your changes.
Stop your Plone instance:
bin/plonectl stopRerun buildout:
bin/buildoutThis may take a some time, as Plone downloads new releases.
When buildout finishes running, restart your Plone instance:
bin/plonectl startVisit your Management Interface (http://yoursite:8080). You will see a message prompting you to run Plone's migration script for each site in your instance:
{guilabel}This site configuration is outdated and needs to be upgraded.
Click the {guilabel}Upgrade button next to the site and the upgrade will run.
Check {guilabel}Dry Run if you want to test the migration before you execute it.