plugin-development-docker icon indicating copy to clipboard operation
plugin-development-docker copied to clipboard

First start after make is unstable

Open Djennez opened this issue 5 years ago • 3 comments

If the containers are newly created and installed (after a clean and make), there is a chance that a few things have failed to run. WordPress is sometimes not correctly installed and databases sometimes don't boot correctly. Powering down the containers and running start.sh generally fixes this.

Djennez avatar Feb 26 '20 11:02 Djennez

@herregroen @noud-github can this maybe be solved by moving the installation of the containers + content to the make.sh, and using start.sh just for bringing the containers up and down?

Djennez avatar Mar 05 '20 12:03 Djennez

I believe that using ./wp.sh to test against wp core is-installed is a bit more reliable than the current method.

moorscode avatar Jul 16 '20 20:07 moorscode

if ! $(./wp.sh $CONTAINER core is-installed); then

moorscode avatar Jul 16 '20 20:07 moorscode