• Resolved Tim Nicholson

    (@timnicholson)


    I had been using the old Updraft plugin and it had stopped working altogether a few months back so I just installed this new UpdraftPlus plugin. I like the extra features it has. It actually backs up my database and files locally on my webserver just fine. I can’t get the S3 upload to work at all, though. The new plugin retained my old S3 login credentials that had worked back when the old plugin was still working.

    I get this error message when running the S3 test:
    Settings test result: Failure: We could not successfully access or create such a bucket. Please check your access credentials, and if those are correct then try another bucket name (as another S3 user may already have taken your name).

    I even created new S3 credentials and it still didn’t work. I even deleted the S3 bucket to try to let the plugin create it and got the same error message. I then recreated that same S3 bucket name using the AWS console, tried the plugin test again, and same error message.

    I also tried adding additional permissions to the S3 bucket itself. I added permissions for “all authenticated users” and still the same error message.

    Here are the relevant parts from the plugin log, although they don’t say anything more than what the plugin test says.

    0000.012 (1) Cloud backup selection: s3
    0000.013 (1) Beginning dispatch of backup to remote
    0000.271 (1) S3 Error: Failed to create bucket xtremelysocial-backups.
    0000.272 (1) An error condition has occurred for the first time on this run
    0000.273 (1) Resume backup (307582b46432, 1): finish run
    0000.274 (1) There were errors in the uploads, so the ‘resume’ event is remaining scheduled
    0000.275 (1) An email has been scheduled for this job, because we are in debug mode
    0000.275 (1) Sending email (‘Files only (database was not part of this particular schedule)’) report to: webma…

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author David Anderson / Team Updraft

    (@davidanderson)

    Hi Tim,

    What happens if you try, from the UpdraftPlus console, to create an entirely new bucket?

    Could it be possible that the old Updraft plugin was also failing to access your S3 bucket and that the problem lies somewhere else? I suggest this possibility, because the S3 uploading code is essentially the same – we use the same underlying library, just with some extra bugfixes. I can’t think of anything which could break the whole thing, and this is the first bug report with this pattern I’ve yet seen.

    David

    Thread Starter Tim Nicholson

    (@timnicholson)

    Hi, David. Thanks for your quick response. I did try to let UpdraftPlus create a new bucket and I got the same error message when testing. I’m sure the S3 upload stopped working in the old plugin, which is why I upgraded to the new one. Just in case there was something wrong with my old access key and secret key, I created a brand new access key and secret key and that still didn’t work.

    Plugin Author David Anderson / Team Updraft

    (@davidanderson)

    Do you have access to the server’s PHP error logs? If you don’t know where they are, then ask the hosting company’s support to tell you. There may be an error logged in there from the S3-handling code.

    If you have access to the server, you could also use “tcpdump” (or ask someone with sufficient expertise to do so) to trace the network traffic between the server and Amazon S3, in order to view exactly what is exchanging back and forth. If your credentials are all correct but authentication fails then I’m thinking there must be some communication problem from your particular server, or there’s some generic problem on your Amazon account. The message that comes back indicates that Amazon said “authentication failed”; I don’t think we’re going to find a problem in UpdraftPlus here, but that something’s up with either the server or the Amazon account setup. Tracing the network traffic would make things a lot clearer if you can manage that.

    David

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

The topic ‘Amazon S3 Upload Errors’ is closed to new replies.