Deployment failed with no logs at all

I’m deploying a Spring Boot API using Dockerfile. Everything was running fine until I added GitHub Packages maven dependencies, so I had to manage the settings.xml file with all the authentication for the project to be able to download those dependencies.

After modifying the Dockerfile, the build stage runs correctly, but when the deployment stage gets reached, it just shows up this logs (twice, it seems to be trying to create 2 instances but both of them get stopped whatsoever):

Instance created. Preparing to start...
Internal deployment error. If the error persists, try to redeploy or contact us.
Instance stopped

For more information, I tried to reproduce this deployment locally, using common docker build and docker run commands, and everything worked fine, I could get my API working on localhost.

What I’m trying to find out is not just the solution, but where or what should I do to get more information about what is throwing an error, and what error is being thrown, because I find myself currently with 0 information about what is happening at all.

It seems that you set your command to “docker build …” but you should split it into Command and args. command should be just docker and args a list like: [“build”, “…”,] and so on.

We will improve docs here and provide a better error message.

1 Like

Tried that after reading your response, but it didn’t quite work at all. The Build stage keeps working fine, but the deployment keeps throwing me that error message, and I still don’t know what is not working or where could I find logs or info about it, as the only logs showing are the ones that I’ve mentioned on the topic.