asp.net - Error when deploying .NET Core webapp to Azure -
i complete beginner on .net world trying first dummy .net core webapp run on azure app service.
the code can found here: https://github.com/jordi-chacon/bcn_pollution
my development machine runs ubuntu, using visual studio code.
i have .net core webapp running on localhost:5000 fine , want run on azure app service.
i have configured continuous deployment on app service fetch code github.
then azure tried deploy webapp failed following error:
using following command generate deployment script: 'azure site deploymentscript -y --no-dot-deployment -r "d:\home\site\repository" -o "d:\home\site\deployments\tools" --aspnet5 "d:\home\site\repository\project.json" --aspnet5version "1.0.0-rc1-final" --aspnet5runtime "clr" --aspnet5architecture "x86"'. project file path: .\project.json generating deployment script asp.net 5 application generated deployment script files command: "d:\home\site\deployments\tools\deploy.cmd" handling asp.net 5 web application deployment. downloading dnx-clr-win-x86.1.0.0-rc1-final https://www.nuget.org/api/v2 unable download package: exception occurred during webclient request. @ c:\program files (x86)\siteextensions\kudu\50.41223.1987\bin\scripts\dnvm.ps1:694 char:13 + throw "unable download package: {0}" -f $global:downloaddata.erro ... + failed exitcode=1, command=powershell -noprofile -nologo -executionpolicy unrestricted -command "[system.threading.thread]::currentthread.currentculture = ''; [system.threading.thread]::currentthread.currentuiculture = '';$cmdpathfile='"d:\local\userprofile\.dnx\temp-set-envvars.cmd"';& 'c:\program files (x86)\siteextensions\kudu\50.41223.1987\bin\scripts\dnvm.ps1' " install 1.0.0-rc1-final -arch x86 -r clr ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + categoryinfo : operationstopped: (unable downl...client requ error has occurred during web site deployment. est.:string) [], runtimeexception + fullyqualifiederrorid : unable download package: exception occurred during webclient request. anyone knows doing wrong? thanks!
i guess hitting not enough disk space issue. https://github.com/projectkudu/kudu/issues/1682
i tried code, , repro deployment failure.
when navigate https://{site name}.scm.azurewebsites.net, see below message
parser error message: there not enough space on disk.
by default free site has 1 gb of disk space, seems known issue asp.net 5 application kind of require lots of dependency , go on limit. , (asp.net 5 folks) working on addressing issue.
walk-around deploy basic or standard site
Comments
Post a Comment