R
Railway5mo ago
123stbn

Docker content not being updated after build and deploy

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?
16 Replies
Percy
Percy5mo ago
Project ID: 00f2f7ed-42e1-4e4a-a708-3caa1e2c1718
123stbn
123stbnOP5mo ago
00f2f7ed-42e1-4e4a-a708-3caa1e2c1718
Brody
Brody5mo ago
what kind of content?
123stbn
123stbnOP5mo ago
The application itself is not being updated. As I stated I updated and added some logs. But after trying once the deployment is done. Every log message remains the same as before.
Brody
Brody5mo ago
are you deploying from the correct branch?
123stbn
123stbnOP5mo ago
Yes. Main branch is the one attached. I can see how this triggers the building and deployment process
Brody
Brody5mo 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
123stbnOP5mo 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. I've tried with custom build command to explicitly add a --no-cache tag but still. Same result.
Brody
Brody5mo ago
what custom command?
123stbn
123stbnOP5mo ago
docker build --no-cache
Brody
Brody5mo ago
railway does not accept docker commands in any capacity, so I'm not too sure what you've done there
123stbn
123stbnOP5mo 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??? 🤔
No description
No description
123stbn
123stbnOP5mo ago
I had to drop the project and recreated. now everything seems to we working fine 🤷‍♂️
Brody
Brody5mo ago
awsome!, likely had something misconfigured somewhere is all
Danieloo
Danieloo5mo ago
I've the same problem, but I'm using a Docker Hub image. cb9c28b0-a723-4b47-9086-3e2019b5d59d adegaasociacion/wordpress
Brody
Brody5mo ago
please open your own thread
Want results from more Discord servers?
Add your server