gpgp
August 7, 2018, 11:03am
1
Hi there,
We have Lucee installed using the bundled Linux installer:
The Lucee Installer for Linux will work fine in both a Windowed or Console environment. Generally speaking, you can launch the installer and the installer will auto-detect if you are running in a Graphic environment or a Console environment, and...
We can of course update the Lucee JAR, using something like the following:
rename jar bak /opt/lucee/lib/*.jar;
curl "http://release.lucee.org/rest/update/provider/light/5.2.6.62" -L -o /opt/lucee/lib/lucee-light-5.2.6.62.jar;
/etc/init.d/lucee_ctl restart;
However that won’t patch Tomcat / JRE.
What’s the correct way to patch all the things when using the Linux/Windows installers? Is there an upgrade/update option that I’m missing?
Can see a similar question here, but unfortunately they didn’t get an answer:
https://lucee.daemonite.io/t/update-linux-installer/2417
Many thanks in advance!
The only ways I know is:
Run the uninstaller in /opt/lucee and re-install with new version.
Use the method I mention in the other thread.
Manually update. Download latest Apache Tomcat Linux x64 8.5 and overwrite /opt/lucee/tomcat/libs files. Overwrite jdk files with latest Linux jdk 1.8.0
I use 3 for small updates when I update Lucee fixes. I check for any Tomcat security reports on their site and update.
I use 2 for major Lucee updates. I have never tried 1.
1 Like
gpgp
August 9, 2018, 8:09am
3
Thanks @kabutotx - must admit, none sound particularly appealing at scale!
Probably do the first run manually across devices, but may look at writing something in Ansible to automate 2 or 3 in the future. Will come back and share if we ever do.
Thanks again!