dokuwiki-plugin-siteexport icon indicating copy to clipboard operation
dokuwiki-plugin-siteexport copied to clipboard

Large Export download works locally, but not online.

Open rgleason opened this issue 7 years ago • 2 comments

In trying to create a large (siteexport.zip=30-25mb) offline user manual Opencpn_User_Manual of about 210 pages, the online creates stops at about 110 pages, with no indication blue vertical line scrolling under (110 of 210 pages) or further messages.

Trying to determine the problem. Have turned on debug and fixed errors.

It seems to be a problem with

Cachetime = plugin»siteexport»cachetime Cache time for export 60 * 60 * 24 * 40 = 40 days!

Cachetime.txt

Message - "Finished but download failed"

Which does not seem to be extending the actual cachetime being used by the plugin. Is this possibly a php setting problem?

Also tried extending plugin»siteexport»max_execution_time
Maximum script execution time 2400*3

======== Does SiteExport use php for downloads? Are there PHP settings that we should be adjusting on the virtual server? (Using the Backup Tool it appears the backup is about 3.5gb, including everything.)

Is the way we handle links super important to complete properly? IE:

  1. All links to outside namespaces should be External Links with full pathname.?
  2. All links to internal download files should be External Links with full pathname.?

What are the other things that we need to be careful about to have successful completion?

NOTE: Downloading the entire wiki and running it locally, seems to work and complete properly. Thank you.

https://www.dokuwiki.org/faq:uploadsize#apache_users http://stackoverflow.com/questions/19509440/increase-the-limit-of-file-download-size-in-document-management-system

rgleason avatar Mar 11 '17 13:03 rgleason

Earlier I was getting 500 External Server Errors using Firefox Firebug Console.

I don't have access to the server anymore, but there are some helpful links. http://php.net/manual/en/function.set-time-limit.php

Using Ajax to route around memory and timeout limits. https://wpshout.com/beyond-avoiding-php-timeout-memory-limit-errors-ajax/

https://www.devside.net/wamp-server/apache-and-php-limits-and-timeouts

rgleason avatar Mar 11 '17 16:03 rgleason

Dave, managed to export locally and I believe he did sections at a time and then pieced them together to avoid the failure.

rgleason avatar Mar 19 '17 16:03 rgleason