After downgrade, Lucee auto-upgrades without intervention

Over the weekend Lucee upgraded to 6.0.0.31 SNAPSHOT. I turned off auto-update (set manual) and downgraded to 5.3.7.47. The downgrade goes great and I see 5.3.7.47 when I login. Then a moment later Lucee auto upgrades to the 6.0.0.31 SNAPSHOT. I’m unable to stop the upgrade.

I want 5.3.7.47 as 6.0.0.31 is broken. How can I downgrade then stop the auto-update?

Ideas?

-Rich

Servlet Container|Apache Tomcat/8.5.33|
Java|1.8.0_181 (Oracle Corporation) 64bit|
OS|Windows Server 2012 R2 (6.3) 64bit|
Architecture|64bit|

what I’d do in such a situation is to look if there are any other files like .jar or .lco files in your installation that are being deployed to your installation. Place for .lco files usually is at “{Lucee-Server}/lib/ext/lucee-server/patches”. Usually these .lco files get deleted after deployment, but you never know.

Another option: I’d just create a backup of your complete Lucee installation and then place the plain lucee.jar of your wanted version 5.3.7.47 to the lib/ext directory of your servlet engine and restart to redeploy.

seems there is a bug with the auto update, a few people seem to be experiencing this

https://luceeserver.atlassian.net/browse/LDEV-3202

can you bump your server level deloy.log to trace and then try downgrading again and then post the relevant log after it auto upgrades?

1 Like

Another valuable tip I didn’t know. Thx

As a new user…it won’t let me upload the log file. However, You can get it from my Google drive link.

https://drive.google.com/file/d/1ylusFQ_nIEbMHji6anzuaSRDt2WIWDAJ/view?usp=sharing

Interesting note. On the last downgrade, auto-upgrade it went back to a totally different version. It was going to “Snapshop 6.xx” Now it’s auto-updating to ( 5.3.8.133-SNAPSHOT )

that’s coz the 6.x snapshots are still super bleeding edge at the moment and have been hidden

what version of the loader are you running? it shows as the minimum version on the admin update page

"INFO","ajp-nio-8009-exec-5","12/26/2020","11:33:42","Update-Engine","Installing Lucee version [5.3.7.45-RC] (previous version was [6.0.0.31-SNAPSHOT])"
"INFO","ajp-nio-8009-exec-5","12/26/2020","11:33:48","controller","no new extension available to add  to local extension directory"
"INFO","Thread-133","12/26/2020","11:34:13","controller","no new extension available to add  to local extension directory"
"INFO","Thread-133","12/26/2020","11:34:16","loader","Lucee Version [null] installed"
"INFO","Thread-8","12/28/2020","11:27:20","controller","no new extension available to add  to local extension directory"
"INFO","Thread-8","12/28/2020","11:27:22","loader","Lucee Version [null] installed"
"INFO","ajp-nio-8009-exec-6","12/28/2020","11:34:37","Update-Engine","Installing Lucee version [5.3.7.47] (previous version was [6.0.0.31-SNAPSHOT])"
"INFO","ajp-nio-8009-exec-6","12/28/2020","11:34:43","controller","no new extension available to add  to local extension directory"
"INFO","Thread-45223","12/28/2020","11:35:09","controller","no new extension available to add  to local extension directory"
"INFO","Thread-45223","12/28/2020","11:35:11","loader","Lucee Version [null] installed"
"INFO","ajp-nio-8009-exec-1","12/28/2020","11:36:05","controller","no extension to add/install"
"INFO","ajp-nio-8009-exec-4","12/28/2020","11:40:20","Update-Engine","Installing Lucee version [5.3.7.47] (previous version was [6.0.0.31-SNAPSHOT])"
"INFO","ajp-nio-8009-exec-4","12/28/2020","11:40:26","controller","no new extension available to add  to local extension directory"
"INFO","Thread-45421","12/28/2020","11:40:51","controller","no new extension available to add  to local extension directory"
"INFO","Thread-45421","12/28/2020","11:40:54","loader","Lucee Version [null] installed"
"INFO","ajp-nio-8009-exec-10","12/28/2020","11:41:56","Update-Engine","Installing Lucee version [5.3.7.47] (previous version was [6.0.0.31-SNAPSHOT])"
"INFO","ajp-nio-8009-exec-10","12/28/2020","11:42:03","controller","no new extension available to add  to local extension directory"
"INFO","Thread-45503","12/28/2020","11:42:29","controller","no new extension available to add  to local extension directory"
"INFO","Thread-45503","12/28/2020","11:42:32","loader","Lucee Version [null] installed"
"INFO","ajp-nio-8009-exec-8","12/28/2020","11:45:37","Update-Engine","Installing Lucee version [5.3.7.47] (previous version was [6.0.0.31-SNAPSHOT])"
"INFO","ajp-nio-8009-exec-8","12/28/2020","11:45:44","controller","no new extension available to add  to local extension directory"
"INFO","Thread-45669","12/28/2020","11:46:10","controller","no new extension available to add  to local extension directory"
"INFO","Thread-45669","12/28/2020","11:46:12","loader","Lucee Version [null] installed"
"INFO","ajp-nio-8009-exec-10","12/28/2020","11:48:10","Update-Engine","Installing Lucee version [5.3.7.45-RC] (previous version was [6.0.0.31-SNAPSHOT])"
"INFO","ajp-nio-8009-exec-10","12/28/2020","11:48:17","controller","no new extension available to add  to local extension directory"
"INFO","Thread-45771","12/28/2020","11:48:42","controller","no new extension available to add  to local extension directory"
"INFO","Thread-45771","12/28/2020","11:48:44","loader","Lucee Version [null] installed"
"INFO","127.0.0.1-startStop-1","12/28/2020","11:52:04","controller","no extension to add/install"
"INFO","ajp-nio-8009-exec-5","12/28/2020","11:56:33","Update-Engine","Installing Lucee version [5.3.7.45-RC] (previous version was [6.0.0.31-SNAPSHOT])"
"INFO","ajp-nio-8009-exec-5","12/28/2020","11:56:39","controller","no new extension available to add  to local extension directory"
"INFO","Thread-122","12/28/2020","11:57:04","controller","no new extension available to add  to local extension directory"
"INFO","Thread-122","12/28/2020","11:57:06","loader","Lucee Version [null] installed"
"INFO","127.0.0.1-startStop-1","12/28/2020","12:55:55","controller","no extension to add/install"
"INFO","ajp-nio-8009-exec-9","12/29/2020","12:46:53","Update-Engine","Installing Lucee version [5.3.7.47] (previous version was [6.0.0.31-SNAPSHOT])"
"INFO","ajp-nio-8009-exec-9","12/29/2020","12:47:00","controller","no new extension available to add  to local extension directory"
"INFO","Thread-23742","12/29/2020","12:47:25","controller","no new extension available to add  to local extension directory"
"INFO","Thread-23742","12/29/2020","12:47:31","loader","Lucee Version [null] installed"
"INFO","ajp-nio-8009-exec-9","12/29/2020","13:06:08","Update-Engine","Installing Lucee version [5.3.7.47] (previous version was [5.3.8.133-SNAPSHOT])"
"INFO","ajp-nio-8009-exec-9","12/29/2020","13:06:15","controller","no new extension available to add  to local extension directory"
"INFO","Thread-24310","12/29/2020","13:06:40","controller","no new extension available to add  to local extension directory"
"INFO","Thread-24310","12/29/2020","13:06:43","loader","Lucee Version [null] installed"

I’m guessing this might be the problem

“INFO”,“Thread-45771”,“12/28/2020”,“11:48:44”,“loader”,“Lucee Version [null] installed”

the version check returning null might be triggering a problem?

Sorry. I am unable to find the min loader version? I’m not sure I understand how to find it.

Please check under the server admin update page.

Server shows

  • You cannot downgrade below 5.2.9.31

I found that simply doing an uninstall and a re-install of Lucee to a current stable version has put me back on-track. I could not find any other fix for this issue.

I have placed update in ‘manual’ mode and will leave it at that.

1 Like

The cause and solution to this issue is there [LDEV-3202] - Lucee

This maybe helps someone who across this issue in the future.