Merge branch 'master' of ssh://git-annex.branchable.com
This commit is contained in:
commit
b6274745b4
14 changed files with 251 additions and 1 deletions
|
@ -0,0 +1,8 @@
|
|||
[[!comment format=mdwn
|
||||
username="EskildHustvedt"
|
||||
ip="80.202.103.55"
|
||||
subject="comment 10"
|
||||
date="2014-06-07T05:47:25Z"
|
||||
content="""
|
||||
Given that it's ususally the same repo, I'm going to try to create a completely fresh repository instead and see if the frequent auto-repairs are stopped by that.
|
||||
"""]]
|
|
@ -0,0 +1,22 @@
|
|||
[[!comment format=mdwn
|
||||
username="martin"
|
||||
ip="89.183.56.177"
|
||||
subject="use case and answer to joey's question "...then when...""
|
||||
date="2014-06-08T04:59:42Z"
|
||||
content="""
|
||||
Hi joey,
|
||||
|
||||
i really think we should repair the timestamp instead of force the user to `git-annex add` possibly corrupted files/content (see your comment above) git-annex checksums are excellent for data integrity but they are useless if we bypass them in case of adding and propagating
|
||||
potentially corrupted content with `git-annex add`
|
||||
|
||||
So here's for example a useful use case:
|
||||
|
||||
1. user fills his transfer repo in town A. He checks (`git annex fsck`) that everything is fine. He unmounts the drive and travels to town B.
|
||||
|
||||
2. In town B user mounts the drive and sees, that he suddenly doesn't have \"access\" to those \"crippled files\" on his transfer repo (the files seems modified for the user without a reason - why should he `git-annex add` them again?? - he'd rather think about data corruption) . He wonders whats going on and thats why he does a
|
||||
|
||||
3. `git-annex fsck` . `git annex fsck` should checksum also such crippled files, should report correct checksums if they are correct (so that the users knows their usb drive is working properly) and should give a message like this: \"checksum ok - crippled timestamp - repair with git-annex fsck --repair-timestamp or define a modify window \"- (to be implemented - in rsync the problem is already solved with this option \"--modify-window=NUM compare mod-times with reduced accuracy\")
|
||||
|
||||
In my case distance between town B and town A was approx 400km and in town B i didnt know what was going on. So i went back to town A without success for further investigation of my usb drive... :-((
|
||||
|
||||
"""]]
|
|
@ -0,0 +1,91 @@
|
|||
### Please describe the problem.
|
||||
|
||||
Following steps from http://git-annex.branchable.com/assistant/quickstart/ does not get past the first screen.
|
||||
|
||||
### What steps will reproduce the problem?
|
||||
|
||||
* On a nearly fresh Lubuntu system, nearly fresh account, Lubuntu session, run `git-annex` from the start menu.
|
||||
* Opens firefox, in `Create a git-annex repository` select my `~/Documents` folder, press `Make Repository`.
|
||||
|
||||
* Expected: a new, different page opens.
|
||||
* Observed: the same page opens, only difference the path displayed is `/home/mylogin/Documents`. Pressing `Make Repository` again shows the same page again.
|
||||
|
||||
I couldn't find any logs at the time. Now I see that they are in .git/annex/daemon.log but content from that time is already gone.
|
||||
|
||||
### What version of git-annex are you using? On what operating system?
|
||||
|
||||
A fresh Ubuntu 14.04 (actually Lubuntu but this shouldn't change anything, right ?), create a user, login.
|
||||
|
||||
|
||||
LC_ALL=C apt-cache policy git-annex
|
||||
git-annex:
|
||||
Installed: 5.20140412ubuntu1
|
||||
Candidate: 5.20140412ubuntu1
|
||||
Version table:
|
||||
*** 5.20140412ubuntu1 0
|
||||
500 http://fr.archive.ubuntu.com/ubuntu/ trusty/universe i386 Packages
|
||||
100 /var/lib/dpkg/status
|
||||
|
||||
|
||||
### Please provide any additional information below.
|
||||
|
||||
[[!format sh """
|
||||
# No command line in bug occurrence. This is the transcript of the workaround I found.
|
||||
# Actually, the PC was rebooted then I went command line.
|
||||
cd ~/Documents
|
||||
git status
|
||||
fatal: This operation must be run in a work tree
|
||||
# oh I see it's a bare repo
|
||||
git annex add .
|
||||
add (my file names... one line for each) ok
|
||||
(Recording state in git...)
|
||||
|
||||
Now the webapp seems to run okay, I can see many pages, schedule checks, etc.
|
||||
|
||||
# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log
|
||||
-> Ok but log shows only events after I manually dit git annex add.
|
||||
|
||||
[2014-06-08 14:28:46 CEST] main: starting assistant version 5.20140412ubuntu1
|
||||
[2014-06-08 14:28:46 CEST] Cronner: You should enable consistency checking to protect your data.
|
||||
|
||||
dbus failed; falling back to mtab polling (ClientError {clientErrorMessage = "runClient: unable to determine DBUS address", clientErrorFatal = True})
|
||||
(scanning...) [2014-06-08 14:28:46 CEST] Watcher: Performing startup scan
|
||||
(started...) [2014-06-08 14:28:47 CEST] Committer: Adding (myfiles)
|
||||
|
||||
add (my files...) ok
|
||||
[2014-06-08 14:32:51 CEST] Committer: Committing changes to git
|
||||
[2014-06-08 14:34:12 CEST] Committer: Committing changes to git
|
||||
[2014-06-08 14:34:13 CEST] Committer: Adding (myfiles)
|
||||
ok
|
||||
(Recording state in git...)
|
||||
(Recording state in git...)
|
||||
(Recording state in git...)
|
||||
(Recording state in git...)
|
||||
(Recording state in git...)
|
||||
add (myfile) ok
|
||||
add (myfile) [2014-06-08 14:34:13 CEST] Committer: Committing changes to git
|
||||
[2014-06-08 14:42:48 CEST] Cronner: Consistency check in progress
|
||||
fsck (myfile) (checksum...)
|
||||
ok
|
||||
|
||||
# End of transcript or log.
|
||||
"""]]
|
||||
|
||||
|
||||
|
||||
# Question:
|
||||
|
||||
cat /etc/xdg/autostart/git-annex.desktop
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Version=1.0
|
||||
Name=Git Annex Assistant
|
||||
Comment=Autostart
|
||||
Terminal=false
|
||||
Exec=/usr/bin/git-annex assistant --autostart
|
||||
Categories=
|
||||
|
||||
Should there be a git-annex process whenever I log in even if I don't launch the webapp ?
|
||||
I can check that on next login.
|
||||
|
||||
At the moment there is "git-annex webapp" and several child processes.
|
|
@ -0,0 +1,8 @@
|
|||
[[!comment format=mdwn
|
||||
username="https://www.google.com/accounts/o8/id?id=AItOawm5WyknJirJJridJjiPNgrlYxGG9xrZBvA"
|
||||
nickname="Daniel"
|
||||
subject="a different fix"
|
||||
date="2014-06-07T04:27:47Z"
|
||||
content="""
|
||||
Thanks. I also went back and took a closer look at the error; it looks like fixing network-info is pretty easy as well. <https://github.com/jystic/network-info/pull/10>
|
||||
"""]]
|
|
@ -0,0 +1,31 @@
|
|||
### Please describe the problem.
|
||||
git-annex crashes with "git-annex: createSession: permission denied (Operation not permitted)" when creating the first repository. Trying to start git-annex webapp after that crashes again.
|
||||
|
||||
### What steps will reproduce the problem?
|
||||
* Download standalone tarball
|
||||
* Unpack
|
||||
* Go to new folder, call "git-annex webapp"
|
||||
* Click Make repository
|
||||
|
||||
### What version of git-annex are you using? On what operating system?
|
||||
git-annex version: 5.20140606-g48793b6
|
||||
build flags: Assistant Webapp Webapp-secure Pairing Testsuite S3 WebDAV Inotify DBus DesktopNotify XMPP DNS Feeds Quvi TDFA CryptoHash
|
||||
key/value backends: SHA256E SHA1E SHA512E SHA224E SHA384E SKEIN256E SKEIN512E SHA256 SHA1 SHA512 SHA224 SHA384 SKEIN256 SKEIN512 WORM URL
|
||||
remote types: git gcrypt S3 bup directory rsync web webdav tahoe glacier ddar hook external
|
||||
|
||||
Ubuntu 14.04 LTS
|
||||
|
||||
Linux eee 3.13.0-29-generic #53-Ubuntu SMP Wed Jun 4 21:02:19 UTC 2014 i686 i686 i686 GNU/Linux
|
||||
|
||||
### 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 webapp
|
||||
Launching web browser on file:///tmp/webapp3414.html
|
||||
git-annex: createSession: permission denied (Operation not permitted)
|
||||
WebApp crashed: createSession: permission denied (Operation not permitted)
|
||||
$
|
||||
# End of transcript or log.
|
||||
"""]]
|
Loading…
Add table
Add a link
Reference in a new issue