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

Need to keep overriding changes for sync to happen #417

Open
alok87 opened this issue Jun 30, 2020 · 5 comments
Open

Need to keep overriding changes for sync to happen #417

alok87 opened this issue Jun 30, 2020 · 5 comments

Comments

@alok87
Copy link
Contributor

alok87 commented Jun 30, 2020

Sync does not happen on its own. It keeps getting stuck in "Out of Sync". On every file change need to hit the "Override changes" in the synching UI for making the sync happen.

Screenshot 2020-06-30 at 7 27 44 PM

Also, keep getting this in the Syncthing UI. Have got tired of typing No to this pop up, it never disappears.
Screenshot 2020-06-30 at 7 27 56 PM

@timfallmk
Copy link
Collaborator

We don't really deal with the syncthing UI, so I'm not sure what to do with that. For the syncs, the watch process should be reporting whether a sync is set and running. If so, any changes are immediately synced to the other side (if configured to do so).

@alok87
Copy link
Contributor Author

alok87 commented Jun 30, 2020

So ksync uses syncthing and it is not able to sync from my Mac untill I rerun ksync watch or click override changes from the syncthing UI

@timfallmk
Copy link
Collaborator

That sounds like a problem with the way watch is configured. How are you running it?

@alok87
Copy link
Contributor Author

alok87 commented Jul 1, 2020

$ cat ~/.ksync/ksync.yaml
apikey: ksync
context: ""
daemonset-namespace: kube-system
docker-root: /var/lib/docker
docker-socket: /var/run/docker.sock
log-level: info
namespace: logger
output: pretty
port: 40322
spec:
- name: genesis
  containername: ""
  pod: ""
  selector:
  - name=alok
  namespace: logger
  localpath: /Users/alok87/code/genesis
  remotepath: /www/app
  reload: false
  localreadonly: true
  remotereadonly: false
syncthing-port: 8384

I was running it from mac using ksync watch

@timfallmk
Copy link
Collaborator

Can you try running watch the foreground get some debug logs? ksync watch --log-level debug

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

No branches or pull requests

2 participants