admin list applications hangs, continually trying to load older image extension (despite a newer version already being installed?)

Description

I'm seeing lots of these errors trying to open application in admin

https://update.lucee.org/rest/update/provider/download/lucee.image.extension/1.0.0.38/?webId=7eb2ed00ed586e837329cbb9afff2b3f&webSecurityKey=490a506e-780b-44fc-b8d0-70cba2149415&serverId=36b1d94dd9deffaaf41bc6f6e8ecc6e6&serverSecurityKey=047e9f0c-de8d-4378-8208-697843fe861b&allowRedirect=true&jv=11.0.6

returns

no jar available for bundle lucee.image.extension in Version 1.0.0.38

"ERROR","ajp-nio-0:0:0:0:0:0:0:1-8009-exec-8","02/10/2021","13:49:11","OSGi","Lucee is not able do download the bundle for [lucee.image.extension] in version [1.0.0.38] from https://update.lucee.org/rest/update/provider/download/lucee.image.extension/1.0.0.38/?webId=7eb2ed00ed586e837329cbb9afff2b3f&webSecurityKey=490a506e-780b-44fc-b8d0-70cba2149415&serverId=36b1d94dd9deffaaf41bc6f6e8ecc6e6&serverSecurityKey=047e9f0c-de8d-4378-8208-697843fe861b&allowRedirect=true&jv=11.0.6, please download manually and copy to [C:\lucee\tomcat\lucee-server\bundles];

weird thing is the extension does exist on the CDN

https://ext.lucee.org/lucee.image.extension-1.0.0.38.lex

 

error message is repeated three times https://luceeserver.atlassian.net/browse/LDEV-2781

at lucee.loader.engine.CFMLEngineFactory.downloadBundle(CFMLEngineFactory.java:746)
at lucee.runtime.osgi.OSGiUtil._loadBundle(OSGiUtil.java:548)
at lucee.runtime.osgi.OSGiUtil.loadBundle(OSGiUtil.java:485)
at lucee.commons.lang.ClassUtil.loadClassByBundle(ClassUtil.java:155)
at lucee.commons.lang.ClassUtil.loadClassByBundle(ClassUtil.java:149)
at lucee.runtime.functions.FunctionHandlerPool.use(FunctionHandlerPool.java:59)
at lucee.runtime.functions.FunctionHandlerPool.invoke(FunctionHandlerPool.java:40)
at ext_functions_cfm184$cf.udfCall3(/admin/ext.functions.cfm:204)
at ext_functions_cfm184$cf.udfCall(/admin/ext.functions.cfm)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:106)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:344)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:217)
at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:784)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:785)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1732)
at ext_applications_list_cfm966$cf.call(/admin/ext.applications.list.cfm:263)

I think it's trying to reload the image extension for each extension on the page, timing out and erroring

The thing is, I have the Image 1.0.0.39-SNAPSHOT already installed

`<rhextension file-name="7qfdk3jr5bge.lex" id="B737ABC4-D43F-4D91-8E8E973E37C40D1B" lucee-core-version="5.3.0.35-" name="Image extension" release-type="all" start-bundles="false" trial="false" version="1.0.0.39-SNAPSHOT"/>`

Environment

None

Attachments

2
  • 12 Feb 2021, 03:20 pm
  • 12 Feb 2021, 03:20 pm

Activity

Pothys - MitrahSoft 16 September 2022 at 11:23
Edited

I've checked this ticket with the lucee latest version 5.3.10.70-SNAPSHOT and the issue was solved. Update or downgrade the image extension doesn't affect accessing the admin application page even after updating from the old versions(tested with 5.3.8.28-SNAPSHOT).

https://github.com/lucee/Lucee/commit/7d98c17c5718973811da18cde4fdf4b8979458ea

Zac Spitzer 5 April 2021 at 17:20

as part of https://github.com/lucee/Lucee/pull/1263

I added some more logging about uninstalling an extension before installing an extension, turns out lucee 6 is getting the wrong extension to uninstall, I have added a check in

https://github.com/lucee/Lucee/pull/1263/commits/71697f7264e3f774b46df15cc763287f17844e75

updateRHExtension: getRHExtension returned the wrong extension, 6E2CB28F-98FB-4B51-B6BE6C64ADF35473, expected A345C8CB-04CC-4D2B-93D50471D5105D83

Hide Details

lucee.runtime.exp.ApplicationException: updateRHExtension: getRHExtension returned the wrong extension, 6E2CB28F-98FB-4B51-B6BE6C64ADF35473, expected A345C8CB-04CC-4D2B-93D50471D5105D83 at lucee.runtime.config.ConfigAdmin.updateRHExtension(ConfigAdmin.java:4362) at lucee.runtime.config.ConfigAdmin.updateRHExtension(ConfigAdmin.java:4347) at lucee.runtime.config.ConfigAdmin._updateRHExtension(ConfigAdmin.java:4329) at lucee.runtime.tag.Admin.doUpdateRHExtension(Admin.java:4333) at lucee.runtime.tag.Admin._doStartTag(Admin.java:748) at

Zac Spitzer 31 March 2021 at 15:09

just fixed a bug with the thumbnail caching for extensions https://luceeserver.atlassian.net/browse/LDEV-3121

Pothys - MitrahSoft 18 March 2021 at 11:44

Is the issue solved for you? if yes means shall I close this ticket?

Fixed

Details

Assignee

Reporter

Priority

Fix versions

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Affects versions

Created 10 February 2021 at 13:08
Updated 16 September 2022 at 11:23
Resolved 16 September 2022 at 11:23