Cloning site from MAMP using duplicator

I have duplicator running.

Put the archive.zip and installer.php inside home/local sites/app/public

Ran the installer, everything begins well.

Host: Localhost
DB name: local
User: root
password: root

The duplicator installer unpacks the zip fine, I can see all my files in the folder.

But then it has a timeout when trying to copy over the DB:

server code: 504
status: Gateway Time-out
response:
504 Gateway Time-out
nginx/1.10.1

My duplicator log.tx is as follows:


DUPLICATOR-LITE INSTALL-LOG
STEP1 START @ 04:50:09
NOTICE: Do NOT post to public sites or forums


VERSION: 1.1.24
PHP: 5.6.20 | SAPI: fpm-fcgi
SERVER: nginx/1.10.1
DOC ROOT: /app/public
DOC ROOT 755: true
LOG FILE 644: true
BUILD NAME: 20161202_zanemellupe_58426b6894f9f8547161203065120
REQUEST URL: http://zane-mellupe.dev/installer1.php


ARCHIVE SETUP


NAME: 20161202_zanemellupe_58426b6894f9f8547161203065120_archive.zip
SIZE: 73.67MB
ZIP: Enabled (ZipArchive Support)
EXTRACTING
ZipArchive Object
(
[status] => 0
[statusSys] => 0
[numFiles] => 12658
[filename] => /app/public/20161202_zanemellupe_58426b6894f9f8547161203065120_archive.zip
[comment] =>
)
COMPLETE: true

WEB SERVER CONFIGURATION FILE RESET:

  • Backup of .htaccess/web.config made to .orig
  • Reset of .htaccess/web.config files

UPDATED FILES:

  • SQL FILE: ‘/app/public/installer-data.sql’
  • WP-CONFIG: ‘/app/public/wp-config.php’ (if present)

ARCHIVE RUNTIME: 63.5248 sec.

=====

I hope I can get this working, local seems faster than MAMP, by far.

Thanks for any help in advance.

Jeff

I swapped webserver to Apache and it has installed.

Have to say, regarding speed and ease of use, local seems a winner.

Now to get my Git and Staging server hooked up.

Jeff

I also make some progress with the duplicator install when I switched to Apache.

Heads up: since Local 1.4.1 you can drag and drop Duplicator backups straight onto Local’s main window or Dock icon to import it directly with Local :slight_smile:

Hey Clay

Sounds good, but I’m a little confused…

Are we talking about the Duplicator plugin backups?

If so, they include a .zip archive and a installer.php, yes? So which do you drag and drop, both files?

If I drag and drop these files, then local will create a new site automatically, filling in all settings etc?

You only need the .zip archive. Local does what installer.php does for you but also sets the site up all at the same time :slight_smile:

Scratch that, I just saw your other post in the latest posts section…

Neat, it doesn’t even need the installer… that’s awesome.