Issue
CQ 5.5 Update 1 is now available on PackageShare. If you have installed CQ 5.5 Update 1 you may encounter the following error in the error.log after restarting the CQ instance:
*ERROR* [0:0:0:0:0:0:0:1%0 [1340016598398] GET / HTTP/1.1] org.apache.sling.engine.impl.SlingHttpContext handleSecurity: AuthenticationSupport service missing. Cannot authenticate request.
Reason
After installing the Update 1 package, an info dialog appears which advises to “restart the instance”. If you restart the instance immediately after the dialog appears, you will run into this problem. Even after the dialog appears, the package keeps on installing behind the scenes. This process is interrupted if the instance is restarted at this point.
You should wait until the installation has completed before restarting CQ5, checking the activity in error.log. Once the error.log becomes quiet (after approx. 5 mins) it is safe to restart the instance.
Solution
After installing Update 1 check that all OSGi bundles have the status “ACTIVE” in the OSGi console. Start any bundles that do not have the “ACTIVE” status and this should resolve the issue.
If the issue persists, you may have to reinstall CQ5 from a fresh copy, install the update 1 package, restart (wait until error.log shows no more activity) and finally reinstall your installed packages manually.
reference: (CQ5-18534)
CQ 5.5 Update 1: Service unavailable - AuthenticationSupport service missing. Cannot authenticate request.,
Pingback: CQ5 Error “AuthenticationSupport service missing. Cannot authenticate request.” » Biztech Enterprise Solutions
Will the upgrade actually complete if you’ve restarted before it was done? I had to start up CRX manually in the OSGi bundles interface and things started working again, but I’m concerned it didn’t fully upgrade.
Restarting the bundles manually in the OSGi interface will solve the issue as outlined above. If you are no longer receiving the “AuthenticationSupport” error, then the Update installation was successful.
Hi dmcmahon,
How to restart the bundles manually?
Can you please tell me the steps in detail?
Hi Frida,
this should be done by an administrator who has read all of the documentation for the CQ platform and understands the effects of such common admin tasks.
The documentation related to the OSGi console and starting bundles manually is located here: http://dev.day.com/docs/en/cq/current/deploying/configuring_osgi.html#Bundles
Can you elaborate on “error.log becomes quiet” ? I’m still seeing various log entries 15 minutes after the package was installed every minute or so that are similar to:
*INFO* [OsgiInstallerImpl] org.apache.sling.servlets.resolver Service [ServletResourceProvider for Servlets at [/libs/foundation/components/primary/sling/servlet/errorhandler/default.servlet, /libs/foundation/components/primary/sling/servlet/errorhandler/default],1640] ServiceEvent UNREGISTERING
Thank you for wasting 2 hours of my life.
Pingback: CQ5 Error “AuthenticationSupport service missing. Cannot authenticate request.” » BizTech Enterprise Solutions NZ