Error while building image
iagobaldani
HOBBYOP

a year 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

a year 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

a year ago

These topics didn't help.


a year 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 11 months ago


a year 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 11 months ago


iagobaldani
HOBBYOP

a year 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.


Welcome!

Sign in to your Railway account to join the conversation.

Loading...