Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App crashing following deployment - no child process #3

Open
darrenklein opened this issue Sep 1, 2020 · 0 comments
Open

App crashing following deployment - no child process #3

darrenklein opened this issue Sep 1, 2020 · 0 comments

Comments

@darrenklein
Copy link

Hello, thank you so much for all of your hard work on this project. I've recently started experimenting with using mix releases for my Phoenix app on Heroku, and I have been trying to deploy using this buildpack. However, while my app is in the process of starting up, I'm getting an "Error waiting for process to terminate: No child processes" and the app is crashing. I'm wondering if you've experienced this before, and if you have any insight into how I might address it...

First off, my buildpacks are as follows:

1. https://gitlab.com/my_name/ssh-key-private-buildpack.git
2. https://github.com/HashNuke/heroku-buildpack-elixir.git
3. https://github.com/gjaldon/heroku-buildpack-phoenix-static.git
4. https://github.com/heroku/exec-buildpack
5. https://github.com/chrismcg/heroku-buildpack-elixir-mix-release.git

And my Elixir buildpack config:

erlang_version=22.3
elixir_version=1.10.2
always_rebuild=false

Immediately after the deployment process finished, I ran heroku logs --tail to watch what was happening - here are some excerpts from the logs:

2020-09-01T18:37:54.866744+00:00 app[api]: Deploy f9fdcadd by user [email protected]:37:54.866744+00:00 app[api]: Release v509 created by user [email protected]:38:07.148587+00:00 app[web.1]: [heroku-exec] Starting
2020-09-01T18:38:12.000000+00:00 app[api]: Build succeeded2020-09-01T18:38:17.082248+00:00 app[web.1]: 18:38:17.082 [error] calling logger:remove_handler(default) failed: :error {:badmatch, {:error, {:not_found, :default}}}
2020-09-01T18:38:17.111338+00:00 app[web.1]: 18:38:17.111 [info] Application lager started on node 'my_app@af5ab302-038e-4599-8633-b5add9b8a2a3'
2020-09-01T18:38:17.112393+00:00 app[web.1]: 18:38:17.112 [info] Application postgrex started on node 'my_app@af5ab302-038e-4599-8633-b5add9b8a2a3'
2020-09-01T18:38:17.112481+00:00 app[web.1]: 18:38:17.112 [info] Application jsx started on node 'my_app@af5ab302-038e-4599-8633-b5add9b8a2a3'
2020-09-01T18:38:17.112805+00:00 app[web.1]: 18:38:17.112 [info] Application util_lib started on node 'my_app@af5ab302-038e-4599-8633-b5add9b8a2a3'
2020-09-01T18:38:17.115758+00:00 app[web.1]: 18:38:17.115 [info] {"module":"Elixir.Analytics.Log","message":"Starting log write cache service","line":83,"function":"init","app":"analytics_data"}
2020-09-01T18:38:17.116040+00:00 app[web.1]: 18:38:17.115 [info] {"tables":["event","stream","network"],"module":"Elixir.Analytics.DB.Writer","message":"Starting db writer service","line":42,"function":"init","directory":"./analytics_data_cache","app":"analytics_data"}
2020-09-01T18:38:17.116265+00:00 app[web.1]: 18:38:17.116 [info] Application analytics_data started on node 'my_app@af5ab302-038e-4599-8633-b5add9b8a2a3'
2020-09-01T18:38:17.116717+00:00 app[web.1]: 18:38:17.116 [info] Application auth started on node 'my_app@af5ab302-038e-4599-8633-b5add9b8a2a3'
2020-09-01T18:38:17.117060+00:00 app[web.1]: 18:38:17.116 [info] Application ex_aws started on node 'my_app@af5ab302-038e-4599-8633-b5add9b8a2a3'
2020-09-01T18:38:17.117154+00:00 app[web.1]: 18:38:17.116 [info] Application ex_aws_dynamo started on node 'my_app@af5ab302-038e-4599-8633-b5add9b8a2a3'
2020-09-01T18:38:17.117265+00:00 app[web.1]: 18:38:17.116 [info] Application jason started on node 'my_app@af5ab302-038e-4599-8633-b5add9b8a2a3'
2020-09-01T18:38:17.117535+00:00 app[web.1]: 18:38:17.117 [info] Application ecto_adapters_dynamodb started on node 'my_app@af5ab302-038e-4599-8633-b5add9b8a2a3'
2020-09-01T18:38:18.038472+00:00 app[web.1]: 18:38:18.038 [warning] lager_error_logger_h dropped 73 messages in the last second that exceeded the limit of 50 messages/sec
2020-09-01T18:38:20.474657+00:00 app[web.1]: 18:38:20.474 [info] tzdata release in place is from a file last modified Tue, 26 Mar 2019 05:40:14 GMT. Release file on server was last modified Fri, 24 Apr 2020 04:15:20 GMT.
2020-09-01T18:38:22.300606+00:00 app[web.1]: 18:38:22.300 [info] Tzdata has updated the release from 2019a to 2020a
2020-09-01T18:39:05.453594+00:00 app[web.1]: Error waiting for process to terminate: No child processes
2020-09-01T18:39:05.519132+00:00 heroku[web.1]: State changed from starting to crashed

Let me know if there's anything else I can provide to help illustrate my issue. Again, thanks so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant