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

Heroku one click deploy failed #1013

Open
Arena-of-AI opened this issue Jun 21, 2023 · 0 comments
Open

Heroku one click deploy failed #1013

Arena-of-AI opened this issue Jun 21, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Arena-of-AI
Copy link

Describe the bug
When I tried the Heroku one click deployment, it says I need to use Heroku-22 stack, instead of Heroku-18 stack.

So, I forked the papercups project to my github personal account and change Heroku-18 stack to 22 in app.json.

When I run the one click deployment under my personal github account, the error message showed up:

-----> Building on the Heroku-22 stack
-----> Using buildpacks:
1. hashnuke/elixir
2. https://github.com/gjaldon/heroku-buildpack-phoenix-static
-----> Elixir app detected
-----> Will export the following config vars:
BACKEND_URL
DATABASE_URL
REACT_APP_URL
SECRET_KEY_BASE
* MIX_ENV=prod
-----> Checking Erlang and Elixir versions
Will use the following versions:
* Stack heroku-22
* Erlang 23.0.2
* Elixir v1.11.3
-----> Stack changed, will rebuild
-----> Fetching Erlang 23.0.2 from https://s3.amazonaws.com/heroku-buildpack-elixir/erlang/cedar-14/OTP-23.0.2.tar.gz
-----> Installing Erlang 23.0.2 (changed)
-----> Fetching Elixir v1.11.3 for OTP 23 from https://repo.hex.pm/builds/elixir/v1.11.3-otp-23.zip
-----> Installing Elixir v1.11.3 (changed)
-----> Installing Hex
/app/.platform_tools/erlang/erts-11.0.2/bin/beam.smp: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
-----> Installing rebar
/app/.platform_tools/erlang/erts-11.0.2/bin/beam.smp: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
-----> Fetching app dependencies with mix
/app/.platform_tools/erlang/erts-11.0.2/bin/beam.smp: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
! Push rejected, failed to compile Elixir app.
! Push failed

I am a newbie in programming. Can anyone please tell me what to do? Thank you so much!

@Arena-of-AI Arena-of-AI added the bug Something isn't working label Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant