-
Notifications
You must be signed in to change notification settings - Fork 190
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
ZIP Deploy failed #42
Comments
UPDATE(not a permanent solution but for input) call :ExecuteCmd "%KUDU_SYNC_CMD%" -v 50 !IGNORE_MANIFEST_PARAM! -f "%DEPLOYMENT_SOURCE%"/XXXXXX -t "%DEPLOYMENT_TARGET%" -n "%NEXT_MANIFEST_PATH%" -p "%PREVIOUS_MANIFEST_PATH%" -i ".git;.hg;.deployment;deploy.cmd" ... to (removing the project name from the deployment source) call :ExecuteCmd "%KUDU_SYNC_CMD%" -v 50 !IGNORE_MANIFEST_PARAM! -f "%DEPLOYMENT_SOURCE%"-t "%DEPLOYMENT_TARGET%" -n "%NEXT_MANIFEST_PATH%" -p "%PREVIOUS_MANIFEST_PATH%" -i ".git;.hg;.deployment;deploy.cmd" ...it seams to find the file, but says it's being used by another process: Package deployment using ZIP Deploy initiated.
Fetching changes.
Cleaning up temp folders from previous zip deployments and extracting pushed zip file D:\local\Temp\zipdeploy\kvnzzqpr.zip (65.91 MB) to D:\local\Temp\zipdeploy\extracted
The process cannot access the file because it is being used by another process.
##[error]Failed to deploy web package to App Service.
##[error]Deployment Failed with Error: Package deployment using ZIP Deploy failed. Refer logs for more details.
##[error]Package deployment using ZIP Deploy failed. Refer logs for more details. |
This also seems to be affecting Linux Web Apps.
|
@wmmihaa this looks like an issue with the Kudu APIs we use in action code, not the action code itself. Will check and update. |
@wmmihaa are you still facing this issue? |
I have not tried again. Has anything changed? |
@sanchitmehta Can you please take a look at this issue? cc: @N-Usha @nadesu |
@sanchitmehta Any update? |
@ehamai - Can you please confirm if your team could help on this? or could you please help loop in the right product owners for the APIs under question? Thanks! |
@sanchitmehta is this something you can help with please?\ |
@aksm-ms I am also getting the almost same error. Please help me with that. |
There is similar issue on kudu team and they are working on the fix projectkudu/kudu#3169 |
@rohit-patel-ce21 from your stackoverflow issue it seems that you are getting different error. please enable debugging by setting ACTIONS_STEP_DEBUG = true in secrets. @wmmihaa as confirmed with appservice team internally they have fixed original issue |
Closing this issue as its already fixed. Let us know if you are still facing issue, we will reopen this issue. |
@AmrutaKawade was this fixed? I'm getting the same error:
|
I get the same error. I'm using ADO Pipeline. I try to deploy a Windows FunctionApp. Interesting is that this error occurs only when I try to deploy to a slot. No issue with deploying it to production. |
I had the same problem. The issue appeared to be caused while having the deployment open in IDE (Visual Studio 2019 latest) at the same time as Github. Attempting to deploy codebase from GitHub when I hadn't finished last details (keyvault, username/password) for publish from V.S |
I discovered for me that I was not using the right GitHub Action template. I was using the dotnet core app vs the ASP.NET MVC template on the docs below, https://docs.microsoft.com/en-us/azure/app-service/deploy-github-actions?tabs=applevel#aspnet Once I updated to using the ASP.NET MVC template everything worked correctly. |
After the MS support also couldn't help me I decided to delete the ressource and recreated it...after this it worked.... |
If anyone is still getting this error, here is the solution and a desctiption of what likely caused the problem.Before GitHub actions were a thing, we used Kudo directly from the Deployment Center of the App Service. However, becase our solution had multiple projects, we had to set a Since then, we have copied our app service configuration every time we set up a new site, including the With the Using the following command to generate deployment script: 'azure site deploymentscript -y --no-dot-deployment -r "C:\local\Temp\zipdeploy\extracted" -o "C:\home\site\deployments\tools" --basic --sitePath "C:\local\Temp\zipdeploy\extracted\YOUR-PROJECT-VARIABLE"'. In conclusion, just remove the |
This error is not resolved for me. How do I do "In conclusion, just remove the PROJECT configuration variable from your App Service Configuration."? I am trying to deploy on Azure App service. |
Have a look in the There has been other cases where I see this issue which tend to point to diffferenses in Bootstrap versions where it tries to remove a LICENSE directory or file (can't remember which). If you see a similar error, just remove the file/directory from the console. HTH |
I'm new to this entire process. Could you please explain with pictures....
When I go to the configuration tab of my azure app service screen... I
don't see anything called project.
Regards
Abishek
…On Fri, 2 Dec, 2022, 1:14 pm Mikael Håkansson, ***@***.***> wrote:
Have a look in the Configuration of your App Service. If you have an App
setting called "PROJECT", remove it. This setting was previously used if
you had more than one project in your solution but is now stated in the
workflow.
There has been other cases where I see this issue which tend to point to
diffferenses in Bootstrap versions where it tries to remove a LICENSE
directory or file (can't remember which). If you see a similar error, just
remove the file/directory from the console.
HTH
—
Reply to this email directly, view it on GitHub
<#42 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A4BL2KW6TFBFIDKURJZV6A3WLGSGFANCNFSM4OPRT3OA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Then that is not the issue for you. In GitHub, navigate to the For more detailed errors, cosider to "Re-run jobs" and select "Enable debug logging". |
[image: image.png]
This came after successfully installing all dependencies from
requirements.txt
…On Fri, Dec 2, 2022 at 1:23 PM Mikael Håkansson ***@***.***> wrote:
Then that is not the issue for you. In GitHub, navigate to the Action
menu and click the failed workflow and the again on the failed job. Scroll
down to the failed step and copy the whole error message and paste it here.
For more detailed errors, cosider to "Re-run jobs" and select "Enable
debug logging".
—
Reply to this email directly, view it on GitHub
<#42 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A4BL2KRNHDWXIJYMHLQJZFDWLGTGJANCNFSM4OPRT3OA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
This is not resolved for me. None of the above suggestions helped in my case. Appreciate any help on this. I am deploying a Sentiment Analysis model created using PyTorch & BERT through Flask API. Here is my repo for your reference - https://github.com/Praveen-Sudhakar/SentimentAnalysis |
this is the error message that I am receiving: |
Windows App Service. |
Seems that it is still happening..... |
SECURITY WARNING: Some packages will dump plain text ENV vars in the log. Such as azure/webapps-deploy. Be careful using this! |
Yes, It is happening , I still fail to deploy on any slot. I have tried all possible ways. |
I've enabled GitHub Actions for my Azure App Service
Dev
Slot, but it fails on the deployment step using the webapps-deploy action.Workflow
Output
The text was updated successfully, but these errors were encountered: