opensideproject
Forum Replies Created
-
David, thanks.
I finally found what needed to be tweaked based on my last reply to you regarding the timeout error I found in Chrome’s developer console.
After about a minute the Plugins count the activity timed out and threw the error. I use Plesk instead of CPanel to manage my server and in the PHP Settings was FastCGI settings. I incrementally bumped up the activityTimeout to 120, 180, 240, 300 seconds. When I reached 240 seconds your plugin worked. I added another 60 secs as a buffer.
I had previously bumped up the Performance and security settings max_execution_time to 120 seconds and left it alone.
So now it is consistently working.
FastCGI settings
activityTimeout = 300 secs (70 default)
Performance and security settings
max_execution_time = 120 secs (60 default)
****************************************
max_execution_time int
This sets the maximum time in seconds a script is allowed to run before it is terminated by the parser. This helps prevent poorly written scripts from tying up the server. The default setting is 30. When running PHP from the command line the default setting is 0.On non Windows systems, the maximum execution time is not affected by system calls, stream operations etc. Please see the set_time_limit() function for more details.
Your web server can have other timeout configurations that may also interrupt PHP execution. Apache has a Timeout directive and IIS has a CGI timeout function. Both default to 300 seconds. See your web server documentation for specific details.
****************************************That last paragraph under help for max_execution_time mentioned the Windows IIS CGI timeout. The default for the activityTimeout said and was set for 60 secs. Even though my incremental bumps up to 240 seconds worked, as I previously said I bumped it up to 300 secs as a buffer, ironically it says the default is 300 secs.
~Richard
What server are your performance numbers from?
In Updraft on the Advanced Tools Tab under Site Size when I click count for Plugins in Chrome’s developer tools Console I see this error:
18:55:56.281 jquery.min.js?ver=3.6.0:2 XHR failed loading: GET “https://www.opensideproject.com/wp-admin/admin-ajax.php?action=updraft_ajax&subaction=get_fragment&nonce=85dec648fa&fragment=disk_usage&data=plugins”.
send @ jquery.min.js?ver=3.6.0:2
ajax @ jquery.min.js?ver=3.6.0:2
s.ajax.s.ajax @ jquery-migrate.min.js?ver=3.3.2:2
updraft_send_command @ updraft-admin-common.js?ver=1.16.61.1632437645:98
updraftplus_diskspace_entity @ updraft-admin-common.js?ver=1.16.61.1632437645:1285
onclick @ options-general.php?page=updraftplus&tab=expert:1554Richard
Are your performance results on a Linux server? I am on a Windows Server.
This info seems to allude to that it’s a Windows OS problem with PHP.
https://bugs.php.net/bug.php?id=80695&edit=1Is there a way to program your plugin to:
- Read so many files and their sizes
- Create your batch file
- Pick up where you left off, read the next set of files and their sizes
- Create the next batch file
- Repeat until finished
Richard
- This reply was modified 3 years, 6 months ago by opensideproject.
- This reply was modified 3 years, 6 months ago by opensideproject.
- This reply was modified 3 years, 6 months ago by opensideproject.
- This reply was modified 3 years, 6 months ago by t-p.
Here are the counts:
Plugins: 5,522 Files, 990 Folders
Other: 5,448 Files, 13 FoldersThe \plugins folder has 7 plugins.
Other count consists of these other folders in the \wp-content folder: \fonts, \languages, \maintenance, \upgrade, \wfcache, \wflogs
Other count did not include \plugins, \themes, \updraft, \uploads
~Richard
Hello sorry for the delay.
Plugins takes 53 seconds to count (75M).
Other takes 23 seconds to count (177M).What shell commands do you want me to run?
Thanks,
RichardI’m on a windows server with powershell.
I’ll check the timing out and get back to you.
Sorry for the delay I was away this week.
Thanks,
Richard- This reply was modified 3 years, 7 months ago by opensideproject.
Here is the only line in the ‘wp-content/debug.log’ file.
[04-Aug-2021 16:51:24 UTC] PHP Warning: ftp_nb_continue(): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
in C:\inetpub\vhosts\droningaround.com\wwwroot\wp-content\plugins\updraftplus\includes\ftp.class.php on line 111Interesting though UpdraftPlus works and FTPs the files fine when I exclude Plugins from backing up. As soon as I select to backup Plugins UpdraftPlus Fails.
Richard
Any update regarding the new log files and the settings you suggested?
Richard
I turned on the Debug Mode in ‘Expert Settings’ and also made the wp-config settings as requested.
Here are the links to the new log files:
UpDraftPlus Backup “With Only Plugins” FAILS 21-0804
https://pastebin.com/t7UqcKSfUpDraftPlus Backup “Without Plugins” SUCCESS 21-0804
https://pastebin.com/1wpQWg40Richard
Have you spoken to your colleague?
Do you have an update why UpdraftPlus is failing to backup Plugins?
I have 2 sites where the same exact thing is happening.
Richard
Ok, no worries mate, yes no changes were necessitated as I had prior to posting tried all your suggestions out of habit.
I like your plugin and I am anxiously looking to figure out what the problem is. I appreciate your help mate.
Richard
Are you Serious!? The log file link is in the FIRST Post!! How many times have I said that? Now I have to wait another 24-48 hours again to get an answer for something I already gave you!?
I don’t mean to be rude. The back up consistently fails every time. I provided the log file in the FIRST POST to save time so you didn’t have to ask for it.
Richard
Do you have any idea why UpdraftPlus is failing to backup Plugins? I have 2 sites where the same exact thing is happening.
Richard
Yes, I did that.
Before I ran the UpDraftPlus backups. I deleted the UpDraftPlus plugin and the UpDraftPlus backup folder where the temp files are written during the backup. I reinstalled the UpDraftPlus plugin and the log files above are from those backups after reinstalling the plugin.
Remember the UpDraftPlus plugin backs up everything EXCEPT the Plugins. If Plugins are selected to be backed up the WHOLE backup fails, nothing is backed up. If I deselect Plugins to backup it works.
That answers your question about the browser. As my scheduled automatic backups fail too, which are “not running” in a browser, like when I manually test the backups. So this is not a browser issue.
Why does selecting Plugins to backup cause UpDraftPlus to Fail?
Richard
Any idea why this is failing to backup Plugins? I have 2 sites where the same exact thing is happening.
Richard