Lucee 6 installer issue?

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…

Either this needs to be updated or the install builder template lucee-installer/lucee/linux/sys/change_user.sh at master · lucee/lucee-installer · GitHub

1 Like

@sebduggan I’ve updated the order the installer writes out the files and added tests for installing as different users

While I was there, I also added info about the bundled Tomcat and Java versions to the welcome screen.

image

Can you try out the test installer Build Lucee Installer · lucee/lucee-installer@7ce27aa · GitHub

2 Likes

That seems to work fine now (Linux installer tested) - thank you!

2 Likes

thanks for getting back to me so quickly, I’ll republish the installers

Tho, I have noticed in the meantime, Tomcat has published a few new 10.1 versions, which oddly flagged as not released?

https://tomcat.apache.org/tomcat-10.1-doc/changelog.html#Tomcat_10.1.39_(schultz)

But it was offically announced

Installer updated

2 Likes