Importing from a Flywheel Backup

I am importing files from a backup from Flywheel, and everything went well until the step “Installing Wordpress” the process remains in this state for hours. Here is a copy of the error logs

> May 5, 2017, 4:25 PM EDT - info: [main/WordPressInstaller] Latest version info 
> { version: '4.7.4',
>   download: 'https://downloads.wordpress.org/release/wordpress-4.7.4.zip' }
> May 5, 2017, 4:25 PM EDT - info: [main/WordPressInstaller] Cached version info
> May 5, 2017, 4:25 PM EDT - info: [main/WordPressInstaller] downloadLatest() https://downloads.wordpress.org/release/wordpress-4.7.4.zip 4.7.4
> May 5, 2017, 4:25 PM EDT - info: [main/WordPressInstaller] Attempting to download the latest WordPress
> May 5, 2017, 4:25 PM EDT - info: [main/docker-router] Router: Started /etc/scripts/router.sh 
> May 5, 2017, 4:25 PM EDT - info: [main/proxy-manager] addCert: Command response. 
> { stderr: 'Generating a 2048 bit RSA private key\n..+++\n............................+++\nwriting new private key to \'/Users/MyPc/Library/Application Support/Local by Flywheel/router/certs/tcdailyplanet.dev.key\'\n-----\n',
>   stdout: '' }
> May 5, 2017, 4:25 PM EDT - info: [main/proxy-manager] addCert: SHA1 fingerprint 
> { stderr: '',
>   stdout: 'SHA1 Fingerprint=63:C8:55:48:56:41:8A:41:7C:38:EC:53:14:62:6E:FE:0F:2D:F5:A1\n' }
> May 5, 2017, 4:26 PM EDT - info: [main/hosts-helper] hostsHelper: Updated hosts. Updated hosts file at  /etc/hosts

> May 5, 2017, 4:26 PM EDT - info: [main/WordPressInstaller] WordPress download timed out.
> May 5, 2017, 4:26 PM EDT - info: [main/WordPressInstaller] Ending download request.
> May 5, 2017, 4:26 PM EDT - warn: [main/WordPressInstaller] Error: Could not download or unzip WordPress.
> May 5, 2017, 4:26 PM EDT - info: [main/WordPressInstaller] copy() /private/var/folders/jk/zch1p6cn1sv8sgy5z9v19g1w0000gn/T/AppTranslocation/16790FB7-6FF1-4859-9741-08D38A009528/d/Local by Flywheel.app/Contents/Resources/extraResources/virtual-machine/vendor/wordpress/ /Users/MyPc/Desktop/TCDP/TwinCitiesEnterprise-042517-backup/app
> May 5, 2017, 4:26 PM EDT - info: [main/WordPressInstaller] Running install-wp.sh
> May 5, 2017, 4:30 PM EDT - info: [renderer/system-heartbeat] System Heartbeat: Cleared timeoutID:  1
> May 5, 2017, 4:30 PM EDT - info: [renderer/system-heartbeat] System Heartbeat: New timeoutID:  6
> May 5, 2017, 4:30 PM EDT - info: [renderer/system-heartbeat] System Heartbeat: Cleared timeoutID:  6
> May 5, 2017, 4:30 PM EDT - info: [renderer/system-heartbeat] System Heartbeat: New timeoutID:  7

I’m having the same problem! If I close Flywheel and reopen it, the site appears as if the import completed. But then, if I try to visit the site (or admin), I get this error:

$table_prefix in wp-config.php can only contain numbers, letters, and underscores.

If I go into wp-config.php, I see that the prefix has been defined this way:

$table_prefix = 'wp_ wp_wkopb3mt1a_usermeta';

If I change it to 'wp_', the site opens normally, but that leaves me extremely concerned about what else may not have worked.

Please advise—thanks!

What tool are you both using to backup / restore ?
Dave

1 Like

I am using our flywheel web hosting service to backup/restore. So flywheel web hosting provided us with the back up download which included the wp-content and backup.sql.

Unfortunatley mine never ends up creating a wp-config.php. if I close Flywheel and open it back, It also appears that the import is complete, but I end up on a page that where I must enter a DB User/password etc and then a message that my credentials don’t match up. Its frustrating because theres no wp-config to match the credentials I enter with.