Metabase is not accessible - protocol #'java-time.core/Amount is overwriting function abs

Describe the bug

Metabase is not accessible, while service is working and overheating my CPU. I've been using Metabase for years, never had this problem before with previous 0.41.* versions.

Latest docker version is working ok, but it's not an option for me.

Logs

● metabase.service - Metabase server
     Loaded: loaded (/etc/systemd/system/metabase.service; enabled; vendor preset: enabled)
     Active: active (running) since Sat 2022-10-01 18:02:37; 2s ago
   Main PID: 3629625 (java)
      Tasks: 31 (limit: 76817)
     Memory: 424.2M
     CGroup: /system.slice/metabase.service
             └─3629625 /usr/bin/java -jar /home/metabase/metabase.jar

окт 01 18:02:37 homelab systemd[1]: Started Metabase server.
окт 01 18:02:38 homelab metabase[3629625]: Warning: protocol #'java-time.core/Amount is overwriting function abs
окт 01 18:02:38 homelab metabase[3629625]: WARNING: abs already refers to: #'clojure.core/abs in namespace: java-time.core, being replaced by: #'java-time.core/abs
окт 01 18:02:38 homelab metabase[3629625]: WARNING: abs already refers to: #'clojure.core/abs in namespace: java-time, being replaced by: #'java-time/abs
окт 01 18:02:39 homelab metabase[3629625]: WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
окт 01 18:02:40 homelab metabase[3629625]: 2022-10-01 18:02:40,185 INFO metabase.util :: Maximum memory available to JVM: 15.6 GB

There's a lot of errors in /var/log/syslog

Oct  1 18:02:18 homelab metabase[3603387]: Warning: protocol #'java-time.core/Amount is overwriting function abs
Oct  1 18:02:18 homelab metabase[3603387]: WARNING: abs already refers to: #'clojure.core/abs in namespace: java-time.core, being replaced by: #'java-time.core/abs
Oct  1 18:02:18 homelab metabase[3603387]: WARNING: abs already refers to: #'clojure.core/abs in namespace: java-time, being replaced by: #'java-time/abs
Oct  1 18:02:19 homelab metabase[3603387]: WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
Oct  1 18:02:19 homelab metabase[3603387]: 2022-10-01 13:02:19,655 INFO metabase.util :: Maximum memory available to JVM: 15.6 GB
Oct  1 18:02:20 homelab metabase[3603387]: Exception in thread "main" java.lang.AssertionError: Assert failed: (#{:postgres :h2 :mysql} %)

netstat -nupta | grep 3100

(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.) 

Information about your Metabase Installation:

java -version

openjdk version "11.0.16" 2022-07-19
OpenJDK Runtime Environment (build 11.0.16+8-post-Ubuntu-0ubuntu120.04)
OpenJDK 64-Bit Server VM (build 11.0.16+8-post-Ubuntu-0ubuntu120.04, mixed mode, sharing)

Metabase JAR version 0.44.4, downloaded from Download the Metabase JAR

Configuration

MB_PASSWORD_COMPLEXITY=strong #weak|strong
MB_PASSWORD_LENGTH=10
MB_DB_TYPE=postgres #postgres|mysql|h2
MB_DB_DBNAME=metabase
MB_DB_PORT=5432
MB_DB_USER=metabase_user
MB_DB_PASS=password
MB_DB_HOST=localhost
MB_EMOJI_IN_LOGS=true #true|false
MB_JETTY_PORT=3100

Ubuntu 20.04

Hi @lesescaldes
Try changing MB_DB_TYPE=postgres #postgres|mysql|h2 to MB_DB_TYPE=postgres

1 Like

Thanks for the reply, problem solved.