Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Azure App Service deploy started failing with error "A '-dest' argument must be specified with the 'sync' verb" #4517

Closed
1 of 4 tasks
cloud-ik opened this issue Nov 10, 2023 · 2 comments

Comments

@cloud-ik
Copy link

cloud-ik commented Nov 10, 2023

What happened?

Task name
Deploy Azure App Service

Task version
4.230.7

Versions

Agent name: 'Hosted Agent'
Current agent version: '3.227.2'
Operating System: Microsoft Windows Server 2019 (10.0.17763)

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

Microsoft Windows Server 2019 (10.0.17763)

Version controll system

No response

Relevant log output

2023-11-06T22:16:14.2798823Z [command]"C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" -verb:sync -source:IisApp='D:\a\r1\a\VI CosmosDb WebApi & Client\vi-cosmosdb-api' -dest:iisApp='vbl-dev-verticalinsite-app-service/webapi',ComputerName='https://vbl-dev-verticalinsite-app-service.scm.azurewebsites.net:443/msdeploy.axd?site=vbl-dev-verticalinsite-app-service',UserName='$vbl-dev-verticalinsite-app-service',Password='***',AuthType='Basic' -enableRule:AppOffline -retryAttempts:6 -retryInterval:10000 -enableRule:DoNotDeleteRule -userAgent:VSTS_a261676f-76fd-4679-b4bf-62224d205671_Release__781_1319_1
2023-11-06T22:16:14.7719893Z [command]"C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" -verb:sync -source:IisApp='D:\a\r1\a\VI CosmosDb WebApi & Client\vi-cosmosdb-api' -dest:iisApp='vbl-dev-verticalinsite-app-service/webapi',ComputerName='https://vbl-dev-verticalinsite-app-service.scm.azurewebsites.net:443/msdeploy.axd?site=vbl-dev-verticalinsite-app-service',UserName='$vbl-dev-verticalinsite-app-service',Password='***',AuthType='Basic' -enableRule:AppOffline -retryAttempts:6 -retryInterval:10000 -enableRule:DoNotDeleteRule -userAgent:VSTS_a261676f-76fd-4679-b4bf-62224d205671_Release__781_1319_1
2023-11-06T22:16:14.9874174Z [command]"C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" -verb:sync -source:IisApp='D:\a\r1\a\VI CosmosDb WebApi & Client\vi-cosmosdb-api' -dest:iisApp='vbl-dev-verticalinsite-app-service/webapi',ComputerName='https://vbl-dev-verticalinsite-app-service.scm.azurewebsites.net:443/msdeploy.axd?site=vbl-dev-verticalinsite-app-service',UserName='$vbl-dev-verticalinsite-app-service',Password='***',AuthType='Basic' -enableRule:AppOffline -retryAttempts:6 -retryInterval:10000 -enableRule:DoNotDeleteRule -userAgent:VSTS_a261676f-76fd-4679-b4bf-62224d205671_Release__781_1319_1
2023-11-06T22:16:15.1834818Z ##[error]Error: Error: A '-dest' argument must be specified with the 'sync' verb.
Error count: 1.
The system cannot find the path specified.
@cloud-ik
Copy link
Author

similar issue - microsoft/azure-pipelines-tasks#19250
Removing & from source path fixed it

@kirill-ivlev
Copy link
Contributor

Hi @cloud-ik, thank you for your request.
Since issue is resolved, I'm closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants