For deployment issues, please provide us with the following information:
Repro steps.
Create PHP project of Drupal and add it to local git.
Create Web App for Container in Azure using a custom image. Do note that this works fine and is based from the official PHP image.
Project structures.
Project structure includes everything like composer packages, drupal core etc.
Yes. It was existing via the Kudu Console and it was failing to delete as well. Had to rescale the app service plan to get the storage unlinked correctly. Even restarting the web app did not fix this issue... I have seen some weird permission denied errors as well while trying to delete a file even when the container web app is stopped.
I had met similar issue.
My situation is same error and the file is symbolic link to not existing file in azure.
I replaced to actual file and problem solved.
@nickwalkmsft - It seems the issue is occurring because KuduSync is not able to traverse symlinks properly. This issue becomes more prominent when there is an issue with the Azure Storage in the backend which makes the storage read only for some time and deployments start failing.
Repro steps.
Project structures.
The log/error given by the failure.
Yes. It was existing via the Kudu Console and it was failing to delete as well. Had to rescale the app service plan to get the storage unlinked correctly. Even restarting the web app did not fix this issue... I have seen some weird permission denied errors as well while trying to delete a file even when the container web app is stopped.
More info - https://twitter.com/Blueelvis_RoXXX/status/955873765644103680
I had met similar issue. My situation is same error and the file is symbolic link to not existing file in azure. I replaced to actual file and problem solved.
@nickwalkmsft - It seems the issue is occurring because KuduSync is not able to traverse symlinks properly. This issue becomes more prominent when there is an issue with the Azure Storage in the backend which makes the storage read only for some time and deployments start failing.
I have raised an issue for Kudusync over here as well - https://github.com/projectkudu/KuduSync/issues/35
+@rramachand21 to help with Linux questions, as @nickwalkmsft is now working on other things.
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