安装aspnetcore站点扩展时出错 - 磁盘空间不足 [英] Error installing aspnetcore site extensions - not enough disk space

查看:85
本文介绍了安装aspnetcore站点扩展时出错 - 磁盘空间不足的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当尝试将aspnetcore 2.2扩展安装到新的webapp时,我收到此错误:

无法安装Web应用程序扩展ASP。 NET Core 2.2(x64)运行时。 {" ID":" /订阅/<去除> /resourcegroups/tpo-workench-identity/providers/microsoft.web/sites/<去除> /siteextensions/AspNetCoreRuntime.2.2.x64","名称" :null," type":null," location":"Central US","properties":{" id":" AspNetCoreRuntime.2.2.x64"," title":null,"类型":"画廊","总结":空,"描述":空,"版本":空," extension_url":空," project_url":空," icon_url":空, " license_url所":空," FEED_URL":空,"作者":空," installer_command_line_params":空," published_date_time":空," DOWNLOAD_COUNT":0," local_is_latest_version":空," ; local_path":null," installed_date_time":null," provisioningState":" Failed"," comment":" System.IO.DirectoryNotFoundException:找不到System.IO中路径"D:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\的errorCode,字符串maybeFullPath)\r\\\
在System.IO.Directory.Delete(字符串FULLPATH,字符串userPath,布尔递归的,布尔checkHost)\r\\\
在System.IO.Abstractions.DirectoryWrapper.Delete(字符串路径,布尔递归)\r\\\
在Kudu.Core.Infrastructure.FileSystemHelpers.MoveDirectory(字符串sourceDirName,字符串destDirName)在C:\\Kudu Files\\Private\\src\\\ \\master\\Kudu.Core\\Infrastructure\\FileSystemHelpers.cs:线75\r\\\
在Kudu.Core.SiteExtensions.SiteExtensionManager<> c__DisplayClass28_1< EnsureInstallationEnviroment> b__1。 ()in C:\\Kudu Files \\Private \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ anager.cs:线591\r\\\
在Kudu.Core.Infrastructure.OperationManager<> c__DisplayClass2_0<尝试>在Çb__0():\\Kudu Files\\Private\ \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ C:\\Kudu中的Func`1动作,Int32重试,Int32 delayBeforeRetry,Func`2 shouldRetry)文件\\Private \\\\\\\\\\\\\\\\\\\\\\\ \\ Infrastructure #\\\OperationManager.cs:Cudu.Core.Infrastructure.OperationManager.Attempt(Action action,Int32 retries,Int32 delayBeforeRetry)在C:\\Kudu Files \\\中的第42行\\ n \\Private\\src\\master\\Kudu.Core\\Infrastructure\\OperationManager.cs:在Kudu.Core.SiteExtensions.SiteExtensionManager.EnsureInstallationEnviroment线14\r\\\
(String ins tallationDir,ITracer tracer)在C:\\Kudu Files \\Private \\src\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ 591 \\\\ at Kudu.Core.SiteExtensions.SiteExtensionManager。< InstallExtension> d__27.MoveNext()在C:\\Kudu Files \\Private \\src \\\ \\\Kudu.Core \\SiteExtensions \\SiteExtensionManager.cs:line 550 \\\\ n ---从抛出异常的上一个位置开始的堆栈跟踪结束--- \\ n System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd上的System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务任务)\\\ at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务)\\\\ n中的System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (任务任务)\\\
在Kudu.Core.SiteExtensions.SiteExtensionManager。< TryInstallExtension> d__26.MoveNext()在C:\\Kudu Files \\ \\\Private\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

当我通过kudu尝试相同时,我得到:

无法安装ASP.NET Core 2.2( x86)运行时 -  System.IO.IOException:磁盘上没有足够的空间。在System.IO .__ Error.WinIOError(Int32 errorCode,String maybeFullPath)在System.IO.FileStream.WriteCore(Byte []缓冲区,Int32偏移,Int32计数)在System.IO.FileStream.Write(Byte []数组,Int32 System.IO.Stream上的偏移量,Int32计数。在System.Threading.Tasks.Task.Execute()处的System.Threading.Tasks.Task`1.InnerInvoke()处的<> c.b__46_0(对象) -  - 从先前的位置在那里引发异常---在System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(工作任务)在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(工作任务)在System.IO.Stream堆栈跟踪结束。 EndWrite(IAsyncResult的asyncResult)在System.IO.FileStream.EndWrite(IAsyncResult的asyncResult)在System.IO.Stream<> c.b__53_1(流流,IAsyncResult的asyncResult)在System.Threading.Tasks.TaskFactory`1.FromAsyncTrimPromise `1.Complete(TInstance thisRef,Func`3 endMethod,IAsyncResult asyncResult,Boolean requiresSynchronization)---来自previo的堆栈跟踪结束我们的位置在那里引发异常---在System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(工作任务)在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(工作任务)在System.IO.Stream.d__27.MoveNext() -  - 从先前的位置堆栈跟踪其中的例外是在Kudu.Core.SiteExtensions抛出---在System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(工作任务)在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(工作任务)结束.FeedExtensions.d__4.MoveNext()在C:\Kudu Files \Private\src\master\Kudu.Core\SiteExtensions\FeedExtensions.cs:第166行---来自上一个位置的堆栈跟踪结束其中的例外是在Kudu.Core.SiteExtensions.SiteExtensionManager.d__27.Move抛出---在System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(工作任务)在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务task) C:\Kudu中的Next()文件\ Private \src \ master \Kudu.Core \SiteExtensions \SiteExtensionManager.cs:第550行---从抛出异常的上一个位置开始的堆栈跟踪结束 -  - 在System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务任务)处的System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务),位于Kudu.Core.SiteExtensions的System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(任务任务) .SiteExtensionManager.d__26.MoveNext()在C:\Kudu Files \Private\src\master\Kudu.Core\SiteExtensions\SiteExtensionManager.cs:第335行

我在此订阅中有其他webapps已成功安装此站点扩展,我还有其他订阅的其他Web应用程序,我无法再安装此扩展程序。


工作和不工作的webapps在kudu中显示相同的使用数据:

 D:\home用法:总共1,024 MB; 91 MB免费
d:\本地使用:总共102,​​397 MB; 73,742 MB免费

我已经扩展了没有工作的webapp,从免费广告,但仍然没有运气,所以它回来了再次免费。


这两个webapps都托管在同一个地区:  美国中部


在修复此问题之前,我无法将任何内容部署到新的webapp。



谢谢你b $ b craig




chillfire

解决方案

你好chillfire,


我们需要对此进行更深入的分析问题。您是否有能力打开支持请求?如果没有,您可以发送电子邮件至AzCommunity@microsoft.com,并向我提供您的SubscriptionID,UTC运行时间以及此线程的链接。我可以启用
您的订阅,以便能够创建一个。


When trying to install aspnetcore 2.2 extension to a new webapp I get this error:

Failed to install web app extension ASP.NET Core 2.2 (x64) Runtime. {"id":"/subscriptions/<removed>/resourcegroups/tpo-workench-identity/providers/microsoft.web/sites/<removed>/siteextensions/AspNetCoreRuntime.2.2.x64","name":null,"type":null,"location":"Central US","properties":{"id":"AspNetCoreRuntime.2.2.x64","title":null,"type":"Gallery","summary":null,"description":null,"version":null,"extension_url":null,"project_url":null,"icon_url":null,"license_url":null,"feed_url":null,"authors":null,"installer_command_line_params":null,"published_date_time":null,"download_count":0,"local_is_latest_version":null,"local_path":null,"installed_date_time":null,"provisioningState":"Failed","comment":"System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\\home\\SiteExtensions\\AspNetCoreRuntime.2.2.x64\\host'.\r\n   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)\r\n   at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)\r\n   at System.IO.Abstractions.DirectoryWrapper.Delete(String path, Boolean recursive)\r\n   at Kudu.Core.Infrastructure.FileSystemHelpers.MoveDirectory(String sourceDirName, String destDirName) in C:\\Kudu Files\\Private\\src\\master\\Kudu.Core\\Infrastructure\\FileSystemHelpers.cs:line 75\r\n   at Kudu.Core.SiteExtensions.SiteExtensionManager.<>c__DisplayClass28_1.<EnsureInstallationEnviroment>b__1() in C:\\Kudu Files\\Private\\src\\master\\Kudu.Core\\SiteExtensions\\SiteExtensionManager.cs:line 591\r\n   at Kudu.Core.Infrastructure.OperationManager.<>c__DisplayClass2_0.<Attempt>b__0() in C:\\Kudu Files\\Private\\src\\master\\Kudu.Core\\Infrastructure\\OperationManager.cs:line 16\r\n   at Kudu.Core.Infrastructure.OperationManager.Attempt[T](Func`1 action, Int32 retries, Int32 delayBeforeRetry, Func`2 shouldRetry) in C:\\Kudu Files\\Private\\src\\master\\Kudu.Core\\Infrastructure\\OperationManager.cs:line 42\r\n   at Kudu.Core.Infrastructure.OperationManager.Attempt(Action action, Int32 retries, Int32 delayBeforeRetry) in C:\\Kudu Files\\Private\\src\\master\\Kudu.Core\\Infrastructure\\OperationManager.cs:line 14\r\n   at Kudu.Core.SiteExtensions.SiteExtensionManager.EnsureInstallationEnviroment(String installationDir, ITracer tracer) in C:\\Kudu Files\\Private\\src\\master\\Kudu.Core\\SiteExtensions\\SiteExtensionManager.cs:line 591\r\n   at Kudu.Core.SiteExtensions.SiteExtensionManager.<InstallExtension>d__27.MoveNext() in C:\\Kudu Files\\Private\\src\\master\\Kudu.Core\\SiteExtensions\\SiteExtensionManager.cs:line 550\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)\r\n   at Kudu.Core.SiteExtensions.SiteExtensionManager.<TryInstallExtension>d__26.MoveNext() in C:\\Kudu Files\\Private\\src\\master\\Kudu.Core\\SiteExtensions\\SiteExtensionManager.cs:line 335"}}

When I try the same via kudu I get:

Failed to install ASP.NET Core 2.2 (x86) Runtime - System.IO.IOException: There is not enough space on the disk. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count) at System.IO.FileStream.Write(Byte[] array, Int32 offset, Int32 count) at System.IO.Stream.<>c.b__46_0(Object ) at System.Threading.Tasks.Task`1.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.IO.Stream.EndWrite(IAsyncResult asyncResult) at System.IO.FileStream.EndWrite(IAsyncResult asyncResult) at System.IO.Stream.<>c.b__53_1(Stream stream, IAsyncResult asyncResult) at System.Threading.Tasks.TaskFactory`1.FromAsyncTrimPromise`1.Complete(TInstance thisRef, Func`3 endMethod, IAsyncResult asyncResult, Boolean requiresSynchronization) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.IO.Stream.d__27.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Kudu.Core.SiteExtensions.FeedExtensions.d__4.MoveNext() in C:\Kudu Files\Private\src\master\Kudu.Core\SiteExtensions\FeedExtensions.cs:line 166 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Kudu.Core.SiteExtensions.SiteExtensionManager.d__27.MoveNext() in C:\Kudu Files\Private\src\master\Kudu.Core\SiteExtensions\SiteExtensionManager.cs:line 550 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at Kudu.Core.SiteExtensions.SiteExtensionManager.d__26.MoveNext() in C:\Kudu Files\Private\src\master\Kudu.Core\SiteExtensions\SiteExtensionManager.cs:line 335

I have other webapps in this subscription that have successuly installed this site extension, I also have other web apps in other subscriptions that I cannot install this extension on anymore.

Both the working and not working webapps show the same usage data in kudu:

D:\home usage: 1,024 MB total; 91 MB free
d:\local usage: 102,397 MB total; 73,742 MB free

I have scaled the webapp that doesnt work up, out of the free pla, but still no luck, so its back in the free one again.

Both webapps are hosted i the same region: Central US

I cant deploy anything to the new webapp until this is fixed.

thanks
craig


chillfire

解决方案

Hi chillfire,

We will need to do deeper analysis for this issue. Do you have the ability to open a support request? If not, you can email me at AzCommunity@microsoft.com and provide me with your SubscriptionID, time of operation in UTC and link to this thread. I can enable your subscription to be able to create one.


这篇关于安装aspnetcore站点扩展时出错 - 磁盘空间不足的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆