-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot start env for local test #225
Comments
Switching to docker-linux desktop gives more info: In Environment.php line 181: Failed to start the environment. Output: ec658528c998: Downloading [==================================================>] 13.08MB/13.08MB 1Be00ca24c: Downloading [==================================================>] 4 |
If you run the command Additionally, I'd recommend addressing this
|
Hello, |
If you'd like I could do an AnyDesk session to debug this on your PC. Just send me your AnyDesk ID on lucas.bustamante@automattic.com Alternatively, check things like |
None of the commands give any feedback because at the time of running them that container is no more, being removed by the qit script because of the unhealthy status. |
Sounds good. What I will do in this session is the following, if you'd like to do this yourself:
To basically prevent the environment from going down on a failure, and then I'll try to inspect the healthcheck of the DB container that is failing. |
Thank you for explaining..then, in order to save you the time I'll do these steps myself and report back to you the result. |
howdy @Rho-bur, were you able to figure it out, after all? |
Hello @Luc45 |
@Rho-bur No worries at all, thanks for the update! |
Hi,
On Ubuntu 24.04.1 LTS I am trying to use the local test environment.
All packages are installed and updated, QIT is installed and connected.
However running qit env:up always finishes with error
`PHP Warning: file_get_contents(/home/robert/.config/woo-qit-cli/temporary-envs/e2e-67506b983c496//docker-compose.yml): Failed to open stream: No such file or directory in phar:///home/robert/.config/composer/vendor/woocommerce/qit-cli/qit/src/Environment/Environments/Environment.php on line 180
In Environment.php line 181:
Failed to start the environment. Output:
Creating network "e2e-67506b983c496_qit_network_67506b983c496" with driver "bridge"
Creating volume "e2e-67506b983c496_qit_env_volume_db_67506b983c496" with default driver
Creating qit_env_db_67506b983c496 ... done
Creating qit_env_cache_67506b983c496 ... d
ERROR: for qit_env_php_67506b983c496 Container "ef1fba113caa" is unhealthy.
ERROR: Encountered errors while bringing up the project`
I have pruned all docker history, tries different env variables but to no end.
The text was updated successfully, but these errors were encountered: