Closed noellelc closed 1 year ago
Same here
I just have gotten it too
Same here
Same here
Same here
Same here
Same here
Same...
Same problem here
Same
The same here
The same here
Same Here
Same here
2023-01-20T06:56:34.9567360Z ##[error]Error: Error: Unrecognized argument 'Files\IIS\Microsoft'. All arguments must begin with "-".
Same Here, too 👍
Same, but with this task (ISWebAppDeploymentOnMachineGroup)
See
023-01-20T10:13:08.5909595Z ##[section]Starting: Deploy Landing
2023-01-20T10:13:08.5999780Z ==============================================================================
2023-01-20T10:13:08.5999968Z Task : IIS web app deploy
2023-01-20T10:13:08.6000073Z Description : Deploy a website or web application using Web Deploy
2023-01-20T10:13:08.6000217Z Version : 0.216.0
2023-01-20T10:13:08.6000311Z Author : Microsoft Corporation
2023-01-20T10:13:08.6000419Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/iis-web-app-deployment-on-machine-group
2023-01-20T10:13:08.6000683Z ==============================================================================
...
...
...
2023-01-20T10:13:09.4155735Z [command]“C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe” -verb:sync -source:package=‘C:\azagent\A1_work\r1\a\temp_web_package_4560503770922759.zip’ -dest:contentPath=‘my-site.net.br’ -skip:Directory=App_Data
2023-01-20T10:13:09.4811053Z ##[error]Failed to deploy web package to IIS website.
2023-01-20T10:13:09.4818865Z ##[error]Error: Unrecognized argument ‘Files\IIS\Microsoft’. All arguments must begin with “-”.
Error count: 1.
2023-01-20T10:13:09.4967700Z ##[error]Error: The process ‘C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe’ failed with exit code 4294967295
Same error with ISWebAppDeploymentOnMachineGroup here
@noellelc Thank you for reporting this issue. We are investigating it now.
Same problem
Is there any provision for normalization? It is impacting all deploys
Is there any workaround to this issue?
workaround
: change App Deploy App Service
task version. I've changed it to version 3 instead of 4.
Same here
workaround
: changeApp Deploy App Service
task version. I've changed it to version 3 instead of 4.
Where do i change App Deploy App Service
version ? I mean.. the path.
workaround
: changeApp Deploy App Service
task version. I've changed it to version 3 instead of 4.Where do i change
App Deploy App Service
version ? I mean.. the path.
workaround
: changeApp Deploy App Service
task version. I've changed it to version 3 instead of 4.Where do i change
App Deploy App Service
version ? I mean.. the path.
I think this can help you: Go to Releases > select the project > Edit > under the envinronment click in 'jobs, taks' > click in Deploy Azure App Service > in 'Task version' select 3.*
workaround
: changeApp Deploy App Service
task version. I've changed it to version 3 instead of 4.Where do i change
App Deploy App Service
version ? I mean.. the path.I think this can help you: Go to Releases > select the project > Edit > under the envinronment click in 'jobs, taks' > click in Deploy Azure App Service > in 'Task version' select 3.*
NOTE: I try this but this not made effect for my deploy
Really ? for me it works fine ...
I see, in my case i made small confusion. Im using "IIS web app deploy" instead of "Azure App Service"
downgrade from Azure App Service Deploy 4. to 3. seems to work
Same problem, even returning to 3.* is not working
Some help ?
downgrade from Azure App Service Deploy 4. to 3. seems to work
is there any way to downgrade to a minor version (like 4.215.2) instead of changing from 4 to 3 with yaml?
Any solutions for IISWebAppDeploymentOnMachineGroup task? Our pipeline is not working because of that error
Same here in IISWebAppDeploymentOnMachineGroup...
Same here! Currently unable to release new versions of my applications.
I see that past executions of my release pipeline were using version 0.215.0 of the "IIS web app deploy" task. The failing one mentions version 0.216.0. That is what i see in the execution logs In the portal, though, the only task version option available is 0.*. It is obviously unchanged.
The error is the exact one as other people's around here:
##[error]Error: Unrecognized argument 'Files\IIS\Microsoft'. All arguments must begin with "-".
Working with version 4. After leaving BUILD Image: windows-2019 and DEPLOY Image: windows-2022
Quick workaround was to rollback task to version 0.215.0.
In a self-hosted agent I did the following steps:
Inside agent directory: ./_work/_tasks/IISWebAppDeploymentOnMachineGroup[...]
This temporary solution did work for me with "IIS web app deploy" with a self-hosted agent
Same here in IISWebAppDeploymentOnMachineGroup...
It comes work again... Seems that the problem version is not available anymore...
Problem Version: 0.216.0 Working Version: 0.215.0
We have reverted the affected tasks to previous versions in ADO, while we working on hotfixes:
AzureRmWebAppDeployment
- 4.216.2
-> 4.214.0
IISWebAppDeploymentOnMachineGroup
-0.216.0
-> 0.215.0
Sorry for the inconvenience.
We have reverted the affected tasks to previous versions in ADO, while we working on hotfixes:
AzureRmWebAppDeployment
-4.216.2
->4.214.0
IISWebAppDeploymentOnMachineGroup
-0.216.0
->0.215.0
Sorry for the inconvenience.
Working fine now, thanks @vmapetr
How can i force to use 0.215.0 ?
My Azure Agent continue downloading the 0.216.0 version
The same problem here. I don't have the version 0.215.0 in my server. How can I dowloand this version of the agent?
How can i force to use 0.215.0 ?
My Azure Agent continue downloading the 0.216.0 version
Are you running a new pipeline or re-running the same build?
The same problem here. I don't have the version 0.215.0 in my server. How can I dowloand this version of the agent?
Are you running a new pipeline or re-running the same build?
The same problem here. I don't have the version 0.215.0 in my server. How can I dowloand this version of the agent?
Are you running a new pipeline or re-running the same build?
A new pipeline.
The same problem here. I don't have the version 0.215.0 in my server. How can I dowloand this version of the agent?
Are you running a new pipeline or re-running the same build?
A new pipeline.
Try delete your task folder that has 0.216 version...
The same problem here. I don't have the version 0.215.0 in my server. How can I dowloand this version of the agent?
Are you running a new pipeline or re-running the same build?
A new pipeline.
Try delete your task folder that has 0.216 version...
It still download the version 0.216.
The same problem here. I don't have the version 0.215.0 in my server. How can I dowloand this version of the agent?
Are you running a new pipeline or re-running the same build?
A new pipeline.
Try delete your task folder that has 0.216 version...
It still download the version 0.216.
Its on premise server agent or cloud server?
The same problem here. I don't have the version 0.215.0 in my server. How can I dowloand this version of the agent?
Are you running a new pipeline or re-running the same build?
A new pipeline.
Try delete your task folder that has 0.216 version...
It still download the version 0.216.
Its on premise server agent or cloud server?
Its on premise server.
Managed to make it work by unistalling ms deploy v3 from my Windows.
Managed to make it work by unistalling ms deploy v3 from my Windows.
After unistalling it, everything went fine.
Note
Issues in this repo are for tracking bugs, feature requests and questions for the tasks in this repo
For a list:
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks
If you have an issue or request for the Azure Pipelines service, use developer community instead:
https://developercommunity.visualstudio.com/spaces/21/index.html )
Required Information
Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature?
Type: bug
Enter Task Name: Azure App Service deploy
list here (V# not needed): 4.216.2 https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks
Environment
Server - Azure Pipelines or TFS on-premises?
If using TFS on-premises, provide the version:
If using Azure Pipelines, provide the account name, team project name, build definition name/build number: account name: DevDiv, Project name: DevDiv, Release id: 103259
Agent - Hosted or Private:
If using Hosted agent, provide agent queue name: private
If using private agent, provide the OS of the machine running the agent and the agent version:
Issue Description
We are running this task in a release pipeline in Azure DevOps. Last successful run was yesterday on version 4.214.0. It looks like this task just recently started failing, with version 4.216.2. Error message: Unrecognized argument 'Files\IIS\Microsoft'. All arguments must begin with "-".
The argument in question is the command itself: "C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe"; it looks like it's not honoring the quotations and is parsing this string as individual arguments, hence the callout of "Files\IIS\Microsoft"
Task logs
[Enable debug logging and please provide the zip file containing all the logs for a speedy resolution]
Troubleshooting
Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting
Error logs
[Insert error from the logs here for a quick overview]