• Resolved C_Guy

    (@c_guy)


    Hello, hoping someone can help with an error I’m getting on UpDraft Plus. I have installed the PlugIn on my WordPress site and started a manual backup.

    The log file seemed to look normal. It backed up the Plugins Ok and then it tried to do my Themes folder. The backup is stuck in a loop that looks like this (see below). I have verified that I have lots of space allocated on my hosting provider. Any help would be greatly appreciated. Thank you.

    0777.861 (5) Adding batch to zip file: over 1.5 seconds have passed since the last write (0.1 Mb); re-opening (prior size: 7672.1 Kb)
    0778.585 (5) ZipArchive::Close returned an error
    0782.656 (5) Adding batch to zip file: over 1.5 seconds have passed since the last write (0.1 Mb); re-opening (prior size: 7672.1 Kb)
    0783.261 (5) ZipArchive::Close returned an error
    0804.614 (5) Adding batch to zip file: over 1.5 seconds have passed since the last write (0 Mb); re-opening (prior size: 7672.1 Kb)
    0805.171 (5) ZipArchive::Close returned an error
    0807.918 (5) Adding batch to zip file: over 1.5 seconds have passed since the last write (0 Mb); re-opening (prior size: 7672.1 Kb)
    0808.402 (5) ZipArchive::Close returned an error
    0810.494 (5) Adding batch to zip file: over 1.5 seconds have passed since the last write (0 Mb); re-opening (prior size: 7672.1 Kb)
    0813.003 (5) ZipArchive::Close returned an error
    0816.915 (5) Adding batch to zip file: over 1.5 seconds have passed since the last write (0.1 Mb); re-opening (prior size: 7672.1 Kb)
    0817.633 (5) ZipArchive::Close returned an error
    0819.871 (5) Adding batch to zip file: over 1.5 seconds have passed since the last write (0.1 Mb); re-opening (prior size: 7672.1 Kb)
    0820.509 (5) ZipArchive::Close returned an error
    0822.727 (5) Adding batch to zip file: over 1.5 seconds have passed since the last write (0.1 Mb); re-opening (prior size: 7672.1 Kb)
    0825.211 (5) ZipArchive::Close returned an error
    0831.791 (5) Adding batch to zip file: over 1.5 seconds have passed since the last write (0.1 Mb); re-opening (prior size: 7672.1 Kb)
    0832.274 (5) ZipArchive::Close returned an error
    0834.851 (5) Adding batch to zip file: over 1.5 seconds have passed since the last write (0.2 Mb); re-opening (prior size: 7672.1 Kb)
    0835.452 (5) ZipArchive::Close returned an error
    0837.496 (5) Adding batch to zip file: over 1.5 seconds have passed since the last write (0.2 Mb); re-opening (prior size: 7672.1 Kb)
    0838.506 (5) ZipArchive::Close returned an error
    0842.874 (5) Adding batch to zip file: over 1.5 seconds have passed since the last write (0.2 Mb); re-opening (prior size: 7672.1 Kb)
    0843.454 (5) ZipArchive::Close returned an error
    0845.642 (5) Adding batch to zip file: over 1.5 seconds have passed since the last write (0.2 Mb); re-opening (prior size: 7672.1 Kb)
    0846.105 (5) ZipArchive::Close returned an error
    0878.626 (5) Adding batch to zip file: over 1.5 seconds have passed since the last write (0 Mb); re-opening (prior size: 7672.1 Kb)
    0879.726 (5) ZipArchive::Close returned an error
    0883.680 (5) Adding batch to zip file: over 1.5 seconds have passed since the last write (0 Mb); re-opening (prior size: 7672.1 Kb)
    0885.146 (5) ZipArchive::Close returned an error
    0889.830 (5) Adding batch to zip file: over 1.5 seconds have passed since the last write (0 Mb); re-opening (prior size: 7672.1 Kb)
    0891.945 (5) ZipArchive::Close returned an error
    0896.728 (5) Adding batch to zip file: over 1.5 seconds have passed since the last write (0.1 Mb); re-opening (prior size: 7672.1 Kb)
    0898.316 (5) ZipArchive::Close returned an error

    http://ww.wp.xz.cn/extend/plugins/updraftplus/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi C_Guy,

    Please can you update to the development version – http://updraftplus.com/faqs/devversion – and then post a new log (the entire log – use pastebin.com because it’ll be big).

    Many thanks,
    David

    Thread Starter C_Guy

    (@c_guy)

    Hi David. Thank you for the prompt response. I have de-activated and removed the standard plugin and installed the Developer version. I tried running the same manual backup again and got the same problem. The only difference is the file size is about half the size it was on the first attempt.

    I have pasted the log file for you at http://pastebin.com/yUfaeaCe

    Thanks for any insight you can give me.

    -Scott

    Hi Scott,

    Firstly, this is the most extraordinarily slow server I’ve ever seen… after 100 seconds, it’s managed to add 0.5Mb of data to a zip file… so that’s 5Kb/second (normal performance would be 100x faster than that) – any idea why that is?

    Secondly, unfortunately, PHP’s zip-handling functions don’t tell you why they failed to write data to the zip file – just that they did. Most likely causes are 1) your disk space quota has been reached 2) one or more of the files or directories in your theme directory is unreadable.

    Failing that, add this to your wp-config.php:

    define(‘UPDRAFTPLUS_PREFERPCLZIP’, true);

    That makes UpdraftPlus use a different zip-file handler. That may or may not work; but if it does not, it’s likely to give us a better error message.

    David

    Thread Starter C_Guy

    (@c_guy)

    Thanks David. As per your advice I modified my wp-config.php and uploaded it. I re-ran the backup and it went much faster although it looks like there may have been a hiccup. I have pasted a new log file at http://pastebin.com/VvKAbXfA

    Could you please take a quick look and see if the backup looks alright?

    As for the server’s performance I would have to contact my host. I did log in and verify that I am only using 0.5 out of an allocated 10 GB so capacity is not the problem. The only other thing I can think of is that I have 3 WordPress installations. But they are each under their own domain, in their own database, and I only have UpDraft on this one.

    Oh and I did get a “Backup Succeeded” e-Mail as well.

    Thanks.
    -Scott

    Hi Scott,

    That log looks perfect – I can’t see any hiccups in there. 🙂

    Perhaps the slowness using the default zip method is a problem in the host’s PHP install – they do have a rather old PHP version there (5.2.13; Feb 2010 – there were later security releases in the 5.2 series).

    David

    Thread Starter C_Guy

    (@c_guy)

    David;

    Thanks for reviewing my logs and responding so quickly. I’m happy to give you a good rating 🙂

    You’re welcome. Thank you!

    David

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Endless Loop – "Close Retrurned an error"’ is closed to new replies.