projectkudu / kudu

Kudu is the engine behind git/hg deployments, WebJobs, and various other features in Azure Web Sites. It can also run outside of Azure.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot delete file named con.config from Kudu API.

gkgaurav31 opened this issue · comments

A file named con.config was created under D:\home\site\wwwroot during deployment (not sure how). We were getting HTTP 404 when trying to delete it from Kudu the kudu console via UI:

image

We were able to delete it via cmd in Kudu.

However, we also noticed that the same issue happens if we create a file named con.config manually from kudu. (It works well for other files.)

Steps to reproduce:

  • Go to Kudu console of a Windows WebApp
  • Create a file named con.config under D:\home\site\wwwroot
  • Try to delete via kudu console UI (it fails)
  • Try to delete from cmd (it works)

Hi

If the problem persists and is related to running it on Azure App Service, please open a support incident in Azure:
https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request

This way we can better track and assist you on this case

Thanks,

Joaquin Vano
Azure App Service