Azure容器服务:Webhook收到System.IO.IOException

我已经遵循这个( https://docs.microsoft.com/en-us/azure/app-service/containers/app-service-linux-ci-cd )教程来设置Azure AppService与我自己的Docker容器(nginx容器托pipe一个Angular应用程序)。

这工作几个小时,但然后开始失败。 每个请求都会导致以下错误(摘自Azure门户中的HTML响应):

<h1>System.IO.IOException</h1> <h2 class="exceptionMessage">Invalid handle to path &quot;/home/site&quot;</h2> <p><strong>Description:</strong> HTTP 500.Error processing request.</p><p><strong>Details:</strong> Non-web exception. Exception origin (name of application or object): mscorlib.</p> <div><strong>Exception stack trace:</strong></div> <div class="details"> at System.IO.Directory.CreateDirectoriesInternal (System.String path) [0x0005e] in &lt;4dc8ec68b0964e099af86e50301f5f3c&gt;:0 at System.IO.Directory.CreateDirectory (System.String path) [0x0008f] in &lt;4dc8ec68b0964e099af86e50301f5f3c&gt;:0 at System.IO.DirectoryInfo.Create () [0x00000] in &lt;4dc8ec68b0964e099af86e50301f5f3c&gt;:0 at (wrapper remoting-invoke-with 

我的解决方法是从我的AppService实例禁用Docker菜单中的“连续部署”,删除Webhook,并重新启用“连续部署”,有时我也必须重新启动实例。 然后再次运行,并从容器存储库中取出最新版本,然后再次开始失败。 我从门户使用Webhook Ping来确定它是否有效。

由于我是Azure的新手,我不知道从哪里开始解决此错误。