跳至內容

Newer version of UI not showing

0

Hello,

I had my frontend container running and I could see the first version on the registered domain. However, I deleted now the image in ECR for the container which had provisioned the website views so far in order replace it by a newer version. Although I updated the reference in the container in lightsail, it is still showing the old version's UI. I also already restarted the instance without any success. I don't see any changes necessary in Route 53 as I really only switched the images in ECR. I would appreciate any hint to resolve this issue. Thank you very much

  • Can you please clarify whether you're using Ligthsail Container Service or you run your own custom container execution engine directly on your Lightsail instance?

已提問 2 年前檢視次數 589 次

1 個回答
1

Hello.

Have you tried clearing the cache?
If the front-end UI is not updated, there may be some cache left in the browser or PC.
Also, double check that your container image has the latest code.

專家

已回答 2 年前

AWS
專家

已審閱 2 年前

  • Thank you. Yes, I deleted the cache in one browser and I also checked the UI resulting from the dist directory and it does show the new version. Still, what I'm seeing is the old version on my public domain.

  • I feel like I'm running an old container image. For example, can I connect to the container in Lightsail using the "docker exec" command and check whether the correct source code is reflected? https://docs.docker.com/reference/cli/docker/container/exec/

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。