WordPress.org

Ready to get started?Download WordPress

Forums

UpdraftPlus Backup and Restoration for WordPress
[resolved] Rackspace Cloud Files setup fails (25 posts)

  1. Dirty Bill
    Member
    Posted 1 year ago #

    Downloaded plugin, installed, activated, put in my Rackspace API key and username. Hit Test and:

    Settings test result: Cloud Files error - we accessed the container, but failed to create a file within it (Required Content-Type not set).

    http://wordpress.org/extend/plugins/updraftplus/

  2. davferg5000
    Member
    Posted 1 year ago #

    I'm getting a similar thing. username, apikey, and a container name is filled in correctly Getting:

    Settings test result: Cloud Files authentication failed (Unexpected response (): )

  3. David Anderson
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Dirty Bill,

    Please try the development version: http://updraftplus.com/faqs/devversion

    And then let me know how you get on.

    David

  4. Dirty Bill
    Member
    Posted 1 year ago #

    The dev version test appears to work. Trying a backup. NOTE: could use a CLEAR LOG option.

    UPDATE: this is the last message in the logfile. It seems it gets stuck here and gets no further: "Zip::addFile apparently failed - retrying with PclZip (Jun 22 10:03:27)"

    Here's a log excerpt:

    0000.016 (2) File exists (updraft/backup_2013-06-22-0953_SITENAME_ad081c96296d-uploads.zip.tmp), but was apparently not modified within the last 30 seconds, so we assume that any previous run has now terminated (time_mod=1371920319, time_now=1371920598, diff=279)
    0000.017 (2) Checking if we have a zip executable available
    0000.018 (2) Testing: /usr/bin/zip
    0000.018 (2) Testing: /bin/zip
    0000.019 (2) Testing: /usr/local/bin/zip
    0000.020 (2) Testing: /usr/sfw/bin/zip
    0000.021 (2) Testing: /usr/xdg4/bin/zip
    0000.022 (2) Testing: /opt/bin/zip
    0000.023 (2) backup_2013-06-22-0953_SITENAME_ad081c96296d-uploads.zip.tmp: Zip file already exists, with 0 files
    0009.226 (2) Zip::addFile apparently failed - retrying with PclZip

  5. davferg5000
    Member
    Posted 1 year ago #

    I still get the same error when I click "test cloud file settings"

    Settings test result: Cloud Files authentication failed (Unexpected response (): )

    My username and Api key are correct. I am using a container name that doesn't exist.

  6. David Anderson
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Dirty Bill,

    Please can you post the complete log? Use pastebin.com if it's big.

    davferg5000: you have a different problem - please can you start a separate forum thread?

    David

  7. David Anderson
    Member
    Plugin Author

    Posted 1 year ago #

    For some reason the forum isn't auto-emailing me these posts as it should. This post is just an attempt to get it do so via the 'Notify me' option - otherwise, please ignore it!

  8. Dirty Bill
    Member
    Posted 1 year ago #

    Here is the link. http://pastebin.com/jnL8yrtL

  9. David Anderson
    Member
    Plugin Author

    Posted 1 year ago #

    P.S. A "clear log" option would make no sense, because there is not a single log. Each backup run gets its own separate log.

  10. David Anderson
    Member
    Plugin Author

    Posted 1 year ago #

    Hi DirtyBill,

    Sorry for not replying to this - again, the forum didn't email me the post, which is very strange (it emails me every other post on the forum automatically). I'm flagging this as "modlook" so that someone higher up the WordPress chain can advise me as to why this might be,.

    In the meantime, your pastebin.com link expired - please can you post the log there again?

    David

  11. Samuel Wood (Otto)
    Tech Ninja
    Posted 1 year ago #

    Fixed the email issue. Spam filter blocked it.

  12. David Anderson
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks, Tech Ninja!

  13. Dirty Bill
    Member
    Posted 1 year ago #

    The log was basically the same thing as above repeated over and over.

  14. David Anderson
    Member
    Plugin Author

    Posted 1 year ago #

    And, what was that same thing?

  15. Dirty Bill
    Member
    Posted 1 year ago #

    0000.016 (2) File exists (updraft/backup_2013-06-22-0953_SITENAME_ad081c96296d-uploads.zip.tmp), but was apparently not modified within the last 30 seconds, so we assume that any previous run has now terminated (time_mod=1371920319, time_now=1371920598, diff=279)
    0000.017 (2) Checking if we have a zip executable available
    0000.018 (2) Testing: /usr/bin/zip
    0000.018 (2) Testing: /bin/zip
    0000.019 (2) Testing: /usr/local/bin/zip
    0000.020 (2) Testing: /usr/sfw/bin/zip
    0000.021 (2) Testing: /usr/xdg4/bin/zip
    0000.022 (2) Testing: /opt/bin/zip
    0000.023 (2) backup_2013-06-22-0953_SITENAME_ad081c96296d-uploads.zip.tmp: Zip file already exists, with 0 files
    0009.226 (2) Zip::addFile apparently failed - retrying with PclZip

  16. David Anderson
    Member
    Plugin Author

    Posted 1 year ago #

    OK - and can I see the bits preceding that? (That may help me know what leads to the problem).

  17. Dirty Bill
    Member
    Posted 1 year ago #

    Because it doesn't quit trying once you've started it, I've disabled it. Everything before that point involved creating the backup temp files which it did. I'm re-enabling, will post other components of the log shortly.

  18. Dirty Bill
    Member
    Posted 1 year ago #

    0000.000 () Opened log file at time: Sat, 22 Jun 2013 09:53:12 -0700
    0000.002 () UpdraftPlus: 1.6.23 WP: 3.5.1 PHP: 5.2.6-1+lenny16 (Linux XXXXXXXX 2.6.35.4-rscloud #8 SMP Mon Sep 20 15:54:33 UTC 2010 x86_64) Server: Apache max_execution_time: 900 memory_limit: 192M ZipArchive::addFile : Y
    0000.004 () Free space on disk containing Updraft's temporary directory: 54776.6 Mb
    0000.005 () Deleting old temporary file: backup_2013-06-20-1657_XXXXXXXX_cd8a6e2495f6-uploads.zip.tmp
    0000.007 () Tasks: Backup files: 1 (schedule: manual) Backup DB: 1 (schedule: manual)
    0000.008 () Processed schedules. Tasks now: Backup files: 1 Backup DB: 1
    0000.011 (0) Backup run: resumption=0, nonce=ad081c96296d, begun at=1371919992 (0s ago), job type=backup
    0000.012 (0) Scheduling a resumption (1) after 300 seconds (1371920292) in case this run gets aborted
    0000.014 (0) Creation of backups of directories: beginning
    0000.017 (0) Beginning creation of dump of plugins
    0000.018 (0) Checking if we have a zip executable available
    0000.019 (0) Testing: /usr/bin/zip
    0000.020 (0) Testing: /bin/zip
    0000.021 (0) Testing: /usr/local/bin/zip
    0000.021 (0) Testing: /usr/sfw/bin/zip
    0000.022 (0) Testing: /usr/xdg4/bin/zip
    0000.023 (0) Testing: /opt/bin/zip
    0002.126 (0) Zip::addFile apparently failed - retrying with PclZip
    0012.903 (0) Created plugins zip - file size is 36571 Kb in 12.9 s (2838.3 Kb/s)
    0012.905 (0) Beginning creation of dump of themes
    0015.152 (0) Created themes zip - file size is 11100.7 Kb in 2.2 s (4944.1 Kb/s)
    0015.154 (0) Beginning creation of dump of uploads
    0000.000 () Opened log file at time: Sat, 22 Jun 2013 09:58:17 -0700
    0000.001 () UpdraftPlus: 1.6.23 WP: 3.5.1 PHP: 5.2.6-1+lenny16 (Linux xxxxxxxx 2.6.35.4-rscloud #8 SMP Mon Sep 20 15:54:33 UTC 2010 x86_64) Server: Apache max_execution_time: 900 memory_limit: 192M ZipArchive::addFile : Y
    0000.002 () Free space on disk containing Updraft's temporary directory: 54731.2 Mb
    0000.003 (1) Backup run: resumption=1, nonce=ad081c96296d, begun at=1371919992 (305s ago), job type=backup
    0000.004 (1) Scheduling a resumption (2) after 300 seconds (1371920597) in case this run gets aborted
    0000.006 (1) Creation of backups of directories: had begun; will resume
    0000.010 (1) Beginning creation of dump of plugins
    0000.011 (1) backup_2013-06-22-0953_XXXX_ad081c96296d-plugins.zip: this file has already been created
    0000.012 (1) Beginning creation of dump of themes
    0000.012 (1) backup_2013-06-22-0953_XXXX_ad081c96296d-themes.zip: this file has already been created
    0000.013 (1) Beginning creation of dump of uploads
    0000.014 (1) Checking if we have a zip executable available
    0000.015 (1) Testing: /usr/bin/zip
    0000.016 (1) Testing: /bin/zip
    0000.016 (1) Testing: /usr/local/bin/zip
    0000.017 (1) Testing: /usr/sfw/bin/zip
    0000.018 (1) Testing: /usr/xdg4/bin/zip
    0000.019 (1) Testing: /opt/bin/zip
    0022.334 (1) Zip::addFile apparently failed - retrying with PclZip

  19. David Anderson
    Member
    Plugin Author

    Posted 1 year ago #

    It does quite trying, once it gets up to (10).

  20. Dirty Bill
    Member
    Posted 1 year ago #

    I must have run out of patience around 8 then.

  21. David Anderson
    Member
    Plugin Author

    Posted 1 year ago #

    Hmmmm. Does the same happen on a new backup run? I'm wondering if there was a freak timing error that is the cause. (Would still need fixing, of course - but I want to know if it's that rather than something else).

    David

  22. Dirty Bill
    Member
    Posted 1 year ago #

    It has happened every time I run it - once the rackspace connect was handled that is.

  23. David Anderson
    Member
    Plugin Author

    Posted 1 year ago #

    Re-checking the code, I can see part of the problem.

    PHP's built-in zip-file handling fails; so UpdraftPlus re-tries, using the in-PHP-code zip file handler, PclZip. That's this line:

    Zip::addFile apparently failed - retrying with PclZip

    PclZip is all-or-nothing; you can add a whole directory to the zip, or have it fail. Most likely nothing is logged after that because it times out. (PHP's built-in zip-file handling doesn't have this problem).

    So what we want to work out is why we get "Zip::addFile apparently failed". There are two possibilities that trigger that error. I've tweaked the development version so that we can distinguish from the log which one it is - that'll help. Please can you update again to the development version, and the post a new log:

    http://updraftplus.com/faqs/devversion - should show as 1.6.26 or later after installation.

    Many thanks,
    David

  24. David Anderson
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Dirty Bill,

    I've just made a further change that may also solve your situation - please update - http://updraftplus.com/faqs/devversion - should show as version 1.6.27 or later.

    David

  25. David Anderson
    Member
    Plugin Author

    Posted 1 year ago #

    Sorry - I spotted a logic error in the latest tweak - if you'd started updating, then please do so again, and verify that you've got version 1.6.29 or later.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic