I am trying to create the first site using Ubuntu 18.04 and I am getting the following error:
Error: Unable to download wp core.
Warning: Couldn’t connect to global-db:3306 or there was issue in wp config create
. Please check logs.
Warning: Initiating clean-up.
[mydev4.local] Docker Containers removed.
[mydev4.local] site root removed.
Site mydev4.local deleted.
Here is the log where the problem is happening:
[08-12-2018 13:39:42] ee.DEBUG: STDOUT: Downloading WordPress 5.0 (en_US)… md5 hash verified: 541befa7a362900f631c34d23bec4461 Success: WordPress downloaded.
[08-12-2018 13:39:42] ee.DEBUG: RETURN CODE: 129
[08-12-2018 13:39:42] ee.DEBUG: -----------------------
[08-12-2018 13:39:42] ee.ERROR: Unable to download wp core.
[08-12-2018 13:39:42] ee.DEBUG: -----------------------
[08-12-2018 13:39:42] ee.DEBUG: COMMAND: docker-compose exec --user=‘www-data’ php wp config create --dbuser=‘mydev4.local-vwhTRG’ --dbname=‘mydev4_local’ --dbpass=‘ilSg1raAjq69’ --dbhost=‘global-db:3306’ --dbcharset=utf8mb4 --extra-php=‘if ( isset( $_SERVER[“HTTP_X_FORWARDED_PROTO”] ) && $_SERVER[“HTTP_X_FORWARDED_PROTO”] == “https” ) { $_SERVER[“HTTPS”] = “on”; } // Enable WP_DEBUG mode. define( “WP_DEBUG”, false ); // Enable Debug logging to the /wp-content/debug.log file define( “WP_DEBUG_LOG”, false ); // Disable display of errors and warnings. define( “WP_DEBUG_DISPLAY”, false ); @ini_set( “display_errors”, 0 ); // Use dev versions of core JS and CSS files (only needed if you are modifying these core files) define( “SCRIPT_DEBUG”, false );’
[08-12-2018 13:39:44] ee.DEBUG: STDOUT: Success: Generated ‘wp-config.php’ file.
[08-12-2018 13:39:44] ee.DEBUG: RETURN CODE: 129
[08-12-2018 13:39:44] ee.DEBUG: -----------------------
[08-12-2018 13:39:44] ee.INFO: ======================== site cleanup start ========================
[08-12-2018 13:39:44] ee.WARNING: Couldn’t connect to global-db:3306 or there was issue in wp config create
. Please check logs.
[08-12-2018 13:39:44] ee.WARNING: Initiating clean-up.
Any ideas how to fix this?