Support

UNiTE, Remote CLI, eXtract Wizard

#3776 ARI Call Error

Posted in ‘UNiTE and Remote CLI’
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

PHP version
n/a
Tool
UNiTE
Tool version
n/a

Latest post by nicholas on Saturday, 21 May 2011 10:46 CDT

user37365
Mandatory information about my setup:

Have I searched the forum before posting? Yes
Have I read the Troubleshooting Wizard before posting? yes
Have I read the documentation before posting? yes
Joomla! version: (unknown)
PHP version: (unknown)
MySQL version: (unknown)
Host: (optional, but it helps us help you)
Akeeba eXtract Wizard / Remote Control / SiteDiff version: (unknown)

Hi again.

I am trying to carry out a backup through the Akeeba Remote Control and i keep on getting a Remote API call error. The site is hosted on the same server with other websites of us and those have no issues.

I attached the log file.

Many thanks,
Antonis

nicholas
Akeeba Staff
Manager
Your database server got overloaded while performing the backup and it crashed the page load in Joomla!. Unfortunately, there is no way to work around that issue other than moving your site to a more performant host :(

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!

user37365
Hi Nicholas. Thats a bit strange as the website is on a dedicated Linux server.

BR,
Antonis

nicholas
Akeeba Staff
Manager
In that case you should be able to increase the MySQL idle connection limit to 30 seconds, restart mysqld and that should solve the issue ;) Note that the default is usually 3-5 seconds which is fine for simple page loads but just doesn't work when you have a lengthy process, like a backup step.

In retrospect, if that's not possible, you can set Akeeba Backup's minimum execution time to 0 seconds, maximum execution time to 3 seconds and bias to 50%, but that will make your backup really dead slow and might not always allow you to perform a backup.

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!

user37365
Thanks Nichola. Im checking for the first option.

"In retrospect, if that's not possible, you can set Akeeba Backup's minimum execution time to 0 seconds, maximum execution time to 3 seconds and bias to 50%, but that will make your backup really dead slow and might not always allow you to perform a backup".

How can i do the above?

nicholas
Akeeba Staff
Manager
Go to Components, Akeeba Backup. Click on Configuration. Scroll all the way down. Set:
- Minimum execution time: 0 seconds
- Maximum execution time: 3 seconds
- Bias: 50 %
Save the configuration and retry backing up.

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!

user37365
Unfortunately doesn't work...same error

nicholas
Akeeba Staff
Manager
I think you'll have to bite the bullet and perform the MySQL configuration change after all :(

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!

user37365
well something interesting happened. i changed the .htaccess file with the one of admin tools and one of the site worked.the other one still not. any ideas why this helped?

nicholas
Akeeba Staff
Manager
Well, yes, I have an idea - but it's a long shot! It is possible that your old .htaccess intercepted the calls to Akeeba Backup's remote API URL in a way that it corrupted the request and threw Akeeba Backup into a very long loop, causing the MySQL connection to time-out. Admin Tools' .htaccess is, of course, designed to work with Akeeba Backup (actually, it's designed to be compatible with anything that is coded as any proper Joomla! component should be coded).

Regarding the other site which still doesn't work, have you tried doing the same trick?

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!