Yeah. That title doesn’t make much sense, but nor does the situation.
Firstly, we’re on 5.4.4.38.
In our Dockerfile we configure the initial admin pwd via this mechanism:
RUN echo letmein123 > "/opt/lucee/server/lucee-server/context/password.txt";
This was the prescribed way of setting this pwd for the version of Lucee we’re on. I realise it’s changed since 5.4.6, but upgrading is not an option for us. Anyway, said approach works fine.
Except.
We need to use the Ehcache extension - as per Lucee Admin:

I add the relevant entry to my LUCEE_EXTENSIONS env var, and…
… when I then rebuild the container, the pwd has not been applied:

This is readily replicable… remove the installation of the Ehcache extension: everything is back to working fine. Add it back in: bung again. We’re loading half a dozen other extensions via the same mechanism, and these have never given us an issue. I tried a few other random extensions… also no probs.
The issue can be worked-around by moving the password-setting code to be after the extension installation phase, but it seems to me there’s something with the Ehcache extensions that is doing something it really shouldn’t be? Might be worth a quick look (or might not).
Anyway, if anyone is thinking “ah yeah this is because …” then I’d be keen to know what’s going on. But beyond that, this is more just a “WTH?” and an FYI, I guess.
Cheers for reading this far ![]()
–
Adam