aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/Can__39__t_get_content_from_S3_with_s3-aws_library.mdwn
blob: 5f7e490ca2cc4e04637ebee4eea71f37f6370dc1 (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
### Please describe the problem.
I have lots of content stored in Amazon S3. Using git-annex from before commit 911ba8d972e4e7b151385d30c198598e1a0dfaca, I am able to ``git annex get`` from S3 and files are downloaded.
Using a more recent version (eg that commit, or the current master, or release 20150409), I am unable to download the content.

I'm not sure if my repo or remote is somehow misconfigured, or if there's something else going on here.

--Walter

### What steps will reproduce the problem?
Use a version of git-annex with s3-aws

### What version of git-annex are you using? On what operating system?
Debian, versions as above

### Please provide any additional information below.

[[!format sh """
# If you can, paste a complete transcript of the problem occurring here.
# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log

git annex get . --from cloud --debug
[2015-04-19 22:23:37 BST] read: git ["--git-dir=../../../.git","--work-tree=../../..","--literal-pathspecs","show-ref","git-annex"]
[2015-04-19 22:23:37 BST] read: git ["--git-dir=../../../.git","--work-tree=../../..","--literal-pathspecs","show-ref","--hash","refs/heads/git-annex"]
[2015-04-19 22:23:37 BST] read: git ["--git-dir=../../../.git","--work-tree=../../..","--literal-pathspecs","log","refs/heads/git-annex..a51a912223d3d86f19762e387e3eae23c3024d2c","-n1","--pretty=%H"]
[2015-04-19 22:23:37 BST] chat: git ["--git-dir=../../../.git","--work-tree=../../..","--literal-pathspecs","cat-file","--batch"]
[2015-04-19 22:23:37 BST] read: git ["--git-dir=../../../.git","--work-tree=../../..","--literal-pathspecs","ls-files","--cached","-z","--","."]
get IMG_7079.JPG (from cloud...) [2015-04-19 22:23:37 BST] chat: gpg ["--batch","--no-tty","--use-agent","--quiet","--trust-model","always","--decrypt"]

failed                  
get IMG_7080.JPG (from cloud...) 
failed                  



git annex info cloud
remote: cloud
description: [cloud]
uuid: be992080-b1db-11e1-8f79-1b10bb4092ef
trust: semitrusted
cost: 250.0
type: S3
creds: embedded in git repository (gpg encrypted)
bucket: ffffffffffffffffffffffffff
partsize: unlimited
encryption: encrypted (to gpg keys: FFFFFFFFFFFF) (hybrid mode)
chunking: none
remote annex keys: 0
remote annex size: 0 bytes


git annex fsck -f cloud
fsck IMG_6876.JPG (checking cloud...) (StatusCodeException (Status {statusCode = 301, statusMessage = "Moved Permanently"}) [("x-amz-request-id","275ADF5B1B77D514"),("x-amz-id-2","flWGBHOZYEZAohygAzBIZAYd7nBGkm3HpSMfJuhgRp3txXx20yJz7S4yRlNLwCs1cHUMyWc9JbA="),("Content-Type","application/xml"),("Transfer-Encoding","chunked"),("Date","Sun, 19 Apr 2015 22:23:15 GMT"),("Server","AmazonS3")] (CJ {expose = []})) failed



# End of transcript or log.
"""]]

> I think I've made all the git-annex improvements that are going to come
> from this bug report. There's still the open bug on the aws library to better
> follow these redirects. Anyway, I think it makes sense to call this
> bug [[done]]. --[[Joey]]