Fork me on GitHub
#heroku
<
2022-01-27
bastilla23:01:44

Hi there. After a fight, I deployed my first app (which compiled remotely) and restore my local postgresql to Heroku. Then issued

heroku ps:scale web=1
heroku open
which fails with logging:
2022-01-27T23:41:43.611429+00:00 app[web.1]: bash: java: command not found
2022-01-27T23:41:43.815109+00:00 heroku[web.1]: State changed from starting to crashed
2022-01-27T23:41:13.127393+00:00 app[api]: Scaled to web@0:Free by user <me>
2022-01-27T23:41:33.763748+00:00 app[api]: Scaled to web@1:Free by user <me>
2022-01-27T23:43:37.962184+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host= request_id=991cd694-e802-4cbc-a374-9f97f5f353c8 fwd="88.130.152.82" dyno= connect= service= status=503 bytes= protocol=https
2022-01-27T23:43:51.379794+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host= request_id=faedadd1-010e-4fef-88da-5e8bba371548 fwd="88.130.152.82" dyno= connect= service= status=503 bytes= protocol=https
First day of Heroku. Somewhat lost here. Also did heroku restart. Has anyone ever experienced this? Thanks for helping out a noob here.

1
bastilla09:01:10

the solution was to manually add the buildpackage heroku/clojure to the Clojure project. (Did it via dashboard.) Note, that the likely order is having it as last buildpackage. In my case it's heroku/nodejs first, then heroku/clojure.