{"action":"created","issue":{"url":"https://api.github.com/repos/metabase/metabase/issues/6486","repository_url":"https://api.github.com/repos/metabase/metabase","labels_url":"https://api.github.com/repos/metabase/metabase/issues/6486/labels{/name}","comments_url":"https://api.github.com/repos/metabase/metabase/issues/6486/comments","events_url":"https://api.github.com/repos/metabase/metabase/issues/6486/events","html_url":"https://github.com/metabase/metabase/issues/6486","id":277447933,"number":6486,"title":"Database drivers missing (regardless of Java version used)","user":{"login":"arabold","id":1548229,"avatar_url":"https://avatars1.githubusercontent.com/u/1548229?v=4","gravatar_id":"","url":"https://api.github.com/users/arabold","html_url":"https://github.com/arabold","followers_url":"https://api.github.com/users/arabold/followers","following_url":"https://api.github.com/users/arabold/following{/other_user}","gists_url":"https://api.github.com/users/arabold/gists{/gist_id}","starred_url":"https://api.github.com/users/arabold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arabold/subscriptions","organizations_url":"https://api.github.com/users/arabold/orgs","repos_url":"https://api.github.com/users/arabold/repos","events_url":"https://api.github.com/users/arabold/events{/privacy}","received_events_url":"https://api.github.com/users/arabold/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-28T16:25:02Z","updated_at":"2017-11-28T17:37:22Z","closed_at":null,"author_association":"NONE","body":"For some reason it seems Metabase isn't loading any database drivers anymore other than for the already configured databases. When I try to add a new database in the admin panel the list shows only \"MySQL\" and \"Postgres\" (which I have configured in an earlier version of Metabase). Everything else is missing; in particular I wanted to add a Redshift database.\r\n\r\nI've found issue #2881 which _seems_ similar, but I've tested using both `java-1.7.0` and `java-1.8.0` packages without luck.\r\n\r\nMy system is an Amazon Linux EC2 instance.\r\n\r\nCalling `java -version` shows this:\r\n```\r\nopenjdk version \"1.8.0_151\"\r\nOpenJDK Runtime Environment (build 1.8.0_151-b12)\r\nOpenJDK 64-Bit Server VM (build 25.151-b12, mixed mode)\r\n```\r\n\r\nIm starting Metabase using Postgres as configuration database (`MB_DB_TYPE=postgres`, etc.) and with encryption enabled (`MB_ENCRYPTION_SECRET_KET=...`) as a non-root user on port 8080.\r\n\r\nMetabase starts up fine and shows no errors in the log even when running with `log4j.logger.metabase=DEBUG`. For some reason it only seems to load the `postgres` driver:\r\n```\r\n11-28 15:50:54 INFO metabase.util :: Loading Metabase...\r\n11-28 15:51:02 INFO util.encryption :: DB details encryption is ENABLED for this Metabase instance. 🔐 \r\nSee http://www.metabase.com/docs/latest/operations-guide/start.html#encrypting-your-database-connection-details-at-rest for more information.\r\n11-28 15:51:15 INFO metabase.core :: Starting Metabase in STANDALONE mode\r\n11-28 15:51:15 INFO metabase.core :: Launching Embedded Jetty Webserver with config:\r\n {:port 80}\r\n\r\n11-28 15:51:15 INFO metabase.core :: Starting Metabase version v0.26.2 (3b65f11 release-0.26.2) ...\r\n11-28 15:51:15 INFO metabase.core :: System timezone is 'Zulu' ...\r\n11-28 15:51:15 INFO metabase.core :: Setting up and migrating Metabase DB. Please sit tight, this may take a minute...\r\n11-28 15:51:15 INFO metabase.db :: Verifying postgres Database Connection ...\r\n11-28 15:51:15 DEBUG metabase.driver :: Registered driver :postgres 🚚\r\n11-28 15:51:17 INFO metabase.db :: Verify Database Connection ...  ✅\r\n11-28 15:51:17 INFO metabase.db :: Running Database Migrations...\r\n11-28 15:51:17 INFO metabase.db :: Setting up Liquibase...\r\n11-28 15:51:17 INFO metabase.db :: Liquibase is ready.\r\n11-28 15:51:17 INFO metabase.db :: Checking if Database has unrun migrations...\r\n11-28 15:51:20 INFO metabase.db :: Database Migrations Current ...  ✅\r\ncom.mchange.v2.cfg.DelayedLogItem [ level -> FINE, text -> \"The configuration file for resource identifier 'hocon:/reference,/application,/c3p0,/' could not be found. Skipping.\", exception -> null]\r\n11-28 15:51:21 INFO db.migrations :: Running all necessary data migrations, this may take a minute.\r\n11-28 15:51:21 INFO db.migrations :: Finished running data migrations.\r\n11-28 15:51:21 DEBUG metabase.task :: Starting Quartz Scheduler\r\n11-28 15:51:21 INFO metabase.metabot :: Starting MetaBot WebSocket monitor thread...\r\n11-28 15:51:21 DEBUG metabase.metabot :: MetaBot WebSocket is closed. Reconnecting now.\r\n11-28 15:51:21 INFO metabase.core :: Metabase Initialization COMPLETE\r\n```\r\n\r\nThere is no console output in the browser window (Chrome).\r\n\r\nAny suggestions?"},"comment":{"url":"https://api.github.com/repos/metabase/metabase/issues/comments/347602506","html_url":"https://github.com/metabase/metabase/issues/6486#issuecomment-347602506","issue_url":"https://api.github.com/repos/metabase/metabase/issues/6486","id":347602506,"user":{"login":"camsaul","id":1455846,"avatar_url":"https://avatars3.githubusercontent.com/u/1455846?v=4","gravatar_id":"","url":"https://api.github.com/users/camsaul","html_url":"https://github.com/camsaul","followers_url":"https://api.github.com/users/camsaul/followers","following_url":"https://api.github.com/users/camsaul/following{/other_user}","gists_url":"https://api.github.com/users/camsaul/gists{/gist_id}","starred_url":"https://api.github.com/users/camsaul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camsaul/subscriptions","organizations_url":"https://api.github.com/users/camsaul/orgs","repos_url":"https://api.github.com/users/camsaul/repos","events_url":"https://api.github.com/users/camsaul/events{/privacy}","received_events_url":"https://api.github.com/users/camsaul/received_events","type":"User","site_admin":false},"created_at":"2017-11-28T17:37:22Z","updated_at":"2017-11-28T17:37:22Z","author_association":"OWNER","body":"How are you running Metabase? With the JAR?"}}
{"actor":{"display_login":"camsaul"}}