400 error restoring from Dropbox

UpdraftPlus Home Forums Paid support forum – UpdraftPlus backup plugin 400 error restoring from Dropbox

Tagged: , ,

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #188556
    Mike
    Participant

    I wish to migrate my site using Dropbox storage. It seems to connect to Dropbox okay but when I try to retrieve the backup data, I get the following:

    Download uploads (Jan 10, 2017 22:50):
    Error: Download failed
    The requested URL returned error: 400
    The requested URL returned error: 400

    The console just says that the remote fetch failed.

    I don’t use Rackspace at all but the ‘last log message’ says: Cloud Files authentication URL: https://auth.api.rackspacecloud.com (Jan 11 01:44:41)

    And here is the end of the log file (URLs redacted):

    0000.114 () Free space on disk containing Updraft’s temporary directory: 159611.8 MB
    0000.115 () Requested to obtain file: timestamp=1484088600, type=uploads, index=0
    0000.115 () File does not yet exist locally – needs downloading
    0000.117 () Requested file from remote service: dropbox: backup_2017-01-10-2250_b_007b5aa7671f-uploads.zip
    0000.353 () Dropbox error: exception ‘Dropbox_CurlException’ with message ‘The requested URL returned error: 400’ in /wp-content/plugins/updraftplus/includes/Dropbox2/OAuth/Consumer/Curl.php:163
    Stack trace:
    #0 /wp-content/plugins/updraftplus/includes/Dropbox2/API.php(546): Dropbox_Curl->fetch(‘POST’, ‘https://content…’, ‘files/download’, Array)
    #1 /wp-content/plugins/updraftplus/includes/Dropbox2/API.php(276): UpdraftPlus_Dropbox_API->fetch(‘POST’, ‘https://content…’, ‘files/download’, Array)
    #2 /wp-content/plugins/updraftplus/methods/dropbox.php(434): UpdraftPlus_Dropbox_API->getFile(‘b.d…’, ‘/home/…’, NULL, true)
    #3 /wp-content/plugins/updraftplus/admin.php(1082): UpdraftPlus_BackupModule_dropbox->download(‘backup_2017-01-…’)
    #4 /wp-content/plugins/updraftplus/admin.php(1026): UpdraftPlus_Admin->download_file(‘backup_2017-01-…’, ‘dropbox’)
    #5 /wp-content/plugins/updraftplus/admin.php(904): UpdraftPlus_Admin->do_updraft_download_backup(0, ‘uploads’, ‘1484088600’, ”)
    #6 /wp-includes/class-wp-hook.php(298): UpdraftPlus_Admin->updraft_download_backup(”)
    #7 /wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(Array, Array)
    #8 /wp-includes/plugin.php(453): WP_Hook->do_action(”, Array)
    #9 /wp-admin/admin-ajax.php(91): do_action(Array)
    #10 {main}
    0000.670 () An error condition has occurred for the first time during this job
    0000.672 () Remote fetch failed
    0000.673 () Remote fetch failed. File /wp-content/updraft/backup_2017-01-10-2250_b_007b5aa7671f-uploads.zip did not exist or was unreadable. If you delete local backups then remote retrieval may have failed.

    In the meantime I will upload the backups manually so no hurry but if you could look into this at some point I would be most grateful. Thank you!

    #188578
    aporter
    Moderator

    Hi Mike,

    This is a known bug that is affecting some users, the recommended solution is to manually upload the backup. I’m having difficulty reproducing the bug, which means I can not fix the issue.

    It seems to be a very specific setup causing the issue.

    Would you be able to provide me with some more information to try and help reproduce the bug.

    If you could provide the full backup log, it’s probably to big to post here but you could use something like pastebin and share that link here. Also could you confirm what folder in Dropbox your backup is located in? (i.e UpdraftPlus or UpdraftPlus.com) and when the backup was taken.

    Best Wishes,

    Ashley

    #188698
    Mike
    Participant

    Thanks Ashley

    If it’s a specific setup issue then I’m not too worried about it – this is a client site and I’m unlikely to set up any more websites on the same server. The host is 1and1 by the way.

    The Dropbox directory is apps/UpdraftPlus.Com/

    I just tested the same UpdraftPlus/Dropbox setup on my own server and had no problems.

    I’m happy to leave this for now and only come back to it if I run into the same problem again in future. Let me know if you want the log anyway.

    Kind regards

    Mike

    #188848
    Dee Nutbourne
    Moderator

    Hi Mike,

    The issue appears to be limited to older backups or authenticated sites that were created before the switch to the newer Dropbox remote storage method.

    Could you possibly give the dates for the following? This will help us debug the issue.

    • When the backup set was created
    • When the site was first connected to Dropbox
    • Which Dropbox folder the backups are stored in

    You can set your reply to ‘private’ if you prefer.

    Best Wishes,
    David N

    #188896
    Mike
    Participant
    This reply has been marked as private.
    #189061
    Dee Nutbourne
    Moderator
    This reply has been marked as private.
    #189352
    Mike
    Participant
    This reply has been marked as private.
    #189498
    Dee Nutbourne
    Moderator
    This reply has been marked as private.
    #190241
    Mike
    Participant
    This reply has been marked as private.
    #190562
    Dee Nutbourne
    Moderator
    This reply has been marked as private.
    #190640
    Mike
    Participant
    This reply has been marked as private.
    #190765
    Dee Nutbourne
    Moderator
    This reply has been marked as private.
Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘400 error restoring from Dropbox’ is closed to new replies.