Upon initial deployment, Lucee Admin now requires the password to be set via "password.txt" in lucee-server/context.
I can place the file there, import, and Lucee does update the lucee-server.xml with hspw and salt attributes on the cfLuceeConfiguration tag, but the password set in password.txt does not work.
I've tried using different text editors with different line endings, no line endings, and nothing will let me set the initial password to something that is recognized by Lucee admin.
The only way I've been able to get into Lucee admin was to take an old config's <cfLuceeConfiguration tag and apply that to the default conf of the new install.
Tomcat 18.104.22.168 + Java 1.8.0_211
Tomcat 9.0.24 + OpenJDK version "12.0.2" 2019-07-16
Ubuntu 18.04 - Linux 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Fresh installation using Lucee WAR (22.214.171.124, 126.96.36.199-SNAPSHOT)
I guess I’m already used to (docker) secrets being space/newline sensitive, which is why my test cases had echo -n (no newline).
The lucee-server.xml is default “out of the box” with the exception of the extensions installed via LUCEE_EXTENSIONS= during initial deployment.
So, setting the password in the following way works:
echo -n “passwordIWantToUse” > password.txt
If I use any text editor (notepad, notepad++, Geany, etc), even without adding a newline at the end, the password doesn’t seem to be recognized after import.
so does the fix in 188.8.131.52, 184.108.40.206 solve the issue for you or not?
Just tested a build against 220.127.116.11 and yes, the password issue is solved.