Best practices for upgrade cfengine

Hello,
at this time I have a server with CommandBox and use Lucee 5.2.9, what is the best practices for upgrade Lucee to 5.3.xx?

1° solution: server forget and server start? I must force CommandBox for download latest version of lucee?

2° solution: upgrade lucee from lucee administrator?

3° solution: force lucee version on server.json > app.cfengine >> lucee@5.x

What is the best practice?

Thank you for CommandBox!

Just update the cfengine in your server.json to the new version you want. But be warned, this will expand a new war folder on disk so make sure you have CFConfig installed as it will pull all your settings across to the new war. Also, don’t worry- your old engine files are not deleted, they are still there in case you need to roll back to the older version or access their logs or settings.

Here’s the docs for CFConfig

https://cfconfig.ortusbooks.com/introduction/getting-started-guide

Generally speaking, just having it installed will be enough for it to detect any server upgrades and pull the settings across to the new version. No other manual steps are required, even though it may be handy for you to back up your settings to a JSON file just for safe keeping.

Thank you Brad!

Just update the cfengine in your server.json to the new version you want. But be warned, this will expand a new war folder on disk so make sure you have CFConfig installed as it will pull all your settings across to the new war. Also, don’t worry- your old engine files are not deleted, they are still there in case you need to roll back to the older version or access their logs or settings.

Here’s the docs for CFConfig

https://cfconfig.ortusbooks.com/introduction/getting-started-guide

Generally speaking, just having it installed will be enough for it to detect any server upgrades and pull the settings across to the new version. No other manual steps are required, even though it may be handy for you to back up your settings to a JSON file just for safe keeping.

Thanks!

~Brad

Developer Advocate
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com