Support

Akeeba Backup for Joomla!

#12892 Amazon S3 Upload Failing

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 Sunday, 08 July 2012 17:41 CDT

Mobilepro
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? Yes
Have I searched the tickets before posting? Yes
Have I read the documentation before posting (which pages?)? Yes
Joomla! version: 2.5.6
PHP version: 5.2.15
MySQL version:5.0.95
Host: (optional, but it helps us help you)
Akeeba Backup version: 3.5.2
EXTREMELY IMPORTANT: Please attach a ZIP file containing your Akeeba Backup log file in order for us to help you with any backup or restoration issue. If the file is over 2Mb, please upload it on your server and post a link to it.

Description of my issue:

Hello -

I'm backing up about 20 sites via weekly cron jobs and scan through to the bottom of the notification emails to verify they are successful. On one sites backup, although it says it succeeded without errors at the bottom, I noticed that there was an error showing the upload to S3 failed due to credentials.

Looking on S3 it started happening about a month ago and the credentials haven't changed. It isn't an issue with the other sites that use the same credentials so I'm at a loss what is causing this to start happening on just this one site.

I have reentered the keys several times and run several back-end backups but no change.
I've read through your troubleshooter on S3 uploads ...is there anything else I should be looking at?

Thanks for your help

nicholas
Akeeba Staff
Manager
Hi Oliver,

The most likely cause of this issue is your server having the wrong date/time set up. Amazon S3 has a tolerance of time mismatches for up to 15 minutes.

Apart from that, there are a few other bucket naming issues:
- Do you have dots in the bucket name? Try using a bucket name without dots.
- Do you have a bucket name with uppercase or international (e.g. characters with diacritics, cyrillic, greek and so on) characters?

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!

Mobilepro
Thanks Nicholas...I'll let you know what I find.

One other question - I seem to remember that any errors encountered in the backup had a warning at the end of the file.

As an example:

Last Tick : 2012-07-08 00:03:23 GMT-0400 (EDT)
Domain : finale
Step :
Substep :
Memory used : 10.75 Mb
Warnings : POTENTIAL PROBLEMS DETECTED; 3 warnings issued (see below).
AEUtilAmazons3::putObject(): [NoSuchBucket] The specified bucket does not exist
Failed to process file /xxxxx/xxxx/public_html/administrator/components/com_akeeba/backup/site-www.xxxxxx.com-20120708-040009.jpa
Post-processing interrupted -- no more files will be transferred


Last Tick : 2012-07-08 00:03:23 GMT-0400 (EDT)
Domain : finale
Step :
Substep :
Memory used : 10.75 Mb
Warnings : no warnings issued (good)

Last Tick : 2012-07-08 00:03:23 GMT-0400 (EDT)
Domain : finale
Step :
Substep :
Memory used : 10.75 Mb
Warnings : no warnings issued (good)

Backup job finished successfully after approximately 3 minutes



Should this be showing a warning at the end that problems were encountered? With so many backups to check I was just skipping to the bottom of the notifications looking for that alert. Otherwise I'm going to have to scan the emails more thoroughly :(


Oliver

nicholas
Akeeba Staff
Manager
That feature had to be removed when I rewrote the CRON scripts. At some point I'll add it back. Try filtering the mail for the string "POTENTIAL PROBLEMS DETECTED" in all caps.

PS: In your case you have a bucket naming problem. See this error message:
[NoSuchBucket] The specified bucket does not exist

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!