Support

Akeeba Backup for Joomla!

#12551 Problem with upload 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 Monday, 04 June 2012 09:41 CDT

dlb
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? Few had any relevance
Have I searched the tickets before posting? No
Have I read the documentation before posting (which pages?)? S3 section
Joomla! version: 2.5.4
PHP version: 5.3.13
MySQL version: 5.5.23-55
Host: HostGator
Akeeba Backup version: 3.5.1

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:
  1. I'm getting an upload failure to S3 when using https. CLI log and email are attached. Could this be because I have a dot in the bucket name?
  2. The "Download Log" button would not work while viewing the log file. It looked like it pressed, but the log would not download.
  3. In Administer Backup Files, clicking the "Upload S3" button should re-upload the backup file. It gives an instant success message, but makes no attempt to upload the file.

Enjoy JD Greece! This will wait until the dust clears. :-D

Dale


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

nicholas
Akeeba Staff
Manager
Hi Dale,

I'm back from J! Day Greece. Yesterday was the last day, I left the notice on for an extra day as I'm not 100% back. I guess we can call this a "Joomla! hangover" or something :)

He he, as always you're spot on! Your hunch was correct. The problem is that you are using SSL and you have a dot in the name. Here's the log line which says so:
AEUtilAmazons3::startMultipart(): [51] SSL: certificate subject name '*.s3.amazonaws.com' does not match target host name 'fangorn.us.s3.amazonaws.com'

You will have to disable the SSL feature in the Upload to Amazon S3 settings.

The immediate success on reupload happens because you use the multipart uploads feature. That combination doesn't work very well, as you noticed.

I'm not sure why you couldn't download the log. The log isn't that big and I've seen much bigger logs being able to get downloaded. Are you using Firefox by any chance?

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!

dlb
Just finished taking the SSL flags off all sites. Back end backup and upload were successful.

The documentation mentions the dot as a valid character. It looks like a pattern match problem, the wildcard is matching either "fangorn" or "us" but not "fangorn.us" because it is treating the "." as a delimiter. Is that an Akeeba issue or an Amazon issue?

I'll have to weigh the pros and cons of changing the multi-part upload. :-)

Yes, Firefox. And I know what you think of recent versions of Firefox. :-D

Thank you!

Dale


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

nicholas
Akeeba Staff
Manager
Hi Dale,

The dot in the bucket name triggers an SSL issue. SSL certificates are issued per subdomain. The dot is the delimiter for subdomains. Bucket names are used as subdomains when accessing S3. Guess what happens when you add a dot in the bucket name? :D There is a workaround, but it makes my code a little more complex. I might have to tackle this in a future version.

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!