So... I was forced into a manual/fresh upgrade of ...
# lucee
b
So... I was forced into a manual/fresh upgrade of Lucee from 5.4 to 6.2 last night. It was a truly painful experience trying to remember and recreate all the configuration items like datasources and mappings as Lucee 5.2 had become enitely crippled and unresponsive. Mostly my own fault, if I had run the upgrade last week I'm sure it would have been much less of an issue. That's just background, not a slight on Lucee whatsoever. What I really want to comment on is the apparent and dramatic improvement on memory management with 6.2. The server in question is an out-of-date Windoze box which in the past, like yesterday before the upgrade (and for years prior), would usually show memory usage at around 90% - everything that was allocated to Java appeared to be in use. Today it is at 10%. I'm not a server expert and know just enough to be dangerous sometimes but this really got my attention. And yes, everything seems to be running faster too. Disclaimer: apart from the Windoze task manager I don't have metrics for the memory usage and I only have my personal impression of the speed improvement and of course ymmv... But a big thanks and thumbs up to @zackster and the entire Lucee crew. 🙏 👍
👍 8
🎉 1
c
> It was a truly painful experience trying to remember and recreate all the configuration items like datasources and mappings Save a backup copy of your
/lucee-server/context/.CFConfig.json
and next time it should be much less painful.
🙏 1
b
the issue was mainly that in 5.2 it uses the old server.xml file rather than .CFConfig.json. But at least I had it to refer to even if it is almost impossible to 'read' as a human.
b
@brettpr use the CFConfig CLI tool from CommandBox. It can export and import settings into all versions of Railo and Lucee. And you don't even need to be using CommandBox to run the server. Just point the tool at your Lucee server home and it will extract all the settings from the XML files in seconds
🙏 1
z
Lucee 6 will also just import a server.xml
☝️ 1
b
Thanks @zackster - I wish I had known that at midnight last Sunday... 😉
👍 1
z
I have mentioned that on the new breaking changes doc https://docs.lucee.org/recipes/breaking-changes-6-0.html#cfconfig-json
🙏 1