How to fix Web App on App services posting output from old code and updated code simulataneously

Sachin Kothapalli 0 Reputation points
2023-03-30T09:20:38.56+00:00

I have a unique issue of my web app, that I deployed after building a docker image through devops, posting an outdated output along with the updated output simultaneously.

I had an issue with my code so I had to update it and rebuild. However, the code is now outputting both the older version and newer version at the same time. I have eliminated all traces of previous code, and even built a new pipeline and web app but nothing has helped.

Azure Container Registry
Azure Container Registry
An Azure service that provides a registry of Docker and Open Container Initiative images.
428 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,408 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Grmacjon-MSFT 17,456 Reputation points
    2023-03-31T00:11:10.92+00:00

    Hi @Sachin Kothapalli

    We are sorry to hear you're facing this problem. What issue where you having with code before you updated it? Are you getting any specific errors? can you please share a screenshot of what you're seeing? please hid all sensitive information

    In the meantime you can try to:

    -Restart your web app to make sure it's using the latest version of your code. You can do this through the Azure portal or using the Azure CLI.

    -Double-check that the Docker image you built contains the correct version of your code. You can do this by running the container locally and verifying the output.

    -Verify that your DevOps pipeline is correctly building and deploying the latest version of your code. Check the logs for any errors or warnings that might be preventing the pipeline from working correctly.

    -Grace

    0 comments No comments