Don’t forget to tell us about your stack!
OS: ???
Java Version: ???
Tomcat Version: ???
Lucee Version: ???
OS: Ubuntu 24.04.4 LTS
Java version:
openjdk version “21.0.9” 2025-10-21 LTS
OpenJDK Runtime Environment Temurin-21.0.9+10 (build 21.0.9+10-LTS)
OpenJDK 64-Bit Server VM Temurin-21.0.9+10 (build 21.0.9+10-LTS, mixed mode, sharing)
Tomcat Version:
Using CATALINA_BASE: /opt/lucee/tomcat
Using CATALINA_HOME: /opt/lucee/tomcat
Using CATALINA_TMPDIR: /opt/lucee/tomcat/temp
Using JRE_HOME: /opt/lucee/jre
Using CLASSPATH: /opt/lucee/tomcat/bin/bootstrap.jar:/opt/lucee/tomcat/bin/tomcat-juli.jar
Using CATALINA_OPTS:
Server version: Apache Tomcat/11.0.15
Server built: Dec 2 2025 16:32:48 UTC
Server number: 11.0.15.0
OS Name: Linux
OS Version: 6.14.0-1018-aws
Architecture: aarch64
JVM Version: 21.0.9+10-LTS
JVM Vendor: Eclipse Adoptium
Lucee Version : 6.2.4.24-1766565266000
after installation, I have stored the password in password.txt and imported the password file and logged in to the admin panel.
Then installed an extension or added the datasource and lucee service is restarted and again the asking for password.txt file and all the settings - datasources, mail config, installed extensions all are lost … every time this happens after installing or adding settings in admin… without adding any additional settings, if lucee is restarted, it restarts fine.
i have checked the permissions, and other settings and still this is the case… lucee is installed on arm64
ubuntu@prod-system:/data$ ls -la /opt/lucee/tomcat/lucee-server
lrwxrwxrwx 1 root root 18 Mar 24 20:13 /opt/lucee/tomcat/lucee-server → /data/lucee-server
ubuntu@prod-system:/data$ ls -la /data/lucee-server/
total 12
drwxrwxr-x 3 lucee lucee 4096 Mar 30 06:04 .
drwxr-xr-x+ 5 ubuntu ubuntu 4096 Mar 24 20:12 …
drwxrwxr-x 7 lucee lucee 4096 Mar 30 06:44 lucee-server
/opt/lucee/tomcat/bin/setenv.sh
#!/bin/bash
export JAVA_HOME=/opt/lucee/jre
export JRE_HOME=/opt/lucee/jre
export LUCEE_SERVER_DIR=/data/lucee-server
export JAVA_OPTS=“$JAVA_OPTS -Dlucee.server.dir=/data/lucee-server”
/etc/systemd/system/lucee.service
GNU nano 7.2 /etc/systemd/system/lucee.service
[Unit]
Description=Lucee Tomcat Server
After=network.target
[Service]
Type=simple
User=lucee
Group=lucee
Environment=JAVA_HOME=/opt/lucee/jre
Environment=JRE_HOME=/opt/lucee/jre
Environment=CATALINA_HOME=/opt/lucee/tomcat
Environment=CATALINA_BASE=/opt/lucee/tomcat
Environment=CATALINA_PID=/opt/lucee/tomcat/temp/tomcat.pid
Environment=‘CATALINA_OPTS=-Dorg.apache.catalina.security.SecurityListener.UMASK=0000’
ExecStart=/opt/lucee/tomcat/bin/catalina.sh run
ExecStop=/opt/lucee/tomcat/bin/shutdown.sh
Restart=on-failure
RestartSec=5
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target