Start Call: :disk_log_sup.start_link()
12:52:11.524 [info] Child :disk_log_server of Supervisor :kernel_safe_sup started
Pid: #PID<0.3050.0>
Start Call: :disk_log_server.start_link()
{exit,terminating,[{application_controller,call,2,[{file,"application_controller.erl"},{line,511}]},{application,enqueue_or_start,6,[{file,"application.erl"},{line,380}]},{application,ensure_all_started,3,[{file,"application.erl"},{line,359}]},{elixir,start_cli,0,[{file,"src/elixir.erl"},{line,195}]},{init,start_it,1,[]},{init,start_em,1,[]},{init,do_boot,3,[]}]}
Runtime terminating during boot (terminating)
12:52:11.600 [info] Child Tzdata.EtsHolder of Supervisor #PID<0.3047.0> (Supervisor.Default) started
Pid: #PID<0.3048.0>
Start Call: Tzdata.EtsHolder.start_link([])
Crash dump is being written to: erl_crash.dump...done
Facing this issue on
ELIXIR_VERSION=1.17.2
OTP_VERSION=27.0.1
ALPINE_VERSION=3.20.2
My application file
defmodule Butcher.Application do
@moduledoc false
use Application
@impl true
def start(_type, _args) do
opts = [strategy: :one_for_one, name: Butcher.Supervisor]
children = [
ButcherWeb.Telemetry,
{Phoenix.PubSub, name: Butcher.PubSub},
ButcherWeb.Endpoint,
Butcher.Repo,
]
Supervisor.start_link(children, opts)
end
@impl true
def config_change(changed, _new, removed) do
ButcherWeb.Endpoint.config_change(changed, removed)
:ok
end
end
My Runtime configs
config :butcher, ButcherWeb.Endpoint,
server: true,
url: [host: host, port: https_port, scheme: "https"],
http: [
port: port,
transport_options: [socket_opts: [:inet6]]
],
https: [
port: https_port,
cipher_suite: :strong,
keyfile: key_path,
certfile: cert_path,
cacertfile: cacert_path,
transport_options: [socket_opts: [:inet6]]
],
secret_key_base: secret_key_base
I was able to pinpoint that commenting endpoint in application resulted into starting of application.
Not sure what I’m missing