: ~ $ ~/my_app/bin/my_app foreground
22:39:22.106 [info] Running MyApp.Endpoint with Cowboy using http://0.0.0.0:4000
22:39:22.106 [error] Could not find static manifest at "/home/ubuntu/my_app/lib/my_app-1.0.0/priv/static/manifest.json". Run "mix phx.digest" after building your static files or remove the configuration from "config/prod.exs".
22:39:22.122 [info] Application my_app exited: MyApp.Application.start(:normal, []) returned an error: shutdown: failed to start child: MyApp.Cache
** (EXIT) shutdown: failed to start child: :shards_sup
** (EXIT) an exception was raised:
** (UndefinedFunctionError) function :shards_sup.start_link/1 is undefined (module :shards_sup is not available)
:shards_sup.start_link(MyApp.Cache.LocalSupervisor)
(stdlib) supervisor.erl:365: :supervisor.do_start_child/2
(stdlib) supervisor.erl:348: :supervisor.start_children/3
(stdlib) supervisor.erl:314: :supervisor.init_children/2
(stdlib) gen_server.erl:328: :gen_server.init_it/6
(stdlib) proc_lib.erl:247: :proc_lib.init_p_do_apply/3
{"Kernel pid terminated",application_controller,"{application_start_failure,my_app,{{shutdown,{failed_to_start_child,'Elixir.MyApp.Cache',{shutdown,{failed_to_start_child,shards_sup,{'EXIT',{undef,[{shards_sup,start_link,['Elixir.MyApp.Cache.LocalSupervisor'],[]},{supervisor,do_start_child,2,[{file,\"supervisor.erl\"},{line,365}]},{supervisor,start_children,3,[{file,\"supervisor.erl\"},{line,348}]},{supervisor,init_children,2,[{file,\"supervisor.erl\"},{line,314}]},{gen_server,init_it,6,[{file,\"gen_server.erl\"},{line,328}]},{proc_lib,init_p_do_apply,3,[{file,\"proc_lib.erl\"},{line,247}]}]}}}}}},{'Elixir.MyApp.Application',start,[normal,[]]}}}"}
Kernel pid terminated (application_controller) ({application_start_failure,my_app,{{shutdown,{failed_to_start_child,'Elixir.MyApp.Cache',{shutdown,{failed_to_start_child,shards_sup,{'EXIT',{undef,[{shards_
Crash dump is being written to: erl_crash.dump...done
Got the following trouble with release:
And i have no clue what's going on.
How can I fix it?