jkutner / heroku-buildpack-minecraft

A buildpack for running a Minecraft Server on Heroku
MIT License
202 stars 292 forks source link

Cannot exec 'java': No such file or directory #67

Open ElegantFx opened 3 years ago

ElegantFx commented 3 years ago

I did everything written in the README, but the server doesn't start and shows this.

app/web.1 Cannot exec 'java': No such file or directory

jkutner commented 3 years ago

Did you deploy from the button, or from the CLI commands?

Sounds like the heroku/jvm buildpack didn't run. Double check your build log to see if it says it did.

ElegantFx commented 3 years ago

I tried installing the Heroku official Java buildpack but at first I couldn't install it because it was "Incompatible with the application", then I managed to install it and I got an error message.

On Tue, 12 Jan 2021, 18:31 Joe Kutner, notifications@github.com wrote:

Did you deploy from the button, or from the CLI commands?

Sounds like the heroku/jvm buildpack didn't run. Double check your build log to see if it says it did.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jkutner/heroku-buildpack-minecraft/issues/67#issuecomment-758817952, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIZFI32XMPCLUP7ABDNPB6TSZSBPBANCNFSM4V64H3MA .

jkutner commented 3 years ago

heroku/java or heroku/jvm?

Are you running this on Heroku?

ElegantFx commented 3 years ago

Yes I am running it on Heroku, I will try to use the heroku/jvm since I think previously I had used the heroku/java one. I'll let you know.

On Tue, 12 Jan 2021, 19:01 Joe Kutner, notifications@github.com wrote:

heroku/java or heroku/jvm?

Are you running this on Heroku?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jkutner/heroku-buildpack-minecraft/issues/67#issuecomment-758835709, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIZFI37KILRHT7YZTZIBYALSZSE73ANCNFSM4V64H3MA .

jkutner commented 3 years ago

It probably crashed too many times, so you'll need to run heroku ps:scale web=1

ElegantFx commented 3 years ago

Sorry, I had to delete and rewrite the message

I installed the heroku/jvm buildpack.

Now this happens:

Jan 12 13:21:53 terramoldava app/api Build succeeded
Jan 12 13:22:12 heroku/router at=error code=H14 desc="No web processes running" method=GET path="/" host=xxx fwd=xxx dyno= connect= service= status=503 bytes= protocol=https
Jan 12 13:22:13 terramoldava heroku/router at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=xxx fwd=xxx dyno= connect= service= status=503 bytes= protocol=https

And nothing starts.

ElegantFx commented 3 years ago

I deleted the app, and created a new one following the tutorial on the README.md step by step, same issue as before