Comments (17)
@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.
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.
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.
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.
Any update on this when it is going to be fixed?
from oryx.
Also would like to know ?
from oryx.
Are you still able to reproduce this issue?
from oryx.
Hi,
i just tested a few times, yes it still require a manual restart to work.
from oryx.
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.
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:
- 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. - Deploy using Run From Package (app service documentation here, functions documentation here). This approach should work in all scenarios.
from oryx.
please feel free to reopen this issue if you are experiencing it
from oryx.
Pls do not close it, we still have this problem.
Thanks
from oryx.
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.
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.
Gentle ping.
from oryx.
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.
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)
- Scripts in appsvc.yaml are mangled by replacing newlines with semicolons
- Add main.js as a startup candidate for Node.js toolset
- npm ERR! Tracker "idealTree" already exists
- Issue in deploying React JS + Node JS application on Azure Devops
- Version '16.20.2' of platform 'nodejs' is not installed HOT 3
- `npm install` time is snaillike HOT 1
- Oryx fails to get package list while building .NET 8 Static Web App
- Deploying python based Azure Function from VS Code fails when latest arcgis library is included
- Http request to retrieve the default version from 'https://oryx-cdn.microsoft.io/java/defaultVersion.bookworm.txt' failed HOT 3
- Issue with latest Azure Function v1.15.0 released
- Unable to retrieve SDKs from oryx-cdn HOT 7
- Failed during oryx build due to \n/opt/Kudu/Scripts/starter.sh oryx build /tmp/zipdeploy/extracte
- Deployment Failed - Detecting platforms... Error: Oops... An unexpected error has occurred. Error: System.Xml.XmlException: '.', hexadecimal value 0x00, is an invalid character. Line 1, position 1
- NodeJS 20LTS Oryx deploy via local git failing
- let HOT 1
- Deployment failure for Next.js app HOT 2
- oryx cannot build some reference like "xmlsec" automatically
- Consider removing/masking account keys from logs when deploying Azure Functions for the first time HOT 2
- Azure Deployment failed Http request to retrieve the SDKs available to download from 'https://oryx-cdn.microsoft.io' HOT 9
- [BUG] build.sh: command substitution: line 306: syntax error near unexpected token `' ','
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oryx.