{"action":"created","issue":{"url":"https://api.github.com/repos/deajan/osync/issues/155","repository_url":"https://api.github.com/repos/deajan/osync","labels_url":"https://api.github.com/repos/deajan/osync/issues/155/labels{/name}","comments_url":"https://api.github.com/repos/deajan/osync/issues/155/comments","events_url":"https://api.github.com/repos/deajan/osync/issues/155/events","html_url":"https://github.com/deajan/osync/issues/155","id":366622882,"node_id":"MDU6SXNzdWUzNjY2MjI4ODI=","number":155,"title":"Missundestanding server-server replication","user":{"login":"rendxq","id":27946443,"node_id":"MDQ6VXNlcjI3OTQ2NDQz","avatar_url":"https://avatars0.githubusercontent.com/u/27946443?v=4","gravatar_id":"","url":"https://api.github.com/users/rendxq","html_url":"https://github.com/rendxq","followers_url":"https://api.github.com/users/rendxq/followers","following_url":"https://api.github.com/users/rendxq/following{/other_user}","gists_url":"https://api.github.com/users/rendxq/gists{/gist_id}","starred_url":"https://api.github.com/users/rendxq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rendxq/subscriptions","organizations_url":"https://api.github.com/users/rendxq/orgs","repos_url":"https://api.github.com/users/rendxq/repos","events_url":"https://api.github.com/users/rendxq/events{/privacy}","received_events_url":"https://api.github.com/users/rendxq/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-10-04T05:01:02Z","updated_at":"2018-10-06T18:03:15Z","closed_at":null,"author_association":"NONE","body":"Hi Deajan!\r\nVery useful script. Thanks a lot.\r\nBut I need help. I'm trying make to work osync on two servers via network as daemon. Osync works on each servers the same time. Sometimes when files is a big osync daemon at the remote server sees that file is new  and start sending it to back. Such situation looks like a collision. May be I'm doing something wrong? Is there a scenario when two remote servers can sync files without collision? When osync works on one server all is good, but changes on remote size (w/o osync) don't repricate asap as if it happend on server with osync because remote server doesn't has monitoring file system.\r\n\r\n[srv1(osync)] ------(file)-------------------> [srv2(osync)]\r\n[srv1(osync)] <----(file.ahr8ru)------------- [srv2(osync)]\r\n[srv1(osync)] ------(file.ahr8ru.gh5v9O)--> [srv2(osync)]\r\n\r\nExample:\r\n.file.ahr8ru\r\n.file.ahr8ru.gh5v9O\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/deajan/osync/issues/comments/427594456","html_url":"https://github.com/deajan/osync/issues/155#issuecomment-427594456","issue_url":"https://api.github.com/repos/deajan/osync/issues/155","id":427594456,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNzU5NDQ1Ng==","user":{"login":"deajan","id":4681318,"node_id":"MDQ6VXNlcjQ2ODEzMTg=","avatar_url":"https://avatars1.githubusercontent.com/u/4681318?v=4","gravatar_id":"","url":"https://api.github.com/users/deajan","html_url":"https://github.com/deajan","followers_url":"https://api.github.com/users/deajan/followers","following_url":"https://api.github.com/users/deajan/following{/other_user}","gists_url":"https://api.github.com/users/deajan/gists{/gist_id}","starred_url":"https://api.github.com/users/deajan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deajan/subscriptions","organizations_url":"https://api.github.com/users/deajan/orgs","repos_url":"https://api.github.com/users/deajan/repos","events_url":"https://api.github.com/users/deajan/events{/privacy}","received_events_url":"https://api.github.com/users/deajan/received_events","type":"User","site_admin":false},"created_at":"2018-10-06T18:03:15Z","updated_at":"2018-10-06T18:03:15Z","author_association":"OWNER","body":"Hummm... Just tested your config file against current master without problems (just changed INITIATOR_SYNC_DIR, TARGET_SYNC_DIR, SSH_RSA_PRIVATE_KEY and REMOTE_3RD_PARTY_HOSTS in order to have a running config).\r\n\r\nTo be fair, I did my tests under Linux, maybe it's a compatibility issue with FreeBSD.\r\nCould you test again with current updated master ?\r\nIf the problem raises, would you mind running osync with:\r\n\r\n```bash -x ./osync.sh sync.conf > bash.log 2>&1```\r\n\r\nThis will create a very precise bash execution log (where you'll have to remove your username and IP adresses).\r\nI will then be able to identify what happens with your setup.\r\n\r\n I am currently not able to make tests against FreeBSD myself.\r\n"}}
{"actor":{"display_login":"deajan"}}