英文:
Why is WEBSITE_ENABLE_SYNC_UPDATE_SITE part of App Service Configuration
问题
由于某种原因,我们所有的Azure应用服务配置都有这个WEBSITE_ENABLE_SYNC_UPDATE_SITE = true,我似乎无法找出为什么/如何设置它。我没有明确将其添加到配置中,我认为这是最近的更改,之前没有这个。也许发布流水线正在添加它们,但在那里找不到任何关于WEBSITE_ENABLE_SYNC_UPDATE_SITE的参考。
有人知道Azure是否出于某种原因开始将其添加到配置中吗?
谢谢
英文:
For some reason, all our Azure app services configuration have this WEBSITE_ENABLE_SYNC_UPDATE_SITE = true and I cannot seem to see why/how it is set. I have not explicitly added it to the configuration, and I believe it is a recent change, which was not there previously.
Maybe the release pipeline is adding them, but cannot find any references there to WEBSITE_ENABLE_SYNC_UPDATE_SITE.
Does anyone know if Azure for some reason has begun adding it to configuration?
Thanks
答案1
得分: 1
根据MSDOC和GitHub的说明,WEBSITE_ENABLE_SYNC_UPDATE_SITE是在使用Azure DevOps或ARM模板部署应用程序时配置的默认设置。
默认情况下,该值设置为1。
当我们将应用程序设置为WEBSITE_ENABLE_SYNC_UPDATE_SITE为1时,除非所有应用程序设置都已更新,否则应用程序将不会继续部署过程。
-
一旦所有应用程序设置都已更新,应用程序将重新启动并继续部署过程。
-
我尝试使用MSDoc将Web应用程序部署到Azure App Service,使用ARM模板。

- 我没有找到添加在应用程序设置中的
WEBSITE_ENABLE_SYNC_UPDATE_SITE设置。

- 我还尝试了Azure DevOps管道。


英文:
As per the MSDOC and GitHub, WEBSITE_ENABLE_SYNC_UPDATE_SITE is the default setting configured while deploying the application using Azure devops or by ARM template.
By default the value is set to 1.
When we have App setting WEBSITE_ENABLE_SYNC_UPDATE_SITE as 1, the application will not continue with the deployment process unless and until all the application settings are updated.
-
Once all the app settings are updated, the app will restart and continues with the deployment process.
-
I have tried to deploy the web App to Azure App service with
ARM templateusing the MSDoc.

- I didn't find and app setting with
WEBSITE_ENABLE_SYNC_UPDATE_SITEadded in the app settings.

- I have tried with Azure Devops pipeline as well.


- You can see the similar issue in GitHub which is not yet resolved.
- Follow the GitHub issue which I have raised and SO Thread for more details.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。


评论