Problem Importing .zip file from Desktop Server export and Duplicator

Hello,

I posted this a couple of days ago and thought it might have been overlooked as I immediately replied with the log file.

I just installed Local and dragged a zip file from a DesktopServer export onto the dock icon. It went through the motions of importing but after clicking add site, it si hung on “Adding Site, Provisioning WP-CLI”

I tried the following from another thread:
Make sure you’re disconnected your VPN/proxy if you use one
Quit Local
Go to ~/Library/Application Support/Local by Flywheel and delete sites.json, router, router.json, and site-statuses.json
Open VirtualBox.app
Power off and remove the local-by-flywheel machine
Re-open Local and let it go through the install process again

I get the same hang on Provisioning WP-CLI.

I’ll add a copy of the log file.

Thanks,
Jeff

Jan 25, 2017, 9:05 AM AKST - warn: [main/spawnProvisioningWorker] Command failed: "/Applications/Local by Flywheel.app/Contents/Resources/extraResources/virtual-machine/vendor/docker/osx/docker" exec -i 8c0b025d0bcafe44fd69d80bc4b3ac06425a818c60699d5faf0c0c4f58673a77 dpkg -i --auto-deconfigure /tmp/mysql-56/mysql-community-server_5.6.34-1debian8_amd64.deb
dpkg: considering removing mysql-server-5.5 in favour of mysql-community-server ...
dpkg: yes, will remove mysql-server-5.5 in favour of mysql-community-server
dpkg: considering removing mysql-server-core-5.5 in favour of mysql-community-server ...
dpkg: yes, will remove mysql-server-core-5.5 in favour of mysql-community-server
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
invoke-rc.d: policy-rc.d denied execution of stop.
invoke-rc.d: policy-rc.d denied execution of stop.
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
Use of uninitialized value $_[1] in join or string at /usr/share/perl5/Debconf/DbDriver/Stack.pm line 111.
2017-01-25 18:05:33 0 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
2017-01-25 18:05:33 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2017-01-25 18:05:33 0 [Note] Ignoring --secure-file-priv value as server is running with --bootstrap.
2017-01-25 18:05:33 0 [Note] mysqld (mysqld 5.6.34) starting as process 399 ...
invoke-rc.d: policy-rc.d denied execution of start.
Use of uninitialized value $val in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 83, line 2.
Use of uninitialized value $val in concatenation (.) or string at /usr/share/perl5/Debconf/Format/822.pm line 84, line 2.
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.5; however:
Package mysql-server-5.5 is not installed.

dpkg: error processing package mysql-server (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
mysql-server

Jan 25, 2017, 9:05 AM AKST - info: [main/check-system] Check System: Checking for Docker Machine
Jan 25, 2017, 9:05 AM AKST - info: [main/check-system] Check System: Docker Machine:
{ stderr: '', stdout: 'Running\n' }
Jan 25, 2017, 9:05 AM AKST - warn: [main/spawnProvisioningWorker] Command failed: "/Applications/Local by Flywheel.app/Contents/Resources/extraResources/virtual-machine/vendor/docker/osx/docker" exec -i 8c0b025d0bcafe44fd69d80bc4b3ac06425a818c60699d5faf0c0c4f58673a77 mysql_upgrade -u root -proot
Warning: Using a password on the command line interface can be insecure.
Error: Failed while fetching Server version! Could be due to unauthorized access.
FATAL ERROR: Upgrade failed

Jan 25, 2017, 9:05 AM AKST - info: [main/spawnProvisioningWorker] ##### PROVISIONING SCRIPTS ######
Jan 25, 2017, 9:05 AM AKST - info: [main/spawnProvisioningWorker] ##### PROVISIONING WP-CLI ######
Jan 25, 2017, 9:05 AM AKST - info: [main/createWebServerConf] Creating Web Server Conf
Jan 25, 2017, 9:05 AM AKST - info: [main/createWebServerConf] Creating nginx config for site.
Jan 25, 2017, 9:05 AM AKST - info: [main/importSiteExport] Querying MySQL
Jan 25, 2017, 9:05 AM AKST - info: [main/docker-network-manager] maybeCreateNetwork
Jan 25, 2017, 9:05 AM AKST - info: [main/docker-network-manager] doesNetworkExist
Jan 25, 2017, 9:05 AM AKST - info: [main/docker-network-manager] Reconnecting 8c0b025d0bcafe44fd69d80bc4b3ac06425a818c60699d5faf0c0c4f58673a77.
Jan 25, 2017, 9:05 AM AKST - info: [main/docker-network-manager] Connecting 8c0b025d0bcafe44fd69d80bc4b3ac06425a818c60699d5faf0c0c4f58673a77 to local network.
Jan 25, 2017, 9:05 AM AKST - info: [main/docker-router] Router: Creating new router
Jan 25, 2017, 9:05 AM AKST - info: [main/docker-network-manager] Network does not exist.
Jan 25, 2017, 9:05 AM AKST - info: [main/docker-router] Deleting existing router.
Jan 25, 2017, 9:05 AM AKST - info: [main/docker-network-manager] Creating local network.
Jan 25, 2017, 9:05 AM AKST - warn: [main/index] Unhandled Rejection at: Promise Promise { undefined } reason: 
Jan 25, 2017, 9:05 AM AKST - info: [main/docker-router] Creating new router container with "run -itd -p 80:80 -p 443:443 -v "/Users/jeffdean/Library/Application Support/Local by Flywheel/router":/etc/nginx/router local-by-flywheel /etc/scripts/sleep.sh"
Jan 25, 2017, 9:05 AM AKST - info: [main/proxy-manager] Running proxyManager::add
Jan 25, 2017, 9:05 AM AKST - info: [main/proxy-manager] add: should create cert or not: true
Jan 25, 2017, 9:05 AM AKST - info: [main/proxy-manager] addCert: ensuring router/certs exists
Jan 25, 2017, 9:05 AM AKST - info: [main/proxy-manager] addCert: Running openssl req -x509 -nodes -sha256 -days 3650 -newkey rsa:2048 -keyout "/Users/jeffdean/Library/Application Support/Local by Flywheel/router/certs/jeffreyhdean-jhddevelopment-com.dev.key" -out "/Users/jeffdean/Library/Application Support/Local by Flywheel/router/certs/jeffreyhdean-jhddevelopment-com.dev.crt" -subj "/C=US/ST=Nebraska/L=Omaha/O=Acme Fake Company, Cert./CN=jeffreyhdean-jhddevelopment-com.dev"
Jan 25, 2017, 9:05 AM AKST - info: [main/importSiteExport] MySQL stdout: mysqld is alive

Jan 25, 2017, 9:05 AM AKST - info: [main/WordPressInstaller] Init WordPressInstaller 
{ site: 
{ webServer: 'nginx',
localVersion: '1.4.1',
domain: 'jeffreyhdean-jhddevelopment-com.dev',
id: 'H16yFDUwe',
name: 'jeffreyhdean.jhddevelopment.com',
container: '8c0b025d0bcafe44fd69d80bc4b3ac06425a818c60699d5faf0c0c4f58673a77',
path: '~/Local Sites/jeffreyhdean-jhddevelopment-com',
mysql: { database: 'local', user: 'root', password: 'root' },
mysqlVersion: '5.6',
phpVersion: '7.0.3',
ports: { MAILCATCHER: 5502, MYSQL: 5002, HTTPS: 4502, HTTP: 4002 } },
wpCredentials: null,
useCached: false,
atomicInstall: true,
tmpZipPath: undefined }
Jan 25, 2017, 9:05 AM AKST - info: [main/verify-wp-cli] Verifying WP-CLI for 8c0b025d0bcafe44fd69d80bc4b3ac06425a818c60699d5faf0c0c4f58673a77.
Jan 25, 2017, 9:05 AM AKST - info: [main/WordPressInstaller] Salts already in wp-config.php
Jan 25, 2017, 9:05 AM AKST - info: [main/WordPressInstaller] Writing HTTPS Fix to wp-config.php
Jan 25, 2017, 9:05 AM AKST - info: [main/proxy-manager] addCert: Command response. 
{ stdout: '',
stderr: 'Generating a 2048 bit RSA private key\n.....................+++\n..................................................................+++\nwriting new private key to \'/Users/jeffdean/Library/Application Support/Local by Flywheel/router/certs/jeffreyhdean-jhddevelopment-com.dev.key\'\n-----\n' }
Jan 25, 2017, 9:05 AM AKST - info: [main/proxy-manager] addCert: SHA1 fingerprint 
{ stderr: '',
stdout: 'SHA1 Fingerprint=BE:10:87:F2:D0:E2:0B:DB:FC:47:7B:A7:3D:EA:7D:21:F9:BD:59:24\n' }
Jan 25, 2017, 9:05 AM AKST - info: [main/importSiteExport] SQL Import Command sh /etc/scripts/import-sql.sh root root local
Jan 25, 2017, 9:05 AM AKST - info: [main/spawnProvisioningWorker] ##### PROVISIONING NGINX ######
Jan 25, 2017, 9:05 AM AKST - info: [main/spawnProvisioningWorker] ##### PROVISIONING SCRIPTS ######
Jan 25, 2017, 9:05 AM AKST - info: [main/check-system] Check System: Checking for Docker Machine
Jan 25, 2017, 9:05 AM AKST - info: [main/importSiteExport] Removing /tmp/local-by-flywheel-BJdD_P8Pg
Jan 25, 2017, 9:05 AM AKST - info: [main/importSiteExport] Removed /tmp/local-by-flywheel-BJdD_P8Pg
Jan 25, 2017, 9:05 AM AKST - info: [main/check-system] Check System: Docker Machine:
{ stderr: '', stdout: 'Running\n' }
Jan 25, 2017, 9:05 AM AKST - warn: [main/index] Unhandled Rejection at: Promise Promise { { stderr: '', stdout: '' } } reason:
{ stderr: '', stdout: '' }
Jan 25, 2017, 9:05 AM AKST - info: [main/docker-router] Router: Check Config
Jan 25, 2017, 9:05 AM AKST - info: [main/docker-router] Router: Checking if existing router is mounted to Pressmatic folder. [{ /Users/jeffdean/Library/Application Support/Local by Flywheel/router /etc/nginx/router true rprivate}]

Jan 25, 2017, 9:05 AM AKST - info: [main/docker-router] Router: Looking for running router. [{ /Users/jeffdean/Library/Application Support/Local by Flywheel/router /etc/nginx/router true rprivate}]

Jan 25, 2017, 9:05 AM AKST - info: [main/docker-router] Router: Calling proxyManager
Jan 25, 2017, 9:05 AM AKST - info: [main/proxy-manager] Running proxyManager::add
Jan 25, 2017, 9:05 AM AKST - info: [main/docker-router] Router: Restart nginx
Jan 25, 2017, 9:05 AM AKST - info: [main/proxy-manager] add: should create cert or not: true
Jan 25, 2017, 9:05 AM AKST - info: [main/proxy-manager] addCert: ensuring router/certs exists
Jan 25, 2017, 9:05 AM AKST - info: [main/proxy-manager] addCert: jeffreyhdean-jhddevelopment-com.dev.key already exists
Jan 25, 2017, 9:05 AM AKST - info: [main/hosts-helper] hostsHelper: maybeUpdate
Jan 25, 2017, 9:05 AM AKST - info: [main/hosts-helper] hostsHelper: Updating hosts
Jan 25, 2017, 9:05 AM AKST - info: [main/hosts-helper] hostsHelper: Updating hosts with ELECTRON_RUN_AS_NODE=1 "/Applications/Local by Flywheel.app/Contents/MacOS/Local by Flywheel" "/Applications/Local by Flywheel.app/Contents/Resources/app.asar.unpacked/main/provisioning/update-hosts.js" 192.168.80.100 jeffreyhdean-jhddevelopment-com.dev
Jan 25, 2017, 9:05 AM AKST - info: [main/docker-router] Router: Started /etc/scripts/router.sh 
Jan 25, 2017, 9:06 AM AKST - info: [main/hosts-helper] hostsHelper: Updated hosts. Updated hosts file at /etc/hosts

Jan 25, 2017, 9:06 AM AKST - info: [main/check-system] Check System: Checking for Docker Machine
Jan 25, 2017, 9:06 AM AKST - info: [main/check-system] Check System: Docker Machine:
{ stderr: '', stdout: 'Running\n' }
Jan 25, 2017, 9:06 AM AKST - info: [main/check-system] Check System: Checking for Docker Machine
Jan 25, 2017, 9:06 AM AKST - info: [main/check-system] Check System: Docker Machine:
{ stderr: '', stdout: 'Running\n' }
Jan 25, 2017, 9:06 AM AKST - info: [main/check-system] Check System: Checking for Docker Machine
Jan 25, 2017, 9:06 AM AKST - info: [main/check-system] Check System: Docker Machine:
{ stderr: '', stdout: 'Running\n' }
Jan 25, 2017, 9:06 AM AKST - info: [main/check-system] Check System: Checking for Docker Machine
Jan 25, 2017, 9:06 AM AKST - info: [main/check-system] Check System: Docker Machine:
{ stderr: '', stdout: 'Running\n' }
Jan 25, 2017, 9:06 AM AKST - info: [main/check-system] Check System: Checking for Docker Machine
Jan 25, 2017, 9:06 AM AKST - info: [main/check-system] Check System: Docker Machine:
{ stderr: '', stdout: 'Running\n' }
Jan 25, 2017, 9:06 AM AKST - info: [main/check-system] Check System: Checking for Docker Machine
Jan 25, 2017, 9:06 AM AKST - info: [main/check-system] Check System: Docker Machine:
{ stderr: '', stdout: 'Running\n' }
Jan 25, 2017, 9:06 AM AKST - info: [main/check-system] Check System: Checking for Docker Machine
Jan 25, 2017, 9:06 AM AKST - info: [main/check-system] Check System: Docker Machine:
{ stderr: '', stdout: 'Running\n' }
Jan 25, 2017, 9:07 AM AKST - info: [main/check-system] Check System: Checking for Docker Machine
Jan 25, 2017, 9:07 AM AKST - info: [main/check-system] Check System: Docker Machine:
{ stderr: '', stdout: 'Running\n' }
Jan 25, 2017, 9:07 AM AKST - info: [main/check-system] Check System: Checking for Docker Machine
Jan 25, 2017, 9:07 AM AKST - info: [main/check-system] Check System: Docker Machine:
{ stderr: '', stdout: 'Running\n' }
Jan 25, 2017, 9:07 AM AKST - info: [main/check-system] Check System: Checking for Docker Machine
Jan 25, 2017, 9:07 AM AKST - info: [main/check-system] Check System: Docker Machine:
{ stderr: '', stdout: 'Running\n' }
Jan 25, 2017, 9:07 AM AKST - info: [main/check-system] Check System: Checking for Docker Machine
Jan 25, 2017, 9:07 AM AKST - info: [main/check-system] Check System: Docker Machine:
{ stderr: '', stdout: 'Running\n' }
Jan 25, 2017, 9:07 AM AKST - info: [main/check-system] Check System: Checking for Docker Machine
Jan 25, 2017, 9:07 AM AKST - info: [main/check-system] Check System: Docker Machine:
{ stderr: '', stdout: 'Running\n' }
Jan 25, 2017, 9:07 AM AKST - info: [main/check-system] Check System: Checking for Docker Machine
Jan 25, 2017, 9:07 AM AKST - info: [main/check-system] Check System: Docker Machine:
{ stderr: '', stdout: 'Running\n' }
Jan 25, 2017, 9:07 AM AKST - info: [main/check-system] Check System: Checking for Docker Machine
Jan 25, 2017, 9:07 AM AKST - info: [main/check-system] Check System: Docker Machine:
{ stderr: '', stdout: 'Running\n' }
Jan 25, 2017, 9:07 AM AKST - info: [main/check-system] Check System: Checking for Docker Machine
Jan 25, 2017, 9:07 AM AKST - info: [main/check-system] Check System: Docker Machine:
{ stderr: '', stdout: 'Running\n' }
Jan 25, 2017, 9:07 AM AKST - info: [main/check-system] Check System: Checking for Docker Machine
Jan 25, 2017, 9:07 AM AKST - info: [main/check-system] Check System: Docker Machine:
{ stderr: '', stdout: 'Running\n' }
Jan 25, 2017, 9:07 AM AKST - info: [main/check-system] Check System: Checking for Docker Machine
Jan 25, 2017, 9:07 AM AKST - info: [main/check-system] Check System: Docker Machine:
{ stderr: '', stdout: 'Running\n' }
Jan 25, 2017, 9:07 AM AKST - info: [main/check-system] Check System: Checking for Docker Machine
Jan 25, 2017, 9:07 AM AKST - info: [main/check-system] Check System: Docker Machine:
{ stderr: '', stdout: 'Running\n' }
Jan 25, 2017, 9:07 AM AKST - info: [main/check-system] Check System: Checking for Docker Machine
Jan 25, 2017, 9:07 AM AKST - info: [main/check-system] Check System: Docker Machine:
{ stderr: '', stdout: 'Running\n' }
Jan 25, 2017, 9:08 AM AKST - info: [main/check-system] Check System: Checking for Docker Machine
Jan 25, 2017, 9:08 AM AKST - info: [main/check-system] Check System: Docker Machine:
{ stderr: '', stdout: 'Running\n' }
Jan 25, 2017, 9:08 AM AKST - info: [main/check-system] Check System: Checking for Docker Machine
Jan 25, 2017, 9:08 AM AKST - info: [main/check-system] Check System: Docker Machine:
{ stderr: '', stdout: 'Running\n' }
Jan 25, 2017, 9:08 AM AKST - info: [main/check-system] Check System: Checking for Docker Machine
Jan 25, 2017, 9:08 AM AKST - info: [main/check-system] Check System: Docker Machine:
{ stderr: '', stdout: 'Running\n' }
Jan 25, 2017, 9:08 AM AKST - info: [main/check-system] Check System: Checking for Docker Machine
Jan 25, 2017, 9:08 AM AKST - info: [main/check-system] Check System: Docker Machine:
{ stderr: '', stdout: 'Running\n' }
Jan 25, 2017, 9:08 AM AKST - info: [main/check-system] Check System: Checking for Docker Machine
Jan 25, 2017, 9:08 AM AKST - info: [main/check-system] Check System: Docker Machine:
{ stderr: '', stdout: 'Running\n' }
Jan 25, 2017, 9:09 AM AKST - info: [main/check-system] Check System: Checking for Docker Machine
Jan 25, 2017, 9:09 AM AKST - info: [main/check-system] Check System: Docker Machine:
{ stderr: '', stdout: 'Running\n' }
1 Like

Hi Jeff,

Very sorry for the trouble!

If you create a brand new site does it work?

Hi Clay,

Yes, creating a new site from scratch worked perfectly.

Jeff

Hello Clay,

Do you have any suggestions for getting the .zip file import to work? Or, to manually finish what is supposed to be done at the point it’s hanging?

Thanks,
Jeff

Hi Clay,

So I got it migrated. I followed the steps in this article. http://www.wpmusketeer.com/how-to-migrate-a-site-from-desktopserver-to-flywheel-local/.

I used WP Migrate DB Pro to export the database. Adminer wouldn’t import it. Kept dropping the connection in Safari. I ended up Pushing the database from my DesktopServer site to the Local site with WP Migrate DB Pro.

So far, I think it worked.
Thanks,
Jeff

1 Like