Hello all. I just want to seek for your advice on why I can’t create a metadata type. I keep getting an error message, “An unknown error has occurred. Please contact your administrator to investigate further.” To note, I’m an Admin user. This is also the correlation ID (rmDKZD3xDl
) that I got.
Thank you in advance for your time to answer this.
Hello Pamela,
Could you please share the logs from the UI and ESB?
Thanks.
Ameet Shah
OpenIAM
Hi Ameet,
Please refer to the below JSON.
{“id”:“a3debd6c13be4b78ab2d1f4e34727477”,“lastIndexDateTime”:1742309803259,“userId”:“3000”,“principal”:“sysadmin”,“timestamp”:1742309790335,“source”:“WEBCONSOLE”,“clientIP”:“120.29.110.178”,“action”:“CREATE_METADATA_TYPE”,“result”:“FAILURE”,“nodeIP”:“6874738bc602”,“sessionID”:“ead99003-4fc3-471c-a423-ed598142ca88”,“correlationId”:“rmDKZD3xDl”,“authProviderId”:“8a80811b9566e521019566efabf80009”,“contentProviderId”:“8a80811b9566e521019566efac050017”,“uriPatternId”:“8a80811b9566e521019566efbf9100c8”,“attributes”:[{“id”:“YPWnpPNzLEqhvRkCVnEkoTdNAMdZhHzCpAxy”,“lastIndexDateTime”:1742309790336,“key”:“DESCRIPTION”,“value”:“Save metadata type”}],“uri”:“/webconsole/rest/api/metadata/type/save”,“url”:“https://dmfiam.ch/webconsole/rest/api/metadata/type/save",“method”:“POST”,“requestBody”:"{\“objectState\”:\“NEW\”,\“requestorSessionID\”:null,\“requestorUserId\”:null,\“requestorLogin\”:null,\“requestClientIP\”:null,\“parentAuditLogId\”:null,\“id\”:null,\“active\”:true,\“syncManagedSys\”:false,\“grouping\”:\“USER_EMPLOYEE_TYPE\”,\“binary\”:false,\“sensitive\”:false,\“usedForSMSOTP\”:false,\“elementAttributes\”:{},\“categories\”:[],\“displayNameMap\”:{"1":{"objectState":"NEW","requestorSessionID":null,"requestorUserId":null,"requestorLogin":null,"requestClientIP":null,"parentAuditLogId":null,"id":null,"languageId":null,"referenceId":null,"referenceType":null,"value":"Test MD"},"2":{"objectState":"NEW","requestorSessionID":null,"requestorUserId":null,"requestorLogin":null,"requestClientIP":null,"parentAuditLogId":null,"id":null,"languageId":null,"referenceId":null,"referenceType":null,"value":null},"3":{"objectState":"NEW","requestorSessionID":null,"requestorUserId":null,"requestorLogin":null,"requestClientIP":null,"parentAuditLogId":null,"id":null,"languageId":null,"referenceId":null,"referenceType":null,"value":null},"4":{"objectState":"NEW","requestorSessionID":null,"requestorUserId":null,"requestorLogin":null,"requestClientIP":null,"parentAuditLogId":null,"id":null,"languageId":null,"referenceId":null,"referenceType":null,"value":null},"8":{"objectState":"NEW","requestorSessionID":null,"requestorUserId":null,"requestorLogin":null,"requestClientIP":null,"parentAuditLogId":null,"id":null,"languageId":null,"referenceId":null,"referenceType":null,"value":null},"9":{"objectState":"NEW","requestorSessionID":null,"requestorUserId":null,"requestorLogin":null,"requestClientIP":null,"parentAuditLogId":null,"id":null,"languageId":null,"referenceId":null,"referenceType":null,"value":null},"10":{"objectState":"NEW","requestorSessionID":null,"requestorUserId":null,"requestorLogin":null,"requestClientIP":null,"parentAuditLogId":null,"id":null,"languageId":null,"referenceId":null,"referenceType":null,"value":null},"11":{"objectState":"NEW","requestorSessionID":null,"requestorUserId":null,"requestorLogin":null,"requestClientIP":null,"parentAuditLogId":null,"id":null,"languageId":null,"referenceId":null,"referenceType":null,"value":null},"12":{"objectState":"NEW","requestorSessionID":null,"requestorUserId":null,"requestorLogin":null,"requestClientIP":null,"parentAuditLogId":null,"id":null,"languageId":null,"referenceId":null,"referenceType":null,"value":null},"14":{"objectState":"NEW","requestorSessionID":null,"requestorUserId":null,"requestorLogin":null,"requestClientIP":null,"parentAuditLogId":null,"id":null,"languageId":null,"referenceId":null,"referenceType":null,"value":null},"15":{"objectState":"NEW","requestorSessionID":null,"requestorUserId":null,"requestorLogin":null,"requestClientIP":null,"parentAuditLogId":null,"id":null,"languageId":null,"referenceId":null,"referenceType":null,"value":null},"18":{"objectState":"NEW","requestorSessionID":null,"requestorUserId":null,"requestorLogin":null,"requestClientIP":null,"parentAuditLogId":null,"id":null,"languageId":null,"referenceId":null,"referenceType":null,"value":null}},"displayName":null,"languageMappings":,"createable":true,"name":"Test MD"}”,“deviceInfo”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36 Edg/134.0.0.0”,“parentId”:“null”}
Attached also the logs.
Thank you.
Hello Pamela,
Thank you for this. Could you please provide the specific logs for the UI and ESB? We have documentation on how to provide this for the RPM installation at this link: Troubleshooting guide for RPM
Thanks.
Ameet Shah
OpenIAM
Hello Pamela,
From the screenshot, you are missing the forward slash before usr
.
You are using the RPM and not the Docker installation, correct?
Ameet Shah
OpenIAM
Hello Pamela,
I am unable to view the log as I do not have permission to access the SharePoint link you’ve shared.
If we are using Docker, the way to extract logs is different. We have instructions on how to do so in this document.
Again, we will need the UI and ESB logs.
Ameet Shah
OpenIAM
Please also share the specs of your Linux host/VM configuration as well – operating system, memory, CPU and disk space.
Thanks.
ESBLogs.txt (999.7 KB)
UILogs.txt (1006.5 KB)
hello Ameet,
Please see attached UI and ESB logs.
Thank you.
Hello Pamela,
From the screenshot you have shared, the 32GB of RAM is short of the minimum VM requirements as outlined in our documentation: Deploying via Docker
You would need a minimum for 48GB for a non-production deployment. We have seen historically that not meeting the minimum requirements can lead to issues, and thus this would be a good starting point to help troubleshoot the error you’ve encountered. Please let us know if you continue to run into any problems during administration.
Thanks.
Ameet Shah
OpenIAM
Hi Ameet,
We have upgraded our server to 64GB from 32GB.
However, we are still encountering issue on creating Metadata.
When trying to create a Metadata, an error message “An unknown error has occurred. Please contact your administrator to investigate further.” after clicking Save.
Then, all the failed Metadata I created is listed in the Metadata Type Seach. However, when I click the edit button, it says “404 - Page Not Found”.
Thanks, Pamela. I am consulting my team about your error and just had a couple of more questions:
- Which version of OpenIAM did you install?
- Was this an upgrade from a previous version, or was this a fresh installation?
Hello Ameet,
Please see below answers to your questions.
- Which version of OpenIAM did you install? Version: 4.2.1.10
- Was this an upgrade from a previous version, or was this a fresh installation? It is an upgrade.
Hello Pamela,
Please run the following:
docker ps -a | grep flyway
And then attach the container log.
Thanks,
Ameet