• Resolved stever777

    (@stever777)


    I’ve been using UpdraftPlus for over a couple of years and it’s worked flawlessly. I went in to do a manual backup and clicked “Backup Now.” I got a progress bar that never made it past the first “Creating file backup (plugins)” Upon closer examination, I haven’t had a successful backup for several months!

    I can’t figure out where it’s failing. After browsing the support forums, I found someone else with similar symptoms and a similar-looking log file. The advice to him was to set a much smaller chunk size for zipping files. I tried using 40mb and it didn’t seem to result in a correctly completed backup.

    I turned on debug mode and ran another backup and have included the log file here:

    https://dl.dropboxusercontent.com/u/106730/MISC/log.81f49f3c8364.txt

    I’m happy to upgrade to Plus to get support on this–my backups are critical to the safety of my business. But if it’s something I can fix quickly, that would be great, too.

    https://wordpress.org/plugins/updraftplus/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author David Anderson

    (@davidanderson)

    The log has this:

    memory_limit: 128M (used: 99.9M | 100.5M)

    i.e. PHP is set up with a memory limit of 128M, and 100M is already used by other plugins before UD starts. As such, it’s almost certain that it gets killed due to memory exhaustion. You should raise the PHP memory limit.

    David

    Thread Starter stever777

    (@stever777)

    I tried disabling all other plugins and shifting to the Twenty Fifteen theme and the backup still failed. If other plugins were the problem, wouldn’t that have caught it?

    Do you know how to set up PHP with a higher memory limit?

    Thread Starter stever777

    (@stever777)

    Hi, David,

    I set up PHP with a 256Mb memory limit. Apparently Updraft tried 9 times and then decided nothing was happening. It then at some point did one more try and apparently stopped with no wrap-up. As you can see in the log file here:

    https://dl.dropboxusercontent.com/u/106730/MISC/log.d8ef3b5d68f7.txt

    It said:

    2792.535 (9) The current run is resumption number 9, and there was nothing useful done on the last run (last useful run: 3) - will not schedule a further attempt until we see something useful happening this time

    I’m very puzzled.

    Plugin Contributor DNutbourne

    (@dnutbourne)

    Hi,

    You can try adding this to your wp-config.php:
    define('WP_MEMORY_LIMIT', '256M');

    If that doesn’t work, you (or your hosts/server admin) will need to raise the ‘memory_limit’ configuration in php.ini.

    Thread Starter stever777

    (@stever777)

    Hi. Sorry for the radio silence. I was traveling.

    I have raised the WP_MEMORY_LIMIT to 256M, and my PHP.INI says: memory_limit=256M . Updraft still isn’t working.

    It may not be the memory limit after all. Is there any way to dig deeper for the diagnosis?

    Plugin Author David Anderson

    (@davidanderson)

    That helped, but now you’ve hit another problem – your PHP install doesn’t have the PHP “ZipArchive” module, and as a result it’s falling back to a much slower solution, which it’s timing out on. You should ask your hosting company to enable the PHP ZipArchive module.

    David

    Thread Starter stever777

    (@stever777)

    I asked my ISP to recompile PHP with ZipArchive and it worked!!! YAY!!! Thank you VERY much!

    In trying to reconnect UpdraftPlus to my DropBox, to upload the backups, the authentication has failed with the following error messages displaying on the admin screen:

    Warning: openssl_encrypt() [function.openssl-encrypt]: Using an empty Initialization Vector (iv) is potentially insecure and not recommended in /u/s/stever777/websites/www.steverrobbins.com/docroot/wp-content/plugins/updraftplus/includes/phpseclib/Crypt/Base.php on line 1057

    Warning: openssl_encrypt() [function.openssl-encrypt]: Using an empty Initialization Vector (iv) is potentially insecure and not recommended in /u/s/stever777/websites/www.steverrobbins.com/docroot/wp-content/plugins/updraftplus/includes/phpseclib/Crypt/Base.php on line 1057

    Since these are happening somewhere within the UpdraftPlus codebase, I’m not sure how to proceed. Is there a fix for this, or is this caused by another non-standard PHP setting that I should highlight for my sysadmin?

    Thanks,

    Stever

    Thread Starter stever777

    (@stever777)

    I went ahead and hacked around, disabled all warning messages, was able to successfully link to Dropbox, and then re-enabled the warning messages. Once established, the link seems to be working fine.

    YAY! I’m now back up and running. Thank you very much.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Backups not completing, even with 40Mb "split" size’ is closed to new replies.