• Resolved opensideproject

    (@opensideproject)


    UpDraftPlus will work ONLY if I uncheck Plugins to backup.

    Backup Success Log when backing up everything EXCEPT Plugins.
    https://pastebin.com/c2Txjtah

    Backup FAILED Log when ONLY backing up the Plugin folder.
    https://pastebin.com/4i5KFtmR

    Plugin Count: 20

    BTW: The Plugins Count NEVER Resolves. It ALWAYS says calculating.

    Total (uncompressed) on-disk data:
    N.B. This count is based upon what was, or was not, excluded the last time you saved the options.

    Plugins: calculating… count
    Themes: 24.8 MB count
    Uploads: 53.2 MB count
    Others: 161.9 MB count`

    Richard

    The page I need help with: [log in to see the link]

Viewing 2 replies - 31 through 32 (of 32 total)
  • Plugin Author David Anderson

    (@davidanderson)

    The three servers were, if I remember which ones I used correctly, Linodes costing $5 and $80/month, and a $5/month Digital Ocean (or it might have been a $20/month Linode, I forget which was the third one I tested).

    That message is the message if an HTTP request times out, which is what is happening when PHP isn’t getting to run long enough on the server to finish its task of counting all the files.

    Thread Starter opensideproject

    (@opensideproject)

    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

Viewing 2 replies - 31 through 32 (of 32 total)
  • The topic ‘FAILS Backing Up ONLY Plugin Folder’ is closed to new replies.