Docker content not being updated after build and deploy
123stbn
HOBBYOP

2 years ago

Hi.
I'm right now deploying an backend application via github repository. This application contains a Dockerfile.
What I've seen is the application conten itself is not being updated after the deployment process is completed. I've added some logs that are never appearing.
How could I solve this?

Solved

19 Replies

123stbn
HOBBYOP

2 years ago

00f2f7ed-42e1-4e4a-a708-3caa1e2c1718


2 years ago

what kind of content?


123stbn
HOBBYOP

2 years ago

The application itself is not being updated.
As I stated I updated and added some logs.


123stbn
HOBBYOP

2 years ago

But after trying once the deployment is done. Every log message remains the same as before.


2 years ago

are you deploying from the correct branch?


123stbn
HOBBYOP

2 years ago

Yes. Main branch is the one attached. I can see how this triggers the building and deployment process


2 years ago

some logs aren't printing does not give me enough information as I know nothing about your application, for example I don't the condition for these "logs" to print


123stbn
HOBBYOP

2 years ago

No conditions. For example.
I was printing an object and it was showing as ¨Object¨ in the log, Now I am JSON.stringifying it and it works as expected in my local env.

But this change is not being reflected once deployed.


123stbn
HOBBYOP

2 years ago

I've tried with custom build command to explicitly add a --no-cache tag but still. Same result.


2 years ago

what custom command?


123stbn
HOBBYOP

2 years ago

docker build --no-cache


2 years ago

railway does not accept docker commands in any capacity, so I'm not too sure what you've done there


123stbn
HOBBYOP

2 years ago

It was worth the shot.
Either way I removed it.
What I just realized is that even if my service has a name. "talk2text-worker". What I see in the logs is another service name "24b82aa5".
But, when the service is stopped for a deployment the logs shows it by its name.

I'm attaching an screnshot of the architecture also.

Is it a phatom service picking up the items from my queue??? 🤔

1263999884088971300
1263999884357537800


123stbn
HOBBYOP

2 years ago

I had to drop the project and recreated.


123stbn
HOBBYOP

2 years ago

now everything seems to we working fine


123stbn
HOBBYOP

2 years ago

🤷‍♂️


2 years ago

awsome!, likely had something misconfigured somewhere is all


danbado
HOBBY

2 years ago

I've the same problem, but I'm using a Docker Hub image.
cb9c28b0-a723-4b47-9086-3e2019b5d59d
adegaasociacion/wordpress


2 years ago

please open your own thread


Status changed to Solved brody over 1 year ago


Loading...