static-html-output icon indicating copy to clipboard operation
static-html-output copied to clipboard

Netlify Deployment Failed - Stuck at Unpacking archive

Open L-U-C-K-Y opened this issue 4 years ago • 4 comments

Hi Leon

Thanks for creating great plugins!

I never had an issue with the Static HTML Plugin, but since today I'm unable to deploy to Netlify. The WordPress UI says that the upload has succeeded and I see the deploy in Netlify, but it is stuck at unpacking.

Screenshot 2021-08-04 at 16 15 45

Do you know what the issue could be?

L-U-C-K-Y avatar Aug 04 '21 14:08 L-U-C-K-Y

Hmm, has the site's size been increasing exponentially?

A way to try and troubleshoot this, is to generate just a ZIP file, extract it locally, and use Netlify's CLI tool to sync it.

In WP2Static (different approach than Static HTML Output), we use the same method as the Netlify CLI for deploying, which is more efficient, only requiring to deploy changed files. The Static HTML Output one makes one big zip file and deploys that, which makes it prone to network issues.

You can try the Netlify CLI from here:

https://docs.netlify.com/cli/get-started/

And WP2Static from here:

https://wp2static.com/thanks-for-supporting

leonstafford avatar Aug 04 '21 14:08 leonstafford

further to that, you can try Netlify's support forum, where they may be able to give more details about the error, ie if it was too big a zip file, etc

leonstafford avatar Aug 04 '21 14:08 leonstafford

and occasionally, I've had to force cancel a deployment on Netlify

you could also create a new free netlify site and try deploying to that... in case you're unable to get that stuck deployment to cancel

leonstafford avatar Aug 04 '21 14:08 leonstafford

Thanks for your swift answer!

A way to try and troubleshoot this, is to generate just a ZIP file, extract it locally, and use Netlify's CLI tool to sync it.

I actually was able to generate the ZIP file and upload it over the Netlify CLI. The file size is 21.5 MB.

I'll try later to create a new file from scratch to see if that works.

L-U-C-K-Y avatar Aug 04 '21 15:08 L-U-C-K-Y