Support

Site Restoration

#29337 Ajax loading error

Posted in ‘Site restoration’
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
CMS Type
Other
CMS Version
n/a
Backup Tool Version
n/a
Kickstart version
n/a

Latest post by duanemitchell on Tuesday, 13 March 2018 07:56 CDT

duanemitchell
Hello,

I am attempting to install on MAMP Pro 4.4. I have installed this once into the htdocs directory and it works. But I need to create a separate host for this and assign it a version of PHP that is different than others. I've tried the installation twice and got the same error both times. A screen shot is attached.

I've looked at the related tickets but did not see anything that would or did work to resolve the issue.

The site .jpa archive is in 4 segments each being a little over 2GB.

Since I do have it working in the htdocs directory I assume it has something to do with MAMP.

Thank you.

Duane Mitchell

nicholas
Akeeba Staff
Manager
Yes, that definitely looks like a MAMP issue. Look at the error message. It says that it cannot find kickstart.php... which you are currently using to generate the page in which the extraction runs. It looks like something's breaking in MAMP under load and it can't figure out its virtual hosts.

No problem, though. Akeeba Backup archives include the restoration script. You don't need Kickstart to restore the site. Kickstart is only a tool to extract the archive. There's another tool which can do that, Akeeba eXtract Wizard, which runs as a desktop application and won't fail under load like MAMP.

SO, the best thing you can do is use Akeeba eXtract Wizard to extract the backup archive and then visit the /installation/index.php URL on that site to see ANGIE, the restoration script, and continue the restoration. When you're done you can delete the installation directory.

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!

duanemitchell
Sorry, this was my error. I attempted to use the same database for two separate restores into MAMP.

I had successfully restored the site into the so-called MAMP default directory of htdocs. Then I learned that that is not correct when using ddns to serve the site. So I created another host directory in MAMP in my ~/Sites folder on my Mac and installed there. I failed to create a second database with a different name for this second restore from backup.

BTW, it was confusing that the entire Akeeba restore process appeared to have worked but always returned to this window.

Thanks for your help. This matter is closed.

Duane Mitchell

nicholas
Akeeba Staff
Manager
The database is inconsequential. When you are restoring the site you tell the installer (ANGIE) how to connect to the database. However, the error you posted had nothing to do with that since you had never reached that step.

Now that you gave me more information I understand what you did and why you had a problem. The problem was how MAMP was mapping your folder layout (on your drive) to domain names and paths in those domain names. This was caused by the .htaccess file of the first site you installed, inside MAMP's htdocs folder. This file screws up the way any other MAMP domain (with its web root created by default inside the htdocs folder) works. This happens because .htaccess files cascade based on the disk folder layout.

By moving your restoration target outside the htdocs folder you sidestepped this issue. The ~/Sites folder doesn't have a .htaccess therefore the restoration works just fine. The database has nothing to do with it.

Please note that our software works on a much higher level than the web server. Below our software there's PHP and below it there's the web server. I understand why you were confused that our software worked somewhat in your obviously wrong setup but there's nothing we can do to stop it and / or warn you. As a matter of fact the problem was caused by a file OUTSIDE the web root of the domain you were restoring to, i.e. a file that PHP itself won't let us see.

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!

duanemitchell
Sorry for the delay in responding. I know you are closed on weekends so wanted to wait.

The site I'm restoring is a bloated old site. An 8GB archive the database is about 900MB. When I did the restore I watched it progress through all the steps. It went well but then I got that screen. I understand that the .htaccess was a problem.

How did I get there? Since the first restore into htdocs worked fine I wanted to keep that and restore a second time into the ~/Sites/secondrestore folder. But I failed to create a second database.

I've learned 2 things about MAMP in all this. 1. Never use htdocs for anything. 2. Create a separate dynamic dns URL for each site you want to share publicly.

As always, thanks for your help.

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!