Update fail for Lucee server

Hi,
I wanted to update an rather old lucee installation. (Lucee 5.2.7.62)
It’s on Win Server 2008 R2
Java 1.8.0_162 (Oracle Corporation) 64bit
Apache Tomcat/7.0.85

I get the following stack trace. It says "A patch (5.3.8.9-SNAPSHOT) is available for your current version (5.2.7.62)
How can I solve the issue?
Regards
Thorsten

Lucee 5.2.7.62 Error (expression)
Message Can't cast Complex Object Type Struct to String
Detail Use Built-In-Function "serialize(Struct):String" to create a String from Struct
Stacktrace The Error Occurred in
**/admin/services.update.cfm: line 377**
**called from** /admin/web.cfm: line 430
**called from** /admin/server.cfm: line 2
Java Stacktrace lucee.runtime.exp.ExpressionException: Can't cast Complex Object Type Struct to String
  at lucee.runtime.type.util.StructSupport.castToString(StructSupport.java:188)
  at lucee.runtime.op.Caster.toString(Caster.java:1858)
  at services_update_cfm414$cf.call(/admin/services.update.cfm:377)
  at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:933)
  at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:823)
  at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:805)
  at web_cfm$cf.call(/admin/web.cfm:430)
  at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:933)
  at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:823)
  at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:805)
  at server_cfm$cf.call(/admin/server.cfm:2)
  at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:933)
  at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:823)
  at lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:225)
  at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:43)
  at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2464)
  at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2454)
  at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2427)
  at lucee.runtime.engine.Request.exe(Request.java:44)
  at lucee.runtime.engine.CFMLEngineImpl._service(CFMLEngineImpl.java:1091)
  at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:1039)
  at lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:102)
  at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:62)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)
  at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1115)
  at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
  at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
  at java.lang.Thread.run(Unknown Source)
Timestamp 16.06.20 17:44:52 UTC

that problem is being addressed at the moment https://luceeserver.atlassian.net/browse/LDEV-2884

in the meantime, you can just download the jar from https://download.lucee.org/ and drop it in the C:\lucee\tomcat\lucee-server\deploy folder and lucee will update itself.

i.e. https://cdn.lucee.org/lucee-5.3.6.61.jar

but as your app stack is old, I’d suggest using the installer, that way you get the latest java, tomcat etc

3 Likes

Thanks for your help!

1 Like

Continuing the discussion from Update fail for Lucee server:

Happy to see this is a known issue after I found it today.

It’s currently on Backlog.Does anybody know when it might go back to Development?

Thanks,

B)