Passer au contenu

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?

demandé il y a 2 ans589 vues

1 réponse
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.

EXPERT

répondu il y a 2 ans

AWS
EXPERT

vérifié il y a 2 ans

  • 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/

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.