Error while building image
iagobaldani
HOBBYOP

7 months ago

I'm receiving the following error when I try to deploy my application:

[4/4] RUN ./mvnw clean package -DskipTests

process "/bin/sh -c ./mvnw clean package -DskipTests" did not complete successfully: exit code: 126

/bin/sh: ./mvnw: Permission denied

There were no changes in the source code or environment variables.

4 Replies

Railway
BOT

7 months ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


Railway

Hey there! We've found the following might help you get unblocked faster: - [🧵 dts: Permission denied on project](https://station.railway.com/questions/dts-permission-denied-on-project-a05b187b) - [🧵 erro deploy](https://station.railway.com/questions/erro-deploy-d998458f) - [🧵 Error: Docker build failed](https://station.railway.com/questions/error-docker-build-failed-9fd8a081) - [🧵 Dockerfile Permission denied on apt-get ?](https://station.railway.com/questions/dockerfile-permission-denied-on-apt-get-89539fdb) If you find the answer from one of these, please let us know by solving the thread!

iagobaldani
HOBBYOP

7 months ago

These topics didn't help.


7 months ago

Apologies but this looks like an issue with the application level code. Due to volume, we can only answer platform level issues.

I've made this thread public so that the community might be able to help with you query.


Status changed to Awaiting User Response Railway 7 months ago


7 months ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open jake 7 months ago


iagobaldani
HOBBYOP

7 months ago

How does an mvn permission in the container is application code level? There were no changes to the code. The same version was deployed before without errors.


Loading...