Support

Akeeba Backup for Joomla!

#9125 Kickstart fails locally

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, 03 November 2011 13:18 CDT

user7543
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? Yes
Have I searched the forum before posting? Yes
Have I read the documentation before posting -- Yes
Joomla! version: 1.5.24
PHP version: 5.3.1
MySQL version: (unknown)
Host: localhost running on xampp
Akeeba Backup version: 3.3.4

Description of my issue:

Nicholas, I have tried everything to figure this out! I am unable to restore locally on my Windows machine using XAMPP via Kickstart (3.3.2). The Kickstart screen comes up but as soon as it begins the extraction, it errors out with "Invalid AJAX Data."

I've narrowed it down this way:

1) It's not a problem with the backup file itself, because I can restore it using Kickstart elsewhere (for example, in a folder on the production site)

2) It's not a global problem with Kickstart or my local machine because I can restore backups from other sites locally with no trouble

3) It's not just one file. For this particular site, all backups taken via Remote Control and those taken on the back-end will fail on local restore with that AJAX error.

4) I don't think it's a memory_limit problem (564M) or a space problem (365G available out of 465G on this drive). Plus I have successfully restored other, bigger sites locally with no trouble.

So it seems to be ONLY this site's backups and ONLY locally. Must be something with my local settings ... what could it be?

I recently had a lot of trouble with this site -- I discovered painfully during and after a bunch of upgrades (Joomla, Akeeba Backup, Remote Control, Admin Tools) that my backups weren't restorable (I was including an unwriteable directory which I corrected). After many hours of troubleshooting with help from your site and reading the forum, I finally figured out that and some other backup-related issues on my own. So to the best of my knowledge the backups are now fine both locally and via Remote Control, no errors, and they will restore elsewhere. Just not locally.

Any ideas?

Thanks,
Laurie

nicholas
Akeeba Staff
Manager
Hello Laurie,

I think that what you have is actually a permissions issue. If you pasted the rest of the error message after "Invalid AJAX data" I would probably be able to tell you what's going on. The header you pasted ("Invalid AJAX data") only tells me that there is an error, but not what it is.

Anyway, I would recommend starting by taking a look at the step by step troubleshooting instructions for this kind of errors. If this doesn't help, please paste the complete error message here so that I can 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!

user7543
Hi Nicholas -- Unfortunately that IS the whole error. Kickstart starts up fine but when it gets to the Extraction screen, it stops almost immediately and says:

Invalid AJAX data received:
START OVER
Can't get it to work? Click me
(which incidentally is not clickable)

The file it stops on is typically one of the language files -- this time it was:
C:/xampp/htdocs/cdsc/installation/lang/nb.ini

The progress bar is at maybe 1% when the extraction fails -- but it IS creating the installation directory and starting to populate it.

I have been through the troubleshooter with no luck, and to me it doesn't seem to be a permissions issue anyway -- I can use kickstart on backups from other sites in that exact same folder with no trouble.

Since I had earlier trouble with backups on this site, I am nervous that even though these recent backups APPEAR to be taken successfully and APPEAR to be restorable under the right conditions, this weird local failure means they're actually corrupted or not right in some way.

If I PM you an SA login would you be willing to take a look at this site and one of its backups and tell me if you're confident everything is OK?

Thanks for any help you can provide. I live and die by Akeeba -- it saved me big-time a couple of years ago when I had a Joomla site get hacked -- so I almost literally can't sleep at night unless I know that all my little sites have their backups safely tucked away!!!!

Laurie

nicholas
Akeeba Staff
Manager
Hi Laurie,

Do you get this error message immediately, or is there a time delay between the time you click the Start button and when you receive the error message? Also, do you have a .htaccess file in the directory where kickstart.php and the archive are?

A failsafe way to extract your archives so that you can do local testing (or even restore a site on a different server) is using our free Akeeba eXtract Wizard. After all, Kickstart is an extraction script, not a restoration script. The actual restoration script is included inside the archive, together with the SQL dump, inside the installation directory. Once you extract the archive in the directory you want to restore the site, just access the restoration script with your browser, e.g. http://localhost/yourdirectory/installation/index.php and folow the instructions. When it's over, simply remove the installation directory and you're good to go!

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!

user7543
Nicholas, believe it or not, even using Extract (3.0.2) won't work! It fails the exact same way -- no error message, but the moment it starts the extraction (within a second or two), it just crashes and shuts down. No error message with Extract, it's just gone. When I look in the directory, I see the installation folder has been created, and it's partially populated, just as with Kickstart, but that's as far as it gets.

No .htaccess file in the directory. I've tried creating new directories and doing all of the permission things in the troubleshooter.

I updated to Backup 3.3.5 last night, no change -- still can't restore this site locally.

Interestingly, I CAN restore on the site's production server (to a draft folder). So whatever is wrong with this site's backups (and it has to be the backups -- I can restore a dozen other sites locally with no trouble) isn't critical I guess, as long as I can restore to production.

But it makes me nervous. And the whole reason for this was that I wanted to restore locally, update a troublesome extension, and then put that back into production. The extension won't update properly on the production server so I feel stuck, I don't know how to move forward with this site.

Any ideas?

nicholas
Akeeba Staff
Manager
Akeeba eXtract Wizard 3.0.2 is a very, VERY old release which did suffer from frequent crashes and that's why it was discontinued. Since then there have been two new versions. The current version is 3.3. Please try using that instead.

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!

user7543
Whoops! I did a ton of updates recently, Joomla, Backup, Admin Tools, Kickstart, Remote Control ... I missed Extract.

And great news, the latest version of Extract works on this site's backups, and I used the Akeeba installer from there and the restored site looks good.

Kickstart won't work on this site's backups, and I don't know why, but as long as I can restore locally with Extract, it's liveable. THANKS for helping me walk through it.

Laurie

nicholas
Akeeba Staff
Manager
Excellent! I am glad it's working now :)

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!