-
Notifications
You must be signed in to change notification settings - Fork 442
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
Build Pack Error when deploying dokku #125
Comments
@devjsaon it looks like you might be using an old version of the buildpack--there is no line 43 in the current version of the Java buildpack. Can you confirm that you're running the latest code in the master branch of this repo? |
hi @jkutner thanks for you quick reply. :) Yes I'm using old version of buildpack. dokku config:set myapp BUILDPACK_URL=https://github.com/heroku/heroku-buildpack-java/releases/tag/v33 and then I've tried to deploy again and I see same error. Command below... |
Can you use a newer version of the buildpack? |
Yes I can, the point is how do I do that? |
I think you update the buildpack by running:
(note the |
and the command will be inside my procfile, right? |
After running the config set from my ubuntu machine I'm still getting error. $ git push docker-d master_desenv:master -f |
I was using the wrong URL for the buildpack. I changed for I'm now being able to deploy again. :) Thank you @jkutner for following this with me. :) |
Hello,
I'm over 2 days trying to figure out what can be happening on my environment
When trying to rebuild an existing aplication I'm getting the following error:
/tmp/buildpacks/heroku-buildpack-java/bin/compile: line 43: detect_java_version: command not
Below is the command I'm executing...
dokku rebuild:force myapp
Cloning into '/tmp/tmp.VjWEqvvaUa'...
done.
HEAD is now at 1924c62... Merge branch 'backlog#1234' into master_homolog
-----> Building myapp using buildstep...
-----> Installing ENV in build environment ...
-----> Using u1000 to run an application
-----> Java app detected
/tmp/buildpacks/heroku-buildpack-java/bin/compile: line 43: detect_java_version: command not found
Any help is more than welcome.
The text was updated successfully, but these errors were encountered: