summaryrefslogtreecommitdiff
path: root/doc/bugs/Adding_unencrypted_repo_on_drive_in_webapp_gives_internal_server_error__.mdwn
blob: ab98c631ec47037d01d03cd705210b0b3db8f6ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
### 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.

> This only occurred when git-remote-gcrypt was not installed.
> I've fixed the bug. [[done]] --[[Joey]]