File: webapp_usability%3A_fails_mysteriously_on_newer_repo_layouts.mdwn

package info (click to toggle)
git-annex 5.20141125
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 37,828 kB
  • ctags: 583
  • sloc: haskell: 42,582; sh: 1,080; ansic: 498; makefile: 316; perl: 125
file content (34 lines) | stat: -rw-r--r-- 986 bytes parent folder | download | duplicates (5)
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
### Please describe the problem.

Starting the webapp on a repository that was hastily created by copying an existing one with an older version yields an undecipherable error.

Rather minor.

### What steps will reproduce the problem?

1. Install git-annex from git
2. make a repo
3. copy it over to an external hard drive
4. connect that drive to a wheezy box running git-annex from backports
5. add the external hard drive to the webapp as a new repo
6. boom

I expected git-annex to tell me:

    git-annex: Repository version 5 is not supported. Upgrade git-annex.

Instead, it popped a red box saying a scary "Internal server error". I couldn't read the daemon logs either.

### What version of git-annex are you using? On what operating system?

original version is:

    git-annex version: 5.20131109-gf2cb5b9

the failing version is running the one from wheezy backports.

### Please provide any additional information below.

screenshot coming up.

> [[fixed|done]] --[[Joey]]