I have a repository synchronized between two PCs and box.com . I chose encryption for box.com. Today on my work computer I changed files, on box.com I see that there are changed files today. When I got home, I still see files with yesterday's date. One thing to mention is that currently the work PC is not accessible.
How do I debug this problem? I have logging set to debug via web console, saved, restarted daemon, but after restart the debug checkbox is unchecked. From logs it looks like that after failing to connect to work pc via ssh it gives up:
[2013-05-09 21:42:52 CEST] main: Syncing with box.com this is first and last line mentioning box today, I restarted the daemon several times around 22:14 :
[2013-05-09 22:11:40 CEST] TransferScanner: Syncing with [work pc repo] Already up-to-date.
(scanning...) [2013-05-09 22:11:40 CEST] Watcher: Performing startup scan Already up-to-date.
(started...) ssh: connect to host [work pc] port 22: No route to host fatal: The remote end hung up unexpectedly
where is the configuration for box.com stored? How can I check gpg key ID mentioned at http://git-annex.branchable.com/tips/using_box.com_as_a_special_remote/
- how do I manually trigger sync with box.com? git fetch box.com neither git annex sync box.com doesn't work.
Version: 4.20130501 Build flags: Assistant Webapp Pairing Testsuite S3 WebDAV Inotify DBus XMPP
From what you've described, the box.com special remote is the only remote you have connecting your two computers.
But special remotes are only used to transfer the contents of files. They do not have the content of the git repository.
You need to set up a git remote that both computers can access. Or you can use the webapp to set up XMPP to sync between the computers directly. If you start the webapp, it will detect you're missing a git remote, and suggest setting up XMPP.
Thanks for the answer Joey. My setup is really 2 PCs that are usually not turned on at the same time (usually) and are unable to connect directly (usually). I've dropped box.com because there are bugs. When I sync a file, I see a broken link sometimes. That happens even in situation when the two PCs see each other. Other repos work as expected. So I assume this is a box.com issue. I tried to remove the box repo from both sides, but it is still in 'cleaning out' state even after few days and a lot of daemon restarts. I also have a queue to box. If I delete the transfers, they would appear later. Any way of sorting that out? I know that reporting bugs like this is not really efficient. What would be the best way to make it reproducible? E.g. using vagrant and two VMs?