hbons/SparkleShare — Issue #471: Syncing workflow strange
Author: antonyanimator
Created: 2011-12-06 11:54:20+00:00
State: open

Hi,

I've set up Sparkleshare 0.4.2

I'm connecting to my own server.
I am testing this between my Desktop and my Laptop.

I've setup the connection fine.

The syncing of the folder I've created is not working correctly. I can only get sparkleshare to start syncing by adding a file to the folder, then it starts to sync. But it will only sync when I add a file on that specific instance.
It won't automatically start syncing if for example I add a file on my desktop, that file won't sync onto my laptop unless I add a file on my laptop's sparkleshare folder.

I hope this makes sense

Here is what is in my terminal (Bit of a noob, please tell me if I am displaying sensitive information for a public posting, thanks):

antony@antony-Dell-XPS420:~$ Identity added: /home/antony/.config/sparkleshare/sparkleshare.antony@animareltd.com.key (/home/antony/.config/sparkleshare/sparkleshare.antony@animareltd.com.key)
11:51:52 [Cmd] /usr/bin/git log -1 --format=%H
11:51:52 [Cmd] /usr/bin/git rev-list --reverse HEAD
11:51:52 [ListenerFactory] Issued new listener for tcp://notifications.sparkleshare.org:1986/
11:51:52 [ListenerTcp] Connecting to notifications.sparkleshare.org
11:51:52 [Cmd] /usr/bin/git status --porcelain
11:51:53 [ListenerTcp] Could not connect to tcp://notifications.sparkleshare.org:1986/: Connection refused
11:51:53 [Listener] Signal of tcp://notifications.sparkleshare.org:1986/ lost
11:51:53 [sparkleshare] Falling back to polling
11:52:06 [Cmd] /usr/bin/git status --porcelain
11:52:06 [Event][sparkleshare] Created 'Untitled Document (5th copy)'
11:52:06 [Event][sparkleshare] Changes found, checking if settled.
11:52:07 [Local][sparkleshare] Changes have settled.
11:52:07 [Cmd] /usr/bin/git status --porcelain
11:52:07 [SyncUp][sparkleshare] Initiated
11:52:07 [Cmd] /usr/bin/git add --all
11:52:07 [Git][sparkleshare] Changes staged
11:52:07 [Cmd] /usr/bin/git status --porcelain
11:52:07 [Cmd] /usr/bin/git commit -m "+ ‘Untitled Document (5th copy)’" --author="Antony Nicholas "
11:52:07 [Commit][sparkleshare] + ‘Untitled Document (5th copy)’
11:52:07 [Cmd] /usr/bin/git push origin master
Counting objects: 3, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (2/2), 292 bytes, done.
Total 2 (delta 1), reused 0 (delta 0)
To ssh://root@animareltd.com:44/root/git/sparkleshare
7ef63e8..d0d0e5a master -> master
11:52:08 [SyncUp][sparkleshare] Done
11:52:08 [Cmd] /usr/bin/git log -1 --format=%H
11:52:08 [Listener] Can't send message to tcp://notifications.sparkleshare.org:1986/. Queuing message
11:52:08 [Cmd] /usr/bin/git status --porcelain
^C
antony@antony-Dell-XPS420:~$ 11:52:48 [Cmd] /usr/bin/git status --porcelain
11:52:48 [Cmd] /usr/bin/git status --porcelain
11:52:48 [Event][sparkleshare] Created 'Untitled Document (6th copy)'
11:52:48 [Event][sparkleshare] Changes found, checking if settled.
11:52:48 [Event][sparkleshare] Changed 'Untitled Document (6th copy)'
11:52:48 [Event][sparkleshare] Changes found, checking if settled.
11:52:48 [Local][sparkleshare] Changes have settled.
11:52:48 [Cmd] /usr/bin/git status --porcelain
11:52:48 [SyncUp][sparkleshare] Initiated
11:52:48 [Cmd] /usr/bin/git add --all
11:52:48 [Git][sparkleshare] Changes staged
11:52:48 [Cmd] /usr/bin/git status --porcelain
11:52:48 [Cmd] /usr/bin/git commit -m "+ ‘Untitled Document (6th copy)’" --author="Antony Nicholas "
11:52:48 [Commit][sparkleshare] + ‘Untitled Document (6th copy)’
11:52:48 [Cmd] /usr/bin/git push origin master
To ssh://root@animareltd.com:44/root/git/sparkleshare
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to 'ssh://root@animareltd.com:44/root/git/sparkleshare'
To prevent you from losing history, non-fast-forward updates were rejected
Merge the remote changes (e.g. 'git pull') before pushing again. See the
'Note about fast-forwards' section of 'git push --help' for details.
11:52:49 [SyncUp][sparkleshare] Error
11:52:49 [SyncDown][sparkleshare] Initiated
11:52:49 [Cmd] /usr/bin/git log -1 --format=%H
11:52:49 [Cmd] /usr/bin/git fetch -v
remote: Counting objects: 3, done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 2 (delta 1), reused 0 (delta 0)
Unpacking objects: 100% (2/2), done.
From ssh://animareltd.com:44/root/git/sparkleshare
d0d0e5a..525c8b2 master -> origin/master
11:52:50 [Cmd] /usr/bin/git status --porcelain
11:52:50 [Cmd] /usr/bin/git rebase -v FETCH_HEAD
11:52:50 [SyncDown][sparkleshare] Done
11:52:50 [Cmd] /usr/bin/git log -1 --format=%H
11:52:50 [Cmd] /usr/bin/git log -1 --raw -M --date=iso
11:52:53 [Controller] Failed fetching gravatar for antony@animareltd.com