Support

Akeeba Backup for Joomla!

#13433 DB is 0 bytes on command line backup to Amazon

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 Tuesday, 11 September 2012 12:01 CDT

user12944
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.3.13
MySQL version: 5.1.63-cll
Host: hostgator
Akeeba Backup version: 3.6.3

Description of my issue:
When I perform a backup using the backend interface everything works fine and the files upload to Amazon no problem. However, when I use command line the DB has 0bytes of data and the error log shows these errors:

[120903 14:05:01] PHP WARNING on line 190 in file /home/xxxxxx/public_html/xxxxxx/libraries/joomla/database/database/mysqli.php:
[120903 14:05:01] mysqli_ping() [<a href='function.mysqli-ping'>function.mysqli-ping</a>]: Couldn't fetch mysqli
[120903 14:05:01] PHP WARNING on line 532 in file /home/xxxxxx/public_html/xxxxxx/libraries/joomla/session/session.php:
[120903 14:05:01] session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent by (output started at /home/xxxxxx/public_html/xxxxxx/cli/akeeba-backup.php:190)
[120903 14:05:01] PHP WARNING on line 532 in file /home/xxxxxx/public_html/xxxxxx/libraries/joomla/session/session.php:
[120903 14:05:01] session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/xxxxxx/public_html/xxxxxx/cli/akeeba-backup.php:190)
[120903 14:05:03] PHP WARNING on line 309 in file /home/xxxxxx/public_html/xxxxxx/administrator/components/com_akeeba/akeeba/drivers/mysqli.php:
[120903 14:05:03] mysqli_query() [<a href='function.mysqli-query'>function.mysqli-query</a>]: Couldn't fetch mysqli
[120903 14:05:03] PHP WARNING on line 266 in file /home/xxxxxx/public_html/xxxxxx/administrator/components/com_akeeba/akeeba/drivers/mysqli.php:
[120903 14:05:03] mysqli_query() [<a href='function.mysqli-query'>function.mysqli-query</a>]: Couldn't fetch mysqli
[120903 14:05:03] PHP WARNING on line 271 in file /home/xxxxxx/public_html/xxxxxx/administrator/components/com_akeeba/akeeba/drivers/mysqli.php:
[120903 14:05:03] mysqli_errno() [<a href='function.mysqli-errno'>function.mysqli-errno</a>]: Couldn't fetch mysqli
[120903 14:05:03] PHP WARNING on line 272 in file /home/xxxxxx/public_html/xxxxxx/administrator/components/com_akeeba/akeeba/drivers/mysqli.php:
[120903 14:05:03] mysqli_error() [<a href='function.mysqli-error'>function.mysqli-error</a>]: Couldn't fetch mysqli
[120903 14:05:03] PHP WARNING on line 266 in file /home/xxxxxx/public_html/xxxxxx/administrator/components/com_akeeba/akeeba/drivers/mysqli.php:
[120903 14:05:03] mysqli_query() [<a href='function.mysqli-query'>function.mysqli-query</a>]: Couldn't fetch mysqli
[120903 14:05:03] PHP WARNING on line 271 in file /home/xxxxxx/public_html/xxxxxx/administrator/components/com_akeeba/akeeba/drivers/mysqli.php:
[120903 14:05:03] mysqli_errno() [<a href='function.mysqli-errno'>function.mysqli-errno</a>]: Couldn't fetch mysqli
[120903 14:05:03] PHP WARNING on line 272 in file /home/xxxxxx/public_html/xxxxxx/administrator/components/com_akeeba/akeeba/drivers/mysqli.php:
[120903 14:05:03] mysqli_error() [<a href='function.mysqli-error'>function.mysqli-error</a>]: Couldn't fetch mysqli
[120903 14:05:03] PHP WARNING on line 266 in file /home/xxxxxx/public_html/xxxxxx/administrator/components/com_akeeba/akeeba/drivers/mysqli.php:
[120903 14:05:03] mysqli_query() [<a href='function.mysqli-query'>function.mysqli-query</a>]: Couldn't fetch mysqli
[120903 14:05:03] PHP WARNING on line 271 in file /home/xxxxxx/public_html/xxxxxx/administrator/components/com_akeeba/akeeba/drivers/mysqli.php:
[120903 14:05:03] mysqli_errno() [<a href='function.mysqli-errno'>function.mysqli-errno</a>]: Couldn't fetch mysqli
[120903 14:05:03] PHP WARNING on line 272 in file /home/xxxxxx/public_html/xxxxxx/administrator/components/com_akeeba/akeeba/drivers/mysqli.php:
[120903 14:05:03] mysqli_error() [<a href='function.mysqli-error'>function.mysqli-error</a>]: Couldn't fetch mysqli
[120903 14:05:03] PHP WARNING on line 442 in file /home/xxxxxx/public_html/xxxxxx/administrator/components/com_akeeba/akeeba/engines/dump/native/mysql.php:
[120903 14:05:03] Invalid argument supplied for foreach()
[120903 14:05:03] PHP WARNING on line 266 in file /home/xxxxxx/public_html/xxxxxx/administrator/components/com_akeeba/akeeba/drivers/mysqli.php:
[120903 14:05:03] mysqli_query() [<a href='function.mysqli-query'>function.mysqli-query</a>]: Couldn't fetch mysqli
[120903 14:05:03] PHP WARNING on line 271 in file /home/xxxxxx/public_html/xxxxxx/administrator/components/com_akeeba/akeeba/drivers/mysqli.php:
[120903 14:05:03] mysqli_errno() [<a href='function.mysqli-errno'>function.mysqli-errno</a>]: Couldn't fetch mysqli
[120903 14:05:03] PHP WARNING on line 272 in file /home/xxxxxx/public_html/xxxxxx/administrator/components/com_akeeba/akeeba/drivers/mysqli.php:
[120903 14:05:03] mysqli_error() [<a href='function.mysqli-error'>function.mysqli-error</a>]: Couldn't fetch mysqli
[120903 14:05:03] PHP WARNING on line 564 in file /home/xxxxxx/public_html/xxxxxx/administrator/components/com_akeeba/akeeba/engines/dump/native/mysql.php:
[120903 14:05:03] Invalid argument supplied for foreach()
[120903 14:05:03] PHP WARNING on line 266 in file /home/xxxxxx/public_html/xxxxxx/administrator/components/com_akeeba/akeeba/drivers/mysqli.php:
[120903 14:05:03] mysqli_query() [<a href='function.mysqli-query'>function.mysqli-query</a>]: Couldn't fetch mysqli
[120903 14:05:03] PHP WARNING on line 271 in file /home/xxxxxx/public_html/xxxxxx/administrator/components/com_akeeba/akeeba/drivers/mysqli.php:
[120903 14:05:03] mysqli_errno() [<a href='function.mysqli-errno'>function.mysqli-errno</a>]: Couldn't fetch mysqli
[120903 14:05:03] PHP WARNING on line 272 in file /home/xxxxxx/public_html/xxxxxx/administrator/components/com_akeeba/akeeba/drivers/mysqli.php:
[120903 14:05:03] mysqli_error() [<a href='function.mysqli-error'>function.mysqli-error</a>]: Couldn't fetch mysqli
[120903 14:05:03] PHP WARNING on line 266 in file /home/xxxxxx/public_html/xxxxxx/administrator/components/com_akeeba/akeeba/drivers/mysqli.php:
[120903 14:05:03] mysqli_query() [<a href='function.mysqli-query'>function.mysqli-query</a>]: Couldn't fetch mysqli
[120903 14:05:03] PHP WARNING on line 271 in file /home/xxxxxx/public_html/xxxxxx/administrator/components/com_akeeba/akeeba/drivers/mysqli.php:
[120903 14:05:03] mysqli_errno() [<a href='function.mysqli-errno'>function.mysqli-errno</a>]: Couldn't fetch mysqli
[120903 14:05:03] PHP WARNING on line 272 in file /home/xxxxxx/public_html/xxxxxx/administrator/components/com_akeeba/akeeba/drivers/mysqli.php:
[120903 14:05:03] mysqli_error() [<a href='function.mysqli-error'>function.mysqli-error</a>]: Couldn't fetch mysqli
[120903 14:05:03] PHP WARNING on line 113 in file /home/xxxxxx/public_html/xxxxxx/administrator/components/com_akeeba/akeeba/engines/dump/native/mysql.php:
[120903 14:05:03] array_key_exists() expects parameter 2 to be array, null given
[120903 14:05:03] PHP WARNING on line 266 in file /home/xxxxxx/public_html/xxxxxx/administrator/components/com_akeeba/akeeba/drivers/mysqli.php:
[120903 14:05:03] mysqli_query() [<a href='function.mysqli-query'>function.mysqli-query</a>]: Couldn't fetch mysqli
[120903 14:05:03] PHP WARNING on line 271 in file /home/xxxxxx/public_html/xxxxxx/administrator/components/com_akeeba/akeeba/drivers/mysqli.php:
[120903 14:05:03] mysqli_errno() [<a href='function.mysqli-errno'>function.mysqli-errno</a>]: Couldn't fetch mysqli
[120903 14:05:03] PHP WARNING on line 272 in file /home/xxxxxx/public_html/xxxxxx/administrator/components/com_akeeba/akeeba/drivers/mysqli.php:
[120903 14:05:03] mysqli_error() [<a href='function.mysqli-error'>function.mysqli-error</a>]: Couldn't fetch mysqli
[120903 14:05:04] PHP WARNING on line 190 in file /home/xxxxxx/public_html/xxxxxx/libraries/joomla/database/database/mysqli.php:
[120903 14:05:04] mysqli_ping() [<a href='function.mysqli-ping'>function.mysqli-ping</a>]: Couldn't fetch mysqli

nicholas
Akeeba Staff
Manager
I believe this is related to a bugfix which will be included in version 3.6.4:
# [MEDIUM] Opening MySQL and MySQLi connections could sometimes fail

It has been fixed in the latest dev release (which is actually a release candidate for 3.6.4). Can you please install and verify that it now works?

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!

user12944
Hello, the link you provided doesn't actually show any downloads. I looked through the downloads area and didn't see anything there either with 3.6.4

nicholas
Akeeba Staff
Manager
I am not sure what you are looking for, but the downloads are there and do show up. Please look at the attached image.

Since these are development releases they will of course not have the same version number as the stable release. It would be idiotic for me to have the dev release called "3.6.4" and then release version 3.6.4. If the user told me that they have "version 3.6.4" which one would they mean? The dev release I published 3 weeks ago and had only one bug fix? One of the dozen dev releases I published in the meantime? Or the official 3.6.4 release? It would make support impossible. Therefore all dev releases have versions like "svn1692" with the latest version listed on top. And since they are dev releases they are always listed as "Alpha" –despite their real development status– to scare off careless users trying to download the wrong 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!

user12944
Wow, is all I can say. I don't know what prompted that tyrade, but I don't think I deserved that rant at all. I assure you I was not making up the fact that the link you sent earlier went nowhere (and I checked more than once). Oddly, it now works fine. That's all I needed - not a lecture :/

nicholas
Akeeba Staff
Manager
Uh? I guess there's a misunderstanding here. I was just explaining my dev release version numbering policy and why all dev releases are all labelled "Alpha". I did so because I thought that was the source of the confusion in the first place. I didn't want to just reply "Look again at the page to which I already provided a link" because that would be rude.

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!