-
Notifications
You must be signed in to change notification settings - Fork 9
Description
I'm trying to optimize the setup of installing bundles by first fetching all bundles of AEM through aem osgi bundle list and then compare with the local files before installing it by using aem osgi bundle read --file local-file.jar. This way it doesn't do all the health checks per bundle when doing aem osgi bundle install (making installation of 30 bundles very slow)
Sadly enough I'm getting the following output for all local files:
aem osgi bundle read --file super-csv-2.4.0.jar
time="2026-01-16 10:19:53" level=error msg="cannot read OSGi bundle manifest from file 'super-csv-2.4.0.jar'" changed=false elapsed="221.75µs"
time="2026-01-16 10:19:53" level=error msg="cannot read OSGi bundle manifest from file 'super-csv-2.4.0.jar'" changed=false elapsed="164.667µs"
It can't read the file, and it logs it twice as well (which it seems to do that a lot of times that it logs things twice). I'm also not certain what the output of the read will be, will it give me the symbolic name so that I can compare it with the ones from aem osgi bundle list?
How can I get this working, or is there a better way of working?