Title: Export gets stuck
Last modified: January 27, 2018

---

# Export gets stuck

 *  Resolved [andrewtap](https://wordpress.org/support/users/andrewpery/)
 * (@andrewpery)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/export-gets-stuck/)
 * Hi – the export seems to get stuck / hang on a random page. It starts off a bit
   iffy:
 * 2018-01-27 02:48:42 CRAWLED FILE: [https://theadventurepeople.com/wp-content/themes/enfold/js/mediaelement/skin-1/bigplay.png](https://theadventurepeople.com/wp-content/themes/enfold/js/mediaelement/skin-1/bigplay.png)
   
   Failed to crawl file: [https://theadventurepeople.com/wp-content/themes/enfold/js/mediaelement/skin-1/bigplay](https://theadventurepeople.com/wp-content/themes/enfold/js/mediaelement/skin-1/bigplay)
   copy.png Failed to crawl file:
 * Then seems to recover, and crawls loads more files (maybe about 115) and then
   gets stuck. I’ve left it for over an hour and nothing happens. If I restart, 
   it hangs on a different page, but also about 115 pages in. That seems to be fairly
   common at least.
 * Any help much appreciated!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fexport-gets-stuck%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 12 replies - 1 through 12 (of 12 total)

 *  Plugin Author [Leon Stafford](https://wordpress.org/support/users/leonstafford/)
 * (@leonstafford)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/export-gets-stuck/#post-9910314)
 * Hi Andrew,
 * Just repeating here what was in the email, for anyone else with the same issue:
 * > What I’m guessing, is that the server has a maximum execution time limit set(
   > 30 seconds is common on shared hosting environments). Who’s your hosting provider/
   > plan or are you running from a local computer?
   > The last release overcame this kind of limitations for just one kind of export(
   > GitHub), but I will need to adjust all parts of the export to run in a way 
   > that doesn’t hit these limits.
   > We can see if we can try different hosting/get the limits removed for you in
   > the meantime, but it will probably require a decent day’s worth of work to 
   > get the plugin’s underlying mechanisms rewritten…
 *  Thread Starter [andrewtap](https://wordpress.org/support/users/andrewpery/)
 * (@andrewpery)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/export-gets-stuck/#post-9912313)
 * Hey Leon – thanks for replying.
 * I created a Github repo to test it with but the export doesn’t even get going(
   I just see the old export log and nothing new gets added).
 * I’ll chat to my hosting provider today to see if they will remove the limits 
   temporarily, but I don’t think they’ll remove them permanently…
 * I’m happy to use Github, so maybe we can get that going instead? Maybe I’m doing
   something wrong? Or some access issue on the server etc?
 *  Plugin Author [Leon Stafford](https://wordpress.org/support/users/leonstafford/)
 * (@leonstafford)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/export-gets-stuck/#post-9915550)
 * Hi Andrew,
 * Thanks for following up. I mislead a bit with the GitHub reference – the GitHub
   export process in my case, at least, was slower than the crawling of a small 
   site. So, the latest release resolved the issue of long-running process just 
   for the GitHub part of the export. In doing this, I realized that the main crawling
   function likely suffers the same problem on shared/limited hosting. That will
   be the next main fix.
 * I’m guessing that it’s what’s causing it for you, either a certain time or amount
   of memory limit being hit.
 * There is a chance it’s something else to do with the specific theme you are using.
 * Could you please try switching to a WordPress default theme like TwentySeventeen
   and seeing if that completes (no need for trying the GitHub export in this case).
 * Thanks for your patience while this is being resolved.
 * Cheers,
 * Leon
 *  Thread Starter [andrewtap](https://wordpress.org/support/users/andrewpery/)
 * (@andrewpery)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/export-gets-stuck/#post-9920902)
 * No worries, Leon. I spoke to my hosting provider and got them to increase the
   exe limit. It does create loads of files now so I think all I need to do is make
   sure the limit it long enough for the full crawl to take place. There’s about
   250 pages with loads of images so I reckon it’ll take upwards of a half hour 
   or more… I’ll update again when I have more news.
 *  Plugin Author [Leon Stafford](https://wordpress.org/support/users/leonstafford/)
 * (@leonstafford)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/export-gets-stuck/#post-9929548)
 * Hi Andrew,
 * I’ve managed to put this together today, which has just worked for me to overcome
   the limits for large exports. Please see if it gets through for you:
 * [https://github.com/leonstafford/wordpress-static-html-plugin/releases/tag/andrewtest](https://github.com/leonstafford/wordpress-static-html-plugin/releases/tag/andrewtest)
 * Cheers,
 * Leon
 *  [javierj](https://wordpress.org/support/users/javierj/)
 * (@javierj)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/export-gets-stuck/#post-9941676)
 * Hi Leon
 * I used the last github release to overwrite the version on available via wordpress
   plugins that seems to break.
 * It finishes this time, which is great. Only issues I noticed were no main index.
   html page was created and it didn’t upload to S3, only made the zip but not sure
   if that is my end or the plugin.
 * Thanks for all your hard work.
 * Let me know if you need help debugging this.
 * I plan to move many sites to S3.
 * – Javier
 *  Plugin Author [Leon Stafford](https://wordpress.org/support/users/leonstafford/)
 * (@leonstafford)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/export-gets-stuck/#post-9951749)
 * Hi Javier,
 * Sorry for the late reply, this got buried in my inbox.
 * Thanks for using the plugin and the kind words.
 * The latest copy from GitHub (if downloading the zip from master branch) is the
   development build and I’m not sure if the index.html fix got pushed up from my
   local box yet, but I’m closer to pushing some more fixes up and then it will 
   be there.
 * The best would be to hold out for the next main release, else, what issue did
   you encounter with the current official release from wordpress.org?
 * Thanks for your patience. I’m trying to get the next release out ASAP to get 
   these main issues with maximum execution time resolved for all those on shared/
   limited hosting. It’s looking quite promising so far, just a matter of hours 
   on keyboard 🙂
 * Cheers,
 * Leon
 *  Thread Starter [andrewtap](https://wordpress.org/support/users/andrewpery/)
 * (@andrewpery)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/export-gets-stuck/#post-9951820)
 * Hi Leon, sorry for not replying sooner but it’s been hectic here. This plugin
   did work once I extended exe time, but the issue that ruined the whole static
   page thing for me is the developers used WooCommerce for absolutely everything!
   This means the site would need a lot of work to be able to operate as a static
   site. That’s time I cannot put into it, so I’ve had to shelve it for the meantime
   and simply find a better WP host! Very frustrating!
 * But thank you very much for the work you put in; it’s a great plugin. In the 
   end it took almost 2 hours to run, but the site is over 7GB, so not surprising….
 * Would you like me to leave this issue as unresolved until you and Javier have
   sorted your issues out?
 *  Plugin Author [Leon Stafford](https://wordpress.org/support/users/leonstafford/)
 * (@leonstafford)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/export-gets-stuck/#post-9951915)
 * Hi Andrew,
 * No worries. Wow, 7GB, that’s a decent export!
 * Yes, that’s fine to leave this issue unresolved, though you may get a notification
   for it later. Else, it’s OK to mark it resolved and we can make new issues for
   anything remaining.
 * Shoot me an email if you need ideas for setting up the new server. I have experience
   with “infrastructure as code”, ie defining your server configuration in code,
   then deploying it, along with your codebase to a standalone server or cloud provider,
   like AWS. Makes testing out the same configuration on servers of differing performance/
   capabilities much easier after the initial investment.
 * That’s a nice way to do it, but I also know of some *very* trafficked WordPress
   websites making $ that are held together by chewing gum, so depends what the 
   needs are 😀
 * Cheers,
 * Leon
 *  [javierj](https://wordpress.org/support/users/javierj/)
 * (@javierj)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/export-gets-stuck/#post-9963817)
 * [@leonstafford](https://wordpress.org/support/users/leonstafford/).
 * Thanks for your reply.
 * No worries.
 * We had to go back to older version, 1.9 I think to upload to S3 again.
 * Please email me: [javier@gotham2.com](https://wordpress.org/support/topic/export-gets-stuck/javier@gotham2.com?output_format=md)
 * I want to help you test whatever the next latest release is.
    I can test/QA this
   for you on various platforms services and give you my feedback.
 * I don’t get the updates of this thread without manually checking so email is 
   best.
 * Also, happy to donate to your cause.
 * – Javier
    -  This reply was modified 8 years, 1 month ago by [javierj](https://wordpress.org/support/users/javierj/).
    -  This reply was modified 8 years, 1 month ago by [javierj](https://wordpress.org/support/users/javierj/).
 *  Thread Starter [andrewtap](https://wordpress.org/support/users/andrewpery/)
 * (@andrewpery)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/export-gets-stuck/#post-9964360)
 * Leon, thanks for the kind offer. Our WP site is merely a stepping stone while
   we dev our own so there’s no need to go to too much trouble. (I thought generating
   static pages was going to be a few hours work, boy was I wrong!)
 * I’m going to mark this as resolved, hope that’s ok.
 *  [javierj](https://wordpress.org/support/users/javierj/)
 * (@javierj)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/export-gets-stuck/#post-9968003)
 * [@andrewpery](https://wordpress.org/support/users/andrewpery/)
 * Why would you mark this as resolved if others are still having issues?
 * This isn’t resolved in this version.

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Export gets stuck’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/static-html-output-plugin_cce3eb.
   svg)
 * [WP2Static](https://wordpress.org/plugins/static-html-output-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/static-html-output-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/static-html-output-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/static-html-output-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/static-html-output-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/static-html-output-plugin/reviews/)

## Tags

 * [Hangs](https://wordpress.org/support/topic-tag/hangs/)

 * 12 replies
 * 3 participants
 * Last reply from: [javierj](https://wordpress.org/support/users/javierj/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/export-gets-stuck/#post-9968003)
 * Status: resolved