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

Unable to publish function: "There is not enough space on the disk" #3652

Open
vany0114 opened this issue Apr 29, 2024 · 1 comment
Open

Comments

@vany0114
Copy link

vany0114 commented Apr 29, 2024

I noticed that there's a closed issue related to the "There is not enough space on the disk" issue when deploying a function app (in a consumption plan), however, I can see that there is space available tho as you can see in the image below:

image

It's worth mentioning that the artifacts size after uncompressed is 333MB.

Cleaning up temp folders from previous zip deployments and extracting pushed zip file C:\local\Temp\zipdeploy\mviyhejg.zip (90.04 MB) to C:\local\Temp\zipdeploy\extracted
There is not enough space on the disk.\r\n

So I guess the space this error is referring to is the local folder because you can see that the home folder is almost free.

What is the recommendation, do I need to clean up that folder manually? I'm asking because this error is very annoying and it does not happen all the time, it usually works if I retry it again after some minutes.

Another thing worth mentioning is that it seems it happens when there are several func apps being deployed.

@1kevgriff
Copy link

I want to chime in on this, too.

I have a new Functions app with a consumption plan, and I'm getting this error when our GitHub Action does a deploy.

Cleaning up temp folders from previous zip deployments and extracting pushed zip file C:\local\Temp\zipdeploy\zg3qufi4.zip (196.58 MB) to C:\local\Temp\zipdeploy\extracted
There is not enough space on the disk.\r\n
Error: Failed to deploy web package to App Service.
Error: Execution Exception (state: PublishContent) (step: Invocation)
Error:   When request Azure resource at PublishContent, zipDeploy : Failed to use D:\a\_temp\temp_web_package_4954174849284716.zip as ZipDeploy content
Error:     Package deployment using ZIP Deploy failed. Refer logs for more details.
Error: Deployment Failed!

We upgraded other Functions apps to EP1 to get around this, but those were more critical.

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

3 participants