Skip to content
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

Could not start env #24

Closed
torhoehn opened this issue Oct 22, 2019 · 4 comments · Fixed by #100
Closed

Could not start env #24

torhoehn opened this issue Oct 22, 2019 · 4 comments · Fixed by #100

Comments

@torhoehn
Copy link
Contributor

On my Mac I created a Magento 2 environment with the Magento 2 GitHub repository and installed the Sample Data directly from GitHub. Everything was running fine.

After stopping the environment I'm not able to start it again, because the initial synchronisation does not complete. The Docker engine already has 6 GB of RAM available. Do you know any solution for this?
Screenshot 2019-10-22 at 07 03 55

@mandatoryhashtags
Copy link

@torhoehn Did you run a sync stop when you stopped the environment?

warden sync stop

@torhoehn
Copy link
Contributor Author

torhoehn commented Oct 25, 2019

@mandatoryhashtags I did run:
warden env stop && warden sync stop

@davidalger
Copy link
Collaborator

@torhoehn The sync start is looking for the text "watching for changes" in the output of mutagen's list command, so something is sticking. When this happens, take a look at the output of warden sync list to find out what it states as the cause (otherwise there is little to go off of for what the problem may be).

For example, if I run this on an environment which hasn't been started since I rebooted my Mac, I get the following output:

$ warden sync list
--------------------------------------------------------------------------------
Identifier: 24656500-6a5b-4af9-8759-7ca8b11e11b9
Labels:
	warden-sync: rock
Alpha:
	URL: /Volumes/Server/sites/rock
	Connection state: Connected
Beta:
	URL: docker://915a542fa163de62f05988ffa6a0de48042ba6f8772185a6381a22a21d48e007/var/www/html
		DOCKER_HOST=
		DOCKER_TLS_VERIFY=
		DOCKER_CERT_PATH=
	Connection state: Disconnected
Status: Connecting to beta

Might also be worth a try stopping/starting the Mutagen daemon (you can do this by running mutagen daemon stop followed by mutagen daemon start, then re-running the warden sync start command and see if anything changes.

@davidalger
Copy link
Collaborator

@torhoehn If you have further issues and/or information here, feel free to re-open with additional details or questions regarding this. Cheers!

@davidalger davidalger linked a pull request Mar 1, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants