Cannot decrypt encrypted String. Have you changed or forgot to set MB_ENCRYPTION_SECRET_KEY

Recent upgrade to 0.45.2 and only just set "MB_ENCRYPTION_SECRET_KEY"
Received the following call stack, only happens at startup time. Dashboards all working
I can confirm "MB_ENCRYPTION_SECRET_KEY" is properly set

 "util.encryption$maybe_decrypt.doInvoke(encryption.clj:143)"
 "models.setting.cache$restore_cache_BANG_.invokeStatic(cache.clj:137)"
 "models.setting.cache$restore_cache_BANG_.invoke(cache.clj:133)"
 "models.setting$fn__30830$set_value_of_type_BANG___30822__30835$fn__30836.invoke(setting.clj:636)"
 "models.setting$fn__30830$set_value_of_type_BANG___30822__30835.invoke(setting.clj:610)"
 "models.setting$fn__30862.invokeStatic(setting.clj:687)"
 "models.setting$fn__30862.invoke(setting.clj:685)"
 "models.setting$set_BANG_.invokeStatic(setting.clj:746)"
 "models.setting$set_BANG_.invoke(setting.clj:729)"
 "models.setting$setting_fn$setting_setter_STAR___30896.invoke(setting.clj:848)"
 "core$init_BANG_.invokeStatic(core.clj:145)"
 "core$init_BANG_.invoke(core.clj:139)"
 "core$start_normally.invokeStatic(core.clj:156)"
 "core$start_normally.invoke(core.clj:150)"
 "core$_main.invokeStatic(core.clj:189)"
 "core$_main.doInvoke(core.clj:183)"
 "bootstrap$_main.invokeStatic(bootstrap.clj:25)"
 "bootstrap$_main.doInvoke(bootstrap.clj:22)"
 "bootstrap.main(Unknown Source)"]

Diagnostic

{
  "browser-info": {
    "language": "en-GB",
    "platform": "MacIntel",
    "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36",
    "vendor": "Google Inc."
  },
  "system-info": {
    "file.encoding": "UTF-8",
    "java.runtime.name": "OpenJDK Runtime Environment",
    "java.runtime.version": "11.0.17+8",
    "java.vendor": "Eclipse Adoptium",
    "java.vendor.url": "https://adoptium.net/",
    "java.version": "11.0.17",
    "java.vm.name": "OpenJDK 64-Bit Server VM",
    "java.vm.version": "11.0.17+8",
    "os.name": "Linux",
    "os.version": "5.10.133+",
    "user.language": "en",
    "user.timezone": "UTC"
  },
  "metabase-info": {
    "databases": [
      "postgres",
      "bigquery-cloud-sdk"
    ],
    "hosting-env": "unknown",
    "application-database": "postgres",
    "application-database-details": {
      "database": {
        "name": "PostgreSQL",
        "version": "14.4"
      },
      "jdbc-driver": {
        "name": "PostgreSQL JDBC Driver",
        "version": "42.5.0"
      }
    },
    "run-mode": "prod",
    "version": {
      "date": "2023-01-17",
      "tag": "v0.45.2",
      "branch": "release-x.45.x",
      "hash": "819ce29"
    },
    "settings": {
      "report-timezone": "UTC"
    }
  }
}

Hi John,

Can you share the full stacktrace please and from the beginning when you are starting metabase mayeb there is other information we can troubleshoot with

Thanks Tony. See attached below

Warning: protocol #'java-time.core/Amount is overwriting function abs
WARNING: abs already refers to: #'clojure.core/abs in namespace: java-time.core, being replaced by: #'java-time.core/abs
WARNING: abs already refers to: #'clojure.core/abs in namespace: java-time, being replaced by: #'java-time/abs
Warning: environ value jdk-11.0.17+8 for key :java-version has been overwritten with 11.0.17
2023-02-02 09:03:48,683 INFO metabase.util :: Maximum memory available to JVM: 2.5 GB
2023-02-02 09:03:53,367 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
WARNING: abs already refers to: #'clojure.core/abs in namespace: taoensso.encore, being replaced by: #'taoensso.encore/abs
WARNING: abs already refers to: #'clojure.core/abs in namespace: kixi.stats.math, being replaced by: #'kixi.stats.math/abs
WARNING: abs already refers to: #'clojure.core/abs in namespace: kixi.stats.test, being replaced by: #'kixi.stats.math/abs
WARNING: abs already refers to: #'clojure.core/abs in namespace: kixi.stats.distribution, being replaced by: #'kixi.stats.math/abs
2023-02-02 09:04:02,586 INFO driver.impl :: Registered abstract driver :sql  ๐Ÿšš
2023-02-02 09:04:02,590 INFO metabase.util ::  โฎฆ Load driver :sql took 128.4 ms
2023-02-02 09:04:02,596 INFO driver.impl :: Registered abstract driver :sql-jdbc (parents: [:sql]) ๐Ÿšš
2023-02-02 09:04:02,600 INFO metabase.util :: Load driver :sql-jdbc took 142.3 ms
2023-02-02 09:04:02,600 INFO driver.impl :: Registered driver :h2 (parents: [:sql-jdbc]) ๐Ÿšš
2023-02-02 09:04:02,667 INFO driver.impl :: Registered driver :mysql (parents: [:sql-jdbc]) ๐Ÿšš
2023-02-02 09:04:02,744 INFO driver.impl :: Registered driver :postgres (parents: [:sql-jdbc]) ๐Ÿšš
2023-02-02 09:04:06,359 INFO metabase.core ::
Metabase v0.45.2 (819ce29 release-x.45.x)

Copyright ยฉ 2023 Metabase, Inc.

Metabase Enterprise Edition extensions are NOT PRESENT.
2023-02-02 09:04:06,371 INFO metabase.core :: Starting Metabase in STANDALONE mode
2023-02-02 09:04:06,470 INFO metabase.server :: Launching Embedded Jetty Webserver with config:
 {:port 3000, :host "0.0.0.0", :max-threads 254, :min-threads 8, :max-queued -1, :max-idle-time 60000}

2023-02-02 09:04:06,552 INFO metabase.core :: Starting Metabase version v0.45.2 (819ce29 release-x.45.x) ...
2023-02-02 09:04:06,645 INFO metabase.core :: System info:
 {"file.encoding" "UTF-8",
 "java.runtime.name" "OpenJDK Runtime Environment",
 "java.runtime.version" "11.0.17+8",
 "java.vendor" "Eclipse Adoptium",
 "java.vendor.url" "https://adoptium.net/",
 "java.version" "11.0.17",
 "java.vm.name" "OpenJDK 64-Bit Server VM",
 "java.vm.version" "11.0.17+8",
 "os.name" "Linux",
 "os.version" "5.10.133+",
 "user.language" "en",
 "user.timezone" "UTC"}

2023-02-02 09:04:06,647 INFO metabase.plugins :: Loading plugins in /plugins...
2023-02-02 09:04:06,971 INFO util.files :: Extract file /modules/sparksql.metabase-driver.jar -> /plugins/sparksql.metabase-driver.jar
2023-02-02 09:04:07,168 INFO util.files :: Extract file /modules/athena.metabase-driver.jar -> /plugins/athena.metabase-driver.jar
2023-02-02 09:04:07,370 INFO util.files :: Extract file /modules/sqlserver.metabase-driver.jar -> /plugins/sqlserver.metabase-driver.jar
2023-02-02 09:04:07,384 INFO util.files :: Extract file /modules/presto-jdbc.metabase-driver.jar -> /plugins/presto-jdbc.metabase-driver.jar
2023-02-02 09:04:07,548 INFO util.files :: Extract file /modules/sqlite.metabase-driver.jar -> /plugins/sqlite.metabase-driver.jar
2023-02-02 09:04:07,644 INFO util.files :: Extract file /modules/vertica.metabase-driver.jar -> /plugins/vertica.metabase-driver.jar
2023-02-02 09:04:07,646 INFO util.files :: Extract file /modules/redshift.metabase-driver.jar -> /plugins/redshift.metabase-driver.jar
2023-02-02 09:04:07,654 INFO util.files :: Extract file /modules/presto.metabase-driver.jar -> /plugins/presto.metabase-driver.jar
2023-02-02 09:04:07,656 INFO util.files :: Extract file /modules/druid.metabase-driver.jar -> /plugins/druid.metabase-driver.jar
2023-02-02 09:04:07,661 INFO util.files :: Extract file /modules/mongo.metabase-driver.jar -> /plugins/mongo.metabase-driver.jar
2023-02-02 09:04:07,744 INFO util.files :: Extract file /modules/oracle.metabase-driver.jar -> /plugins/oracle.metabase-driver.jar
2023-02-02 09:04:07,746 INFO util.files :: Extract file /modules/snowflake.metabase-driver.jar -> /plugins/snowflake.metabase-driver.jar
2023-02-02 09:04:08,169 INFO util.files :: Extract file /modules/googleanalytics.metabase-driver.jar -> /plugins/googleanalytics.metabase-driver.jar
2023-02-02 09:04:08,183 INFO util.files :: Extract file /modules/bigquery-cloud-sdk.metabase-driver.jar -> /plugins/bigquery-cloud-sdk.metabase-driver.jar
2023-02-02 09:04:08,272 INFO util.files :: Extract file /modules/presto-common.metabase-driver.jar -> /plugins/presto-common.metabase-driver.jar
2023-02-02 09:04:08,954 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.

2023-02-02 09:04:08,956 INFO plugins.dependencies :: Metabase Oracle Driver dependency {:class oracle.jdbc.OracleDriver} satisfied? false
2023-02-02 09:04:08,960 INFO plugins.dependencies :: Plugins with unsatisfied deps: ["Metabase Oracle Driver"]
2023-02-02 09:04:08,965 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :druid...
2023-02-02 09:04:08,965 INFO driver.impl :: Registered driver :druid  ๐Ÿšš
2023-02-02 09:04:09,039 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :sqlite...
2023-02-02 09:04:09,040 INFO driver.impl :: Registered driver :sqlite (parents: [:sql-jdbc]) ๐Ÿšš
2023-02-02 09:04:09,052 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :bigquery-cloud-sdk...
2023-02-02 09:04:09,052 INFO driver.impl :: Registered driver :bigquery-cloud-sdk (parents: [:sql]) ๐Ÿšš
2023-02-02 09:04:09,056 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :presto-common...
2023-02-02 09:04:09,056 INFO driver.impl :: Registered abstract driver :presto-common  ๐Ÿšš
2023-02-02 09:04:09,062 INFO plugins.dependencies :: Plugin 'Metabase Presto Driver' depends on plugin 'Presto Common Driver'
2023-02-02 09:04:09,062 INFO plugins.dependencies :: Metabase Presto Driver dependency {:plugin Presto Common Driver} satisfied? true
2023-02-02 09:04:09,063 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :presto...
2023-02-02 09:04:09,063 INFO driver.impl :: Registered driver :presto (parents: [:presto-common]) ๐Ÿšš
2023-02-02 09:04:09,138 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.

2023-02-02 09:04:09,139 INFO plugins.dependencies :: Metabase Vertica Driver dependency {:class com.vertica.jdbc.Driver} satisfied? false
2023-02-02 09:04:09,140 INFO plugins.dependencies :: Plugins with unsatisfied deps: ["Metabase Oracle Driver" "Metabase Vertica Driver"]
2023-02-02 09:04:09,150 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :athena...
2023-02-02 09:04:09,151 INFO driver.impl :: Registered driver :athena (parents: [:sql-jdbc]) ๐Ÿšš
2023-02-02 09:04:09,155 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :redshift...
2023-02-02 09:04:09,155 INFO driver.impl :: Registered driver :redshift (parents: [:postgres]) ๐Ÿšš
2023-02-02 09:04:09,162 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :hive-like...
2023-02-02 09:04:09,163 INFO driver.impl :: Registered abstract driver :hive-like (parents: [:sql-jdbc]) ๐Ÿšš
2023-02-02 09:04:09,163 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :sparksql...
2023-02-02 09:04:09,164 INFO driver.impl :: Registered driver :sparksql (parents: [:hive-like]) ๐Ÿšš
2023-02-02 09:04:09,238 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :sqlserver...
2023-02-02 09:04:09,239 INFO driver.impl :: Registered driver :sqlserver (parents: [:sql-jdbc]) ๐Ÿšš
2023-02-02 09:04:09,250 INFO plugins.dependencies :: Plugin 'Metabase Presto JDBC Driver' depends on plugin 'Presto Common Driver'
2023-02-02 09:04:09,250 INFO plugins.dependencies :: Metabase Presto JDBC Driver dependency {:plugin Presto Common Driver} satisfied? true
2023-02-02 09:04:09,251 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :presto-jdbc...
2023-02-02 09:04:09,251 INFO driver.impl :: Registered driver :presto-jdbc (parents: [:presto-common]) ๐Ÿšš
2023-02-02 09:04:09,343 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :snowflake...
2023-02-02 09:04:09,344 INFO driver.impl :: Registered driver :snowflake (parents: [:sql-jdbc]) ๐Ÿšš
2023-02-02 09:04:09,351 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :googleanalytics...
2023-02-02 09:04:09,351 INFO driver.impl :: Registered driver :googleanalytics  ๐Ÿšš
2023-02-02 09:04:09,361 DEBUG plugins.lazy-loaded-driver :: Registering lazy loading driver :mongo...
2023-02-02 09:04:09,361 INFO driver.impl :: Registered driver :mongo  ๐Ÿšš
2023-02-02 09:04:09,363 INFO metabase.core :: Setting up and migrating Metabase DB. Please sit tight, this may take a minute...
2023-02-02 09:04:09,437 INFO db.setup :: Verifying postgres Database Connection ...
2023-02-02 09:04:11,453 INFO db.setup :: Successfully verified PostgreSQL 14.4 application database connection. โœ…
2023-02-02 09:04:11,455 INFO db.setup :: Running Database Migrations...
2023-02-02 09:04:11,457 INFO db.setup :: Setting up Liquibase...
2023-02-02 09:04:12,178 INFO db.setup :: Liquibase is ready.
2023-02-02 09:04:12,179 INFO db.liquibase :: Checking if Database has unrun migrations...
2023-02-02 09:04:15,455 INFO db.setup :: Database Migrations Current ...  โœ…
2023-02-02 09:04:15,470 INFO db.data-migrations :: Running all necessary data migrations, this may take a minute.
2023-02-02 09:04:15,553 INFO db.data-migrations :: Finished running data migrations.
2023-02-02 09:04:15,554 INFO metabase.util :: Database setup took 6.2 s
2023-02-02 09:04:15,840 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__8989.invokeStatic(crypto.clj:485)"
 "buddy.core.crypto$fn__8989.invoke(crypto.clj:474)"
 "clojure.lang.MultiFn.invoke(MultiFn.java:229)"
 "buddy.core.crypto$decrypt.invokeStatic(crypto.clj:568)"
 "buddy.core.crypto$decrypt.invoke(crypto.clj:555)"
 "--> util.encryption$decrypt_bytes.invokeStatic(encryption.clj:81)"
 "util.encryption$decrypt_bytes.invoke(encryption.clj:73)"
 "util.encryption$decrypt.invokeStatic(encryption.clj:92)"
 "util.encryption$decrypt.invoke(encryption.clj:86)"
 "util.encryption$maybe_decrypt.invokeStatic(encryption.clj:167)"
 "util.encryption$maybe_decrypt.doInvoke(encryption.clj:143)"
 "models.setting.cache$restore_cache_BANG_.invokeStatic(cache.clj:137)"
 "models.setting.cache$restore_cache_BANG_.invoke(cache.clj:133)"
 "models.setting.cache$restore_cache_if_needed_BANG_.invokeStatic(cache.clj:162)"
 "models.setting.cache$restore_cache_if_needed_BANG_.invoke(cache.clj:141)"
 "models.setting$db_or_cache_value.invokeStatic(setting.clj:427)"
 "models.setting$db_or_cache_value.invoke(setting.clj:414)"
 "models.setting$get_raw_value.invokeStatic(setting.clj:468)"
 "models.setting$get_raw_value.invoke(setting.clj:442)"
 "models.setting$get_raw_value.invokeStatic(setting.clj:482)"
 "models.setting$get_raw_value.invoke(setting.clj:442)"
 "analytics.prometheus$fn__83749$reading_prometheus_port_setting__83750.invoke(prometheus.clj:45)"
 "models.setting$get.invokeStatic(setting.clj:558)"
 "models.setting$get.invoke(setting.clj:549)"
 "models.setting$setting_fn$setting_getter_STAR___30898.invoke(setting.clj:843)"
 "core$init_BANG__STAR_.invokeStatic(core.clj:104)"
 "core$init_BANG__STAR_.invoke(core.clj:87)"
 "core$init_BANG_.invokeStatic(core.clj:144)"
 "core$init_BANG_.invoke(core.clj:139)"
 "core$start_normally.invokeStatic(core.clj:156)"
 "core$start_normally.invoke(core.clj:150)"
 "core$_main.invokeStatic(core.clj:189)"
 "core$_main.doInvoke(core.clj:183)"
 "bootstrap$_main.invokeStatic(bootstrap.clj:25)"
 "bootstrap$_main.doInvoke(bootstrap.clj:22)"
 "bootstrap.main(Unknown Source)"]

2023-02-02 09:04:15,947 INFO metabase.events :: Starting events listener: :metabase.events.activity-feed/ActivityFeed ๐Ÿ‘‚
2023-02-02 09:04:15,954 INFO metabase.events :: Starting events listener: :metabase.events.last-login/LastLogin ๐Ÿ‘‚
2023-02-02 09:04:15,954 INFO metabase.events :: Starting events listener: :metabase.events.persisted-info/PersistedInfo ๐Ÿ‘‚
2023-02-02 09:04:15,955 INFO metabase.events :: Starting events listener: :metabase.events.sync-database/Sync ๐Ÿ‘‚
2023-02-02 09:04:15,955 INFO metabase.events :: Starting events listener: :metabase.events.driver-notifications/DriverNotifications ๐Ÿ‘‚
2023-02-02 09:04:15,956 INFO metabase.events :: Starting events listener: :metabase.events.revision/Revisions ๐Ÿ‘‚
2023-02-02 09:04:15,956 INFO metabase.events :: Starting events listener: :metabase.events.view-log/ViewLog ๐Ÿ‘‚
2023-02-02 09:04:16,056 INFO impl.StdSchedulerFactory :: Using default implementation for ThreadExecutor
2023-02-02 09:04:16,067 INFO core.SchedulerSignalerImpl :: Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
2023-02-02 09:04:16,068 INFO core.QuartzScheduler :: Quartz Scheduler v.2.3.2 created.
2023-02-02 09:04:16,069 INFO jdbcjobstore.JobStoreTX :: Using db table-based data access locking (synchronization).
2023-02-02 09:04:16,071 INFO jdbcjobstore.JobStoreTX :: JobStoreTX initialized.
2023-02-02 09:04:16,071 INFO core.QuartzScheduler :: Scheduler meta-data: Quartz Scheduler (v2.3.2) 'MetabaseScheduler' with instanceId 'metabase-7d775b6569-4fszp1675328656057'
  Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
  NOT STARTED.
  Currently in standby mode.
  Number of jobs executed: 0
  Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
  Using job-store 'org.quartz.impl.jdbcjobstore.JobStoreTX' - which supports persistence. and is clustered.

2023-02-02 09:04:16,072 INFO impl.StdSchedulerFactory :: Quartz scheduler 'MetabaseScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
2023-02-02 09:04:16,072 INFO impl.StdSchedulerFactory :: Quartz scheduler version: 2.3.2
2023-02-02 09:04:16,357 INFO core.QuartzScheduler :: Scheduler MetabaseScheduler_$_metabase-7d775b6569-4fszp1675328656057 paused.
2023-02-02 09:04:16,358 INFO metabase.task :: Task scheduler initialized into standby mode.
2023-02-02 09:04:16,359 INFO metabase.task :: Initializing task SyncDatabases ๐Ÿ“†
2023-02-02 09:04:16,467 INFO task.sync-databases :: Updated default schedules for 0 databases
2023-02-02 09:04:16,468 INFO metabase.task :: Initializing task PersistRefresh ๐Ÿ“†
2023-02-02 09:04:16,565 INFO driver.impl :: Initializing driver :sql...
2023-02-02 09:04:16,565 INFO driver.impl :: Initializing driver :bigquery-cloud-sdk...
2023-02-02 09:04:16,566 INFO plugins.classloader :: Added URL file:/plugins/bigquery-cloud-sdk.metabase-driver.jar to classpath
2023-02-02 09:04:16,567 DEBUG plugins.init-steps :: Loading plugin namespace metabase.driver.bigquery-cloud-sdk...
2023-02-02 09:04:16,840 INFO driver.impl :: Registered driver :bigquery-cloud-sdk (parents: [:sql]) ๐Ÿšš
2023-02-02 09:04:16,858 INFO metabase.util :: Load lazy loading driver :bigquery-cloud-sdk took 291.6 ms
2023-02-02 09:04:16,866 INFO driver.impl :: Initializing driver :sql-jdbc...
2023-02-02 09:04:16,866 INFO driver.impl :: Initializing driver :postgres...
2023-02-02 09:04:16,951 INFO metabase.task :: Initializing task CheckForNewVersions ๐Ÿ“†
2023-02-02 09:04:17,047 INFO metabase.task :: Initializing task PersistPrune ๐Ÿ“†
2023-02-02 09:04:17,052 INFO metabase.task :: Initializing task SendAnonymousUsageStats ๐Ÿ“†
2023-02-02 09:04:17,076 INFO metabase.task :: Initializing task RefreshSlackChannelsAndUsers ๐Ÿ“†
2023-02-02 09:04:17,164 INFO metabase.task :: Initializing task SendAbandomentEmails ๐Ÿ“†
2023-02-02 09:04:17,185 INFO metabase.task :: Initializing task SendPulses ๐Ÿ“†
2023-02-02 09:04:17,248 INFO metabase.task :: Initializing task SendFollowUpEmails ๐Ÿ“†
2023-02-02 09:04:17,266 INFO metabase.task :: Initializing task TaskHistoryCleanup ๐Ÿ“†
2023-02-02 09:04:17,368 INFO jdbcjobstore.JobStoreTX :: ClusterManager: detected 1 failed or restarted instances.
2023-02-02 09:04:17,368 INFO jdbcjobstore.JobStoreTX :: ClusterManager: Scanning for instance "metabase-7d775b6569-2hl4s1674562283997"'s failed in-progress jobs.
2023-02-02 09:04:17,373 INFO jdbcjobstore.JobStoreTX :: ClusterManager: ......Cleaned-up 1 other failed job(s).
2023-02-02 09:04:17,479 INFO core.QuartzScheduler :: Scheduler MetabaseScheduler_$_metabase-7d775b6569-4fszp1675328656057 started.
2023-02-02 09:04:17,481 INFO metabase.task :: Task scheduler started
2023-02-02 09:04:17,482 INFO metabase.core :: Metabase Initialization COMPLETE
2023-02-02 09:04:17,550 INFO task.refresh-slack-channel-user-cache :: Slack is not configured, not refreshing slack user/channel cache.
2023-02-02 09:04:17,736 INFO jdbcjobstore.JobStoreTX :: Handling 3 trigger(s) that missed their scheduled fire-time.
2023-02-02 09:04:17,842 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__8989.invokeStatic(crypto.clj:485)"
 "buddy.core.crypto$fn__8989.invoke(crypto.clj:474)"
 "clojure.lang.MultiFn.invoke(MultiFn.java:229)"
 "buddy.core.crypto$decrypt.invokeStatic(crypto.clj:568)"
 "buddy.core.crypto$decrypt.invoke(crypto.clj:555)"
 "--> util.encryption$decrypt_bytes.invokeStatic(encryption.clj:81)"
 "util.encryption$decrypt_bytes.invoke(encryption.clj:73)"
 "util.encryption$decrypt.invokeStatic(encryption.clj:92)"
 "util.encryption$decrypt.invoke(encryption.clj:86)"
 "util.encryption$maybe_decrypt.invokeStatic(encryption.clj:167)"
 "util.encryption$maybe_decrypt.doInvoke(encryption.clj:143)"
 "models.setting.cache$restore_cache_BANG_.invokeStatic(cache.clj:137)"
 "models.setting.cache$restore_cache_BANG_.invoke(cache.clj:133)"
 "models.setting$fn__30830$set_value_of_type_BANG___30822__30835$fn__30836.invoke(setting.clj:636)"
 "models.setting$fn__30830$set_value_of_type_BANG___30822__30835.invoke(setting.clj:610)"
 "models.setting$fn__30862.invokeStatic(setting.clj:687)"
 "models.setting$fn__30862.invoke(setting.clj:685)"
 "models.setting$set_BANG_.invokeStatic(setting.clj:746)"
 "models.setting$set_BANG_.invoke(setting.clj:729)"
 "models.setting$setting_fn$setting_setter_STAR___30896.invoke(setting.clj:848)"
 "core$init_BANG_.invokeStatic(core.clj:145)"
 "core$init_BANG_.invoke(core.clj:139)"
 "core$start_normally.invokeStatic(core.clj:156)"
 "core$start_normally.invoke(core.clj:150)"
 "core$_main.invokeStatic(core.clj:189)"
 "core$_main.doInvoke(core.clj:183)"
 "bootstrap$_main.invokeStatic(bootstrap.clj:25)"
 "bootstrap$_main.doInvoke(bootstrap.clj:22)"
 "bootstrap.main(Unknown Source)"]

I have the same problem. Set MB_ENCRYPTION_SECRET_KEY correctly, and get the same stack trace as the original poster.

Running latest Enterprise version. When I do a dump, the database connections are NOT encrypted in the dumped .yaml files, and the dump execution also shows the same stack trace.

Here is my stack trace (from running a dump in Docker):

Warning: protocol #'java-time.core/Amount is overwriting function abs
WARNING: abs already refers to: #'clojure.core/abs in namespace: java-time.core, being replaced by: #'java-time.core/abs
WARNING: abs already refers to: #'clojure.core/abs in namespace: java-time, being replaced by: #'java-time/abs
Warning: environ value jdk-11.0.18+10 for key :java-version has been overwritten with 11.0.18
2023-02-26 17:46:37,203 INFO metabase.util :: Maximum memory available to JVM: 30.0 GB
2023-02-26 17:46:37,671 WARN db.env :: WARNING: Using Metabase with an H2 application database is not recommended for production deployments. For production deployments, we highly recommend using Postgres, MySQL, or MariaDB instead. If you decide to continue to use H2, please be sure to back up the database file regularly. For more information, see Redirectingโ€ฆ
2023-02-26 17:46:38,259 INFO util.encryption :: Saved credentials encryption is ENABLED for this Metabase instance. :closed_lock_with_key:
For more information, see Redirectingโ€ฆ
WARNING: abs already refers to: #'clojure.core/abs in namespace: taoensso.encore, being replaced by: #'taoensso.encore/abs
WARNING: abs already refers to: #'clojure.core/abs in namespace: kixi.stats.math, being replaced by: #'kixi.stats.math/abs
WARNING: abs already refers to: #'clojure.core/abs in namespace: kixi.stats.test, being replaced by: #'kixi.stats.math/abs
WARNING: abs already refers to: #'clojure.core/abs in namespace: kixi.stats.distribution, being replaced by: #'kixi.stats.math/abs
2023-02-26 17:46:40,811 INFO driver.impl :: Registered abstract driver :sql :truck:
2023-02-26 17:46:40,813 INFO metabase.util :: โฎฆ Load driver :sql took 51.2 ms
2023-02-26 17:46:40,816 INFO driver.impl :: Registered abstract driver :sql-jdbc (parents: [:sql]) :truck:
2023-02-26 17:46:40,817 INFO metabase.util :: Load driver :sql-jdbc took 57.8 ms
2023-02-26 17:46:40,818 INFO driver.impl :: Registered driver :h2 (parents: [:sql-jdbc]) :truck:
2023-02-26 17:46:40,839 INFO driver.impl :: Registered driver :mysql (parents: [:sql-jdbc]) :truck:
2023-02-26 17:46:40,854 INFO driver.impl :: Registered driver :postgres (parents: [:sql-jdbc]) :truck:
2023-02-26 17:46:42,569 INFO metabase.core ::
Metabase v1.45.3 (070f57b release-x.45.x)

Copyright ยฉ 2023 Metabase, Inc.

Metabase Enterprise Edition extensions are PRESENT.

Usage of Metabase Enterprise Edition features are subject to the Metabase Commercial License. See Commercial License for details.
2023-02-26 17:46:42,587 INFO db.setup :: Verifying h2 Database Connection ...
2023-02-26 17:46:42,894 INFO db.setup :: Successfully verified H2 1.4.197 (2018-03-18) application database connection. :white_check_mark:
2023-02-26 17:46:42,895 INFO db.setup :: Running Database Migrations...
2023-02-26 17:46:42,896 INFO db.setup :: Setting up Liquibase...
2023-02-26 17:46:43,076 INFO db.setup :: Liquibase is ready.
2023-02-26 17:46:43,076 INFO db.liquibase :: Checking if Database has unrun migrations...
2023-02-26 17:46:43,886 INFO db.setup :: Database Migrations Current ... :white_check_mark:
2023-02-26 17:46:43,899 INFO db.data-migrations :: Running all necessary data migrations, this may take a minute.
2023-02-26 17:46:43,908 INFO db.data-migrations :: Finished running data migrations.
2023-02-26 17:46:43,908 INFO metabase.util :: Database setup took 1.3 s
2023-02-26 17:46:44,036 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__8989.invokeStatic(crypto.clj:485)"
"buddy.core.crypto$fn__8989.invoke(crypto.clj:474)"
"clojure.lang.MultiFn.invoke(MultiFn.java:229)"
"buddy.core.crypto$decrypt.invokeStatic(crypto.clj:568)"
"buddy.core.crypto$decrypt.invoke(crypto.clj:555)"
"--> util.encryption$decrypt_bytes.invokeStatic(encryption.clj:81)"
"util.encryption$decrypt_bytes.invoke(encryption.clj:73)"
"util.encryption$decrypt.invokeStatic(encryption.clj:92)"
"util.encryption$decrypt.invoke(encryption.clj:86)"
"util.encryption$maybe_decrypt.invokeStatic(encryption.clj:167)"
"util.encryption$maybe_decrypt.doInvoke(encryption.clj:143)"
"models.setting.cache$restore_cache_BANG_.invokeStatic(cache.clj:137)"
"models.setting.cache$restore_cache_BANG_.invoke(cache.clj:133)"
"models.setting.cache$restore_cache_if_needed_BANG_.invokeStatic(cache.clj:162)"
"models.setting.cache$restore_cache_if_needed_BANG_.invoke(cache.clj:141)"
"models.setting$db_or_cache_value.invokeStatic(setting.clj:427)"
"models.setting$db_or_cache_value.invoke(setting.clj:414)"
"models.setting$get_raw_value.invokeStatic(setting.clj:468)"
"models.setting$get_raw_value.invoke(setting.clj:442)"
"models.setting$get_raw_value.invokeStatic(setting.clj:482)"
"models.setting$get_raw_value.invoke(setting.clj:442)"
"models.setting$fn__30753.invokeStatic(setting.clj:501)"
"models.setting$fn__30753.invoke(setting.clj:499)"
"util.i18n.impl$fn__3814$f__3815.invoke(impl.clj:211)"
"util.i18n.impl$fn__3814.invokeStatic(impl.clj:213)"
"util.i18n.impl$fn__3814.invoke(impl.clj:205)"
"util.i18n.impl$site_locale_from_setting.invokeStatic(impl.clj:222)"
"util.i18n.impl$site_locale_from_setting.invoke(impl.clj:215)"
"util.i18n$site_locale_string.invokeStatic(i18n.clj:37)"
"util.i18n$site_locale_string.invoke(i18n.clj:32)"
"util.i18n$site_locale.invokeStatic(i18n.clj:50)"
"util.i18n$site_locale.invoke(i18n.clj:47)"
"util.i18n$translate_site_locale.invokeStatic(i18n.clj:69)"
"util.i18n$translate_site_locale.invoke(i18n.clj:66)"
"util.i18n.SiteLocalizedString.toString(i18n.clj:94)"
"metabase_enterprise.serialization.cmd$v1_dump.invokeStatic(cmd.clj:142)"
"metabase_enterprise.serialization.cmd$v1_dump.invoke(cmd.clj:140)"
"metabase_enterprise.serialization.cmd$dump.invokeStatic(cmd.clj:205)"
"metabase_enterprise.serialization.cmd$dump.invoke(cmd.clj:195)"
"cmd$dump.invokeStatic(cmd.clj:161)"
"cmd$dump.doInvoke(cmd.clj:155)"
"cmd$dump.invokeStatic(cmd.clj:158)"
"cmd$dump.invoke(cmd.clj:155)"
"cmd$run_cmd$fn__90637.invoke(cmd.clj:236)"
"cmd$run_cmd.invokeStatic(cmd.clj:236)"
"cmd$run_cmd.invoke(cmd.clj:227)"
"core$run_cmd.invokeStatic(core.clj:166)"
"core$run_cmd.invoke(core.clj:164)"
"core$_main.invokeStatic(core.clj:188)"
"core$_main.doInvoke(core.clj:183)"
"bootstrap$_main.invokeStatic(bootstrap.clj:25)"
"bootstrap$_main.doInvoke(bootstrap.clj:22)"
"bootstrap.main(Unknown Source)"]

If youโ€™re enterprise please contact the support team