kudu

Kudu npm install failed

妖精的绣舞 提交于 2019-12-11 18:45:46
问题 I'm getting a very strange error when trying to deploy my project with kudu on Azure. I have build my project with dotnet with VueJs. I have used the following template "https://github.com/MarkPieszak/aspnetcore-Vue-starter" I have tried setting the WEBSITE_NODE_DEFAULT_VERSION to a few different version now without any luck. Here are the out from Kudu: Command: "D:\home\site\deployments\tools\deploy.cmd" Handling ASP.NET Core Web Application deployment. Restore completed in 735.88 ms for D:

install python talib library in azure kudu

佐手、 提交于 2019-12-11 17:23:16
问题 I keep failing to install talib library in Azure's Kudu Debug console. From D:\home\python364x86 I ran python -m pip install Ta-Lib but got this error Command "D:\home\python364x86\python.exe -u -c "import setuptools, tokenize; file ='D:\local\Temp\pip-build-az9dvnof\talib\setup.py';f=getattr(tokenize, 'open', open)( file );code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file , 'exec'))" install --record D:\local\Temp\pip-1737i4ol-record\install-record.txt --single-version

npm install just do nothing on Kudu

孤街醉人 提交于 2019-12-11 14:14:44
问题 This morning I run npm install and the node_modules was created with all the files in it. Then a few hour after, I run the same command same package.json file... no error, node_modules was created, but empty!? ANy ideas? Here my package.json, very regular generated via an npm init adding tedious package. { "name": "tedious", "version": "2.1.1", "description": "COnnect to Database", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type"

Azure Web Site Kudu Publishing failing with timeout

狂风中的少年 提交于 2019-12-11 13:36:29
问题 I have a custom deployment script (*.sh script) defined for my azure deployment. Just today, I have found that I am unable to publish. I updated my bitbucket repository and after a while I get an error similar to the following: Command 'starter.cmd deploy_pvl_cont ...' was aborted due to no output nor CPU activity for 180 seconds. You can increase the SCM_COMMAND_IDLE_TIMEOUT app setting (or WEBJOBS_IDLE_TIMEOUT if this is a WebJob) if needed.\r\nstarter.cmd deploy_pvl_content.sh I have tried

Run PowerShell over Kudu Command API to Edit Files

旧街凉风 提交于 2019-12-11 05:56:13
问题 I need to modify the contents of files of my Azure Web App such as the Web.config and text files. Using the Kudu command line API I am able to create a directory or deal with objects using something like the following: $username = "`$myuser" $password = "mypass" $base64AuthInfo = [Convert]::ToBase64String([Text.Encoding]::ASCII.GetBytes(("{0}:{1}" -f $username,$password))) $apiUrl = "https://mywebapp.scm.azurewebsites.net/api/command" $commandBody = @{ command = "md D:\home\site\wwwroot

Azure Function CI Build Error - Cannot create a file when that file already exists

孤街醉人 提交于 2019-12-11 03:55:19
问题 This issue is pretty straightforward, the functionapp fails to build with this one error. I found it interesting that it's stopping on the copy of a .pdb file. I've stopped and restarted the function app and ran "sync", no improvement. "D:\home\site\repository\API.Routing\API.Routing.csproj" (default target) (1) -> (_GenerateFunctionsPostBuild target) -> D:\home\.nuget\microsoft.net.sdk.functions\1.0.0\build\netstandard1.0\Microsoft.NET.Sdk.Functions.Build.targets(26,5): error MSB3677: Unable

Kudu post-deployment commands not running

烈酒焚心 提交于 2019-12-11 03:13:17
问题 I'm trying to run some scripts after my site is deployed to azure (via kudu) I have the following directory structure -solution - .deployment - deploy.cmd - deployment - postdeployactions - test.bat .deployment looks like this: [config] POST_DEPLOYMENT_ACTION_DIR = deployment\postdeployactions\ command = deploy.cmd deploy.cmd is unmodified from the one generated by azure site deploymentscript --aspWAP pathToYourWebProjectFile.csproj -s pathToYourSolutionFile.sln (http://blog.amitapple.com

Azure KUDU deployment ignores project setting when deploy.cmd is specified

戏子无情 提交于 2019-12-11 02:47:42
问题 I have a custom .deployment file in my nodeJS repo that looks like this: [config] project = src/portal command = deploy.cmd If I remove the command setting, the project setting is respected. However, I need the custom deploy script to execute some bower and grunt commands. Whenever I add the command parameter back in, Azure/KUDU seems to ignore the project setting. I have reverted to the default deploy.cmd script generated using azure site deploymentscript --node to ensure that my

Can't deploy precompiled, merged webapp to Azure

房东的猫 提交于 2019-12-10 18:32:11
问题 I'm trying to deploy an ASP.NET web application to Azure. It's hybrid Web Forms, MVC, and WebAPI, and there are a TON of aspx/ascx files, such that they really need to be precompiled or every deploy will render the site sluggish for awhile. I am trying to deploy via SCM integration with GitHub via kudu, with precompiled views, all merged to a single assembly. Note that: Deploy works fine with precompilation disabled. Deploy works fine from Visual Studio Build works fine if I copy the msbuild

Kudu Azure App Zip Deploy via Powershell - Transfer files to wwwroot

守給你的承諾、 提交于 2019-12-08 09:23:42
问题 I am using the Kudu Azure Zip Deploy API from powershell. How can I ensure that the contents of the deployed zip folder are extracted within wwwroot with wwwroot being the containing folder? Current: (here my zip folder is the container within wwwroot) /site/wwwroot/MYZIPFOLDERNAME/CONTENTS Expected: (I want the contents of the zip folder to be added directly to wwwroot and outside of the zip folder name) /site/wwwroot/CONTENTS I have followed the documentation like below and have a