Unable to read some table : Distinct, non-empty sequence of Field clauses

Hi all, I have a problem.

Describe the bug
Unable to read table data.

Logs

12-22 16:58:57 ESC[1mWARN middleware.process-userland-queryESC[0m :: 查询失败 ESC[31m{:status :failed,
 :class clojure.lang.ExceptionInfo,
 :error "Distinct, non-empty sequence of Field clauses",
 :stacktrace
 ("--> query_processor.middleware.add_implicit_clauses$fn__38233$sorted_implicit_fields_for_table__38238.invoke(add_implicit_clauses.clj:48)"
  "query_processor.middleware.add_implicit_clauses$fn__38341$add_implicit_fields__38346$fn__38350.invoke(add_implicit_clauses.clj:93)"
  "query_processor.middleware.add_implicit_clauses$fn__38341$add_implicit_fields__38346.invoke(add_implicit_clauses.clj:86)"
  "query_processor.middleware.add_implicit_clauses$fn__38429$add_implicit_mbql_clauses__38434$fn__38438.invoke(add_implicit_clauses.clj:130)"
  "query_processor.middleware.add_implicit_clauses$fn__38429$add_implicit_mbql_clauses__38434.invoke(add_implicit_clauses.clj:126)"
  "query_processor.middleware.add_implicit_clauses$maybe_add_implicit_clauses.invokeStatic(add_implicit_clauses.clj:141)"
  "query_processor.middleware.add_implicit_clauses$maybe_add_implicit_clauses.invoke(add_implicit_clauses.clj:137)"
  "query_processor.middleware.add_source_metadata$add_source_metadata_for_source_queries$fn__38866.invoke(add_source_metadata.clj:107)"
  "query_processor.middleware.resolve_source_table$resolve_source_tables$fn__43480.invoke(resolve_source_table.clj:46)"
  "query_processor.middleware.add_row_count_and_status$add_row_count_and_status$fn__38703.invoke(add_row_count_and_status.clj:16)"
  "query_processor.middleware.driver_specific$process_query_in_context$fn__41578.invoke(driver_specific.clj:12)"
  "query_processor.middleware.resolve_driver$resolve_driver$fn__43094.invoke(resolve_driver.clj:22)"
  "query_processor.middleware.store$initialize_store$fn__46220$fn__46221.invoke(store.clj:11)"
  "query_processor.store$do_with_store.invokeStatic(store.clj:46)"
  "query_processor.store$do_with_store.invoke(store.clj:40)"
  "query_processor.middleware.store$initialize_store$fn__46220.invoke(store.clj:10)"
  "query_processor.middleware.async$async__GT_sync$fn__37366.invoke(async.clj:23)"
  "query_processor.middleware.async_wait$runnable$fn__40619.invoke(async_wait.clj:89)"),
 :query
 {:query {:source-table 1440},
  :type "query",
  :parameters [],
  :async? true,
  :middleware {:add-default-userland-constraints? true, :userland-query? true},
  :info
  {:executed-by 67,
   :context :ad-hoc,
   :card-id nil,
   :nested? false,
   :query-hash [59, -74, -13, -66, 127, -15, 36, -124, -3, 75, 4, -82, 59, 110, -55, 24, -11, -12, -76, -89, 51, -70, 16, -101, -96, -125, -51, 48, -62, -51, 2, 109]},
  :constraints {:max-results 10000, :max-results-bare-rows 2000}},
 :preprocessed nil,
 :native nil,
 :ex-data {:type :schema.core/error, :value (), :error (named (not ("Non-empty" a-clojure.lang.LazySeq)) "Distinct, non-empty sequence of Field clauses")}}

To Reproduce
Steps to reproduce the behavior:

  1. Login
  2. Click on ‘OUR DATA’ -> database
  3. Click on a databse
  4. Click on a table

Expected behavior
Display the queried data.

Screenshots

Severity
Unable to read the data, I tried to upgrade to the latest version, but after the upgrade could not open the home page

Metabase Diagnostic Info

{
  "browser-info": {
    "language": "zh-CN",
    "platform": "MacIntel",
    "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36",
    "vendor": "Google Inc."
  },
  "system-info": {
    "java.runtime.name": "OpenJDK Runtime Environment",
    "java.runtime.version": "1.8.0_275-8u275-b01-0ubuntu1~16.04-b01",
    "java.vendor": "Private Build",
    "java.vendor.url": "http://java.oracle.com/", 
    "java.version": "1.8.0_275",
    "java.vm.name": "OpenJDK 64-Bit Server VM",
    "java.vm.version": "25.275-b01",
    "os.name": "Linux",
    "os.version": "4.11.0-14-generic",
    "user.language": "zh",
    "user.timezone": "Asia/Shanghai"
  },
  "metabase-info": {
    "databases": [
      "mysql",
      "h2"
    ],
    "hosting-env": "unknown",
    "application-database": "mysql",
    "application-database-details": {
      "database": {
        "name": "MySQL",
        "version": "5.7.28-log"
      },
      "jdbc-driver": {
        "name": "MariaDB Connector/J",
        "version": "2.5.1"
      }
    },
    "run-mode": "prod",
    "version": {
      "tag": "v0.34.3",
      "date": "2020-02-25",
      "branch": "release-0.34.x",
      "hash": "1a83edb"
    },
    "settings": {
      "report-timezone": "Asia/Hong_Kong"
    }
  }
}

Hi @anduin
Upgrade to latest release - 0.37.4 - remember to backup before upgrading.
And post the entire startup log if you are having problems with upgrading.

Thanks you reply.
After I upgraded to the latest version, this information was on the home page of the visit.

{"via":[{"type":"java.lang.Exception","message":"无效的值:内容必须为“true”或“false”(不区分大小写)。","at":["metabase.models.setting$string__GT_boolean","invokeStatic","setting.clj",203]}],"trace":[["metabase.models.setting$string__GT_boolean","invokeStatic","setting.clj",203],["metabase.models.setting$string__GT_boolean","invoke","setting.clj",195],["metabase.models.setting$get_boolean","invokeStatic","setting.clj",213],["metabase.models.setting$get_boolean","invoke","setting.clj",205],["clojure.core$partial$fn__5839","invoke","core.clj",2623],["metabase.models.setting$get","invokeStatic","setting.clj",263],["metabase.models.setting$get","invoke","setting.clj",255],["metabase.models.setting$properties$fn__22336","invoke","setting.clj",681],["clojure.core$map$fn__5866","invoke","core.clj",2755],["clojure.lang.LazySeq","sval","LazySeq.java",42],["clojure.lang.LazySeq","seq","LazySeq.java",51],["clojure.lang.Cons","next","Cons.java",39],["clojure.lang.RT","next","RT.java",713],["clojure.core$next__5386","invokeStatic","core.clj",64],["clojure.core.protocols$fn__8159","invokeStatic","protocols.clj",169],["clojure.core.protocols$fn__8159","invoke","protocols.clj",124],["clojure.core.protocols$fn__8114$G__8109__8123","invoke","protocols.clj",19],["clojure.core.protocols$seq_reduce","invokeStatic","protocols.clj",31],["clojure.core.protocols$fn__8146","invokeStatic","protocols.clj",75],["clojure.core.protocols$fn__8146","invoke","protocols.clj",75],["clojure.core.protocols$fn__8088$G__8083__8101","invoke","protocols.clj",13],["clojure.core$reduce","invokeStatic","core.clj",6828],["clojure.core$into","invokeStatic","core.clj",6895],["clojure.core$into","invoke","core.clj",6887],["metabase.models.setting$properties","invokeStatic","setting.clj",682],["metabase.models.setting$properties","invoke","setting.clj",675],["metabase.routes.index$load_entrypoint_template","invokeStatic","index.clj",76],["metabase.routes.index$load_entrypoint_template","invoke","index.clj",73],["metabase.routes.index$entrypoint","invokeStatic","index.clj",99],["metabase.routes.index$entrypoint","invoke","index.clj",94],["clojure.core$partial$fn__5841","invoke","core.clj",2633],["compojure.response$fn__377","invokeStatic","response.clj",70],["compojure.response$fn__377","invoke","response.clj",67],["compojure.response$fn__335$G__330__346","invoke","response.clj",17],["compojure.response$send","invokeStatic","response.clj",27],["compojure.response$send","invoke","response.clj",22],["compojure.core$wrap_response$fn__1993","invoke","core.clj",160],["compojure.core$wrap_route_middleware$fn__1977","invoke","core.clj",132],["compojure.core$wrap_route_info$fn__1982","invoke","core.clj",139],["compojure.core$wrap_route_matches$fn__1986","invoke","core.clj",151],["compojure.core$routes$fn__2005$f__2006","invoke","core.clj",198],["compojure.core$routes$fn__2005$f__2006$respond_SINGLEQUOTE___2007","invoke","core.clj",197],["metabase.routes$fn__74343$fn__74345","invoke","routes.clj",44],["compojure.core$routes$fn__2005$f__2006","invoke","core.clj",198],["compojure.core$routes$fn__2005","invoke","core.clj",200],["metabase.middleware.exceptions$catch_uncaught_exceptions$fn__73018","invoke","exceptions.clj",96],["metabase.middleware.exceptions$catch_api_exceptions$fn__73015","invoke","exceptions.clj",84],["metabase.middleware.log$log_api_call$fn__74803","invoke","log.clj",189],["metabase.middleware.security$add_security_headers$fn__72981","invoke","security.clj",143],["metabase.middleware.json$wrap_json_body$fn__74506","invoke","json.clj",66],["metabase.middleware.json$wrap_streamed_json_response$fn__74524","invoke","json.clj",100],["ring.middleware.keyword_params$wrap_keyword_params$fn__75069","invoke","keyword_params.clj",55],["ring.middleware.params$wrap_params$fn__75085","invoke","params.clj",69],["metabase.middleware.misc$maybe_set_site_url$fn__34511","invoke","misc.clj",59],["metabase.middleware.session$bind_current_user$fn__69485$fn__69486","invoke","session.clj",278],["metabase.middleware.session$do_with_current_user","invokeStatic","session.clj",260],["metabase.middleware.session$do_with_current_user","invoke","session.clj",252],["metabase.middleware.session$bind_current_user$fn__69485","invoke","session.clj",277],["metabase.middleware.session$wrap_current_user_info$fn__69472","invoke","session.clj",238],["metabase.middleware.session$wrap_session_id$fn__69458","invoke","session.clj",184],["metabase.middleware.auth$wrap_api_key$fn__72914","invoke","auth.clj",27],["ring.middleware.cookies$wrap_cookies$fn__74989","invoke","cookies.clj",216],["metabase.middleware.misc$add_content_type$fn__34496","invoke","misc.clj",28],["metabase.middleware.misc$disable_streaming_buffering$fn__34519","invoke","misc.clj",76],["ring.middleware.gzip$wrap_gzip$fn__75031","invoke","gzip.clj",86],["metabase.middleware.misc$bind_request$fn__34522","invoke","misc.clj",93],["metabase.middleware.ssl$redirect_to_https_middleware$fn__74820","invoke","ssl.clj",39],["metabase.server$async_proxy_handler$fn__74581","invoke","server.clj",72],["metabase.server.proxy$org.eclipse.jetty.server.handler.AbstractHandler$ff19274a","handle",null,-1],["org.eclipse.jetty.server.handler.HandlerWrapper","handle","HandlerWrapper.java",127],["org.eclipse.jetty.server.Server","handle","Server.java",516],["org.eclipse.jetty.server.HttpChannel","lambda$handle$1","HttpChannel.java",383],["org.eclipse.jetty.server.HttpChannel","dispatch","HttpChannel.java",556],["org.eclipse.jetty.server.HttpChannel","handle","HttpChannel.java",375],["org.eclipse.jetty.server.HttpConnection","onFillable","HttpConnection.java",273],["org.eclipse.jetty.io.AbstractConnection$ReadCallback","succeeded","AbstractConnection.java",311],["org.eclipse.jetty.io.FillInterest","fillable","FillInterest.java",105],["org.eclipse.jetty.io.ChannelEndPoint$1","run","ChannelEndPoint.java",104],["org.eclipse.jetty.util.thread.strategy.EatWhatYouKill","runTask","EatWhatYouKill.java",336],["org.eclipse.jetty.util.thread.strategy.EatWhatYouKill","doProduce","EatWhatYouKill.java",313],["org.eclipse.jetty.util.thread.strategy.EatWhatYouKill","tryProduce","EatWhatYouKill.java",171],["org.eclipse.jetty.util.thread.strategy.EatWhatYouKill","run","EatWhatYouKill.java",129],["org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread","run","ReservedThreadExecutor.java",375],["org.eclipse.jetty.util.thread.QueuedThreadPool","runJob","QueuedThreadPool.java",773],["org.eclipse.jetty.util.thread.QueuedThreadPool$Runner","run","QueuedThreadPool.java",905],["java.lang.Thread","run","Thread.java",748]],"cause":"无效的值:内容必须为“true”或“false”(不区分大小写)。","message":"无效的值:内容必须为“true”或“false”(不区分大小写)。","type":"class java.lang.Exception"}

@anduin I’m sure that there are errors/warnings in the log during startup. Have you used or changed MB_ENCRYPTION_SECRET_KEY ?

Yes, I used MB_ENCRYPTION_SECRET_KEY and have changed it.

That is my startup log :

2020-12-22 20:10:11,036 INFO metabase.util :: Maximum memory available to JVM: 1.7 GB
2020-12-22 20:10:20,723 INFO util.encryption :: Saved credentials encryption is ENABLED for this Metabase instance. 🔐
 For more information, see https://metabase.com/docs/latest/operations-guide/encrypting-database-details-at-rest.html
2020-12-22 20:10:23,040 INFO metabase.util :: Maximum memory available to JVM: 1.7 GB
2020-12-22 20:10:32,923 INFO util.encryption :: Saved credentials encryption is ENABLED for this Metabase instance. 🔐
 For more information, see https://metabase.com/docs/latest/operations-guide/encrypting-database-details-at-rest.html
2020-12-22 20:10:37,864 INFO metabase.core ::
Metabase v0.37.4 (e0d5287 release-x.37.x)

Copyright © 2020 Metabase, Inc.

Metabase Enterprise Edition extensions are NOT PRESENT.
2020-12-22 20:10:37,872 WARN metabase.core :: WARNING: You have enabled namespace tracing, which could log sensitive information like db passwords.
2020-12-22 20:10:37,872 INFO metabase.core :: Starting Metabase in STANDALONE mode
2020-12-22 20:10:37,909 INFO metabase.server :: Launching Embedded Jetty Webserver with config:
 {:port 3000, :host "0.0.0.0"}

2020-12-22 20:10:37,936 INFO metabase.core :: Starting Metabase version v0.37.4 (e0d5287 release-x.37.x) ...
2020-12-22 20:10:37,972 INFO metabase.core :: System info:
 {"file.encoding" "UTF-8",
 "java.runtime.name" "OpenJDK Runtime Environment",
 "java.runtime.version" "1.8.0_275-8u275-b01-0ubuntu1~18.04-b01",
 "java.vendor" "Private Build",
 "java.vendor.url" "http://java.oracle.com/",
 "java.version" "1.8.0_275",
 "java.vm.name" "OpenJDK 64-Bit Server VM",
 "java.vm.version" "25.275-b01",
 "os.name" "Linux",
 "os.version" "4.15.0-106-generic",
 "user.language" "en",
 "user.timezone" "Asia/Shanghai"}

2020-12-22 20:10:37,974 INFO metabase.plugins :: Loading plugins in /home/web/metabse/plugins...
2020-12-22 20:10:38,247 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :google...
2020-12-22 20:10:38,248 INFO driver.impl :: Registered abstract driver :google  🚚
2020-12-22 20:10:38,252 INFO plugins.dependencies :: Plugin 'Metabase BigQuery Driver' depends on plugin 'Metabase Google Drivers Shared Dependencies'
2020-12-22 20:10:38,253 INFO plugins.dependencies :: Metabase BigQuery Driver dependency {:plugin Metabase Google Drivers Shared Dependencies} satisfied? true
2020-12-22 20:10:38,254 WARN plugins.lazy-loaded-driver :: Warning: plugin manifest for :bigquery does not include connection properties
2020-12-22 20:10:38,254 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :bigquery...
2020-12-22 20:10:38,351 INFO driver.impl :: Registered abstract driver :sql  🚚
Load driver :sql took 98.7 ms
2020-12-22 20:10:38,360 INFO driver.impl :: Registered driver :bigquery (parents: [:sql :google]) 🚚
2020-12-22 20:10:38,364 INFO plugins.dependencies :: Metabase cannot initialize plugin Metabase Vertica Driver due to required dependencies. Metabase requires the Vertica JDBC driver in order to connect to Vertica databases, but we can't ship it as part of Metabase due to licensing restrictions. See https://metabase.com/docs/latest/administration-guide/databases/vertica.html for more details.

2020-12-22 20:10:38,365 INFO plugins.dependencies :: Metabase Vertica Driver dependency {:class com.vertica.jdbc.Driver} satisfied? false
2020-12-22 20:10:38,366 INFO plugins.dependencies :: Plugins with unsatisfied deps: ["Metabase Vertica Driver"]
2020-12-22 20:10:38,370 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :druid...
2020-12-22 20:10:38,370 INFO driver.impl :: Registered driver :druid  🚚
2020-12-22 20:10:38,376 INFO plugins.dependencies :: Plugin 'Metabase Google Analytics Driver' depends on plugin 'Metabase Google Drivers Shared Dependencies'
2020-12-22 20:10:38,378 INFO plugins.dependencies :: Metabase Google Analytics Driver dependency {:plugin Metabase Google Drivers Shared Dependencies} satisfied? true
2020-12-22 20:10:38,379 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :googleanalytics...
2020-12-22 20:10:38,379 INFO driver.impl :: Registered driver :googleanalytics (parents: [:google]) 🚚
2020-12-22 20:10:38,385 INFO plugins.dependencies :: 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.

2020-12-22 20:10:38,385 INFO plugins.dependencies :: Metabase Oracle Driver dependency {:class oracle.jdbc.OracleDriver} satisfied? false
2020-12-22 20:10:38,386 INFO plugins.dependencies :: Plugins with unsatisfied deps: ["Metabase Oracle Driver" "Metabase Vertica Driver"]
2020-12-22 20:10:38,403 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :snowflake...
2020-12-22 20:10:38,456 INFO driver.impl :: Registered abstract driver :sql-jdbc (parents: [:sql]) 🚚
Load driver :sql-jdbc took 55.2 ms
2020-12-22 20:10:38,459 INFO driver.impl :: Registered driver :snowflake (parents: [:sql-jdbc]) 🚚
2020-12-22 20:10:38,470 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :sqlserver...
2020-12-22 20:10:38,470 INFO driver.impl :: Registered driver :sqlserver (parents: [:sql-jdbc]) 🚚
2020-12-22 20:10:38,496 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :hive-like...
2020-12-22 20:10:38,498 INFO driver.impl :: Registered abstract driver :hive-like (parents: [:sql-jdbc]) 🚚
2020-12-22 20:10:38,500 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :sparksql...
2020-12-22 20:10:38,500 INFO driver.impl :: Registered driver :sparksql (parents: [:hive-like]) 🚚
2020-12-22 20:10:38,509 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :mongo...
2020-12-22 20:10:38,513 INFO driver.impl :: Registered driver :mongo  🚚
2020-12-22 20:10:38,517 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :sqlite...
2020-12-22 20:10:38,518 INFO driver.impl :: Registered driver :sqlite (parents: [:sql-jdbc]) 🚚
2020-12-22 20:10:38,522 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :redshift...
2020-12-22 20:10:38,531 INFO driver.impl :: Registered driver :postgres (parents: [:sql-jdbc]) 🚚
Load driver :postgres took 19.7 ms
2020-12-22 20:10:38,543 INFO driver.impl :: Registered driver :redshift (parents: [:postgres]) 🚚
2020-12-22 20:10:38,546 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :presto...
2020-12-22 20:10:38,547 INFO driver.impl :: Registered driver :presto (parents: [:sql]) 🚚
2020-12-22 20:10:38,553 INFO driver.impl :: Registered driver :h2 (parents: [:sql-jdbc]) 🚚
2020-12-22 20:10:38,567 INFO driver.impl :: Registered driver :mysql (parents: [:sql-jdbc]) 🚚
2020-12-22 20:10:38,578 INFO metabase.core :: Setting up and migrating Metabase DB. Please sit tight, this may take a minute...
2020-12-22 20:10:38,581 INFO metabase.db :: Verifying mysql Database Connection ...
2020-12-22 20:10:38,585 INFO driver.impl :: Initializing driver :sql...
2020-12-22 20:10:38,586 INFO driver.impl :: Initializing driver :sql-jdbc...
2020-12-22 20:10:38,586 INFO driver.impl :: Initializing driver :mysql...
2020-12-22 20:10:38,679 INFO metabase.db :: Successfully verified MySQL 5.7.28-log application database connection. ✅
2020-12-22 20:10:38,680 INFO metabase.db :: Running Database Migrations...
2020-12-22 20:10:38,691 INFO metabase.db :: Setting up Liquibase...
2020-12-22 20:10:38,724 INFO metabase.db :: Liquibase is ready.
2020-12-22 20:10:38,724 INFO db.liquibase :: Checking if Database has unrun migrations...
2020-12-22 20:10:39,996 INFO db.liquibase :: Database has unrun migrations. Waiting for migration lock to be cleared...
2020-12-22 20:10:40,003 INFO db.liquibase :: Migration lock is cleared. Running migrations...
2020-12-22 20:10:40,078 INFO metabase.db :: Database Migrations Current ...  ✅
2020-12-22 20:10:40,158 INFO db.migrations :: Running all necessary data migrations, this may take a minute.
2020-12-22 20:10:40,228 INFO db.migrations :: Finished running data migrations.
Database setup took 1.7 s
2020-12-22 20:10:40,412 WARN util.encryption :: Cannot decrypt encrypted string. Have you changed or forgot to set MB_ENCRYPTION_SECRET_KEY? Message seems corrupt or manipulated. ["buddy.core.crypto$fn__28584.invokeStatic(crypto.clj:489)"
 "buddy.core.crypto$fn__28584.invoke(crypto.clj:478)"
 "clojure.lang.MultiFn.invoke(MultiFn.java:229)"
 "buddy.core.crypto$decrypt.invokeStatic(crypto.clj:572)"
 "buddy.core.crypto$decrypt.invoke(crypto.clj:559)"
 "--> util.encryption$decrypt.invokeStatic(encryption.clj:65)"
 "util.encryption$decrypt.invoke(encryption.clj:57)"
 "util.encryption$maybe_decrypt.invokeStatic(encryption.clj:109)"
 "util.encryption$maybe_decrypt.doInvoke(encryption.clj:97)"
 "models.setting.cache$restore_cache_BANG_.invokeStatic(cache.clj:124)"
 "models.setting.cache$restore_cache_BANG_.invoke(cache.clj:120)"
 "models.setting.cache$restore_cache_if_needed_BANG_.invokeStatic(cache.clj:152)"
 "models.setting.cache$restore_cache_if_needed_BANG_.invoke(cache.clj:128)"
 "models.setting$db_or_cache_value.invokeStatic(setting.clj:176)"
 "models.setting$db_or_cache_value.invoke(setting.clj:170)"
 "models.setting$get_string.invokeStatic(setting.clj:189)"
 "models.setting$get_string.invoke(setting.clj:179)"
 "util.i18n.impl$fn__7793$f__7794.invoke(impl.clj:156)"
 "util.i18n.impl$fn__7793.invokeStatic(impl.clj:158)"
 "util.i18n.impl$fn__7793.invoke(impl.clj:150)"
 "util.i18n.impl$site_locale_from_setting.invokeStatic(impl.clj:163)"
 "util.i18n.impl$site_locale_from_setting.invoke(impl.clj:160)"
 "util.i18n$site_locale.invokeStatic(i18n.clj:31)"
 "util.i18n$site_locale.invoke(i18n.clj:28)"
 "util.i18n$translate_site_locale.invokeStatic(i18n.clj:52)"
 "util.i18n$translate_site_locale.doInvoke(i18n.clj:49)"
 "util.i18n.SiteLocalizedString.toString(i18n.clj:75)"
 "events$find_and_load_event_handlers_BANG_.invokeStatic(events.clj:39)"
 "events$find_and_load_event_handlers_BANG_.invoke(events.clj:32)"
 "events$initialize_events_BANG_.invokeStatic(events.clj:49)"
 "events$initialize_events_BANG_.invoke(events.clj:45)"
 "core$init_BANG_.invokeStatic(core.clj:104)"
 "core$init_BANG_.invoke(core.clj:75)"
 "core$start_normally.invokeStatic(core.clj:140)"
 "core$start_normally.invoke(core.clj:134)"
 "core$_main.invokeStatic(core.clj:173)"
 "core$_main.doInvoke(core.clj:167)"
 "core.main(Unknown Source)"]

2020-12-22 20:10:40,486 WARN util.encryption :: Cannot decrypt encrypted string. Have you changed or forgot to set MB_ENCRYPTION_SECRET_KEY? Message seems corrupt or manipulated. ["buddy.core.crypto$fn__28584.invokeStatic(crypto.clj:489)"
 "buddy.core.crypto$fn__28584.invoke(crypto.clj:478)"
 "clojure.lang.MultiFn.invoke(MultiFn.java:229)"
 "buddy.core.crypto$decrypt.invokeStatic(crypto.clj:572)"
 "buddy.core.crypto$decrypt.invoke(crypto.clj:559)"
 "--> util.encryption$decrypt.invokeStatic(encryption.clj:65)"
 "util.encryption$decrypt.invoke(encryption.clj:57)"
 "util.encryption$maybe_decrypt.invokeStatic(encryption.clj:109)"
 "util.encryption$maybe_decrypt.doInvoke(encryption.clj:97)"
 "models.setting.cache$restore_cache_BANG_.invokeStatic(cache.clj:124)"
 "models.setting.cache$restore_cache_BANG_.invoke(cache.clj:120)"
 "models.setting.cache$restore_cache_if_needed_BANG_.invokeStatic(cache.clj:152)"
 "models.setting.cache$restore_cache_if_needed_BANG_.invoke(cache.clj:128)"
 "models.setting$db_or_cache_value.invokeStatic(setting.clj:176)"
 "models.setting$db_or_cache_value.invoke(setting.clj:170)"
 "models.setting$get_string.invokeStatic(setting.clj:189)"
 "models.setting$get_string.invoke(setting.clj:179)"
 "util.i18n.impl$fn__7793$f__7794.invoke(impl.clj:156)"
 "util.i18n.impl$fn__7793.invokeStatic(impl.clj:158)"
 "util.i18n.impl$fn__7793.invoke(impl.clj:150)"
 "util.i18n.impl$site_locale_from_setting.invokeStatic(impl.clj:163)"
 "util.i18n.impl$site_locale_from_setting.invoke(impl.clj:160)"
 "util.i18n$site_locale.invokeStatic(i18n.clj:31)"
 "util.i18n$site_locale.invoke(i18n.clj:28)"
 "util.i18n$translate_site_locale.invokeStatic(i18n.clj:52)"
 "util.i18n$translate_site_locale.doInvoke(i18n.clj:49)"
 "util.i18n.SiteLocalizedString.toString(i18n.clj:75)"
 "events$find_and_load_event_handlers_BANG_.invokeStatic(events.clj:39)"
 "events$find_and_load_event_handlers_BANG_.invoke(events.clj:32)"
 "events$initialize_events_BANG_.invokeStatic(events.clj:49)"
 "events$initialize_events_BANG_.invoke(events.clj:45)"
 "core$init_BANG_.invokeStatic(core.clj:104)"
 "core$init_BANG_.invoke(core.clj:75)"
 "core$start_normally.invokeStatic(core.clj:140)"
 "core$start_normally.invoke(core.clj:134)"
 "core$_main.invokeStatic(core.clj:173)"
 "core$_main.doInvoke(core.clj:167)"
 "core.main(Unknown Source)"]

2020-12-22 20:10:40,549 WARN util.encryption :: Cannot decrypt encrypted string. Have you changed or forgot to set MB_ENCRYPTION_SECRET_KEY? Message seems corrupt or manipulated. ["buddy.core.crypto$fn__28584.invokeStatic(crypto.clj:489)"
 "buddy.core.crypto$fn__28584.invoke(crypto.clj:478)"
 "clojure.lang.MultiFn.invoke(MultiFn.java:229)"
 "buddy.core.crypto$decrypt.invokeStatic(crypto.clj:572)"
 "buddy.core.crypto$decrypt.invoke(crypto.clj:559)"
 "--> util.encryption$decrypt.invokeStatic(encryption.clj:65)"
 "util.encryption$decrypt.invoke(encryption.clj:57)"
 "util.encryption$maybe_decrypt.invokeStatic(encryption.clj:109)"
 "util.encryption$maybe_decrypt.doInvoke(encryption.clj:97)"
 "models.setting.cache$restore_cache_BANG_.invokeStatic(cache.clj:124)"
 "models.setting.cache$restore_cache_BANG_.invoke(cache.clj:120)"
 "models.setting.cache$restore_cache_if_needed_BANG_.invokeStatic(cache.clj:152)"
 "models.setting.cache$restore_cache_if_needed_BANG_.invoke(cache.clj:128)"
 "models.setting$db_or_cache_value.invokeStatic(setting.clj:176)"
 "models.setting$db_or_cache_value.invoke(setting.clj:170)"
 "models.setting$get_string.invokeStatic(setting.clj:189)"
 "models.setting$get_string.invoke(setting.clj:179)"
 "util.i18n.impl$fn__7793$f__7794.invoke(impl.clj:156)"
 "util.i18n.impl$fn__7793.invokeStatic(impl.clj:158)"
 "util.i18n.impl$fn__7793.invoke(impl.clj:150)"
 "util.i18n.impl$site_locale_from_setting.invokeStatic(impl.clj:163)"
 "util.i18n.impl$site_locale_from_setting.invoke(impl.clj:160)"
 "util.i18n$site_locale.invokeStatic(i18n.clj:31)"
 "util.i18n$site_locale.invoke(i18n.clj:28)"
 "util.i18n$translate_site_locale.invokeStatic(i18n.clj:52)"
 "util.i18n$translate_site_locale.doInvoke(i18n.clj:49)"
 "util.i18n.SiteLocalizedString.toString(i18n.clj:75)"
 "events$find_and_load_event_handlers_BANG_.invokeStatic(events.clj:39)"
 "events$find_and_load_event_handlers_BANG_.invoke(events.clj:32)"
 "events$initialize_events_BANG_.invokeStatic(events.clj:49)"
 "events$initialize_events_BANG_.invoke(events.clj:45)"
 "core$init_BANG_.invokeStatic(core.clj:104)"
 "core$init_BANG_.invoke(core.clj:75)"
 "core$start_normally.invokeStatic(core.clj:140)"
 "core$start_normally.invoke(core.clj:134)"
 "core$_main.invokeStatic(core.clj:173)"
 "core$_main.doInvoke(core.clj:167)"
 "core.main(Unknown Source)"]

It’s strange that I’ve already exported it, Here is my startup script

export MB_DB_TYPE=mysql
export MB_DB_DBNAME=metabase
export MB_DB_PORT=xxx
export MB_DB_USER=xxx
export MB_DB_PASS=xxx
export MB_DB_HOST=xxx
# A new one. Generated by openssl rand -base64 32 
export MB_ENCRYPTION_SECRET_KEY=CGuP****************************************
#Ukbw**************************************** old one

export MB_JETTY_PORT=3000
export MB_JETTY_HOST=0.0.0.0

pid=`ps aux | grep "metabase_jar" | awk '{print $2}'`
kill -9 $pid

nohup java -jar metabase_jar/metabase_0.37.4.jar >> metabase.log 2>&1 &
tail -fn 200 metabase.log

@anduin You cannot change the encryption key. Your information is saved encrypted with the existing key, so if you change it, then data cannot be decrypted and read.

okay, Is there any way to recover it ? I lost my encryption key.

@anduin No. https://www.metabase.com/docs/latest/operations-guide/encrypting-database-details-at-rest.html

got it.
Thank you!

Continued here: How to reset all of the connection details that have been encrypted with it in the Admin Panel