philcryer / lipsync

lipsync sets up a lightweight service that provides command-line, Dropbox like syncing
http://lipsync.info
BSD 3-Clause "New" or "Revised" License
855 stars 58 forks source link

Client deletes everything on the server when restarted. #42

Open bernilsson opened 13 years ago

bernilsson commented 13 years ago
  1. Client1 adds files to server and then disconnects.
  2. Client2 adds files to server.
  3. Client1 connects with --delete and removes every file added by client2
  4. I'm sad and confused, halp!
supersoju commented 12 years ago

I am having the same issue plus another one that maybe related:

Clients are not getting any changes or new files from the peers.

1-4 Same as above.

  1. Client1 creates file1.txt
  2. file1.txt shows up on server, but not on Client2
  3. Client2 creates file2.txt
  4. file2.txt shows up on server, file1.txt is still there, but Client1 does not get file2.txt
catorghans commented 12 years ago

In install.sh there is a function "initial_sync"..

Should the content of that function not be part of the /etc/init.d/lipsyncd start function?