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

docker-sync stops working after some idle time #45

Closed
jwohlfeil opened this issue Mar 13, 2018 · 4 comments
Closed

docker-sync stops working after some idle time #45

jwohlfeil opened this issue Mar 13, 2018 · 4 comments
Assignees
Labels

Comments

@jwohlfeil
Copy link

When i start or stop and the start the containers everything works as expected. But after some idle time (approx. 3 or 4 minutes) further changes in the file system are not noticed anymore. In the daemon.log i connot find any hints why it's not working... any ideas?

@rafaelstz
Copy link
Member

Hi @jwohlfeil , thank you for your feedback!

It's happening when there are many files syncing at the same time, like the folder pub/, var/ or generated/.
So, I ignored these folders on file: https://github.com/clean-docker/Magento2/blob/mac/docker-sync.yml

You can check this file on Mac or use these commands as well:

./stop
docker-sync clean
./start
docker-sync sync && docker-sync log

If it works, please let me know!

@rafaelstz rafaelstz self-assigned this Mar 14, 2018
@jwohlfeil
Copy link
Author

Doesn't work, sync keeps completely unstable. So i have to stop and start the instances over and over again to get the system synced - terrible workflow... any other ideas? Setting it up newly and install my magento installation again?

@rafaelstz
Copy link
Member

rafaelstz commented Mar 19, 2018

I had had a similar issue, so I fixed updating the docker-sync, unison and Docker Eugene image using these commands below:

brew update ; brew install unison ; brew upgrade unison
sudo gem install docker-sync
docker pull eugenmayer/unison:2.51.2.0
./stop && docker-sync clean && ./start

If it works, please let me know!
Thanks

@jwohlfeil
Copy link
Author

Thank you! Looks better now. I'll know more when I work on it the next time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants