Closed Rapitharian closed 5 years ago
Hi @Rapitharian I may have already replied via email, but I'm working on a new version (5.9) at the moment and will be diving into the automated export/deploy functionality area soon. I'll have a version for you to test soon. This should be easier than trying to debug on version 5.8, but will keep this open for now.
When you run the manually export, is the output correct? (ie, able to do a manual deploy?)
Leon, Correct the manual export works perfectly. The automated export just stalls on 5.8.
Sent from my iPad
On Oct 2, 2018, at 9:46 PM, Leon Stafford notifications@github.com<mailto:notifications@github.com> wrote:
Hi @Rapitharianhttps://github.com/Rapitharian I may have already replied via email, but I'm working on a new version (5.9) at the moment and will be diving into the automated export/deploy functionality area soon. I'll have a version for you to test soon. This should be easier than trying to debug on version 5.8, but will keep this open for now.
When you run the manually export, is the output correct? (ie, able to do a manual deploy?)
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/leonstafford/wordpress-static-html-plugin/issues/161#issuecomment-426485885, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AZ6cja4P3FnS3E7D3fsrdIk3_BdHDAUiks5uhBb8gaJpZM4XCBFq.
OK, one last thing to try on the scheduled/cron export - if you can control the max_execution_time
option in PHP, set that to the 25 mins or so. It will run faster than the web version, but it's doing it under one PHP process, unlike the web, which does each file/chunk in a new process.
That may get you sorted. It may have worked before when the site was smalled/not including as many files as 5.8...
Please let me know if that sorts it
I will let you know as soon as I test it.
Sent from my iPad
On Oct 3, 2018, at 6:11 AM, Leon Stafford notifications@github.com<mailto:notifications@github.com> wrote:
OK, one last thing to try on the scheduled/cron export - if you can control the max_execution_time option in PHP, set that to the 25 mins or so. It will run faster than the web version, but it's doing it under one PHP process, unlike the web, which does each file/chunk in a new process.
That may get you sorted. It may have worked before when the site was smalled/not including as many files as 5.8...
Please let me know if that sorts it
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/leonstafford/wordpress-static-html-plugin/issues/161#issuecomment-426581552, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AZ6cjYSUoyePLZFLIAAIOWo-Vi8EH6Z9ks5uhI1JgaJpZM4XCBFq.
Leon, I changed the max_execution_time to 25mins and it had no effect.
Get Outlook for Androidhttps://aka.ms/ghei36
From: Leon Stafford Sent: Wednesday, October 3, 6:11 AM Subject: Re: [leonstafford/wordpress-static-html-plugin] Automation issue in Version 5.8 (#161) To: leonstafford/wordpress-static-html-plugin Cc: Rapitharian, Mention
OK, one last thing to try on the scheduled/cron export - if you can control the max_execution_time option in PHP, set that to the 25 mins or so. It will run faster than the web version, but it's doing it under one PHP process, unlike the web, which does each file/chunk in a new process. That may get you sorted. It may have worked before when the site was smalled/not including as many files as 5.8... Please let me know if that sorts it — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/leonstafford/wordpress-static-html-plugin/issues/161#issuecomment-426581552, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AZ6cjYSUoyePLZFLIAAIOWo-Vi8EH6Z9ks5uhI1JgaJpZM4XCBFq.
Hi @Rapitharian,
Sorry for the late update. About a week ago, I got WP-CLI integration working with the plugin. I'll be phasing out the WP hook currently used with scheduling deploys, in favor of driving any automation from WP-CLI for more flexibility.
Please try the pre-release version here and let me know if any issues encountered:
https://forum.wp2static.com/-30/how-to-install-the-latest-preview-of-version-59-of-wp2static
I am running Version 5.8 Pro of the plugin. When I use the server side hook to have the plugin generate the static HTML it never completes. It creates the basic directories but none of the site specific folders. The folders created as the "basic directories" are as follows: author category comments feed index.html wp-content wp-includes wp-json
When I manually run the generation of the files the system completes in 23 minutes and generates a zip file. Let me know what diagnosis information you require and I will retrieve it. I am running: Redhat 7, Latest Wordpress, PHP 7.2, I use the Avada theme.