{"action":"closed","issue":{"url":"https://api.github.com/repos/metabase/metabase/issues/4611","repository_url":"https://api.github.com/repos/metabase/metabase","labels_url":"https://api.github.com/repos/metabase/metabase/issues/4611/labels{/name}","comments_url":"https://api.github.com/repos/metabase/metabase/issues/4611/comments","events_url":"https://api.github.com/repos/metabase/metabase/issues/4611/events","html_url":"https://github.com/metabase/metabase/issues/4611","id":216826912,"number":4611,"title":"Upgrade to 0.23 fails with \"DB is not setup...\"","user":{"login":"calmyournerves","id":480921,"avatar_url":"https://avatars2.githubusercontent.com/u/480921?v=3","gravatar_id":"","url":"https://api.github.com/users/calmyournerves","html_url":"https://github.com/calmyournerves","followers_url":"https://api.github.com/users/calmyournerves/followers","following_url":"https://api.github.com/users/calmyournerves/following{/other_user}","gists_url":"https://api.github.com/users/calmyournerves/gists{/gist_id}","starred_url":"https://api.github.com/users/calmyournerves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calmyournerves/subscriptions","organizations_url":"https://api.github.com/users/calmyournerves/orgs","repos_url":"https://api.github.com/users/calmyournerves/repos","events_url":"https://api.github.com/users/calmyournerves/events{/privacy}","received_events_url":"https://api.github.com/users/calmyournerves/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-03-24T15:49:04Z","updated_at":"2017-03-24T16:58:39Z","closed_at":"2017-03-24T16:58:39Z","body":"Hey there!\r\n\r\nI just tried to update our Metabase installation (on Docker) to 0.23. When starting it, it throws a `java.lang.Exception: DB is not setup. Make sure to bind call set-default-db-connection! or bind *db-connection*.` and exits afterwards. Setting it back to 0.22.2 makes it work again.\r\n\r\nHere's the startup log output:\r\n\r\n```03-24 15:41:40 INFO metabase.util :: Loading Metabase...\r\n03-24 15:41:41 INFO util.encryption :: DB details encryption is DISABLED for this Metabase instance. 🔓\r\n03-24 15:41:50 INFO metabase.core :: Starting Metabase in STANDALONE mode\r\n03-24 15:41:50 INFO metabase.core :: Launching Embedded Jetty Webserver with config:\r\n {:port 3000, :host \"metabase-18-vjgjb\"}\r\n\r\n03-24 15:41:50 INFO metabase.core :: Starting Metabase version v0.23.0 (2f5faf1 release-0.23.0) ...\r\n03-24 15:41:50 INFO metabase.core :: System timezone is 'GMT' ...\r\n03-24 15:41:51 DEBUG metabase.driver :: Registered driver :bigquery 🚚\r\n03-24 15:41:51 DEBUG metabase.driver :: Registered driver :crate 🚚\r\n03-24 15:41:51 DEBUG metabase.driver :: Registered driver :druid 🚚\r\n03-24 15:41:51 DEBUG metabase.driver :: Registered driver :googleanalytics 🚚\r\n03-24 15:41:51 DEBUG metabase.driver :: Registered driver :h2 🚚\r\n03-24 15:41:51 DEBUG metabase.driver :: Registered driver :mongo 🚚\r\n03-24 15:41:51 DEBUG metabase.driver :: Registered driver :mysql 🚚\r\n03-24 15:41:51 DEBUG metabase.driver :: Registered driver :postgres 🚚\r\n03-24 15:41:51 DEBUG metabase.driver :: Registered driver :redshift 🚚\r\n03-24 15:41:51 DEBUG metabase.driver :: Registered driver :sqlite 🚚\r\n03-24 15:41:51 DEBUG metabase.driver :: Registered driver :sqlserver 🚚\r\n03-24 15:41:51 INFO metabase.db :: Verifying postgres Database Connection ...\r\n03-24 15:41:51 INFO metabase.db :: Verify Database Connection ...  ✅\r\n03-24 15:41:51 INFO metabase.db :: Running Database Migrations...\r\n03-24 15:41:51 INFO metabase.db :: Setting up Liquibase...\r\n03-24 15:41:51 INFO metabase.db :: Liquibase is ready.\r\n03-24 15:41:51 INFO metabase.db :: Checking if Database has unrun migrations...\r\n03-24 15:41:56 WARN server.HttpChannel :: /\r\njava.lang.Exception: DB is not setup. Make sure to bind call set-default-db-connection! or bind *db-connection*.\r\n\tat toucan.db$connection.invokeStatic(db.clj:91)\r\n\tat toucan.db$connection.invoke(db.clj:84)\r\n\tat toucan.db$query.invokeStatic(db.clj:237)\r\n\tat toucan.db$query.doInvoke(db.clj:233)\r\n\tat clojure.lang.RestFn.invoke(RestFn.java:410)\r\n\tat toucan.db$simple_select.invokeStatic(db.clj:301)\r\n\tat toucan.db$simple_select.invoke(db.clj:290)\r\n\tat toucan.db$select.invokeStatic(db.clj:538)\r\n\tat toucan.db$select.doInvoke(db.clj:532)\r\n\tat clojure.lang.RestFn.invoke(RestFn.java:410)\r\n\tat clojure.lang.AFn.applyToHelper(AFn.java:154)\r\n\tat clojure.lang.RestFn.applyTo(RestFn.java:132)\r\n\tat clojure.core$apply.invokeStatic(core.clj:648)\r\n\tat clojure.core$apply.invoke(core.clj:641)\r\n\tat toucan.db$select_field__GT_field.invokeStatic(db.clj:568)\r\n\tat toucan.db$select_field__GT_field.doInvoke(db.clj:561)\r\n\tat clojure.lang.RestFn.invoke(RestFn.java:445)\r\n\tat metabase.models.setting$restore_cache_if_needed_BANG_.invokeStatic(setting.clj:89)\r\n\tat metabase.models.setting$restore_cache_if_needed_BANG_.invoke(setting.clj:87)\r\n\tat metabase.models.setting$db_value.invokeStatic(setting.clj:117)\r\n\tat metabase.models.setting$db_value.invoke(setting.clj:114)\r\n\tat metabase.models.setting$get_string.invokeStatic(setting.clj:131)\r\n\tat metabase.models.setting$get_string.invoke(setting.clj:121)\r\n\tat clojure.core$partial$fn__4759.invoke(core.clj:2514)\r\n\tat metabase.models.setting$get.invokeStatic(setting.clj:168)\r\n\tat metabase.models.setting$get.invoke(setting.clj:164)\r\n\tat metabase.models.setting$setting_fn$fn__15391.invoke(setting.clj:282)\r\n\tat metabase.middleware$maybe_set_site_url$fn__34609.invoke(middleware.clj:264)\r\n\tat ring.middleware.cookies$wrap_cookies$fn__35456.invoke(cookies.clj:161)\r\n\tat ring.middleware.session$wrap_session$fn__35705.invoke(session.clj:103)\r\n\tat ring.middleware.gzip$wrap_gzip$fn__35485.invoke(gzip.clj:65)\r\n\tat ring.adapter.jetty$proxy_handler$fn__35329.invoke(jetty.clj:24)\r\n\tat ring.adapter.jetty.proxy$org.eclipse.jetty.server.handler.AbstractHandler$ff19274a.handle(Unknown Source)\r\n\tat org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)\r\n\tat org.eclipse.jetty.server.Server.handle(Server.java:497)\r\n\tat org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)\r\n\tat org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)\r\n\tat org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)\r\n\tat org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)\r\n\tat org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\n```\r\n\r\nWould be cool if you could look into it. Thank you!"}}
{"actor":{"display_login":"mazameli"}}