Merge branch 'master' of ssh://git-annex.branchable.com

This commit is contained in:
Joey Hess 2013-10-19 11:25:51 -04:00
commit b289857962
7 changed files with 134 additions and 0 deletions

View file

@ -0,0 +1,66 @@
### Please describe the problem.
"Internal Server Error This git repository is encrypted with a GnuPG key that you do not have" after having asked *not* to use encryption.
### What steps will reproduce the problem?
Here's what I did:
On Ubuntu 10.4, install git-annex according to http://git-annex.branchable.com/install/Ubuntu/ then:
$ git-annex webapp
Create repo at suggested path Desktop/annex/.
Add a file to that dir. Create subdir, move file there.
Select "Add another repository" in webapp, "Removable drive", select external usb drive, leave suggested path "annex", "Use this drive", "Do not encrypt repository".
-> shows "Internal Server Error
This git repository is encrypted with a GnuPG key that you do not have.
git-annex version 4.20131002"
### What version of git-annex are you using? On what operating system?
git-annex version 4.20131002, Ubuntu 12.04.3 LTS
### Please provide any additional information below.
[[!format sh """
# If you can, paste a complete transcript of the problem occurring here.
# If the problem is wit[2013-10-19 00:33:55 BST] main: starting assistant version 4.20131002
(Recording state in git...)
(scanning...) [2013-10-19 00:33:55 BST] Watcher: Performing startup scan
(started...)
The installed version of git is too old for .gitignores to be honored by git-annex.
[2013-10-19 00:35:56 BST] Committer: Adding Git Annex..ation.odt
add Git Annex installation.odt (checksum...) [2013-10-19 00:35:57 BST] Committer: Committing changes to git
[2013-10-19 00:37:38 BST] Committer: Adding Git Annex..ation.odt
[2013-10-19 00:37:38 BST] Committer: Committing changes to git
git: 'remote-gcrypt' is not a git command. See 'git --help'.
ok
(Recording state in git...)
(Recording state in git...)
ok
(Recording state in git...)
(Recording state in git...)
19/Oct/2013:00:38:54 +0100 [Error#yesod-core] This git repository is encrypted with a GnuPG key that you do not have. @(yesod-core-1.1.8.3:Yesod.Internal.Core ./Yesod/Internal/Core.hs:550:5)
git: 'remote-gcrypt' is not a git command. See 'git --help'.
19/Oct/2013:00:39:09 +0100 [Error#yesod-core] This git repository is encrypted with a GnuPG key that you do not have. @(yesod-core-1.1.8.3:Yesod.Internal.Core ./Yesod/Internal/Core.hs:550:5)
.........+++++
Not enough random bytes available. Please do some other work to give
the OS a chance to collect more entropy! (Need 66 more bytes)
.............+++++
gpg: key E0424680 marked as ultimately trusted
git: 'remote-gcrypt' is not a git command. See 'git --help'.
19/Oct/2013:00:41:19 +0100 [Error#yesod-core] This git repository is encrypted with a GnuPG key that you do not have. @(yesod-core-1.1.8.3:Yesod.Internal.Core ./Yesod/Internal/Core.hs:550:5)
git: 'remote-gcrypt' is not a git command. See 'git --help'.
19/Oct/2013:00:54:33 +0100 [Error#yesod-core] This git repository is encrypted with a GnuPG key that you do not have. @(yesod-core-1.1.8.3:Yesod.Internal.Core ./Yesod/Internal/Core.hs:550:5)
h the git-annex assistant, paste in .git/annex/daemon.log
# End of transcript or log.
"""]]
I'm not at my computer, will check upstream Git later. Sorry if this has been reported before.

View file

@ -0,0 +1,9 @@
[[!comment format=mdwn
username="https://www.google.com/accounts/o8/id?id=AItOawmCzVCPjgg_Un_114P8iiSwExms0G2csCA"
nickname="Michele"
subject="solved"
date="2013-10-18T21:00:38Z"
content="""
installing very recent version on linux solved the problem !!! indeed a bug, but an old one! (quite difficult to get an updated version with cabal on fc19 and so forth, i would add a couple suggestion to share in the fedora install page)
thank you
"""]]

View file

@ -0,0 +1,10 @@
[[!comment format=mdwn
username="http://cstork.org/"
nickname="Chris Stork"
subject="Idea: checksum left-over files in .git/annex/tmp for potential recovery"
date="2013-10-19T12:30:58Z"
content="""
This just came to mind when I thought about the second case. I noticed quite often that files were left in .git/annex/tmp (seen on OS X) and sometimes these are the only instances of files on this particular computer.
(It's on my todo list to file several bug reports about this and other issues on OS X...)
"""]]

View file

@ -0,0 +1,16 @@
[[!comment format=mdwn
username="https://www.google.com/accounts/o8/id?id=AItOawkJafmCf-sg9_OM0pynFYM3AO4WCgJiaMI"
nickname="Michele"
subject="installing on fc19"
date="2013-10-18T21:05:56Z"
content="""
i share my experience in installing from source on fc19, I must admit these are useful only for haskell novices:
should cabal complain about missing libffi.so.5 (as it happened to me), do
yum install compat-libffi
and you'll get the missing library (the shipping version with fc19 is libffi.so.6)
also: in order for the git annex to be picked up globally or better to end up in the default path i had to:
cabal install --global
"""]]

View file

@ -0,0 +1,15 @@
[[!comment format=mdwn
username="http://mebus.myopenid.com/"
ip="2a01:198:3eb:0:4a5b:39ff:fea4:55b3"
subject="Error on Fedora 19"
date="2013-10-19T14:57:12Z"
content="""
On Fedora 19, I am getting this error:
http://pastebin.com/raw.php?i=c9SNjbXV
Mebus
"""]]

View file

@ -0,0 +1,12 @@
[[!comment format=mdwn
username="http://mebus.myopenid.com/"
ip="2a01:198:3eb:0:4a5b:39ff:fea4:55b3"
subject="comment 6"
date="2013-10-19T15:09:34Z"
content="""
Worked! I forgot to install c2hs.
Mebus
"""]]

View file

@ -0,0 +1,6 @@
It could be useful for Linux users and package maintainers to have systemd .service file samples to launch the assistant and the webapp.
For multi-user systems, we could have a git-annex-webapp@username.service .
See [systemd documentation](http://www.freedesktop.org/software/systemd/man/systemd.service.html) for informations about those files.
See [archlinux wiki](https://wiki.archlinux.org/index.php/Systemd/Services) for .service examples.