Bug: keeps deleting extensions

Every time I restart the server I get a one or more extensions removed. Extensions that were installed without a flaw and used to work previously. Error log says:

CFspreadsheets

lucee.runtime.config.ConfigFactoryImpl Failed (404) to load extension: [037A27FF-0B80-4CBA-B954BEBD790B460E;version=3.0.5] from [https://www.forgebox.io/rest/extension/provider/full/037A27FF-0B80-4CBA-B954BEBD790B460E?version=3.0.5]
lucee.runtime.exp.ApplicationException: Failed (404) to load extension: [037A27FF-0B80-4CBA-B954BEBD790B460E;version=3.0.5] from [https://www.forgebox.io/rest/extension/provider/full/037A27FF-0B80-4CBA-B954BEBD790B460E?version=3.0.5]
at lucee.runtime.config.DeployHandler.downloadExtension(DeployHandler.java:580)
at lucee.runtime.config.DeployHandler.deployExtension(DeployHandler.java:465)
at lucee.runtime.extension.RHExtension.installExtension(RHExtension.java:295)
at lucee.runtime.config.ConfigFactoryImpl._loadExtensionBundles(ConfigFactoryImpl.java:3462)
at lucee.runtime.config.ConfigFactoryImpl.load(ConfigFactoryImpl.java:435)
at lucee.runtime.config.ConfigFactoryImpl.newInstanceServer(ConfigFactoryImpl.java:341)
at lucee.runtime.engine.CFMLEngineImpl.getConfigServerImpl(CFMLEngineImpl.java:980)
at lucee.runtime.engine.CFMLEngineImpl.(CFMLEngineImpl.java:595)
at lucee.runtime.engine.CFMLEngineImpl.getInstance(CFMLEngineImpl.java:900)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at lucee.loader.engine.CFMLEngineFactory.getEngine(CFMLEngineFactory.java:1790)
at lucee.loader.engine.CFMLEngineFactory.initEngine(CFMLEngineFactory.java:699)
at lucee.loader.engine.CFMLEngineFactory.initEngineIfNecessary(CFMLEngineFactory.java:286)
at lucee.loader.engine.CFMLEngineFactory.getInstance(CFMLEngineFactory.java:185)
at lucee.loader.engine.CFMLEngineFactory.getInstance(CFMLEngineFactory.java:219)
at lucee.loader.servlet.jakarta.CFMLServlet.init(CFMLServlet.java:36)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:831)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:801)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:705)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4397)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4680)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:170)
at org.apache.catalina.core.ContainerBase
𝑆
𝑑
π‘Ž
π‘Ÿ
𝑑
𝐢
β„Ž
𝑖
𝑙
𝑑
.
𝑐
π‘Ž
𝑙
𝑙
(
𝐢
π‘œ
𝑛
𝑑
π‘Ž
𝑖
𝑛
𝑒
π‘Ÿ
𝐡
π‘Ž
𝑠
𝑒
.
𝑗
π‘Ž
𝑣
π‘Ž
:
1204
)
π‘Ž
𝑑
π‘œ
π‘Ÿ
𝑔
.
π‘Ž
𝑝
π‘Ž
𝑐
β„Ž
𝑒
.
𝑐
π‘Ž
𝑑
π‘Ž
𝑙
𝑖
𝑛
π‘Ž
.
𝑐
π‘œ
π‘Ÿ
𝑒
.
𝐢
π‘œ
𝑛
𝑑
π‘Ž
𝑖
𝑛
𝑒
π‘Ÿ
𝐡
π‘Ž
𝑠
𝑒
StartChild.call(ContainerBase.java:1204)atorg.apache.catalina.core.ContainerBaseStartChild.call(ContainerBase.java:1200)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:92)
at java.base/java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:732)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:807)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:170)
at org.apache.catalina.core.ContainerBase
𝑆
𝑑
π‘Ž
π‘Ÿ
𝑑
𝐢
β„Ž
𝑖
𝑙
𝑑
.
𝑐
π‘Ž
𝑙
𝑙
(
𝐢
π‘œ
𝑛
𝑑
π‘Ž
𝑖
𝑛
𝑒
π‘Ÿ
𝐡
π‘Ž
𝑠
𝑒
.
𝑗
π‘Ž
𝑣
π‘Ž
:
1204
)
π‘Ž
𝑑
π‘œ
π‘Ÿ
𝑔
.
π‘Ž
𝑝
π‘Ž
𝑐
β„Ž
𝑒
.
𝑐
π‘Ž
𝑑
π‘Ž
𝑙
𝑖
𝑛
π‘Ž
.
𝑐
π‘œ
π‘Ÿ
𝑒
.
𝐢
π‘œ
𝑛
𝑑
π‘Ž
𝑖
𝑛
𝑒
π‘Ÿ
𝐡
π‘Ž
𝑠
𝑒
StartChild.call(ContainerBase.java:1204)atorg.apache.catalina.core.ContainerBaseStartChild.call(ContainerBase.java:1200)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:92)
at java.base/java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:732)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:201)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:170)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:433)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:170)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:871)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:170)
at org.apache.catalina.startup.Catalina.start(Catalina.java:903)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:345)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:482)

When trying to access the extension link I get "The version sent is invalid [3.0.5]"
Yet it is (and was) the latest correct version.

Another one (CFscheduler?)

2026-11-17 19:31:58.2 lucee.runtime.config.ConfigFactoryImpl Failed (404) to load extension: [3AEDA748-F62B-42E3-8E8DC5AE0DDABE09;version=1.0.0.2] from [https://www.forgebox.io/rest/extension/provider/full/3AEDA748-F62B-42E3-8E8DC5AE0DDABE09?version=1.0.0.2]
lucee.runtime.exp.ApplicationException: Failed (404) to load extension: [3AEDA748-F62B-42E3-8E8DC5AE0DDABE09;version=1.0.0.2] from [https://www.forgebox.io/rest/extension/provider/full/3AEDA748-F62B-42E3-8E8DC5AE0DDABE09?version=1.0.0.2]
at lucee.runtime.config.DeployHandler.downloadExtension(DeployHandler.java:580)
at lucee.runtime.config.DeployHandler.deployExtension(DeployHandler.java:465)
at lucee.runtime.extension.RHExtension.installExtension(RHExtension.java:295)
at lucee.runtime.config.ConfigFactoryImpl._loadExtensionBundles(ConfigFactoryImpl.java:3462)
at lucee.runtime.config.ConfigFactoryImpl.load(ConfigFactoryImpl.java:435)
at lucee.runtime.config.ConfigFactoryImpl.newInstanceServer(ConfigFactoryImpl.java:341)
at lucee.runtime.engine.CFMLEngineImpl.getConfigServerImpl(CFMLEngineImpl.java:980)
at lucee.runtime.engine.CFMLEngineImpl.(CFMLEngineImpl.java:595)
at lucee.runtime.engine.CFMLEngineImpl.getInstance(CFMLEngineImpl.java:900)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at lucee.loader.engine.CFMLEngineFactory.getEngine(CFMLEngineFactory.java:1790)
at lucee.loader.engine.CFMLEngineFactory.initEngine(CFMLEngineFactory.java:699)
at lucee.loader.engine.CFMLEngineFactory.initEngineIfNecessary(CFMLEngineFactory.java:286)
at lucee.loader.engine.CFMLEngineFactory.getInstance(CFMLEngineFactory.java:185)
at lucee.loader.engine.CFMLEngineFactory.getInstance(CFMLEngineFactory.java:219)
at lucee.loader.servlet.jakarta.CFMLServlet.init(CFMLServlet.java:36)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:831)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:801)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:705)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4397)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4680)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:170)
at org.apache.catalina.core.ContainerBase
𝑆
𝑑
π‘Ž
π‘Ÿ
𝑑
𝐢
β„Ž
𝑖
𝑙
𝑑
.
𝑐
π‘Ž
𝑙
𝑙
(
𝐢
π‘œ
𝑛
𝑑
π‘Ž
𝑖
𝑛
𝑒
π‘Ÿ
𝐡
π‘Ž
𝑠
𝑒
.
𝑗
π‘Ž
𝑣
π‘Ž
:
1204
)
π‘Ž
𝑑
π‘œ
π‘Ÿ
𝑔
.
π‘Ž
𝑝
π‘Ž
𝑐
β„Ž
𝑒
.
𝑐
π‘Ž
𝑑
π‘Ž
𝑙
𝑖
𝑛
π‘Ž
.
𝑐
π‘œ
π‘Ÿ
𝑒
.
𝐢
π‘œ
𝑛
𝑑
π‘Ž
𝑖
𝑛
𝑒
π‘Ÿ
𝐡
π‘Ž
𝑠
𝑒
StartChild.call(ContainerBase.java:1204)atorg.apache.catalina.core.ContainerBaseStartChild.call(ContainerBase.java:1200)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:92)
at java.base/java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:732)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:807)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:170)
at org.apache.catalina.core.ContainerBase
𝑆
𝑑
π‘Ž
π‘Ÿ
𝑑
𝐢
β„Ž
𝑖
𝑙
𝑑
.
𝑐
π‘Ž
𝑙
𝑙
(
𝐢
π‘œ
𝑛
𝑑
π‘Ž
𝑖
𝑛
𝑒
π‘Ÿ
𝐡
π‘Ž
𝑠
𝑒
.
𝑗
π‘Ž
𝑣
π‘Ž
:
1204
)
π‘Ž
𝑑
π‘œ
π‘Ÿ
𝑔
.
π‘Ž
𝑝
π‘Ž
𝑐
β„Ž
𝑒
.
𝑐
π‘Ž
𝑑
π‘Ž
𝑙
𝑖
𝑛
π‘Ž
.
𝑐
π‘œ
π‘Ÿ
𝑒
.
𝐢
π‘œ
𝑛
𝑑
π‘Ž
𝑖
𝑛
𝑒
π‘Ÿ
𝐡
π‘Ž
𝑠
𝑒
StartChild.call(ContainerBase.java:1204)atorg.apache.catalina.core.ContainerBaseStartChild.call(ContainerBase.java:1200)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:92)
at java.base/java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:732)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:201)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:170)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:433)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:170)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:871)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:170)
at org.apache.catalina.startup.Catalina.start(Catalina.java:903)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:345)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:482)

This one says β€œThe entry slug sent is invalid” when trying the link.

OS: Linux (6.12.0-264.16.1.el10_3.x86_64_v2) 64bit
Java Version: 25.0.5 (Eclipse Adoptium) 64bit
Tomcat Version: 11.0.27
Lucee Version: 7.1.2.191

Thanks for reporting this, and sorry for the trouble!

The 404 comes from the ForgeBox provider: it currently can’t deliver cfspreadsheet 3.0.5 for that URL. But a failed download should never remove an extension you already have installed. That part is a bug on our side, filed as LDEV-6958.

To help us confirm it’s the same case, could you share:

  • your exact Lucee version
  • how your extensions are configured: the extensions section of your .CFConfig.json, and any LUCEE_EXTENSIONS (or similar) environment variables or system properties

In the meantime, these should stop it from happening:

  • Download the .lex file for the extension and drop it into lucee-server/deploy. Lucee installs it from there on the next start, so it doesn’t need to download anything.
  • Or install the extension from the Lucee provider instead, if the version you need is available there.
1 Like

My .env file is set to only load extension mentioned in the lucee-config.json file:

LUCEE_BASE_CONFIG=/usr/local/tomcat/conf/lucee-config.json  
LUCEE_EXTENSIONS_CONFIG_ONLY  
LUCEE_ENABLE_BUNDLE_DOWNLOAD=true  
LUCEE_ENCRYPTION_ALGORITHM=AES

My Lucee Version as mentioned in the initial post: 7.1.2.19

Must also mention that Lucee & Tomcat run in a docker (podman) container. Extensions are always mounted from a permanent/persistent location on service start.

There was no extension version update between container restarts, neither Lucee version upgrade, which would perhaps justify their deletion/incompatibility.

Downloading/accessing the extension directly returns the β€œversion sent is invalid” and β€œThe entry slug sent is invalid” error messages, so I’m stuck waiting for a fix. :slightly_frowning_face:

Thanks Steve, that matches what we found. The 404 was a side effect of moving extension.lucee.org to new infrastructure, see extension.lucee.org has moved to new infrastructure. Two things are fixed now:

  • cfspreadsheet 3.0.5 is downloadable again, so a restart on your current 7.1.2 should install it without the 404.
  • A failed install no longer removes an extension that is already installed. Lucee keeps the installed version and logs an error instead (LDEV-6958). That fix is in 7.1.3.154-SNAPSHOT and will be in the next 7.1 release.

If you still see an extension disappear after a restart, please post the log lines from that startup and the extensions section of your lucee-config.json.

1 Like

You guys are amazing! Thank you for the quick help & fix.