ContentBox v4.x is a major version update and will require the following instructions to update your v3.x installations. Please follow this guide or contact us at <firstname.lastname@example.org> so we can assist you during your upgrade process.
All Upgrades to ContentBox should be done with the assistance of CommandBox CLI. So make sure you have CommandBox installed.
Please make sure you backup your source code and your database. We are not responsible for broken installations.
There are two parts to the upgrade process:
Update the source code using our updater recipe
Run the database migrations via the ContentBox administrator panel
Please make sure your CFML engine has been completely stopped.
If you are in a linux or mac environment you can execute the recipe using the following shell commands from the root directory of your application.
# Download recipecurl -o updater.boxr https://raw.githubusercontent.com/Ortus-Solutions/ContentBox/development/build/patches/4.2.1/updater.boxr# Execute recipebox recipe updater.boxr
If you are in windows, download the following recipe:
and place it in the root of your project. Then issue the following CommandBox shell command to execute it.
box recipe updater.boxr
That's it! The updater will take care of upgrading your 3.x source code to the latest 4.x source code.
Once your recipe finalizes, startup the CFML server and go to the ContentBox administrator (
localhost:port/cbadmin) and navigate to the System > Updates section. Then click on the Download Update tab and paste the following updater URL:
This will download the database updater and run it. Once finalized, your installation is ready to rock!