Expand my Community achievements bar.

Bad Gateway after upgrading from AEM 6.5.5 to 6.5.21

Avatar

Level 2

Hi, I've recently upgraded my AEM instance on dev environment from 6.5.5 to 6.5.21 and after I've restarted the instance, it's responded with bad gateway 502 on the instance link itself and /system/console/bundles. I have tried checking if there are any invalid indexes and all of them are valid when i checked. Any suggestions on what steps should I take next to mitigate this issue?

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

9 Replies

Avatar

Community Advisor

Go through this release note first. make sure you followed all the necessary steps and made changes accordingly. We did the same last month.

https://experienceleague.adobe.com/en/docs/experience-manager-65/content/release-notes/service-pack/...

Avatar

Level 2

I have followed the steps from the documentation

Avatar

Level 2

Hi @MukeshYadav_  as far as I've checked on the error log, this is the first cause of error

[OsgiInstallerImpl] updater.fake.bundle BundleEvent INSTALLED
25.11.2024 12:47:26.781 *INFO* [OsgiInstallerImpl] org.apache.sling.audit.osgi.installer Installed bundle updater.fake.bundle [768] from resource TaskResource(url=bundle767:fake.jar, entity=bundle:updater.fake.bundle, state=INSTALL, attributes=[org.apache.sling.installer.api.tasks.ResourceTransformer=:31:17:, Bundle-SymbolicName=updater.fake.bundle, Bundle-Version=1.0], digest=0)
25.11.2024 12:47:26.784 *INFO* [OsgiInstallerImpl] org.apache.sling.installer.core.impl.tasks.BundleStartTask Could not start bundle updater.fake.bundle [768]. Reason: {}. Will retry.
org.osgi.framework.BundleException: Unable to resolve updater.fake.bundle [768](R 768.0 missing requirement [updater.fake.bundle [768](R 768.0)] osgi.wiring.package; (osgi.wiring.package=updater.fake.bundle) Unresolved requirements: [[updater.fake.bundle [768](R 768.0)] osgi.wiring.package; (osgi.wiring.package=updater.fake.bundle)]
  at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4368)
  at org.apache.felix.framework.Felix.startBundle(Felix.java:2281)
  at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998)
  at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984)
  at org.apache.sling.installer.core.impl.tasks.BundleStartTask.execute(BundleStartTask.java:97) [org.apache.sling.installer.core:3.9.0]
  at org.apache.sling.installer.core.impl.OsgiInstallerImpl.doExecuteTasks(OsgiInstallerImpl.java:914) [org.apache.sling.installer.core:3.9.0]
  at org.apache.sling.installer.core.impl.OsgiInstallerImpl.executeTasks(OsgiInstallerImpl.java:749) [org.apache.sling.installer.core:3.9.0]
  at org.apache.sling.installer.core.impl.OsgiInstallerImpl.run(OsgiInstallerImpl.java:298) [org.apache.sling.installer.core:3.9.0]
  at java.lang.Thread.run(Thread.java:748)

Avatar

Community Advisor

@MR_Nurfajri 

 

Please try updating a local AEM 6.5 with AEM 6.5.21 first.

 

 

If you have a clone of dev instance, please try after successful upgrade of local AEM. Please assure that you restart instance after the Service Pack was Installed + All bundles Active + logs stable

 

We had upgarded to 6.5.21 recently with no issues


Aanchal Sikka

Avatar

Level 2

@aanchal-sikka  I have tested it with my local and other dev environment, it worked and all of the bundles are active. Currently I am using the backup of the dev env and have uploaded the package and it's said "A different version seems to be installed: 6.5.5", could this be the issue? 

MR_Nurfajri_0-1732642992198.png

 

Avatar

Community Advisor

@MR_Nurfajri 

Yes,

1. that warning message says that the installed package is not version 21, and,

2. The install button is enabled,

 

Indicates that the package version is not installed. Could you please try installing it and see if you are still experiencing problems.

Feel free to post the result or ask additional questions in this forum.

 

Thank you.

Avatar

Level 2

I have tried to install it and here's the result

1. got  popup that says it could not install the package with reason "undefined"

undefined install.png

 2. after i refreshed the crx it is installed

undefined install 2.png

 3. on bundles there's a "updater.fake.bundle" that can't be resolved

updater.fake.bundle not resolved.png

 4. when i access the base url it returned 404

MR_Nurfajri_0-1732665608631.png

 

Avatar

Community Advisor

@MR_Nurfajri 

 

I am unable to find this bundle in our Instances. Requesting you to please raise an Adobe ticket


Aanchal Sikka