Giter Site home page Giter Site logo

Comments (17)

kichalla avatar kichalla commented on August 20, 2024 1

@valeriob AppService team now supports 'running from package' which is supposed to fix issues like this. Could you try with this and let us know if you are still seeing this issue?
https://docs.microsoft.com/bs-latn-ba/azure/app-service/deploy-run-package

from oryx.

valeriob avatar valeriob commented on August 20, 2024 1

Hi,
we are using octopus deploy at the moment.
https://octopus.com/docs/deployment-examples/azure-deployments/deploying-a-package-to-an-azure-web-app

from oryx.

gpcastro avatar gpcastro commented on August 20, 2024

Thanks for reaching out. We're aware of this issue and we're working on a fix. In the meantime, have you tried using slots?
They allow you to update your web app without conflicting with files being used by the version currently running.

from oryx.

valeriob avatar valeriob commented on August 20, 2024

Hi,
glad to hear you are working on it, I've tried slots but they add a little bit of complexity to our deployment. I look forward for an updated.
Thanks !

from oryx.

bharatdwarkani avatar bharatdwarkani commented on August 20, 2024

Any update on this when it is going to be fixed?

from oryx.

ClientIco avatar ClientIco commented on August 20, 2024

Also would like to know ?

from oryx.

kichalla avatar kichalla commented on August 20, 2024

Are you still able to reproduce this issue?

from oryx.

valeriob avatar valeriob commented on August 20, 2024

Hi,
i just tested a few times, yes it still require a manual restart to work.

from oryx.

shotyme avatar shotyme commented on August 20, 2024

This issue occurs in the Linux based Azure Functions as well.
Can somebody help me please?

Edit: If someone is facing the same issue. The workaround for linux azure functions is: stop the function, start the function, re-deploy the code

from oryx.

paulbatum avatar paulbatum commented on August 20, 2024

File locking issues are common on .NET Core because it does not have the shadow copying behavior that was present on .NET Framework. There are two common approaches to this problem:

  1. Modifying the publish profile to take the app offline during deployment. The setting is called EnableMSDeployAppOffline. I know this setting works when deploying Azure Functions, but I haven't tried it for a linux web app.
  2. Deploy using Run From Package (app service documentation here, functions documentation here). This approach should work in all scenarios.

from oryx.

arroyc avatar arroyc commented on August 20, 2024

please feel free to reopen this issue if you are experiencing it

from oryx.

valeriob avatar valeriob commented on August 20, 2024

Pls do not close it, we still have this problem.
Thanks

from oryx.

valeriob avatar valeriob commented on August 20, 2024

thanks @kichalla, i will try this feature, but it will drastically change our automated deployment pipeline, last time i tried az cli was a nightmare to script due to escape problems Azure/azure-cli#7874

from oryx.

kichalla avatar kichalla commented on August 20, 2024

but it will drastically change our automated deployment pipeline, last time i tried az cli was a nightmare to script due to escape problems Azure/azure-cli#7874

How are you deploying your app to AppService? by zip deploying already built bits or zip deploying and making the build to happen on app serivce or pushing your repo? more details will help us narrow the problem.

This run from package feature is just an appsetting so not sure what you meant by script

from oryx.

kichalla avatar kichalla commented on August 20, 2024

Gentle ping.

from oryx.

schauhan232 avatar schauhan232 commented on August 20, 2024

Hi,
we are using octopus deploy at the moment.
https://octopus.com/docs/deployment-examples/azure-deployments/deploying-a-package-to-an-azure-web-app

Did you find any solution, we are using same and I have been facing same issue.

from oryx.

valeriob avatar valeriob commented on August 20, 2024

You can use deployment slots or just restart the WebAp with a script

$webAppName = '#{Octopus.Action.Azure.WebAppName}'
$rg =(Get-AzureRmWebApp -Name $webAppName).ResourceGroup
Restart-AzureRmWebApp -Name $webAppName -ResourceGroup $rg

from oryx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.