Closed seanhandley closed 6 years ago
Please reset your docker for mac entirely and try again (Factory reset). Be sure to clean .docker-sync folder before trying again. Does this help?
Just tried this. It still hangs at Looking for changes
:
$ docker-sync start
Status: Downloaded newer image for eugenmayer/unison:hostsync_0.2
ok Starting native_osx for sync app-sync
doing initial sync with cp
Contacting server...
Looking for changes
please try the default boilerplate here https://github.com/EugenMayer/docker-sync-boilerplate does this one work for you? If not, please restart your mac once and try again
Interestingly, it eventually wakes up and does this:
Reconciling changes
Propagating updates
UNISON 2.48.4 started propagating changes at 13:44:15.14 on 11 Dec 2017
[BGN] Copying .DS_Store from /host_sync to /app_sync
[END] Copying .DS_Store
[BGN] Copying .bash_history from /host_sync to /app_sync
[END] Copying .bash_history
[BGN] Copying .bundle from /host_sync to /app_sync
[END] Copying .bundle
[BGN] Copying .cane from /host_sync to /app_sync
[END] Copying .cane
[BGN] Copying .codeclimate.yml from /host_sync to /app_sync
[END] Copying .codeclimate.yml
[BGN] Copying .dbdata from /host_sync to /app_sync
^C/Users/sean/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/docker-sync-0.5.2/lib/docker-sync/sync_strategy/native_osx.rb:84:in `system': Interrupt
from /Users/sean/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/docker-sync-0.5.2/lib/docker-sync/sync_strategy/native_osx.rb:84:in `start_container'
from /Users/sean/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/docker-sync-0.5.2/lib/docker-sync/sync_process.rb:105:in `start_container'
from /Users/sean/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/docker-sync-0.5.2/lib/docker-sync/sync_manager.rb:99:in `block in start_container'
from /Users/sean/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/docker-sync-0.5.2/lib/docker-sync/sync_manager.rb:98:in `each'
from /Users/sean/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/docker-sync-0.5.2/lib/docker-sync/sync_manager.rb:98:in `start_container'
from /Users/sean/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/docker-sync-0.5.2/tasks/sync/sync.thor:163:in `daemonize'
from /Users/sean/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/docker-sync-0.5.2/tasks/sync/sync.thor:47:in `start'
from /Users/sean/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/thor-0.19.4/lib/thor/command.rb:27:in `run'
from /Users/sean/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/thor-0.19.4/lib/thor/invocation.rb:126:in `invoke_command'
from /Users/sean/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/thor-0.19.4/lib/thor.rb:369:in `dispatch'
from /Users/sean/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/thor-0.19.4/lib/thor/base.rb:444:in `start'
from /Users/sean/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/docker-sync-0.5.2/bin/docker-sync:14:in `<top (required)>'
from /Users/sean/.rbenv/versions/2.2.5/bin/docker-sync:23:in `load'
from /Users/sean/.rbenv/versions/2.2.5/bin/docker-sync:23:in `<main>'
So it looks like it's working very slowly. The default boilerplate seemed to work - I'll try a reboot/rinse/repeat.
Same issue after a reboot 😞
So basically, after a disk-full issue, docker-sync is malfunction even though you:
Right? Please consider removing d4m completely and reinstall it - if that still does not help, maybe try the edge version of it, since there have been some HS fixes.
Other then that, i am totally blind picking - i have no clue how to systematically help you in this case ;/
Could you try this performance check for you https://github.com/EugenMayer/docker-sync/issues/497 ?
Could you try to run https://gist.github.com/EugenMayer/07d24d4b1b88da3e48d90052192649a2 and see, if that improved your performance?
What did you change since the "disk ran full"?
Actually (sorry!) I think it's alright.
I think it's taking a long time to do the 1st sync and then subsequent syncs appear to be working fine.
The problem is probably that my expectation was that it would be a lot faster than 4 minutes for that 1st sync. Does that seem like an unusually long first sync to you?
Thanks for your help - closing this 👍
Thats very long, but it depends on what you are syncing i guess
Not sure if I ran out of space in the first place but my mac kept restarting on me and docker-sync stopped syncing files.
This is what I did to fix it:
Thanks for your help!
I've been using
docker-sync
without issue for a few weeks. Today I ran out of disk space and the main docker process stopped responding. I had to force a reboot for the machine and now disk space is plentiful and docker is working.Unfortunately, docker-sync is no longer syncing my file changes nor is it allowing itself to start daemonized. I have made no config changes
If I make file changes they are not synced into the container (verified by running
docker-compose exec <container> bash
and usingcat
to check the file contents.When directly calling it in the foreground, it gives the following output and eventually terminates itself:
Docker Info
Sync strategy
native_osx/default
your docker-sync.yml
OS