From 41808a88836b438bcc2bfa1c7ab790c0b85c16dd Mon Sep 17 00:00:00 2001 From: michaeljguarino Date: Fri, 23 Aug 2024 22:01:59 -0400 Subject: [PATCH] fix tzdata start issue --- apps/core/priv/repo/seeds/00_bootstrap.exs | 2 ++ apps/core/priv/repo/seeds/012_enterprise_plan.exs | 1 + rel/config/config.exs | 3 +++ 3 files changed, 6 insertions(+) diff --git a/apps/core/priv/repo/seeds/00_bootstrap.exs b/apps/core/priv/repo/seeds/00_bootstrap.exs index 42d0c71ee..c03db26df 100644 --- a/apps/core/priv/repo/seeds/00_bootstrap.exs +++ b/apps/core/priv/repo/seeds/00_bootstrap.exs @@ -4,6 +4,8 @@ import System, only: [get_env: 1] alias Core.Repo alias Core.Schema +Application.ensure_all_started(:tzdata) + seed do {:ok, admin} = Core.Services.Users.create_user(%{ name: get_env("ADMIN_NAME"), diff --git a/apps/core/priv/repo/seeds/012_enterprise_plan.exs b/apps/core/priv/repo/seeds/012_enterprise_plan.exs index 22e91cd54..ee24e1286 100644 --- a/apps/core/priv/repo/seeds/012_enterprise_plan.exs +++ b/apps/core/priv/repo/seeds/012_enterprise_plan.exs @@ -1,6 +1,7 @@ import Botanist seed do + {:ok, _} = Core.Services.Payments.setup_plans() enterprise = Core.Services.Payments.get_platform_plan_by_name!("Enterprise") Ecto.Changeset.change(enterprise, %{enterprise: true}) diff --git a/rel/config/config.exs b/rel/config/config.exs index 7a1b29000..ef1844e75 100644 --- a/rel/config/config.exs +++ b/rel/config/config.exs @@ -143,3 +143,6 @@ config :core, config :openai, token: get_env("OPENAI_BEARER_TOKEN") + + +config :tzdata, :autoupdate, :disabled