elementor / static-html-output

Static HTML Output Plugin for WordPress
https://statichtmloutput.com
The Unlicense
124 stars 33 forks source link

Netlify Deployment Failed - Stuck at Unpacking archive #178

Open L-U-C-K-Y opened 3 years ago

L-U-C-K-Y commented 3 years ago

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?

leonstafford commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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

L-U-C-K-Y commented 3 years ago

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.