Good evening. I’ve been developing with CFML for about 20 years, so I am not a newbie. But, I truly hate server configuration stuff.
I’ve been trying to get a Lucee server up and running on an Ubuntu 22.04 AWS instance. I have used the nice video guides by Andreas, I have tried using CommandBox. I have tried using the now very outdated ubuntu-nginx-lucee scripts. I have tried standalone Lucee. I have tried to have GPT guide me through an install. I have tried just every single thing I can try and find online. I have looked for installation guides, I have looked for helpful guides and how-to’s all over the place.
Every single one of these – each of them – creates an unstable or unusable Lucee server. The problems that are generated are almost too numerous to name. Memory leaks, being unable to define web roots, enormous and rage enducing issues with mod_cfml, duplicated server requests (this happens almost every single time), huge CPU and memory issues.
My application ran just fine for 7+ years on a similar AWS instance, even using the old ubuntu-nginx-lucee script (back when it worked and was current). The application is fine.
I don’t know what’s changed. I don’t know if it’s because of Ubuntu 22.04 and not Ubuntu 20. I don’t know if it’s because Lucee has moved to version 6. I can’t find out why. Honestly: I have put about 150 hours over the last 6 weeks (I am not exaggerating) into trying to build a stable server configuration. I have spun up dozens and dozens of new AWS instances.
I don’t want to offend anybody, but there is no existing documentation on how to do this out there on the internet, given the current environment and software versions, right now. The existing documentation/guides/how-to’s are all somehow out of date. Apparently there isn’t going to be a Lucee-installer ever again? I can’t even figure out how to change the webroot to my actual webroot in /opt/lucee because now there’s a .CFConfig.json file? And not an XML one? Or does the XML one matter if I have Nginx? Or Apache? Why is it when I google “change Lucee webroot” I don’t find any answers that work?
I really don’t know where to turn, now. Reaching out here is a last resort. I just can not figure out what to do. Please understand that if I sound emotional, it’s because I am emotional. I have actually cried tears of actual frustration about this. I am spending days and days and days of my life on this earth trying to get this to work, and every single thing I do is not working. I need help.
Does anybody have a guide – a current, updated guide – (again, current) that shows how I can set up a running Lucee instance? That’s all I need. Something that works.
This is not a complicated server. It’s a light application server of .cfm pages located in /web/default/wwwroot. This is not an insane configuration. It is as basic as it gets.
OS: Ubuntu 22.04
Java Version: 11
Tomcat Version: Can’t make install work
Lucee Version: Can’t make install work