Upload Setting doesn't work

Hi,

since updating to Metabase v0.50.16 we have experienced issues with sharing dashboard links.
The button to creat a public link or embedded option is missing.
In the metabase settings we can't open the upload settings and receive the following error:

"backendErrors": [
    {
      "timestamp": "2024-08-06T14:02:11.725Z",
      "level": "ERROR",
      "fqns": "metabase.models.setting",
      "msg": "Error fetching value of Setting",
      "exception": [
        "java.lang.ClassCastException: class java.time.OffsetDateTime cannot be cast to class java.time.chrono.ChronoLocalDateTime (java.time.OffsetDateTime and java.time.chrono.ChronoLocalDateTime are in module java.base of loader 'bootstrap')",
        "\tat java_time.chrono$fn__13973.invokeStatic(chrono.clj:35)",
        "\tat java_time.chrono$fn__13973.invoke(chrono.clj:35)",
        "\tat java_time.core$fn__12312$G__12307__12319.invoke(core.clj:123)",
        "\tat java_time.core$after_QMARK_.invokeStatic(core.clj:192)",
        "\tat java_time.core$after_QMARK_.invoke(core.clj:179)",
        "\tat metabase.api.permissions$fn__87450$fn__87451.invoke(permissions.clj:54)",
        "\tat metabase.models.setting$get.invokeStatic(setting.clj:710)",
        "\tat metabase.models.setting$get.invoke(setting.clj:696)",
        "\tat metabase.models.setting$user_facing_value.invokeStatic(setting.clj:1308)",
        "\tat metabase.models.setting$user_facing_value.doInvoke(setting.clj:1295)",
        "\tat clojure.lang.RestFn.invoke(RestFn.java:410)",
        "\tat clojure.lang.AFn.applyToHelper(AFn.java:154)",
        "\tat clojure.lang.RestFn.applyTo(RestFn.java:132)",
        "\tat clojure.core$apply.invokeStatic(core.clj:669)",
        "\tat clojure.core$apply.invoke(core.clj:662)",
        "\tat medley.core$mapply.invokeStatic(core.cljc:244)",
        "\tat medley.core$mapply.doInvoke(core.cljc:237)",
        "\tat clojure.lang.RestFn.invoke(RestFn.java:442)",
        "\tat metabase.models.setting$user_facing_info$fn__55055.invoke(setting.clj:1340)",
        "\tat metabase.models.setting$user_facing_info.invokeStatic(setting.clj:1339)",
        "\tat metabase.models.setting$user_facing_info.doInvoke(setting.clj:1335)",
        "\tat clojure.lang.RestFn.invoke(RestFn.java:410)",
        "\tat clojure.lang.AFn.applyToHelper(AFn.java:154)",
        "\tat clojure.lang.RestFn.applyTo(RestFn.java:132)",
        "\tat clojure.core$apply.invokeStatic(core.clj:669)",
        "\tat clojure.core$apply.invoke(core.clj:662)",
        "\tat medley.core$mapply.invokeStatic(core.cljc:244)",
        "\tat medley.core$mapply.doInvoke(core.cljc:237)",
        "\tat clojure.lang.RestFn.invoke(RestFn.java:442)",
        "\tat metabase.models.setting$user_facing_settings_matching$fn__55063.invoke(setting.clj:1376)",
        "\tat clojure.core$map$fn__5931$fn__5932.invoke(core.clj:2759)",
        "\tat clojure.core$filter$fn__5958$fn__5959.invoke(core.clj:2823)",
        "\tat clojure.lang.ArraySeq.reduce(ArraySeq.java:119)",
        "\tat clojure.core$transduce.invokeStatic(core.clj:6947)",
        "\tat clojure.core$into.invokeStatic(core.clj:6963)",
        "\tat clojure.core$into.invoke(core.clj:6951)",
        "\tat metabase.models.setting$user_facing_settings_matching.invokeStatic(setting.clj:1373)",
        "\tat metabase.models.setting$user_facing_settings_matching.invoke(setting.clj:1370)",
        "\tat metabase.models.setting$writable_settings.invokeStatic(setting.clj:1395)",
        "\tat metabase.models.setting$writable_settings.doInvoke(setting.clj:1379)",
        "\tat clojure.lang.RestFn.invoke(RestFn.java:397)",
        "\tat metabase.api.setting$fn__100704.invokeStatic(setting.clj:32)",
        "\tat metabase.api.setting$fn__100704.invoke(setting.clj:27)",
        "\tat compojure.core$wrap_response$fn__53009.invoke(core.clj:160)",
        "\tat compojure.core$wrap_route_middleware$fn__52993.invoke(core.clj:132)",
        "\tat compojure.core$wrap_route_info$fn__52998.invoke(core.clj:139)",
        "\tat compojure.core$wrap_route_matches$fn__53002.invoke(core.clj:151)",
        "\tat clojure.lang.Var.invoke(Var.java:393)",
        "\tat compojure.core$routes$fn__53021$f__53022.invoke(core.clj:198)",
        "\tat compojure.core$routes$fn__53021$f__53022$respond_SINGLEQUOTE___53023.invoke(core.clj:197)",
        "\tat compojure.core$wrap_route_matches$fn__53002.invoke(core.clj:152)",
        "\tat clojure.lang.Var.invoke(Var.java:393)",
        "\tat compojure.core$routes$fn__53021$f__53022.invoke(core.clj:198)",
        "\tat compojure.core$routes$fn__53021$f__53022$respond_SINGLEQUOTE___53023.invoke(core.clj:197)",
        "\tat compojure.core$wrap_route_matches$fn__53002.invoke(core.clj:153)",
        "\tat clojure.lang.Var.invoke(Var.java:393)",
        "\tat compojure.core$routes$fn__53021$f__53022.invoke(core.clj:198)",
        "\tat compojure.core$routes$fn__53021.invoke(core.clj:200)",
        "\tat clojure.lang.AFn.applyToHelper(AFn.java:160)",
        "\tat clojure.lang.AFn.applyTo(AFn.java:144)",
        "\tat clojure.lang.AFunction$1.doInvoke(AFunction.java:31)",
        "\tat clojure.lang.RestFn.invoke(RestFn.java:436)",
        "\tat metabase.server.middleware.auth$enforce_authentication$fn__96869.invoke(auth.clj:18)",
        "\tat clojure.lang.AFn.applyToHelper(AFn.java:160)",
        "\tat clojure.lang.AFn.applyTo(AFn.java:144)",
        "\tat clojure.lang.AFunction$1.doInvoke(AFunction.java:31)",
        "\tat clojure.lang.RestFn.invoke(RestFn.java:436)",
        "\tat compojure.core$routes$fn__53021$f__53022.invoke(core.clj:198)",
        "\tat compojure.core$routes$fn__53021.invoke(core.clj:200)",
        "\tat compojure.core$make_context$handler__53049.invoke(core.clj:290)",
        "\tat compojure.core$make_context$fn__53053.invoke(core.clj:300)",
        "\tat clojure.lang.AFn.applyToHelper(AFn.java:160)",
        "\tat clojure.lang.AFn.applyTo(AFn.java:144)",
        "\tat clojure.lang.AFunction$1.doInvoke(AFunction.java:31)",
        "\tat clojure.lang.RestFn.invoke(RestFn.java:436)",
        "\tat compojure.core$routes$fn__53021$f__53022.invoke(core.clj:198)",
        "\tat compojure.core$routes$fn__53021$f__53022$respond_SINGLEQUOTE___53023.invoke(core.clj:197)",
        "\tat compojure.core$make_context$fn__53053.invoke(core.clj:301)",
        "\tat clojure.lang.AFn.applyToHelper(AFn.java:160)",
        "\tat clojure.lang.AFn.applyTo(AFn.java:144)",
        "\tat clojure.lang.AFunction$1.doInvoke(AFunction.java:31)",
        "\tat clojure.lang.RestFn.invoke(RestFn.java:436)",
        "\tat compojure.core$routes$fn__53021$f__53022.invoke(core.clj:198)",
        "\tat compojure.core$routes$fn__53021$f__53022$respond_SINGLEQUOTE___53023.invoke(core.clj:197)",
        "\tat compojure.core$make_context$fn__53053.invoke(core.clj:301)",
        "\tat clojure.lang.AFn.applyToHelper(AFn.java:160)",
        "\tat clojure.lang.AFn.applyTo(AFn.java:144)",
        "\tat clojure.lang.AFunction$1.doInvoke(AFunction.java:31)",
        "\tat clojure.lang.RestFn.invoke(RestFn.java:436)",
        "\tat compojure.core$routes$fn__53021$f__53022.invoke(core.clj:198)",
        "\tat compojure.core$routes$fn__53021$f__53022$respond_SINGLEQUOTE___53023.invoke(core.clj:197)",
        "\tat compojure.core$make_context$fn__53053.invoke(core.clj:301)",
        "\tat clojure.lang.AFn.applyToHelper(AFn.java:160)",
        "\tat clojure.lang.AFn.applyTo(AFn.java:144)",
        "\tat clojure.lang.AFunction$1.doInvoke(AFunction.java:31)",
        "\tat clojure.lang.RestFn.invoke(RestFn.java:436)",
        "\tat compojure.core$routes$fn__53021$f__53022.invoke(core.clj:198)",
        "\tat compojure.core$routes$fn__53021$f__53022$respond_SINGLEQUOTE___53023.invoke(core.clj:197)",
        "\tat compojure.core$make_context$fn__53053.invoke(core.clj:301)",
        "\tat clojure.lang.AFn.applyToHelper(AFn.java:160)",
        "\tat clojure.lang.AFn.applyTo(AFn.java:144)",
        "\tat clojure.lang.AFunction$1.doInvoke(AFunction.java:31)",
        "\tat clojure.lang.RestFn.invoke(RestFn.java:436)",
        "\tat compojure.core$routes$fn__53021$f__53022.invoke(core.clj:198)",
        "\tat compojure.core$routes$fn__53021$f__53022$respond_SINGLEQUOTE___53023.invoke(core.clj:197)",
        "\tat compojure.core$make_context$fn__53053.invoke(core.clj:301)",
        "\tat clojure.lang.AFn.applyToHelper(AFn.java:160)",
        "\tat clojure.lang.AFn.applyTo(AFn.java:144)",
        "\tat clojure.lang.AFunction$1.doInvoke(AFunction.java:31)",
        "\tat clojure.lang.RestFn.invoke(RestFn.java:436)",
        "\tat compojure.core$routes$fn__53021$f__53022.invoke(core.clj:198)",
        "\tat compojure.core$routes$fn__53021$f__53022$respond_SINGLEQUOTE___53023.invoke(core.clj:197)",
        "\tat compojure.core$make_context$fn__53053.invoke(core.clj:301)",
        "\tat clojure.lang.AFn.applyToHelper(AFn.java:160)",
        "\tat clojure.lang.AFn.applyTo(AFn.java:144)",
        "\tat clojure.lang.AFunction$1.doInvoke(AFunction.java:31)",
        "\tat clojure.lang.RestFn.invoke(RestFn.java:436)",
        "\tat compojure.core$routes$fn__53021$f__53022.invoke(core.clj:198)",
        "\tat compojure.core$routes$fn__53021$f__53022$respond_SINGLEQUOTE___53023.invoke(core.clj:197)",
        "\tat compojure.core$make_context$fn__53053.invoke(core.clj:301)",
        "\tat clojure.lang.AFn.applyToHelper(AFn.java:160)",
        "\tat clojure.lang.AFn.applyTo(AFn.java:144)",
        "\tat clojure.lang.AFunction$1.doInvoke(AFunction.java:31)",
        "\tat clojure.lang.RestFn.invoke(RestFn.java:436)",
        "\tat compojure.core$routes$fn__53021$f__53022.invoke(core.clj:198)",
        "\tat compojure.core$routes$fn__53021$f__53022$respond_SINGLEQUOTE___53023.invoke(core.clj:197)",
        "\tat compojure.core$make_context$fn__53053.invoke(core.clj:301)",
        "\tat clojure.lang.AFn.applyToHelper(AFn.java:160)",
        "\tat clojure.lang.AFn.applyTo(AFn.java:144)",
        "\tat clojure.lang.AFunction$1.doInvoke(AFunction.java:31)",
        "\tat clojure.lang.RestFn.invoke(RestFn.java:436)",
        "\tat compojure.core$routes$fn__53021$f__53022.invoke(core.clj:198)",
        "\tat compojure.core$routes$fn__53021$f__53022$respond_SINGLEQUOTE___53023.invoke(core.clj:197)",
        "\tat compojure.core$make_context$fn__53053.invoke(core.clj:301)",
        "\tat clojure.lang.AFn.applyToHelper(AFn.java:160)",
        "\tat clojure.lang.AFn.applyTo(AFn.java:144)",
        "\tat clojure.lang.AFunction$1.doInvoke(AFunction.java:31)",
        "\tat clojure.lang.RestFn.invoke(RestFn.java:436)",
        "\tat compojure.core$routes$fn__53021$f__53022.invoke(core.clj:198)",
        "\tat compojure.core$routes$fn__53021$f__53022$respond_SINGLEQUOTE___53023.invoke(core.clj:197)",
        "\tat compojure.core$make_context$fn__53053.invoke(core.clj:301)",
        "\tat clojure.lang.AFn.applyToHelper(AFn.java:160)",
        "\tat clojure.lang.AFn.applyTo(AFn.java:144)",
        "\tat clojure.lang.AFunction$1.doInvoke(AFunction.java:31)",
        "\tat clojure.lang.RestFn.invoke(RestFn.java:436)",
        "\tat compojure.core$routes$fn__53021$f__53022.invoke(core.clj:198)",
        "\tat compojure.core$routes$fn__53021$f__53022$respond_SINGLEQUOTE___53023.invoke(core.clj:197)",
        "\tat compojure.core$make_context$fn__53053.invoke(core.clj:301)",
        "\tat clojure.lang.AFn.applyToHelper(AFn.java:160)",
        "\tat clojure.lang.AFn.applyTo(AFn.java:144)",
        "\tat clojure.lang.AFunction$1.doInvoke(AFunction.java:31)",
        "\tat clojure.lang.RestFn.invoke(RestFn.java:436)",
        "\tat compojure.core$routes$fn__53021$f__53022.invoke(core.clj:198)",
        "\tat compojure.core$routes$fn__53021$f__53022$respond_SINGLEQUOTE___53023.invoke(core.clj:197)",
        "\tat compojure.core$make_context$fn__53053.invoke(core.clj:301)",
        "\tat clojure.lang.AFn.applyToHelper(AFn.java:160)",
        "\tat clojure.lang.AFn.applyTo(AFn.java:144)",
        "\tat clojure.lang.AFunction$1.doInvoke(AFunction.java:31)",
        "\tat clojure.lang.RestFn.invoke(RestFn.java:436)",
        "\tat compojure.core$routes$fn__53021$f__53022.invoke(core.clj:198)",
        "\tat compojure.core$routes$fn__53021$f__53022$respond_SINGLEQUOTE___53023.invoke(core.clj:197)",
        "\tat compojure.core$make_context$fn__53053.invoke(core.clj:301)",
        "\tat clojure.lang.AFn.applyToHelper(AFn.java:160)",
        "\tat clojure.lang.AFn.applyTo(AFn.java:144)",
        "\tat clojure.lang.AFunction$1.doInvoke(AFunction.java:31)",
        "\tat clojure.lang.RestFn.invoke(RestFn.java:436)",
        "\tat compojure.core$routes$fn__53021$f__53022.invoke(core.clj:198)",
        "\tat compojure.core$routes$fn__53021$f__53022$respond_SINGLEQUOTE___53023.invoke(core.clj:197)",
        "\tat compojure.core$make_context$fn__53053.invoke(core.clj:301)",
        "\tat clojure.lang.AFn.applyToHelper(AFn.java:160)",
        "\tat clojure.lang.AFn.applyTo(AFn.java:144)",
        "\tat clojure.lang.AFunction$1.doInvoke(AFunction.java:31)",
        "\tat clojure.lang.RestFn.invoke(RestFn.java:436)",
        "\tat compojure.core$routes$fn__53021$f__53022.invoke(core.clj:198)",
        "\tat compojure.core$routes$fn__53021$f__53022$respond_SINGLEQUOTE___53023.invoke(core.clj:197)",
        "\tat compojure.core$make_context$fn__53053.invoke(core.clj:301)",
        "\tat clojure.lang.AFn.applyToHelper(AFn.java:160)",
        "\tat clojure.lang.AFn.applyTo(AFn.java:144)",
        "\tat clojure.lang.AFunction$1.doInvoke(AFunction.java:31)",
        "\tat clojure.lang.RestFn.invoke(RestFn.java:436)",
        "\tat compojure.core$routes$fn__53021$f__53022.invoke(core.clj:198)",
        "\tat compojure.core$routes$fn__53021$f__53022$respond_SINGLEQUOTE___53023.invoke(core.clj:197)",
        "\tat compojure.core$make_context$fn__53053.invoke(core.clj:301)",
        "\tat clojure.lang.AFn.applyToHelper(AFn.java:160)",
        "\tat clojure.lang.AFn.applyTo(AFn.java:144)",
        "\tat clojure.lang.AFunction$1.doInvoke(AFunction.java:31)",
        "\tat clojure.lang.RestFn.invoke(RestFn.java:436)",
        "\tat compojure.core$routes$fn__53021$f__53022.invoke(core.clj:198)",
        "\tat compojure.core$routes$fn__53021$f__53022$respond_SINGLEQUOTE___53023.invoke(core.clj:197)",
        "\tat compojure.core$make_context$fn__53053.invoke(core.clj:301)",
        "\tat clojure.lang.AFn.applyToHelper(AFn.java:160)",
        "\tat clojure.lang.AFn.applyTo(AFn.java:144)",
        "\tat clojure.lang.AFunction$1.doInvoke(AFunction.java:31)",
        "\tat clojure.lang.RestFn.invoke(RestFn.java:436)",
        "\tat compojure.core$routes$fn__53021$f__53022.invoke(core.clj:198)",
        "\tat compojure.core$routes$fn__53021$f__53022$respond_SINGLEQUOTE___53023.invoke(core.clj:197)",
        "\tat compojure.core$make_context$fn__53053.invoke(core.clj:301)",
        "\tat clojure.lang.AFn.applyToHelper(AFn.java:160)",
        "\tat clojure.lang.AFn.applyTo(AFn.java:144)",
        "\tat clojure.lang.AFunction$1.doInvoke(AFunction.java:31)",
        "\tat clojure.lang.RestFn.invoke(RestFn.java:436)",
        "\tat compojure.core$routes$fn__53021$f__53022.invoke(core.clj:198)",
        "\tat compojure.core$routes$fn__53021$f__53022$respond_SINGLEQUOTE___53023.invoke(core.clj:197)",
        "\tat compojure.core$make_context$fn__53053.invoke(core.clj:301)",
        "\tat clojure.lang.AFn.applyToHelper(AFn.java:160)",
        "\tat clojure.lang.AFn.applyTo(AFn.java:144)",
        "\tat clojure.lang.AFunction$1.doInvoke(AFunction.java:31)",
        "\tat clojure.lang.RestFn.invoke(RestFn.java:436)",
        "\tat compojure.core$routes$fn__53021$f__53022.invoke(core.clj:198)",
        "\tat compojure.core$routes$fn__53021$f__53022$respond_SINGLEQUOTE___53023.invoke(core.clj:197)",
        "\tat compojure.core$make_context$fn__53053.invoke(core.clj:301)",
        "\tat clojure.lang.AFn.applyToHelper(AFn.java:160)",
        "\tat clojure.lang.AFn.applyTo(AFn.java:144)",
        "\tat clojure.lang.AFunction$1.doInvoke(AFunction.java:31)",
        "\tat clojure.lang.RestFn.invoke(RestFn.java:436)",
        "\tat compojure.core$routes$fn__53021$f__53022.invoke(core.clj:198)",
        "\tat compojure.core$routes$fn__53021$f__53022$respond_SINGLEQUOTE___53023.invoke(core.clj:197)",
        "\tat compojure.core$make_context$fn__53053.invoke(core.clj:301)",
        "\tat clojure.lang.AFn.applyToHelper(AFn.java:160)",
        "\tat clojure.lang.AFn.applyTo(AFn.java:144)",
        "\tat clojure.lang.AFunction$1.doInvoke(AFunction.java:31)",
        "\tat clojure.lang.RestFn.invoke(RestFn.java:436)",
        "\tat compojure.core$routes$fn__53021$f__53022.invoke(core.clj:198)",
        "\tat compojure.core$routes$fn__53021$f__53022$respond_SINGLEQUOTE___53023.invoke(core.clj:197)",
        "\tat compojure.core$make_context$fn__53053.invoke(core.clj:301)",
        "\tat clojure.lang.AFn.applyToHelper(AFn.java:160)",
        "\tat clojure.lang.AFn.applyTo(AFn.java:144)",
        "\tat clojure.lang.AFunction$1.doInvoke(AFunction.java:31)",
        "\tat clojure.lang.RestFn.invoke(RestFn.java:436)",
        "\tat compojure.core$routes$fn__53021$f__53022.invoke(core.clj:198)",
        "\tat compojure.core$routes$fn__53021$f__53022$respond_SINGLEQUOTE___53023.invoke(core.clj:197)",
        "\tat compojure.core$make_context$fn__53053.invoke(core.clj:301)",
        "\tat clojure.lang.AFn.applyToHelper(AFn.java:160)",
        "\tat clojure.lang.AFn.applyTo(AFn.java:144)",
        "\tat clojure.lang.AFunction$1.doInvoke(AFunction.java:31)",
        "\tat clojure.lang.RestFn.invoke(RestFn.java:436)",
        "\tat compojure.core$routes$fn__53021$f__53022.invoke(core.clj:198)",
        "\tat compojure.core$routes$fn__53021$f__53022$respond_SINGLEQUOTE___53023.invoke(core.clj:197)",
        "\tat compojure.core$make_context$fn__53053.invoke(core.clj:301)",
        "\tat clojure.lang.AFn.applyToHelper(AFn.java:160)",
        "\tat clojure.lang.AFn.applyTo(AFn.java:144)",
        "\tat clojure.lang.AFunction$1.doInvoke(AFunction.java:31)",
        "\tat clojure.lang.RestFn.invoke(RestFn.java:436)",
        "\tat compojure.core$routes$fn__53021$f__53022.invoke(core.clj:198)",
        "\tat compojure.core$routes$fn__53021$f__53022$respond_SINGLEQUOTE___53023.invoke(core.clj:197)",
        "\tat compojure.core$make_context$fn__53053.invoke(core.clj:301)",
        "\tat clojure.lang.AFn.applyToHelper(AFn.java:160)",
        "\tat clojure.lang.AFn.applyTo(AFn.java:144)",
        "\tat clojure.lang.AFunction$1.doInvoke(AFunction.java:31)",
        "\tat clojure.lang.RestFn.invoke(RestFn.java:436)",
        "\tat compojure.core$routes$fn__53021$f__53022.invoke(core.clj:198)",
        "\tat compojure.core$routes$fn__53021$f__53022$respond_SINGLEQUOTE___53023.invoke(core.clj:197)",
        "\tat compojure.core$make_context$fn__53053.invoke(core.clj:301)",
        "\tat clojure.lang.AFn.applyToHelper(AFn.java:160)",
        "\tat clojure.lang.AFn.applyTo(AFn.java:144)",
        "\tat clojure.lang.AFunction$1.doInvoke(AFunction.java:31)",
        "\tat clojure.lang.RestFn.invoke(RestFn.java:436)",
        "\tat compojure.core$routes$fn__53021$f__53022.invoke(core.clj:198)",
        "\tat compojure.core$routes$fn__53021$f__53022$respond_SINGLEQUOTE___53023.invoke(core.clj:197)",
        "\tat compojure.core$make_context$fn__53053.invoke(core.clj:301)",
        "\tat clojure.lang.AFn.applyToHelper(AFn.java:160)",
        "\tat clojure.lang.AFn.applyTo(AFn.java:144)",
        "\tat clojure.lang.AFunction$1.doInvoke(AFunction.java:31)",
        "\tat clojure.lang.RestFn.invoke(RestFn.java:436)",
        "\tat compojure.core$routes$fn__53021$f__53022.invoke(core.clj:198)",
        "\tat compojure.core$routes$fn__53021$f__53022$respond_SINGLEQUOTE___53023.invoke(core.clj:197)",
        "\tat compojure.core$make_context$fn__53053.invoke(core.clj:301)",
        "\tat clojure.lang.AFn.applyToHelper(AFn.java:160)",
        "\tat clojure.lang.AFn.applyTo(AFn.java:144)",
        "\tat clojure.lang.AFunction$1.doInvoke(AFunction.java:31)",
        "\tat clojure.lang.RestFn.invoke(RestFn.java:436)",
        "\tat compojure.core$routes$fn__53021$f__53022.invoke(core.clj:198)",
        "\tat compojure.core$routes$fn__53021$f__53022$respond_SINGLEQUOTE___53023.invoke(core.clj:197)",
        "\tat compojure.core$make_context$fn__53053.invoke(core.clj:301)",
        "\tat clojure.lang.AFn.applyToHelper(AFn.java:160)",
        "\tat clojure.lang.AFn.applyTo(AFn.java:144)",
        "\tat clojure.lang.AFunction$1.doInvoke(AFunction.java:31)",
        "\tat clojure.lang.RestFn.invoke(RestFn.java:436)",
        "\tat compojure.core$routes$fn__53021$f__53022.invoke(core.clj:198)",
        "\tat compojure.core$routes$fn__53021$f__53022$respond_SINGLEQUOTE___53023.invoke(core.clj:197)",
        "\tat compojure.core$make_context$fn__53053.invoke(core.clj:301)",
        "\tat clojure.lang.AFn.applyToHelper(AFn.java:160)",
        "\tat clojure.lang.AFn.applyTo(AFn.java:144)",
        "\tat clojure.lang.AFunction$1.doInvoke(AFunction.java:31)",
        "\tat clojure.lang.RestFn.invoke(RestFn.java:436)",
        "\tat compojure.core$routes$fn__53021$f__53022.invoke(core.clj:198)",
        "\tat compojure.core$routes$fn__53021$f__53022$respond_SINGLEQUOTE___53023.invoke(core.clj:197)",
        "\tat compojure.core$make_context$fn__53053.invoke(core.clj:301)",
        "\tat clojure.lang.AFn.applyToHelper(AFn.java:160)",
        "\tat clojure.lang.AFn.applyTo(AFn.java:144)",
        "\tat clojure.lang.AFunction$1.doInvoke(AFunction.java:31)",
        "\tat clojure.lang.RestFn.invoke(RestFn.java:436)",
        "\tat compojure.core$routes$fn__53021$f__53022.invoke(core.clj:198)",
        "\tat compojure.core$routes$fn__53021$f__53022$respond_SINGLEQUOTE___53023.invoke(core.clj:197)",
        "\tat compojure.core$make_context$fn__53053.invoke(core.clj:301)",
        "\tat clojure.lang.AFn.applyToHelper(AFn.java:160)",
        "\tat clojure.lang.AFn.applyTo(AFn.java:144)",
        "\tat clojure.lang.AFunction$1.doInvoke(AFunction.java:31)",
        "\tat clojure.lang.RestFn.invoke(RestFn.java:436)",
        "\tat compojure.core$routes$fn__53021$f__53022.invoke(core.clj:198)",
        "\tat compojure.core$routes$fn__53021$f__53022$respond_SINGLEQUOTE___53023.invoke(core.clj:197)",
        "\tat compojure.core$make_context$fn__53053.invoke(core.clj:301)",
        "\tat clojure.lang.AFn.applyToHelper(AFn.java:160)",
        "\tat clojure.lang.AFn.applyTo(AFn.java:144)",
        "\tat clojure.lang.AFunction$1.doInvoke(AFunction.java:31)",
        "\tat clojure.lang.RestFn.invoke(RestFn.java:436)",
        "\tat compojure.core$routes$fn__53021$f__53022.invoke(core.clj:198)",
        "\tat compojure.core$routes$fn__53021$f__53022$respond_SINGLEQUOTE___53023.invoke(core.clj:197)",
        "\tat compojure.core$make_context$fn__53053.invoke(core.clj:301)",
        "\tat clojure.lang.AFn.applyToHelper(AFn.java:160)",
        "\tat clojure.lang.AFn.applyTo(AFn.java:144)",
        "\tat clojure.lang.AFunction$1.doInvoke(AFunction.java:31)",
        "\tat clojure.lang.RestFn.invoke(RestFn.java:436)",
        "\tat compojure.core$routes$fn__53021$f__53022.invoke(core.clj:198)",
        "\tat compojure.core$routes$fn__53021$f__53022$respond_SINGLEQUOTE___53023.invoke(core.clj:197)",
        "\tat compojure.core$wrap_route_matches$fn__53002.invoke(core.clj:152)",
        "\tat clojure.lang.Var.invoke(Var.java:393)",
        "\tat compojure.core$routes$fn__53021$f__53022.invoke(core.clj:198)",
        "\tat compojure.core$routes$fn__53021$f__53022$respond_SINGLEQUOTE___53023.invoke(core.clj:197)",
        "\tat metabase.api.routes$fn__104426$fn__104429.invoke(routes.clj:73)",
        "\tat compojure.core$routes$fn__53021$f__53022.invoke(core.clj:198)",
        "\tat compojure.core$routes$fn__53021.invoke(core.clj:200)",
        "\tat clojure.lang.AFn.applyToHelper(AFn.java:160)",
        "\tat clojure.lang.AFn.applyTo(AFn.java:144)",
        "\tat clojure.core$apply.invokeStatic(core.clj:667)",
        "\tat clojure.core$apply.invoke(core.clj:662)",
        "\tat metabase.server.routes$fn__104706$fn__104707.doInvoke(routes.clj:73)",
        "\tat clojure.lang.RestFn.invoke(RestFn.java:436)",
        "\tat compojure.core$routes$fn__53021$f__53022.invoke(core.clj:198)",
        "\tat compojure.core$routes$fn__53021.invoke(core.clj:200)",
        "\tat compojure.core$make_context$handler__53049.invoke(core.clj:290)",
        "\tat compojure.core$make_context$fn__53053.invoke(core.clj:300)",
        "\tat compojure.core$routes$fn__53021$f__53022.invoke(core.clj:198)",
        "\tat compojure.core$routes$fn__53021$f__53022$respond_SINGLEQUOTE___53023.invoke(core.clj:197)",
        "\tat compojure.core$wrap_route_matches$fn__53002.invoke(core.clj:153)",
        "\tat compojure.core$routes$fn__53021$f__53022.invoke(core.clj:198)",
        "\tat compojure.core$routes$fn__53021$f__53022$respond_SINGLEQUOTE___53023.invoke(core.clj:197)",
        "\tat compojure.core$wrap_route_matches$fn__53002.invoke(core.clj:152)",
        "\tat compojure.core$routes$fn__53021$f__53022.invoke(core.clj:198)",
        "\tat compojure.core$routes$fn__53021$f__53022$respond_SINGLEQUOTE___53023.invoke(core.clj:197)",
        "\tat compojure.core$wrap_route_matches$fn__53002.invoke(core.clj:152)",
        "\tat compojure.core$routes$fn__53021$f__53022.invoke(core.clj:198)",
        "\tat compojure.core$routes$fn__53021$f__53022$respond_SINGLEQUOTE___53023.invoke(core.clj:197)",
        "\tat compojure.core$wrap_route_matches$fn__53002.invoke(core.clj:152)",
        "\tat compojure.core$routes$fn__53021$f__53022.invoke(core.clj:198)",
        "\tat compojure.core$routes$fn__53021$f__53022$respond_SINGLEQUOTE___53023.invoke(core.clj:197)",
        "\tat metabase.server.routes$fn__104689$fn__104691.invoke(routes.clj:47)",
        "\tat compojure.core$routes$fn__53021$f__53022.invoke(core.clj:198)",
        "\tat compojure.core$routes$fn__53021.invoke(core.clj:200)",
        "\tat metabase.server.middleware.exceptions$catch_uncaught_exceptions$fn__100843.invoke(exceptions.clj:107)",
        "\tat metabase.server.middleware.exceptions$catch_api_exceptions$fn__100840.invoke(exceptions.clj:96)",
        "\tat metabase.server.middleware.log$log_api_call$fn__104986$fn__104987$fn__104988.invoke(log.clj:236)",
        "\tat metabase.driver.sql_jdbc.execute.diagnostic$do_with_diagnostic_info.invokeStatic(diagnostic.clj:18)",
        "\tat metabase.driver.sql_jdbc.execute.diagnostic$do_with_diagnostic_info.invoke(diagnostic.clj:12)",
        "\tat metabase.server.middleware.log$log_api_call$fn__104986$fn__104987.invoke(log.clj:227)",
        "\tat toucan2.execute$do_with_call_counts.invokeStatic(execute.clj:112)",
        "\tat toucan2.execute$do_with_call_counts.invoke(execute.clj:103)",
        "\tat metabase.server.middleware.log$log_api_call$fn__104986.invoke(log.clj:226)",
        "\tat metabase.server.middleware.browser_cookie$ensure_browser_id_cookie$fn__108249.invoke(browser_cookie.clj:40)",
        "\tat metabase.server.middleware.security$add_security_headers$fn__100799.invoke(security.clj:240)",
        "\tat ring.middleware.json$wrap_json_body$fn__108508.invoke(json.clj:64)",
        "\tat metabase.server.middleware.offset_paging$handle_paging$fn__87055.invoke(offset_paging.clj:43)",
        "\tat metabase.server.middleware.json$wrap_streamed_json_response$fn__54541.invoke(json.clj:83)",
        "\tat ring.middleware.keyword_params$wrap_keyword_params$fn__108597.invoke(keyword_params.clj:55)",
        "\tat ring.middleware.params$wrap_params$fn__108616.invoke(params.clj:77)",
        "\tat metabase.server.middleware.misc$maybe_set_site_url$fn__70243.invoke(misc.clj:60)",
        "\tat metabase.server.middleware.session$reset_session_timeout$fn__77359.invoke(session.clj:552)",
        "\tat metabase.server.middleware.session$bind_current_user$fn__77325$fn__77326.invoke(session.clj:446)",
        "\tat metabase.server.middleware.session$do_with_current_user.invokeStatic(session.clj:425)",
        "\tat metabase.server.middleware.session$do_with_current_user.invoke(session.clj:408)",
        "\tat metabase.server.middleware.session$bind_current_user$fn__77325.invoke(session.clj:445)",
        "\tat metabase.server.middleware.session$wrap_current_user_info$fn__77306.invoke(session.clj:383)",
        "\tat metabase.server.middleware.session$wrap_session_id$fn__77278.invoke(session.clj:259)",
        "\tat metabase.server.middleware.auth$wrap_static_api_key$fn__96877.invoke(auth.clj:32)",
        "\tat ring.middleware.cookies$wrap_cookies$fn__108436.invoke(cookies.clj:200)",
        "\tat metabase.server.middleware.misc$add_content_type$fn__70225.invoke(misc.clj:28)",
        "\tat metabase.server.middleware.misc$disable_streaming_buffering$fn__70251.invoke(misc.clj:77)",
        "\tat ring.middleware.gzip$wrap_gzip$fn__108478.invoke(gzip.clj:86)",
        "\tat metabase.server.middleware.misc$bind_request$fn__70254.invoke(misc.clj:94)",
        "\tat metabase.server.middleware.ssl$redirect_to_https_middleware$fn__108265.invoke(ssl.clj:41)",
        "\tat metabase.server$async_proxy_handler$fn__70589.invoke(server.clj:77)",
        "\tat metabase.server.proxy$org.eclipse.jetty.server.handler.AbstractHandler$ff19274a.handle(Unknown Source)",
        "\tat org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)",
        "\tat org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122)",
        "\tat org.eclipse.jetty.server.Server.handle(Server.java:563)",
        "\tat org.eclipse.jetty.server.HttpChannel$RequestDispatchable.dispatch(HttpChannel.java:1598)",
        "\tat org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:753)",
        "\tat org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:501)",
        "\tat org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:287)",
        "\tat org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:314)",
        "\tat org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)",
        "\tat org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53)",
        "\tat org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask(AdaptiveExecutionStrategy.java:421)",
        "\tat org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:390)",
        "\tat org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce(AdaptiveExecutionStrategy.java:277)",
        "\tat org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.run(AdaptiveExecutionStrategy.java:199)",
        "\tat org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:411)",
        "\tat org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:969)",
        "\tat org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.doRunJob(QueuedThreadPool.java:1194)",
        "\tat org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1149)",
        "\tat java.base/java.lang.Thread.run(Thread.java:829)"
      ],
      "process_uuid": "e477e3c6-8c96-4415-bab6-cd67357213cb"
    },

Within the help section we have the following diagnose information:

{
  "browser-info": {
    "language": "de",
    "platform": "Win32",
    "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36 Edg/127.0.0.0",
    "vendor": "Google Inc."
  },
  "system-info": {
    "file.encoding": "UTF-8",
    "java.runtime.name": "OpenJDK Runtime Environment",
    "java.runtime.version": "11.0.23+9-post-Ubuntu-1ubuntu122.04.1",
    "java.vendor": "Ubuntu",
    "java.vendor.url": "https://ubuntu.com/",
    "java.version": "11.0.23",
    "java.vm.name": "OpenJDK 64-Bit Server VM",
    "java.vm.version": "11.0.23+9-post-Ubuntu-1ubuntu122.04.1",
    "os.name": "Linux",
    "os.version": "5.15.0-117-generic",
    "user.language": "de",
    "user.timezone": "Europe/Berlin"
  },
  "metabase-info": {
    "databases": [
      "h2",
      "oracle"
    ],
    "hosting-env": "unknown",
    "application-database": "mysql",
    "application-database-details": {
      "database": {
        "name": "MariaDB",
        "version": "10.11.8-MariaDB-ubu2204"
      },
      "jdbc-driver": {
        "name": "MariaDB Connector/J",
        "version": "2.7.10"
      }
    },
    "run-mode": "prod",
    "plan-alias": "",
    "version": {
      "date": "2024-07-25",
      "tag": "v0.50.16",
      "hash": "28de9df"
    },
    "settings": {
      "report-timezone": "Europe/Berlin"
    }
  }
}

During the update we had to format multiple timestamps to dates and the other way around in the database because we received multiple errors.

Any idea on why this happened?
Thanks in advance! :slight_smile:

So you manually edited the app db?

Yes we had to manually edit it because the internal database upgrade failed.

The workaround we used:

Hi @aks !
I'm the developer that suggested you the workaround, unfortunately I made a mistake in the first query where I didn't exclude some system tables that we shouldn't change the type.

To fix the issue you're having, you'll need to manually revert that change but executing these 2 queries:

ALTER TABLE `DATABASECHANGELOG` MODIFY `DATEEXECUTED` DATETIME NOT NULL;
ALTER TABLE `databasechangeloglock` MODIFY `LOCKGRANTED` DATETIME NULL;

FWIW, I updated the original comment I to exclude these tables, see

Sorry for the inconvenience!

Hi @qnkhuat ! Thanks so much for the help!

We executed the queries, the second one resulted in an error

but the option to share links is working again :pray:
we are now also on v.50.19.

Can you try to check if DATABASECHANGELOGLOCK table exists? (table name upeer-cased). if yes then please execute the query again with the table name uppercased.

This is a table created by our migration library, so depending on your database, you'll get a different casing.

Yup, changing the query to uppercase worked without any errors, thanks!