I’m looking to upgrade my sites from Lucee 5.4 to 6.2. So I started playing with building a new Digital Ocean droplet to test it out…
(This is installing on a nice clean Ubuntu 22.04 image)
I think there may be an issue with the installer. Having run the installer, and using everything out of the box (using the included Java 21), Tomcat is throwing errors on start, due to being unable to create fiels and directories.
The only bit of the installer that was not a default setting was the user: I set this to be “lucee” instead of root. And this is the issue: the installer is creating a tomcat/lucee-server/context/password.txt file holding the supplied password for setup; but the lucee-server directory is owned by root (everything else is owned by the lucee user), and so it seems it cannot create all the required files and dirs in that lucee-server dir.
I manually changed the owner of the directory to the “lucee” user, and on restart of Lucee it all works perfectly…