Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

After Service Pack 6.5.8 Installation I cannot login into a publish instance

Avatar

Level 3

Hi,

 

I've installed the service pack 6.5.8 on my AEM publish instance and I cannot login.

Previously I could do it by accessing 'http://<ip>:4503/crx/packmgr/index.jsp' and clicking in the login button that opened a modal where I could write my credentials.

 

I've seen that now this access is not possible but I have no other way to do it because login form is not really login.

 

I've tried with this:

http://<ip>:4503/libs/granite/core/content/login.html

 

and with this (this one redirects to crx de but without being logged in):

http://172.17.4.16:4503/libs/granite/core/content/login.html?resource=/crx/de

 

but when I write my credentials I'm not really logged.

I've seen that te cookie 'login-token' is not written as I can see on my author instance but I don't know why.

 

I had the Service Pack 5 installed before (AEM 6.5.5) and I had no problems with login using the loggin button in the Package Manager.

 

Any ideas? How can I make the login work?

 

Thank you in advance.

Topics

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

25 Replies

Avatar

Community Advisor

Hi @alex_p_c_ 

 

You can login with http://localhost:4503/libs/granite/core/content/login.html and it will take you to the login screen. Provide the credentials and you will be logged into the system.

 

Thanks!

Avatar

Level 3
No, I cannot login in that way. My credentials are fine, but at the end I'm not logged in.

Avatar

Community Advisor

Hi @alex_p_c_ 

If the credentials are correct you should be able to login. Just check if there are any errors in the log or if you have any console error while submitting the form.

The below one also works for me:

http://localhost:4503/libs/granite/core/content/login.html?resource=crx/de

 

Please check the logs once while logging into the system.

Avatar

Level 3
I cannot see any error at error.log and I'm redirected to /index.html and then to /content.html. If I change the URL to anyone of the system console or the package manager url I'm not logged in.

Avatar

Community Advisor

Hi @alex_p_c_ 

Once you are logged in can you try accessing /crx/de and see if it works?

Try in different browsers as well.

Avatar

Level 3

If I change to this URL I'm not logged in (and in this screen I cannot login because the login button has been disabled). I can only user Chrome because I'm using a remote desktop.

Avatar

Employee

This doesn't seem to be working. There is no login-token generated and when navigating back to the CRXDE, it still shows not logged in.

Avatar

Level 3

Hi @Ankita-Das , if you navigate with the parameter you can see you are logged in. Keep the parameter in the URL.

 

Thanks.

Avatar

Level 2

Thanks alex_p_c_

I see what you mean. So if I append the Query Parameter to /crx/de/index.jsp?sling:authRequestLogin=1, it does show as logged in.

However, I am an admin user but the entire repo is not visible in CRXDE.

ankita_das_0-1620643475097.png

Also, SP 8 doesn't mention anything about the login-related change. Is it documented anywhere which I am missing?

Avatar

Level 3

Yes, I see it... that is weird. At least you can login into system console too.

I think this change was implemented at Service Pack 5:

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

 

At the release notes you can see something like this:
"Anonymous access to CRXDE Lite is disallowed. Instead, the users are directed to the login screen."

 

Regards,

Avatar

Level 2

SP5 we were able to log in to the publisher using the Package Manager. In fact, we were on SP6 till yesterday when we upgraded to SP8 and ran into this issue.

 Thanks for your help! Do update the thread if you find something related.

Avatar

Level 2

This didn't work. Any other workaround?

Also, do we have a permanent fix for this? Before installing SP8, login to publisher was working fine via packagemgr url

Avatar

Level 1

Is there a way to logout after we login using this param, tried logging out from different pages on publish  like /crx/explorer and /siteadmin but can't logout.

Thanks

Avatar

Employee Advisor

@alex_p_c_  @ranjith7  Can you try the following:

 

  • Go to OSGI config: "Day CQ Link Checker Transformer"
  • Add the following in the  “Blacklisted Paths”
    • /libs/granite/core/content

Then, try logging in again via the login page

 

Avatar

Level 2

@Jaideep_Brar Still the same for me. Unable to log in to the publisher (Tried on incognito)

 

I could see some warning in the logs stating "specified dependencies that could not be resolved":

17.05.2021 00:23:17.356 *WARN* [10.212.134.150 [1621210995994] GET /libs/granite/core/content/login.html HTTP/1.1] com.adobe.granite.ui.clientlibs.impl.LibraryCacheImpl Library /apps/acs-commons/touchui-w
idgets/draggable-list specified embedded that could not be resolved: acs-commons.widgets.draggable-list
17.05.2021 00:23:17.357 *WARN* [10.212.134.150 [1621210995994] GET /libs/granite/core/content/login.html HTTP/1.1] com.adobe.granite.ui.clientlibs.impl.LibraryCacheImpl Library /libs/social/commons/compon
ents/hbs/comments/clientlibs specified dependencies that could not be resolved: cq.social.mention
17.05.2021 00:23:17.357 *WARN* [10.212.134.150 [1621210995994] GET /libs/granite/core/content/login.html HTTP/1.1] com.adobe.granite.ui.clientlibs.impl.LibraryCacheImpl Library /libs/social/commons/compon
ents/hbs/featuredcontent/clientlibs specified dependencies that could not be resolved: cq.social.author.commons.hbs.featuredtopic
17.05.2021 00:23:17.360 *WARN* [10.212.134.150 [1621210995994] GET /libs/granite/core/content/login.html HTTP/1.1] com.adobe.granite.ui.clientlibs.impl.LibraryCacheImpl Library /libs/cq/gui/components/aut
horing/editors/clientlibs/sites/page specified embedded that could not be resolved: cq.authoring.editor.plugin.mobile,cq.authoring.editor.plugin.dps,cq.authoring.editor.plugin.manuscript
17.05.2021 00:23:17.360 *WARN* [10.212.134.150 [1621210995994] GET /libs/granite/core/content/login.html HTTP/1.1] com.adobe.granite.ui.clientlibs.impl.LibraryCacheImpl Library /libs/cq/gui/components/aut
horing/editors/clientlibs/sites/template specified embedded that could not be resolved: cq.authoring.editor.sites.template.hook
17.05.2021 00:23:17.360 *WARN* [10.212.134.150 [1621210995994] GET /libs/granite/core/content/login.html HTTP/1.1] com.adobe.granite.ui.clientlibs.impl.LibraryCacheImpl Library /libs/fd/expeditor/clientli
bs/main specified dependencies that could not be resolved: aem.fdm.services
17.05.2021 00:23:17.362 *WARN* [10.212.134.150 [1621210995994] GET /libs/granite/core/content/login.html HTTP/1.1] com.adobe.granite.ui.clientlibs.impl.LibraryCacheImpl Library /libs/dam/gui/components/ad
min/idsprint/templates/addtemplatewizardpage/clientlibs/addtemplate specified dependencies that could not be resolved: granite.ui.coral.formbuilder,granite.ui.coral.notifications
17.05.2021 00:23:17.362 *WARN* [10.212.134.150 [1621210995994] GET /libs/granite/core/content/login.html HTTP/1.1] com.adobe.granite.ui.clientlibs.impl.LibraryCacheImpl Library /libs/dam/gui/components/ad
min/idsprint/templates/edittemplatewizardpage/clientlibs/editbrochure specified dependencies that could not be resolved: granite.ui.coral.formbuilder,granite.ui.coral.notifications
17.05.2021 00:23:17.362 *WARN* [10.212.134.150 [1621210995994] GET /libs/granite/core/content/login.html HTTP/1.1] com.adobe.granite.ui.clientlibs.impl.LibraryCacheImpl Library /libs/dam/gui/components/ad
min/idsprint/templates/mergetemplate/brochureassemble specified dependencies that could not be resolved: granite.ui.coral.formbuilder,granite.ui.coral.notifications
17.05.2021 00:23:17.362 *WARN* [10.212.134.150 [1621210995994] GET /libs/granite/core/content/login.html HTTP/1.1] com.adobe.granite.ui.clientlibs.impl.LibraryCacheImpl Library /libs/dam/gui/components/s7
dam/common/crop/smartcrop specified dependencies that could not be resolved: granite.ui.coral.foundation.admin
17.05.2021 00:23:17.362 *WARN* [10.212.134.150 [1621210995994] GET /libs/granite/core/content/login.html HTTP/1.1] com.adobe.granite.ui.clientlibs.impl.LibraryCacheImpl Library /libs/dam/gui/components/s7
dam/shoppablevideo/clientlibs/shoppablevideo specified dependencies that could not be resolved: granite.ui.coral.foundation.admin
17.05.2021 00:23:17.362 *WARN* [10.212.134.150 [1621210995994] GET /libs/granite/core/content/login.html HTTP/1.1] com.adobe.granite.ui.clientlibs.impl.LibraryCacheImpl Library /libs/dam/gui/components/s7
dam/smartcropedit/clientlibs/smartcropcard specified dependencies that could not be resolved: granite.ui.coral.foundation.admin
17.05.2021 00:23:17.362 *WARN* [10.212.134.150 [1621210995994] GET /libs/granite/core/content/login.html HTTP/1.1] com.adobe.granite.ui.clientlibs.impl.LibraryCacheImpl Library /libs/dam/gui/components/s7
dam/smartcropedit/clientlibs/smartcropedit specified dependencies that could not be resolved: granite.ui.coral.foundation.admin
17.05.2021 00:23:17.363 *WARN* [10.212.134.150 [1621210995994] GET /libs/granite/core/content/login.html HTTP/1.1] com.adobe.granite.ui.clientlibs.impl.LibraryCacheImpl Library /libs/fd/af/authoring/edito
rs/clientlibs/form specified embedded that could not be resolved: cq.authoring.editor.plugin.mobile,cq.authoring.editor.plugin.dps,cq.authoring.editor.plugin.manuscript
17.05.2021 00:23:17.364 *WARN* [10.212.134.150 [1621210995994] GET /libs/granite/core/content/login.html HTTP/1.1] com.adobe.granite.ui.clientlibs.impl.LibraryCacheImpl Library /libs/fd/af/authoring/edito
rs/clientlibs/template specified dependencies that could not be resolved: cq.authoring.editor.sites.template.hook
17.05.2021 00:23:17.365 *WARN* [10.212.134.150 [1621210995994] GET /libs/granite/core/content/login.html HTTP/1.1] com.adobe.granite.ui.clientlibs.impl.LibraryCacheImpl Library /libs/screens/dcc/component
s/clientlibs specified dependencies that could not be resolved: cq.screens.dcc.validation
17.05.2021 00:23:17.365 *WARN* [10.212.134.150 [1621210995994] GET /libs/granite/core/content/login.html HTTP/1.1] com.adobe.granite.ui.clientlibs.impl.LibraryCacheImpl Library /libs/social/enablement/com
ponents/clientlibs/assets specified embedded that could not be resolved: dam.search.smartcollection.infopanel,dam.search.samrtcollection.toolbar.dialogs,dam.admin.search.predicates

Avatar

Level 2

Hi All,

 

Try below for the permission issue with /crx/de to view all folders:

 

Log in to the below: http://localhost:4503/crx/explorer/index.jsp

Click on Content Explorer and Navigate to http://localhost:4503/crx/explorer/browser/index.jsp

We can see all the folder structures that we used to see in crx/de and manage from here.

 

Note: Blacklisting of the path - /libs/granite/core/content is not really needed I guess. It works as expected even without this config update.

 

Regards,

Ranjith