Recent comments posted to this site:

@Michele, you seem to have an old version of the haskell DAV library installed. The simple solutions is probably cabal install DAV to upgrade to the new one.

(The complex solution is to edit the file and copy the line 2 lines above the error, or fix the ifdefs somehow to work with whatever combination of versions of DAV and http-client or http-conduit you have installed.)

Comment by http://joeyh.name/ Tue May 27 16:08:14 2014

latest version (git-annex-5.20140517) during cabal install git-annex I encounter this:

[[!format sh """ [266 of 457] Compiling Remote.WebDAV ( Remote/WebDAV.hs, dist/build/git-annex/git-annex-tmp/Remote/WebDAV.o )

Remote/WebDAV.hs:380:32: Constructor StatusCodeException' should have 3 arguments, but has been given 2 In the pattern: StatusCodeException s _ In an equation formatchStatusCodeException': matchStatusCodeException want (StatusCodeException s _) | s == want = Just () | otherwise = Nothing Failed to install git-annex-5.20140517 cabal: Error: some packages failed to install: git-annex-5.20140517 failed during the building phase. The exception was: ExitFailure 1 """]]

Do we need a cloud repository just to bypass NAT? I understand it can't share files within Jabber, but it just looks unpolished. Maybe some punching techniques might be handy, pwnat for example.
@Maarten git clone from one of the other clones of the repository to the new drive. Also, recent versions of git-annex have a git annex reinit command that can be used to easily initialize a repository with the same settings as a repository that was lost.
Comment by http://joeyh.name/ Sat May 24 18:29:03 2014
What if the drive is destroyed? How would I re-initialize a new drive to act as a substitute for the remote that was just lost?

When trying to enable box.com for jabber sharing, I get:

WebDAV failed to write file: TlsException (HandshakeFailed (Error_Protocol ("certificate has unknown CA",True,UnknownCa))): user error

How can I debug this situation?

I don't feel comfortable prompting for gpg passphrases in the webapp. See gpgkeys for thoughts on this.
Comment by http://joeyh.name/ Mon May 19 15:47:19 2014

I tried it, but I do have som troubles. Changing password seemed to have worked. At least I do think it did say OK. Any further action generates the following response:

$ git annex fsck --from box.com3 Literatur/Science/Papers/Modén/2006.pdf

fsck Literatur/Science/Papers/Modén/2006.pdf (gpg) (checking box.com3...) (StatusCodeException (Status {statusCode = 401, statusMessage = "Unauthorized"}) [("Server","nginx"),("Date","Sat, 17 May 2014 19:04:51 GMT"),("Content-Type","application/xml; charset=utf-8"),("Content-Length","235"),("Connection","keep-alive"),("Vary","Host"),("WWW-Authenticate","Basic realm=\"dav.box.com\""),("X-Response-Body-Start","<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<d:error xmlns:d=\"DAV:\" xmlns:s=\"http://sabredav.org/ns\">\n <s:exception>Sabre_DAV_Exception_NotAuthenticated</s:exception>\n <s:message>Username or password does not match</s:message>\n</d:error>\n")] (CJ {expose = []})) failed git-annex: fsck: 1 failed

It seems it is not available to use the correct password. I tried to use initremote and create a new remote, and this works. In the end no data is lost, as three copies out of my four are still there. I will keep my old remote around for some time if there is any sort of errorfinding that can be done.

Error log says:

git-annex-remote-skydrive is not installed in PATH (/Applications/git-annex.app/Contents/MacOS/bundle:/Applications/git-annex.app/Contents/MacOS/bundle:/Applications/git-annex.app/Contents/MacOS/bundle:/Applications/git-annex.app/Contents/MacOS/bundle:/Applications/git-annex.app/Contents/MacOS/bundle:/Applications/git-annex.app/Contents/MacOS/bundle:/Applications/git-annex.app/Contents/MacOS/bundle:/Applications/git-annex.app/Contents/MacOS/bundle:/usr/bin:/bin:/usr/sbin:/sbin)

BUT I did a symlink, I even did 2 to 2 different locations that are in my path:

cd /Users/ovi/skydriveannex/
ln -sf `pwd`/git-annex-remote-skydrive /usr/bin/git-annex-remote-skydrive
ln -sf `pwd`/git-annex-remote-skydrive /opt/local/bin/git-annex-remote-skydrive

Wondering about this:

encryption=shared

I read what it means: http://git-annex.branchable.com/encryption/

But now I'm wondering how the repos which I set up via the assistant have been setup. when setting them up I only had the choice between "encrypt all files" and "disable encryption" so how can I check what settings my other repos are using?

Comments on this page are closed.