Lucee losing all configuration settings every restart

Hi everyone.
Weird problem. Every time I restart Lucee on my dev machine (and sometimes on a test/staging server!), I lose all my mappings, custom tag settings, applications/extensions and the password file needs replacing and re-importing.

Any idea why that might happen and if there’s a way to “save” all the settings so I can just “re-import” them every time it happens, if there’s no idea as to why.

At my wits’ end with the thing! :frowning:

I have tried re-installing 6 and also Lucee 7 and that has… other problems.

Thanks

Mike

OS: Windows 11
Java Version: 21.0.8 (Eclipse Adoptium) 64bit
Tomcat Version: 11.0.9
Lucee Version: 6.2.2.91

If Lucee keeps losing your settings after a restart, it’s almost always due to file system permissions or disk space issues. Ensure the user running Tomcat (or your servlet container) has full read/write access to the lucee context folder (typically /lucee-server/context/). Also, verify there’s sufficient free disk space and that tomcat is configured to use the correct context path. Setting the LUCEE_ADMIN_PASSWORD environment variable is also recommended for reliable admin access. Addressing these points will prevent lucee from “forgetting” your settings.

I’ve done that - cleared some space on my Lucee install drive and checked the (Windows) permissions, but it still happened.

However, I think I’ve found the culprit, based on a Facebook post I found:

It seems that the LATEST version of cfspreadsheet does something funky and causes this behaviour. If I put the password in place, login and then install JUST cfspreadsheet v3.0.5, it causes the “wiping” behaviour on restart. v3.0.3 does NOT cause this behaviour. :frowning:

I guess you missed this post by Zackster: