macOS app shut down


#1

Hi there!

Since yesterday, my macOS app shut down at launch.

Here is the error displayed :

The Metabase server terminated unexpectedly.

Messages:
INFO metabase.core :: Starting Metabase version v0.26.1 (dacff52 release-0.26.1) …
INFO metabase.core :: System timezone is ‘Europe/Paris’ …
WARN metabase.driver :: No -init-driver function found for ‘metabase.driver.google’
INFO metabase.core :: Setting up and migrating Metabase DB. Please sit tight, this may take a minute…
INFO metabase.db :: Verifying h2 Database Connection …
ERROR metabase.driver :: Failed to connect to database: org.h2.jdbc.JdbcSQLException: Database may be already in use: null. Possible solutions: close all other connection(s); use the server mode [90020-194]
java.lang.AssertionError: Assert failed: Unable to connect to Metabase h2 DB.
(binding [allow-potentailly-unsafe-connections true] (require (quote metabase.driver)) ((resolve (quote metabase.driver/can-connect-with-details?)) engine details))at metabase.db$verify_db_connection.invokeStatic(db.clj:334)
at metabase.db$verify_db_connection.invoke(db.clj:327)
at metabase.db$verify_db_connection.invokeStatic(db.clj:330)
at metabase.db$verify_db_connection.invoke(db.clj:327)
at metabase.db$setup_db_BANG_.invokeStatic(db.clj:382)
at metabase.db$setup_db_BANG_.doInvoke(db.clj:376)
at clojure.lang.RestFn.invoke(RestFn.java:421)
at metabase.core$init_BANG_.invokeStatic(core.clj:103)
at metabase.core$init_BANG_.invoke(core.clj:82)
at metabase.core$start_normally.invokeStatic(core.clj:187)
at metabase.core$start_normally.invoke(core.clj:181)
at metabase.core$_main.invokeStatic(core.clj:285)
at metabase.core$_main.doInvoke(core.clj:280)
at clojure.lang.RestFn.invoke(RestFn.java:397)
at clojure.lang.AFn.applyToHelper(AFn.java:152)
at clojure.lang.RestFn.applyTo(RestFn.java:132)
at metabase.core.main(Unknown Source)
ERROR metabase.core :: Metabase Initialization FAILED: Assert failed: Unable to connect to Metabase h2 DB.
(binding [allow-potentailly-unsafe-connections true] (require (quote metabase.driver)) ((resolve (quote metabase.driver/can-connect-with-details?)) engine details))
INFO metabase.core :: Metabase Shutting Down …
INFO metabase.core :: Metabase Shutdown COMPLETE

I have tried to reinstall the app with no improvement.

Do you have any idea what could be happening?

Thank for your help


#2

Hi, Helene! It looks like you’re running version 0.26.1, but the latest is version 0.29.3. When you say you’ve tried to reinstall the app, do you mean you downloaded the latest version from Metabase.com?


#3

Hi Maz!

Thank you for your answer. I just tried to reinstall with the latest version (and confirmed it was 0.29.3 that I run), and had almost the same error.


#4

You can kill java process with this instructions :

Search
> ps -ef | grep metabase

  503  **7011**     1   0 11:34   ??         1:43.62 /Volumes/.../Metabase.app/Contents/Resources/jre/bin/java -Djava.awt.headless=true -client -Xverify:none -jar /Volumes/.../Metabase.app/Contents/Resources/metabase.jar

Kill
> kill - 9 **7011**

Voila