today I tried to upgrade Lucee from 7.1.2.195 to 8.0.0.310 but after the upgrade the admin doesn’t work (500 error) and my app’s cfm/cfc pages don’t work either (also 500 error).
I downgraded to the previous version and everything started working again.
I also tried to clear all the cache from these folders:
and then ran the upgrade again but it still didn’t work…
I’m attaching some logs in case they help find the problem:
thanks
Loader Version 7.0.1.100
Servlet Container Apache Tomcat/11.0.7
Java 21.0.7 (Eclipse Adoptium) 64bit
Host Name 127.0.0.1
OS Windows Server 2019 (10.0) 64bit
Architecture 64bit
Hi Ivan, thanks for the logs, they made this easy to track down. The 500s come from the Debugger Extension: its startup hook fails to load on 8.0.0.310 and that stops Lucee from initialising. The loader version isn’t the problem.
Workaround: stop Tomcat, open lucee-server/context/.CFConfig.json (make a backup first), remove the startupHooks entry for org.lucee.extension.debugger.extension.ExtensionActivator, then start Tomcat again. Alternatively, uninstall the Debugger Extension in the 7.1 admin before upgrading. Please don’t reinstall the debugger on 8.0 for now, it will cause the same problem on the next restart.
We’ll get this fixed in an upcoming 8.0 build. Let us know if 8.0 starts cleanly after that.
Hi Ivan, a quick update: the fix is now merged into 8.0 and 9.0 (LDEV-7043). It will be in the next 8.0 snapshot once that build is published. Until you have that build, the workaround still applies: remove the Debugger Extension startup hook before starting 8.0, and please don’t reinstall the debugger on 8.0 yet. We’ll post here when the snapshot is available.