meadowhawk
meadowhawk
RRailway
Created by meadowhawk on 4/8/2024 in #✋|help
Dockerfile based Template deletes volume on redeploy.
OK, awesome I'll update and see if I get it now. Thank for the help!!
18 replies
RRailway
Created by meadowhawk on 4/8/2024 in #✋|help
Dockerfile based Template deletes volume on redeploy.
ahh I believe I ahve it backwards! so in the volumes mount path I would want to specify that as /app/data and in my app I would reference it as simply ./data
18 replies
RRailway
Created by meadowhawk on 4/8/2024 in #✋|help
Dockerfile based Template deletes volume on redeploy.
ok checking it out
18 replies
RRailway
Created by meadowhawk on 4/8/2024 in #✋|help
Dockerfile based Template deletes volume on redeploy.
ohh so the volume path would be ./data? while the app si running at ./app ?
18 replies
RRailway
Created by meadowhawk on 4/8/2024 in #✋|help
Dockerfile based Template deletes volume on redeploy.
sot eh volume would be under that?
18 replies
RRailway
Created by meadowhawk on 4/8/2024 in #✋|help
Dockerfile based Template deletes volume on redeploy.
I got from the help doc that everythig runs in /app ?
18 replies
RRailway
Created by meadowhawk on 4/8/2024 in #✋|help
Dockerfile based Template deletes volume on redeploy.
hmm it is writing to the locaiton.. well unless I have the location wrong of course... I am writing to ./app/data and the volume was created as /data
18 replies
RRailway
Created by meadowhawk on 4/8/2024 in #✋|help
Dockerfile based Template deletes volume on redeploy.
yes, the db is deleted wehn I redeploy the app
18 replies
RRailway
Created by meadowhawk on 4/8/2024 in #✋|help
Dockerfile based Template deletes volume on redeploy.
48a6a018-c24e-4001-b030-33c5da1ff3bd
18 replies
RRailway
Created by Prakash on 8/21/2023 in #✋|help
Error: Unsupported Gradle version: 8
the not so helpful hint is in this last logged line "RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 539 ms. Found 1 JPA repository interfaces." It found a repo but probably failed to conenct causing it to crash. Not sure where the follow up logging went.. some sort of stack dump should have followed but I'd bet on a connection issue.
30 replies
RRailway
Created by Prakash on 8/21/2023 in #✋|help
Error: Unsupported Gradle version: 8
This is pretty old but just in case... Spring started up so most likely your app crashed because it failed to connect to the JPA Repo.
30 replies
RRailway
Created by meadowhawk on 11/10/2022 in #✋|help
Converting Java app from Heroku Buildpack to Nixpacks
cool, yeah its a million little things I am sure!
14 replies
RRailway
Created by meadowhawk on 11/10/2022 in #✋|help
Converting Java app from Heroku Buildpack to Nixpacks
anyway thanks for the help, you guys are awesome!
14 replies
RRailway
Created by meadowhawk on 11/10/2022 in #✋|help
Converting Java app from Heroku Buildpack to Nixpacks
yup that did it! Guess Nixpack needs to chmod the file when someone forges to do that or just print out the message for the user to go add +x. 🙂
14 replies
RRailway
Created by meadowhawk on 11/10/2022 in #✋|help
Converting Java app from Heroku Buildpack to Nixpacks
cool OK I'll give that a try and let ya know how it goes, thanks!
14 replies
RRailway
Created by meadowhawk on 11/10/2022 in #✋|help
Converting Java app from Heroku Buildpack to Nixpacks
I would run 'gradlew build' which does look like what its trying to do. I wonder if gradlew which is in the project repo requires a chmod +x to make it executable? perhaps that is the cause of the permission denied?
14 replies
RRailway
Created by meadowhawk on 11/10/2022 in #✋|help
Converting Java app from Heroku Buildpack to Nixpacks
Can I build the app in the container or do I have to upload an already build jar file?
14 replies
RRailway
Created by meadowhawk on 11/10/2022 in #✋|help
Converting Java app from Heroku Buildpack to Nixpacks
hey thanks for the response! OK so that got me closer, I deleted the value and got to running a build but I'm now getting permission denied while running gradle build.
#10 [stage-0 6/7] RUN --mount=type=cache,id=s/01840f60-dc5d-413b-ad13-7e7e5bdb8770-/root/gradle,target=/root/.gradle ./gradlew build -x check
#10 sha256:1feffe6e3107b40201a72aacb9bb8c5e3fc248b437cd69a98aba499db631919d

#10 0.527 /bin/bash: line 1: ./gradlew: Permission denied
#10 ERROR: executor failed running [/bin/bash -ol pipefail -c ./gradlew build -x check]: exit code: 126
-----
> [stage-0 6/7] RUN --mount=type=cache,id=s/01840f60-dc5d-413b-ad13-7e7e5bdb8770-/root/gradle,target=/root/.gradle ./gradlew build -x check:

-----

executor failed running [/bin/bash -ol pipefail -c ./gradlew build -x check]: exit code: 126
#10 [stage-0 6/7] RUN --mount=type=cache,id=s/01840f60-dc5d-413b-ad13-7e7e5bdb8770-/root/gradle,target=/root/.gradle ./gradlew build -x check
#10 sha256:1feffe6e3107b40201a72aacb9bb8c5e3fc248b437cd69a98aba499db631919d

#10 0.527 /bin/bash: line 1: ./gradlew: Permission denied
#10 ERROR: executor failed running [/bin/bash -ol pipefail -c ./gradlew build -x check]: exit code: 126
-----
> [stage-0 6/7] RUN --mount=type=cache,id=s/01840f60-dc5d-413b-ad13-7e7e5bdb8770-/root/gradle,target=/root/.gradle ./gradlew build -x check:

-----

executor failed running [/bin/bash -ol pipefail -c ./gradlew build -x check]: exit code: 126
14 replies
RRailway
Created by meadowhawk on 8/27/2022 in #✋|help
Procfile failed for java
sure ======================== Container Start Failure! ======================== rpc error: code = Unknown desc = Failed to start container: "java" executable file not found in $PATH unknown
4 replies