Docker-sync: Docker-sync fails to start the first time

Created on 22 Oct 2018  Â·  8Comments  Â·  Source: EugenMayer/docker-sync

Error/Feature Requestion/Docs

The first time each day I start up docker-sync I get this error:

Traceback (most recent call last):
    9: from /Users/username/.rbenv/versions/2.5.0/bin/docker-sync:23:in `<main>'
    8: from /Users/username/.rbenv/versions/2.5.0/bin/docker-sync:23:in `load'
    7: from /Users/username/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/docker-sync-0.5.8/bin/docker-sync:14:in `<top (required)>'
    6: from /Users/username/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/thor-0.20.0/lib/thor/base.rb:466:in `start'
    5: from /Users/username/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/thor-0.20.0/lib/thor.rb:387:in `dispatch'
    4: from /Users/username/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/thor-0.20.0/lib/thor/invocation.rb:126:in `invoke_command'
    3: from /Users/username/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/thor-0.20.0/lib/thor/command.rb:27:in `run'
    2: from /Users/username/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/docker-sync-0.5.8/tasks/sync/sync.thor:32:in `start'
    1: from /Users/username/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/docker-sync-0.5.8/lib/docker-sync/update_check.rb:38:in `run'
/Users/username/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/docker-sync-0.5.8/lib/docker-sync/update_check.rb:92:in `check_and_warn': undefined local variable or method `docker_sync_update_check7' for #<UpdateChecker:0x00007f9a300ac090> (NameError)
Did you mean?  docker_sync_update_check

After stopping docker-sync and starting it again everything runs normally. No error message.

Docker Driver

d4m 2.0.0.0-beta1-mac75

Sync strategy

default

your docker-sync.yml

version: "2"

options:
  verbose: true
syncs:
  www-sync: # tip: add -sync and you keep consistent names as a convention
    src: ${LOCAL_SRC}
    notify_terminal: true
    sync_excludes: ['.idea', 'node_modules', '.gitignore', '.git', '.DS_Store']`

OS

OSX Version 10.13.6 High Sierra

OSX bug

Most helpful comment

sorry I am kinda busy, I try to get it out on the weekend, thanks for the kind patience

All 8 comments

thank you, fixed for 0.5.10

Any word on when 0.5.10 will be available? I'm running into this too.

sorry I am kinda busy, I try to get it out on the weekend, thanks for the kind patience

No worries, thankyou. It's a great tool, well done!

i just released a 0.5.10-beta1 - could you verify this fixes your issue? https://rubygems.org/gems/docker-sync/versions/0.5.10.pre.beta1

Hello,

Good Job; Just tested on fresh install; For me it’s good.

Thanks for Your(s) job.

Gpkfr

Le 27 janv. 2019 à 13:10, Eugen Mayer notifications@github.com a écrit :

i just released a 0.5.10-beta1 - could you verify this fixes your issue? https://rubygems.org/gems/docker-sync/versions/0.5.10.pre.beta1 https://rubygems.org/gems/docker-sync/versions/0.5.10.pre.beta1
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/EugenMayer/docker-sync/issues/612#issuecomment-457912472, or mute the thread https://github.com/notifications/unsubscribe-auth/ABcj2Ql-rdOoh4fsDmjpU2Xt_APBein6ks5vHZcrgaJpZM4X0GtL.

Starts up fine now, thanks

Great, looks good on all fronts right no, so 0.5.10 will be released tomorrow. thanks for the tests!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

EugenMayer picture EugenMayer  Â·  9Comments

davellx picture davellx  Â·  8Comments

MrMMorris picture MrMMorris  Â·  7Comments

YouriT picture YouriT  Â·  4Comments

barat picture barat  Â·  8Comments