Hi there,
I am setting up a new staging instance on webdock.io. I was able to create the database and run the migrations. When i tried to start the server, I am getting error.
=CRASH REPORT==== 29-Sep-2023::23:28:55.014825 ===
crasher:
initial call: ‘Elixir.Logger.Watcher’:init/1
pid: <0.333.0>
registered_name:
exception exit: {‘EXIT’,
{#{‘exception’ => true,
‘struct’ => ‘Elixir.ArgumentError’,
message =>
<<“$request is an invalid format pattern”>>},
[{‘Elixir.Logger.Formatter’,compile_code,1,
[{file,“lib/logger/formatter.ex”},{line,162}]},
{‘Elixir.Logger.Formatter’,‘-compile/1-fun-0-’,2,
[{file,“lib/logger/formatter.ex”},{line,148}]},
{‘Elixir.Enum’,‘-reduce/3-lists^foldl/2-0-’,3,
[{file,“lib/enum.ex”},{line,2468}]},
{‘Elixir.Logger.Formatter’,compile,1,
[{file,“lib/logger/formatter.ex”},{line,146}]},
{‘Elixir.Logger.Backends.Console’,init,2,
[{file,“lib/logger/backends/console.ex”},
{line,162}]},
{‘Elixir.Logger.Backends.Console’,init,1,
[{file,“lib/logger/backends/console.ex”},
{line,76}]},
{gen_event,server_add_handler,4,
[{file,“gen_event.erl”},{line,698}]},
{gen_event,handle_msg,6,
[{file,“gen_event.erl”},{line,544}]}]}}
in function gen_server:init_it/6 (gen_server.erl, line 835)
ancestors: [‘Elixir.Logger.BackendSupervisor’,
‘Elixir.Logger.Supervisor’,<0.328.0>]
message_queue_len: 0
messages:
links: [<0.332.0>,<0.330.0>]
dictionary:
trap_exit: true
status: running
heap_size: 376
stack_size: 28
reductions: 226
neighbours:=SUPERVISOR REPORT==== 29-Sep-2023::23:28:55.126531 ===
supervisor: {local,‘Elixir.Logger.Supervisor’}
errorContext: start_error
reason: {‘EXIT’,
{#{‘exception’ => true,
‘struct’ => ‘Elixir.RuntimeError’,
message =>
<<“EXIT when installing backend :console: an exception was raised:\n ** (ArgumentError) $request is an invalid format pattern\n (logger 1.14.0) lib/logger/formatter.ex:162: Logger.Formatter.compile_code/1\n (logger 1.14.0) lib/logger/formatter.ex:148: anonymous fn/2 in Logger.Formatter.compile/1\n (elixir 1.14.0) lib/enum.ex:2468: Enum."-reduce/3-lists^foldl/2-0-"/3\n (logger 1.14.0) lib/logger/formatter.ex:146: Logger.Formatter.compile/1\n (logger 1.14.0) lib/logger/backends/console.ex:162: Logger.Backends.Console.init/2\n (logger 1.14.0) lib/logger/backends/console.ex:76: Logger.Backends.Console.init/1\n (stdlib 4.2) gen_event.erl:698: :gen_event.server_add_handler/4\n (stdlib 4.2) gen_event.erl:544: :gen_event.handle_msg/6”>>},
[{‘Elixir.Logger.BackendSupervisor’,‘-start_link/1-fun-0-’,
2,
[{file,“lib/logger/backend_supervisor.ex”},
{line,19},
{error_info,#{module => ‘Elixir.Exception’}}]},
{‘Elixir.Enum’,‘-reduce/3-lists^foldl/2-0-’,3,
[{file,“lib/enum.ex”},{line,2468}]},
{‘Elixir.Logger.BackendSupervisor’,start_link,1,
[{file,“lib/logger/backend_supervisor.ex”},{line,13}]},
{supervisor,do_start_child_i,3,
[{file,“supervisor.erl”},{line,414}]},
{supervisor,do_start_child,2,
[{file,“supervisor.erl”},{line,400}]},
{supervisor,‘-start_children/2-fun-0-’,3,
[{file,“supervisor.erl”},{line,384}]},
{supervisor,children_map,4,
[{file,“supervisor.erl”},{line,1250}]},
{supervisor,init_children,2,
[{file,“supervisor.erl”},{line,350}]}]}}
offender: [{pid,undefined},
{id,‘Elixir.Logger.BackendSupervisor’},
{mfargs,{‘Elixir.Logger.BackendSupervisor’,start_link,[]}},
{restart_type,permanent},
{significant,false},
{shutdown,infinity},
{child_type,supervisor}]=CRASH REPORT==== 29-Sep-2023::23:28:55.127812 ===
crasher:
initial call: application_master:init/4
pid: <0.327.0>
registered_name:
exception exit: {{shutdown,
{failed_to_start_child,
‘Elixir.Logger.BackendSupervisor’,
{‘EXIT’,
{#{‘exception’ => true,
‘struct’ => ‘Elixir.RuntimeError’,
message =>
<<“EXIT when installing backend :console: an exception was raised:\n ** (ArgumentError) $request is an invalid format pattern\n (logger 1.14.0) lib/logger/formatter.ex:162: Logger.Formatter.compile_code/1\n (logger 1.14.0) lib/logger/formatter.ex:148: anonymous fn/2 in Logger.Formatter.compile/1\n (elixir 1.14.0) lib/enum.ex:2468: Enum."-reduce/3-lists^foldl/2-0-"/3\n (logger 1.14.0) lib/logger/formatter.ex:146: Logger.Formatter.compile/1\n (logger 1.14.0) lib/logger/backends/console.ex:162: Logger.Backends.Console.init/2\n (logger 1.14.0) lib/logger/backends/console.ex:76: Logger.Backends.Console.init/1\n (stdlib 4.2) gen_event.erl:698: :gen_event.server_add_handler/4\n (stdlib 4.2) gen_event.erl:544: :gen_event.handle_msg/6”>>},
[{‘Elixir.Logger.BackendSupervisor’,
‘-start_link/1-fun-0-’,2,
[{file,“lib/logger/backend_supervisor.ex”},
{line,19},
{error_info,#{module => ‘Elixir.Exception’}}]},
{‘Elixir.Enum’,‘-reduce/3-lists^foldl/2-0-’,3,
[{file,“lib/enum.ex”},{line,2468}]},
{‘Elixir.Logger.BackendSupervisor’,start_link,1,
[{file,“lib/logger/backend_supervisor.ex”},
{line,13}]},
{supervisor,do_start_child_i,3,
[{file,“supervisor.erl”},{line,414}]},
{supervisor,do_start_child,2,
[{file,“supervisor.erl”},{line,400}]},
{supervisor,‘-start_children/2-fun-0-’,3,
[{file,“supervisor.erl”},{line,384}]},
{supervisor,children_map,4,
[{file,“supervisor.erl”},{line,1250}]},
{supervisor,init_children,2,
[{file,“supervisor.erl”},{line,350}]}]}}}},
{‘Elixir.Logger.App’,start,[normal,]}}
in function application_master:init/4 (application_master.erl, line 142)
ancestors: [<0.326.0>]
message_queue_len: 1
messages: [{‘EXIT’,<0.328.0>,normal}]
links: [<0.326.0>,<0.44.0>]
dictionary:
trap_exit: true
status: running
heap_size: 376
stack_size: 28
reductions: 203
neighbours:=INFO REPORT==== 29-Sep-2023::23:28:55.128911 ===
application: logger
exited: {{shutdown,
{failed_to_start_child,‘Elixir.Logger.BackendSupervisor’,
{‘EXIT’,
{#{‘exception’ => true,
‘struct’ => ‘Elixir.RuntimeError’,
message =>
<<“EXIT when installing backend :console: an exception was raised:\n ** (ArgumentError) $request is an invalid format pattern\n (logger 1.14.0) lib/logger/formatter.ex:162: Logger.Formatter.compile_code/1\n (logger 1.14.0) lib/logger/formatter.ex:148: anonymous fn/2 in Logger.Formatter.compile/1\n (elixir 1.14.0) lib/enum.ex:2468: Enum."-reduce/3-lists^foldl/2-0-"/3\n (logger 1.14.0) lib/logger/formatter.ex:146: Logger.Formatter.compile/1\n (logger 1.14.0) lib/logger/backends/console.ex:162: Logger.Backends.Console.init/2\n (logger 1.14.0) lib/logger/backends/console.ex:76: Logger.Backends.Console.init/1\n (stdlib 4.2) gen_event.erl:698: :gen_event.server_add_handler/4\n (stdlib 4.2) gen_event.erl:544: :gen_event.handle_msg/6”>>},
[{‘Elixir.Logger.BackendSupervisor’,
‘-start_link/1-fun-0-’,2,
[{file,“lib/logger/backend_supervisor.ex”},
{line,19},
{error_info,#{module => ‘Elixir.Exception’}}]},
{‘Elixir.Enum’,‘-reduce/3-lists^foldl/2-0-’,3,
[{file,“lib/enum.ex”},{line,2468}]},
{‘Elixir.Logger.BackendSupervisor’,start_link,1,
[{file,“lib/logger/backend_supervisor.ex”},
{line,13}]},
{supervisor,do_start_child_i,3,
[{file,“supervisor.erl”},{line,414}]},
{supervisor,do_start_child,2,
[{file,“supervisor.erl”},{line,400}]},
{supervisor,‘-start_children/2-fun-0-’,3,
[{file,“supervisor.erl”},{line,384}]},
{supervisor,children_map,4,
[{file,“supervisor.erl”},{line,1250}]},
{supervisor,init_children,2,
[{file,“supervisor.erl”},{line,350}]}]}}}},
{‘Elixir.Logger.App’,start,[normal,]}}
type: permanent** (exit) exited in: GenServer.call(Mix.ProjectStack, {:update_stack, #Function<18.83549264/1 in Mix.ProjectStack.printable_app_name/0>}, :infinity)
** (EXIT) no process: the process is not alive or there’s no process currently associated with the given name, possibly because its application isn’t started
(elixir 1.14.0) lib/gen_server.ex:1027: GenServer.call/3
(mix 1.14.0) lib/mix/shell/io.ex:15: Mix.Shell.IO.print_app/0
(mix 1.14.0) lib/mix/shell/io.ex:34: Mix.Shell.IO.error/1
(mix 1.14.0) lib/mix/tasks/app.start.ex:79: anonymous fn/3 in Mix.Tasks.App.Start.start/2
(elixir 1.14.0) lib/enum.ex:2468: Enum.“-reduce/3-lists^foldl/2-0-”/3
(mix 1.14.0) lib/mix/tasks/app.start.ex:69: Mix.Tasks.App.Start.start/2
(mix 1.14.0) lib/mix/task.ex:421: anonymous fn/3 in Mix.Task.run_task/4
(mix 1.14.0) lib/mix/tasks/run.ex:127: Mix.Tasks.Run.run/5
{“init terminating in do_boot”,{noproc,{gen_server,call,[elixir_config,{get_and_put,at_exit,}]}}}
init terminating in do_boot ({noproc,{gen_server,call,[elixir_config,{get_and_put,at_exit,[_]}]}})Crash dump is being written to: erl_crash.dump…done
the mix.exs file
def project do
[
app: :app,
version: “0.1.0”,
elixir: “~> 1.5”,
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
aliases: aliases(),
deps: deps()
]
end