The new Admin Portal shows no content

Currently, I'm testing the new tailored experience and I want to create a Community Template.

I assigned myself the role of CommuntyTemplateAdmin role in ic360 and then access the admin-portal with /cnxadmin/

Unfortunately, the page stays empty. What could be the reason for this?

I installed the latest Component Pack 7.0.0.1 without updating from an earlier release.

Hi Martin,

I tested this against a lab server with a user that does not have the "CommunityTemplateAdmin" role, and the display is similar to what you're showing (minus the Metrics and Moderation links in the header). We'd want to evaluate the user ID that you're using in the following file:

/opt/IBM/SharedArea/icxt/config/acl.properties

If you pulled the ID from the UI, there are two possible values that you might use depending on how you access your profile. If you do a directory search in profiles, and you click on the result associated with your profile, the URL will be like this:

https://example.com/profiles/html/profileView.do?userid=value1#&tabinst=Updates

If instead you click "My Profile" and then click your name within the profile, the resulting URL will be like this:

https://example.com/profiles/html/profileView.do?key=value2#&tabinst=Updates

The acl.properties file is expecting "value1" - can you please confirm you're using the proper ID?

Thanks,

Michael Montani
HCL Support

Hi.

I checked this.

To set the acl, I used the ic360 admin user interface. So I'm pretty sure the acl is set correctly. (or the ic360 admin console has a bug.)

By ACL currently looks like this:

ic360Admin.8E708F99-578D-90F8-C125-69A800473652=true
ic360Admin.513A9829-FD8B-3D3C-C125-8696002627D2=true
CommunityTemplateAdmin.513A9829-FD8B-3D3C-C125-8696002627D2=true
CommunityTemplateAdmin.E83F4426-7902-3611-C125-7AF60058CCF6=true
ic360Admin.E83F4426-7902-3611-C125-7AF60058CCF6=true

And the user with "E83F4426-7902-3611-C125-7AF60058CCF6" is my admin user, I test with.

The call to /profiles/json/profile.do?format=compact&userid=E83F4426-7902-3611-C125-7AF60058CCF6 returns the profile of by admin user.

I checked the log output of the 3 te pods:

  • admin-portal
  • community-template-service
  • te-creation-wizard

but none of his pods shows any usable log message. The most interesting is the output of community-template-service. But it showed no difference in the log whether I use an authorized or a non-authorized user.

2021-03-30T09:28:19.873Z - debug: [auth-service] decodeJWT: no JWT found, returning no_jwt_token
2021-03-30T09:28:19.874Z - debug: [auth-service] >auth.service: about to call setJWT to generate or re-generate token...
2021-03-30T09:28:19.874Z - debug: [auth-service] Getting user profile with url: https://<INTERNAL CNX URL>/connections/opensocial/rest/people/@me/@self
2021-03-30T09:28:19.886Z - debug: [auth-service] Retrieving profile with url: https://<INTERNAL CNX URL>/profiles/json/profile.do?format=compact&userid=E83F4426-7902-3611-C125-7AF60058CCF6
{"pid":1,"hostname":"community-template-service-749757b979-j26r6","name":"community-template-service/dist/utils/cnx-auth.js","level":20,"time":1617096499902,"msg":"After ensureLogin call, got user profile successfully.","v":1}
{"pid":1,"hostname":"community-template-service-749757b979-j26r6","name":"community-template-service/dist/utils/icxt-util.js","level":20,"time":1617096499902,"msg":"Calling ICXT to check whether current user is template admin or not: isTemplateAdminUrl: https://<EXTERNAL CNX URL>/ic360/mod/template/api/insights/isAdmin","v":1}
2021-03-30T09:28:19.902Z - debug: [auth-service] JWT token created and signed.
{"pid":1,"hostname":"community-template-service-749757b979-j26r6","name":"community-template-service/dist/utils/icxt-util.js","level":20,"time":1617096499940,"msg":"Got response as: [object Object]","v":1}

Hi Martin,

We're working internally on responding. In the meantime - are you getting any browser errors when accessing /cnxadmin/?

Thanks,
Michael Montani
HCL Support

Hi.

I get no browser errors. No errors in the console output. No resources fail to load.

Martin

Hi Martin,

It appears we will need a more in-depth review of your config/setup, so I recommend opening a case with support.

Thank you,

Michael Montani
HCL Support

While preparing a new instance (without any custiomizations) I made an interesting observation:

With Chrome Version 90.0.4430.85 (Official Build) (64-bit), the page is empty.

Using Firefox 88.0 (64-Bit) the page loads and I can create a community template.

My Thank go to @Christoph Stoettner. He found the issue:

https://stoeps.de/2021/04/30/cnxadmin-panel-on-chrome/

In the loaded index.css you need to change the display type 'inline-flex' to 'flex'.