• Resolved ccallas

    (@ccallas)


    I’m running on a Windows 10 system with WSL 2.

    Having trouble with setting up the Jetpack development environment. I suspect I’m misunderstanding something basic. Appreciate any advice/pointers!

    Have been attempting to following at instructions for the recommended Docker environment:

    https://github.com/Automattic/jetpack/blob/master/docs/development-environment.md

    https://github.com/Automattic/jetpack/blob/master/tools/docker/README.md

    Steps to reproduce the issue:

    1. docker pull automattic/jetpack-wordpress-dev
    2. run the image

    What I expected:

    Access to the development environment

    What happened instead:

    Container runs /usr/local/bin/run, which eventually times out.

    Logs show:

    Xdebug: [Log Files] File ‘/var/log/php/xdebug_remote.log’ could not be opened.

    Downloading WordPress 5.7.1 (en_US)…

    md5 hash verified: cb9211912f9665943723ee0d9a7fa096

    Success: WordPress downloaded.

    Creating wp-config.php …

    Xdebug: [Log Files] File ‘/var/log/php/xdebug_remote.log’ could not be opened.

    ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)

    Waiting for creating wp-config.php until mysql is ready to receive connections

    Xdebug: [Log Files] File ‘/var/log/php/xdebug_remote.log’ could not be opened.

    ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)

    Waiting for creating wp-config.php until mysql is ready to receive connections

    Xdebug: [Log Files] File ‘/var/log/php/xdebug_remote.log’ could not be opened.

    ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)

    Waiting for creating wp-config.php until mysql is ready to receive connections

    Xdebug: [Log Files] File ‘/var/log/php/xdebug_remote.log’ could not be opened.

    ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)

    Waiting for creating wp-config.php until mysql is ready to receive connections

    Xdebug: [Log Files] File ‘/var/log/php/xdebug_remote.log’ could not be opened.

    ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)

    Waiting for creating wp-config.php until mysql is ready to receive connections

    Xdebug: [Log Files] File ‘/var/log/php/xdebug_remote.log’ could not be opened.

    ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)

    Waiting for creating wp-config.php until mysql is ready to receive connections

    Xdebug: [Log Files] File ‘/var/log/php/xdebug_remote.log’ could not be opened.

    ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)

    Waiting for creating wp-config.php until mysql is ready to receive connections

    Xdebug: [Log Files] File ‘/var/log/php/xdebug_remote.log’ could not be opened.

    ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)

    Waiting for creating wp-config.php until mysql is ready to receive connections

    Xdebug: [Log Files] File ‘/var/log/php/xdebug_remote.log’ could not be opened.

    ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)

    Waiting for creating wp-config.php until mysql is ready to receive connections

    Xdebug: [Log Files] File ‘/var/log/php/xdebug_remote.log’ could not be opened.

    ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)

    Waiting for creating wp-config.php until mysql is ready to receive connections

    Xdebug: [Log Files] File ‘/var/log/php/xdebug_remote.log’ could not be opened.

    ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)

    Waiting for creating wp-config.php until mysql is ready to receive connections

    Xdebug: [Log Files] File ‘/var/log/php/xdebug_remote.log’ could not be opened.

    ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)

    Waiting for creating wp-config.php until mysql is ready to receive connections

    Xdebug: [Log Files] File ‘/var/log/php/xdebug_remote.log’ could not be opened.

    ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)

    Waiting for creating wp-config.php until mysql is ready to receive connections

    Xdebug: [Log Files] File ‘/var/log/php/xdebug_remote.log’ could not be opened.

    ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)

    Waiting for creating wp-config.php until mysql is ready to receive connections

    Xdebug: [Log Files] File ‘/var/log/php/xdebug_remote.log’ could not be opened.

    ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)

    Waiting for creating wp-config.php until mysql is ready to receive connections

    Setting other wp-config.php constants…

    Xdebug: [Log Files] File ‘/var/log/php/xdebug_remote.log’ could not be opened.

    Error: ‘wp-config.php’ not found.

    Either create one manually or use wp config create.

Viewing 1 replies (of 1 total)
  • Plugin Support Jen H. (a11n)

    (@jennywp)

    Hey @ccallas, thanks for all that comprehensive information.

    Unfortunately, this is out of scope for discussion here on the support forums, but we’d like for you to post an issue to the Jetpack GitHub repo itself. There, our developers can get their eyes on it directly, and this will be more discoverable by people in the future if they have the same problems you describe.

    You can get started here:

    https://github.com/Automattic/jetpack/issues/new/choose

    I’m going to mark this thread as resolved now.

Viewing 1 replies (of 1 total)

The topic ‘Trouble using Jetpack Docker development environment’ is closed to new replies.