Support

Akeeba Backup for Joomla!

#22857 Question regarding change of S3 Legacy to S3

Posted in ‘Akeeba Backup for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by nicholas on Thursday, 25 June 2015 05:09 CDT

[email protected]
Just a question that I hop you can confirm:
I am updating Akeeba to use the new S3 upload instead of the S3 legacy method that I'm currently using on all my sites.
The first site I tried this on the backup initially failed to transfer to S3 because of the following message:

Amazon S3 returned an error message: 0 :: The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'eu-west-1'

Failed to process file xxxxxx.20150625-075738.jpa

Post-processing interrupted -- no more files will be transferred


I managed to solve the issue by setting the Amazon S3 Region to the one I actually use. I found this a bit confusing, as the configuration screen specifically mentions not to use this field unless I use Signature method v2 or v3https, while I left this on the default v4.
(see attachment for screenprint)

I would just like to confirm that this is the way to go for my other 30 sites before I continue.

nicholas
Akeeba Staff
Manager
No, the documentation says the exact opposite of what you understood. You have to set the region if you are using the v4 authentication method. It is ignored only you use v2 or v3https.

S3 Legacy used the v2 authentication which did global authentication: you would authenticate against any and all regions. The v4 authentication method has moved away from global authentication. It does per-region authentication. The region you've chosen for the authentication must match the region the bucket is stored in. I assume this was required for Amazon to do business behind the Great Chinese Firewall and also offer its government cloud services. The rest of us simply have to suffer.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

[email protected]
Perfect, thanks for making this clear, and sorry for my misreading ;)

nicholas
Akeeba Staff
Manager
No problem :) I'm happy I could help!

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!