ARTIFACTORY: How to resolve the oracle DB driver error with metadata service after upgrading to version 7.55.x and above in kubernetes with splitServicesToContainers

ARTIFACTORY: How to resolve the oracle DB driver error with metadata service after upgrading to version 7.55.x and above in kubernetes with splitServicesToContainers

AuthorFullName__c
Paul Pan
articleNumber
000005956
ft:sourceType
Salesforce
FirstPublishedDate
2024-01-04T19:45:25Z
lastModifiedDate
2024-01-04
VersionNumber
2

The splitServicesToContainers options will allow artifactory microservice to run on individual containers. It was enabled by default since version 107.60.0, but can also be turned on before that. If you have enabled the option since artifactory version 7.55.x and are using Oracle database, you may run into the following oracle DB driver issue with the metadata service.
 

[jfmd ] [WARN ] [ ] [jobs.go:98 ] [main ] - [RETRY] Initiating database connection: ORA-00000: DPI-1047: Cannot locate a 64-bit Oracle Client library: "libclntsh.so: cannot open shared object file: No such file or directory". See https://oracle.github.io/odpi/doc/installation.html#linux for help. Retrying in 1s ... (13/120) [database]

The root cause could be related to how you install the oracle DB driver with preStartCommand and that some lib.so file has changed location since version 7.55.x