I've setup OpenShift 4.6 and deployed the DX container images there. Core, ringapi, dam etc. seem to work (after a first smoke test). The content compose seems to work as well but the integration of Content Compose and DAM seems not to work as "HCL DAM" is greyed out when we try to use am image in the content item. When for example trying to create content based on "Woodburn Studio Design / Person" template I can't use an image from the DAM as the page looks like the following:
So I'm wondering what I've missed at the setup so that this integration does not work?
Hi Hermann,
I just tested this on CF19 with a hybrid and full deployment and HCL DAM is enabled when using the Person AT (with no additional steps performed besides the original deployment).
Which Portal Container CF are you using?
Can you successfully create a collection and upload images to DAM?
Any errors on the browser console when trying to select HCL DAM or accessing CC?
Any errors in your ConfigTrace.log when you enabled DAM & CC?
Hello Oscar,
I'm using the CF19 image as well (v95_CF19_20201109-2312) Yes, I can create collections and upload images to DAM. Could not see any errors when trying to select DAM as it is greyed out and not an active link.
But as you mentioned the enablement of DAM & CC I'm afraid that's the step I missed. I followed https://help.hcltechsw.com/digital-experience/9.5/digital_asset_mgmt/digital_asset_mgmt_overview.html but could not find a hint there that this needs to be enabled manually. Also following https://www.youtube.com/watch?v=Hhop8M89SVA&feature=youtu.be there is not mentioning of a ConfigEngine task? Or is that executed under the covers? What's the task name?
But basically I think you've found the issue that DAM is not enabled on DX core as I don't see the "DAM" link from the home menu either.
Yeah, it all happens under the covers. When you enable DAM & CC in your deployment, Portal goes back into init mode and runs the enable-media-library and enable-headless-content. I would first check the ConfigTrace.log to ensure there was no errors when these tasks were run. If everything looks good there, then check the DAM and CC container logs.
Good hint! I've seen the following error in the ConfigTrace.log:
[wplc-query-application-list] Unable to create ConfigService proxy. Error text is: Unable to authenticate user of the incoming SOAP request
[wplc-query-application-list] at com.ibm.wplc.deploy.tasks.utils.ConnectionHelper.getConfigServiceProxy(ConnectionHelper.java:238)
[wplc-query-application-list] at com.ibm.wplc.deploy.tasks.impl.ApplicationsQueryImpl.execute(ApplicationsQueryImpl.java:74)
[wplc-query-application-list] at com.ibm.wplc.deploy.tasks.AbstractBaseAdminTask.executeBean(AbstractBaseAdminTask.java:545)
[wplc-query-application-list] at com.ibm.wplc.deploy.tasks.AbstractBaseAdminTask.executeTask(AbstractBaseAdminTask.java:529)
[wplc-query-application-list] at com.ibm.wplc.deploy.tasks.AbstractBaseWsAdminWrapperTask.executeTask(AbstractBaseWsAdminWrapperTask.java:395)
[wplc-query-application-list] at com.ibm.wplc.deploy.tasks.AbstractBaseAdminTask.execute(AbstractBaseAdminTask.java:177)
[wplc-query-application-list] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[wplc-query-application-list] at org.apache.tools.ant.Task.perform(Task.java:364)
:
:
[2020-12-10 11:32:47.115] Target finished: enable-media-library
BUILD FAILED
/opt/HCL/PortalServer/theme/wp.theme.themes/practitionerStudio/config/includes/wp.theme.themes.practitionerStudio.fp_cfg.xml:20: Unable to create ConfigService proxy. Error text is: Unable to aut
henticate user of the incoming SOAP request
Guess that's maybe because I've enabled LDAP before? Which user credentials are used to run the ConfigEngine tasks?
Ah, yes, if you changed the WAS and Portal Admin user, you need to update the
<dx-deployment or project/ns name>-was
and
<dx-deployment or project/ns name>-wps
secrets. These are used for any config tasks that need to be run.
Check out the video below, around 9:30 mark:
https://youtu.be/JLAahtJI_Y4
That said, you may need to run the tasks manually with the new credentials. Otherwise, I believe you would have to disable and re-enable DAM & CC for these tasks to get kicked off again.
Thanks a lot!! I just ran the ConfigEngine.sh enable-media-library and enable-headless-content manually and restarted tje JVM and now I get the "Digital Assets" from the Home-Button. Just need to remember to update the secrets. Thanks for your help!
Great! You're welcome Hermann.
Oscar .. thanks for the link with the movie which help a lot!
The trick here is obviously that we need the base64 encoding twice as shown in the video which seems to be specific to DX as the OSCP documentation requires base64 encoding only. Just as shown in the video:
echo 'wpadmin' | base64 | base64
echo 'start123.' | base64 | base64
You're welcome Hermann. And we're currently in the process of updating the documentation with these details as well.
Hello Oscar,
yeah, updating the documentation would be great!
While upgrading from the CF18 images to the CF19 images we've found a similiar problem with the DB user passwords in wkplc_dbdomain.properties. The first start of the container failed to run applyCF.sh successfully as the passwords for the database were missing. As there are no secrets available here we've edited the wkplc_dbdomain.properties with the passwords and then the applyCf.s worked. What is the recommeded way of dealing with that kind of passwords?
Furthermore talking about documentation - shouldn't syndication be disabled before the upgrade either? At least that's what's recommended in the CF documentation.
Thanks - Hermann
Passwords in wkplc_dbdomain.properties is the way to go right now Hermann. I have not heard if there are plans to create secrets for these settings but I'll follow up with our development team and ensure our documentation also reflects the suggested method.
Thanks Oscar,
just had another issue with the upgrade from CF18 to CF19 which you might consider in the upgrade documentation namely that in the CF18 install the secrets dx-deployment-was and dx-deployment-wps did not exist. These were created during the upgrade (so I guess that is something new in CF19) but were created using the defaults. Hence the upgrade failed again. What is the recommended upgrade path here?
Regarding the DB passwords - fine for that but please get that documented asap to avoid further failures in the community. Thanks!
P.S: Sorry if I'm dumping all the upgrade issues here
Yup, I already started the process to get the doc updated for the DB passwords.
The dx-deployment-was and wps secrets have been there since the initial container deployments (CF17). You saying that they don't exist on your CF18 Portal deployment? If so, I have not seen this before; you may be running into a possible defect. I suggest opening up a support ticket so we can investigate.