Docker content not being updated after build and deploy

123stbn
HOBBY

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

0 Replies

123stbn
HOBBY

a year ago

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


a year ago

what kind of content?


123stbn
HOBBY

a year ago

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


123stbn
HOBBY

a year ago

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


a year ago

are you deploying from the correct branch?


123stbn
HOBBY

a year ago

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


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

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

a year ago

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


a year ago

what custom command?


123stbn
HOBBY

a year ago

docker build --no-cache


a year ago

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


123stbn
HOBBY

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

a year ago

I had to drop the project and recreated.


123stbn
HOBBY

a year ago

now everything seems to we working fine


123stbn
HOBBY

a year ago

🤷‍♂️


a year ago

awsome!, likely had something misconfigured somewhere is all


danbado
HOBBY

a year ago

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


a year ago

please open your own thread


Status changed to Solved brody about 1 year ago