• Resolved prossel

    (@prossel)


    Hello,

    Using S3 option with Dream Host Cloud Storage, I get this error when the “folder in bucket” is left empty.

    Here is the relevant part of the log:

    [INFO] BackWPup 3.9.0; A project of Inpsyde GmbH
    [INFO] WordPress 5.7.2 on https://(***)
    [INFO] Log Level: Normal

    [01-Jul-2021 18:30:39] Backup archive created.
    [01-Jul-2021 18:30:39] Archive size is 84,61 MB.
    [01-Jul-2021 18:30:39] 943 Files with 97,25 MB in Archive.
    [01-Jul-2021 18:30:41] One backup file deleted
    [01-Jul-2021 18:30:41] 1. Trying to send backup file to S3 Service …
    [01-Jul-2021 18:30:41] Connected to S3 Bucket “bkp-blog.(***)” in <LocationConstraint xmlns=”https://s3.amazonaws.com/doc/2006-03-01/”>us-east-1
    [01-Jul-2021 18:30:41] Checking for not aborted multipart Uploads …
    [01-Jul-2021 18:30:41] Starting upload to S3 Service …
    [01-Jul-2021 18:30:41] ERROR: S3 Service API: Request Content-Type is not multipart/form-data`

    Another test with the folder set to some random name gives this (empty) error:

    [01-Jul-2021 18:40:14] Backup archive created.
    [01-Jul-2021 18:40:14] Archive size is 84,61 MB.
    [01-Jul-2021 18:40:14] 943 Files with 97,25 MB in Archive.
    [01-Jul-2021 18:40:15] One backup file deleted
    [01-Jul-2021 18:40:15] 1. Trying to send backup file to S3 Service …
    [01-Jul-2021 18:40:15] Connected to S3 Bucket “bkp-blog.(***)” in <LocationConstraint xmlns=”https://s3.amazonaws.com/doc/2006-03-01/”>us-east-1
    [01-Jul-2021 18:40:15] Checking for not aborted multipart Uploads …
    [01-Jul-2021 18:40:15] Starting upload to S3 Service …
    [01-Jul-2021 18:40:15] ERROR: S3 Service API:

    And finally when I use the bucket name for the folder, there is no error, but the file is still stored at the root of the bucket.

    Is there a confusion between the bucket and the folder name ? Or is it a translation problem (I’m using it in French) ?

    Thank you for your feedback.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support happyAnt

    (@duongcuong96)

    Hello @prossel
    Thank you for the report, I checked logs and see there still errors in both :/

    • This reply was modified 3 years, 8 months ago by happyAnt.
    Thread Starter prossel

    (@prossel)

    Hello @duongcuong96,

    Exactly. There are unexpected errors in both first tests.

    Test 1: When “folder in bucket” is empty

    Why is there an error ?

    Test 2: When “folder in bucket” has some random name

    Why is there an error ? Even if the name matches an existing folder ?

    Test 3: When “folder in bucket” has the name of the bucket

    OK, that’s fine and my conclusion is that the “folder in bucket” parameter must start it’s path with the bucket name. Since the bucket name is known by selecting it somewhere else in the interface, to me, as a developer, there is no sense expecting a user to repeat the bucket name at the start of a path, if it is mandatory and cannot be changed. This is redundant to selecting the bucket name. But maybe I’m missing something and there is a reason. It just took me some time to figure it out as it’s not intuitive.

    Plugin Support happyAnt

    (@duongcuong96)

    @prossel
    hmm I tested and didn’t get the issue above, also this is the first time we receive a report about the issue, so I think maybe there could be a plugin conflict?
    Could you please help install the wp health check plugin, activate troubleshoot mode to test BackWPUp activated only?
    Thank you!

    Plugin Support happyAnt

    (@duongcuong96)

    @prossel since we haven’t heard back from you, I’m going to mark it as resolved.
    If you’re still having problems, feel free to let us know!

    Thread Starter prossel

    (@prossel)

    @duongcuong96

    Sorry, I have been busy with other tasks, and since I have a workaround, this is not high priority for me.

    Did you test with DreamHost ?

    I can create a bucket for you to test if you want.

    Thread Starter prossel

    (@prossel)

    @duongcuong96

    I tried using troubleshooting mode with only BackWPup activated.

    Same result.

    The only way to have the job run without error is to configure the “Folder in bucket” parameter with a string starting with the bucket name. Then I can add any path after the slash and it will be created in the bucket.

    This is maybe a problem with Dream host service only.

    If we can exchange a private message, I can create a bucket and send you the keys to make your own tests.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘ERROR: S3 Service API: Request Content-Type is not multipart/form-data’ is closed to new replies.