i-net-software / i-net-software/dokuwiki-plugin-siteexport

Large Export download works locally, but not online.

Open
#78 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
26
Forks
12
PR merge metrics
No merged PRs in 30d

Description

In trying to create a large (siteexport.zip=30-25mb) offline user manual
[Opencpn_User_Manual](https://opencpn.org/wiki/dokuwiki/doku.php?id=opencpn: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](https://github.com/i-net-software/dokuwiki-plugin-siteexport/files/835914/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

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the siteexport settings named in the report: cachetime and max_execution_time, and compare the online export with the locally completed export. Review Cachetime.txt and the reported “Finished but download failed” result, then reproduce the large export to determine which server or plugin limit stops the download. Done means identifying the failing limit and documenting the required configuration or plugin change.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.