pmint93/helm-charts

Metabase Requires Oracle JDBC driver

Closed this issue · 2 comments

We are using chart version 2.7.4 and im seeing the chart installation fail when im spinning up a test cluster, the same version is in use with an in use cluster and was last deployed 90 days ago.

The module we use is the same for both and points to the same Helm chart but we see the below error when trying to connect to a Postgres DB.

Metabase cannot initialize plugin Metabase Oracle Driver due to required dependencies. Metabase requires the Oracle JDBC driver in order to connect to Oracle databases, but we can't ship it as part of Metabase due to licensing restrictions. See https://metabase.com/docs/latest/administration-guide/databases/oracle.html for more details

Is there a workaround for this or a fix in a later version, any guidance would be appreciated.

Hello!
first i would say it's not an issue on the helm chart (this repo) but on metabase itself, so should be reported on metabase side I think! https://www.metabase.com/

but for you information, this module is not required. Logs (even if they are red..) are in INFO and it's for sure not blocking on any way to start metabase, so you have some other issue somewhere.

regards

@shakusbakus Of course Oracle DB is not default packaged with metabase, and they are recommend to download it if you want to connect to Oracle DBs. This chart provide a method of using initContainer, you should take a look at this

extraInitContainers: []
# - name: download-modules
# image: "curlimages/curl:7.70.0"
# imagePullPolicy: "IfNotPresent"
# volumeMounts:
# - name: plugins
# mountPath: /plugins
# workingDir: /plugins
# command:
# - "/bin/sh"
# - "-ec"
# - |
# curl -Lso /plugins/athena.metabase-driver.jar \
# https://github.com/dacort/metabase-athena-driver/releases/download/v1.1.0/athena.metabase-driver.jar

Modify it to download OracleDB Driver as you need