Please describe the problem.
When starting git-annex Version: 5.20140420-ga25b8bb Build flags: Assistant Webapp Webapp-secure Pairing Testsuite S3 WebDAV FsEvents XMPP DNS Feeds Quvi TDFA CryptoHash on My MBP running OSX 10.9.2 I get a notification about: An upgrade of git-annex is available. (version 5.20140421)
I then click UPGRADE and then get this message: Internal Server Error Cannot find old distribution bundle; not upgrading.
What steps will reproduce the problem?
See problem description above, not sure what else to say.
What version of git-annex are you using? On what operating system?
See problem description above, not sure what else to say.
Please provide any additional information below.
# 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
# End of transcript or log.
re-downloaded the old version, re-isntalled and now it actually starts downlaoding the new version => http://screencast.com/t/id2Ng57Z9
NOT sure though, why it now uploads the new version to all repositories? i.e. box.com? IS there a reason for this?
Transfers git-annex.dmg (for upgrade)→box.com 42% of 22.52 MiB
Stuck in a loop, now with every restart of git-annex it downloads the update and then uploads it to all my repositories again: http://screencast.com/t/Ow7SlPVaS68
And then it says: Finished upgrading git-annex to version 5.20140420-ga25b8bb BUT that is the OLD version not the new one
NEXT TRY:
killed all processes of git and git-annex, restart.
Was greeted by: An upgrade of git-annex is available. (version 5.20140421)
Klicked the Upgrade button. Nothing happens, except that the upgrade notice disappeared
here is what the log looks like:
[2014-05-09 15:23:22 SAST] main: starting assistant version 5.20140420-ga25b8bb (scanning...) [2014-05-09 15:23:23 SAST] Watcher: Performing startup scan [2014-05-09 15:23:24 SAST] Upgrader: An upgrade of git-annex is available. (version 5.20140421) (started...) [2014-05-09 15:25:10 SAST] main: warning git-annex has been shut down [2014-05-09 15:25:31 SAST] main: starting assistant version 5.20140420-ga25b8bb (scanning...) [2014-05-09 15:25:31 SAST] Watcher: Performing startup scan [2014-05-09 15:25:32 SAST] Upgrader: An upgrade of git-annex is available. (version 5.20140421) (started...) [2014-05-09 15:25:59 SAST] main: warning git-annex has been shut down
[2014-05-09 15:27:14 SAST] main: starting assistant version 5.20140420-ga25b8bb (scanning...) [2014-05-09 15:27:14 SAST] Watcher: Performing startup scan [2014-05-09 15:27:15 SAST] Upgrader: An upgrade of git-annex is available. (version 5.20140421) (started...) [2014-05-09 15:27:46 SAST] main: starting assistant version 5.20140420-ga25b8bb (scanning...) [2014-05-09 15:27:46 SAST] Watcher: Performing startup scan (started...) [2014-05-09 15:27:48 SAST] Upgrader: An upgrade of git-annex is available. (version 5.20140421)
"Cannot find old distribution bundle; not upgrading"
This message means that git-annex was unable to find where the old version was installed, which it needs to do in order to replace it with the new version. It looks for a
git-annex.app
directory, and could not find one. How did you install the old version, and to what location?I think it might try to upload the dmg file to a repository if that repository is set as a full backup and so wants all files even ones not in the work tree.
I gave up on this. After doing this a few times, I stopped. Living in Africa, bandwidth is really expensive
Initially I installed via the downloaded .dmg file. After poking around a few times, I found a folder inside my Applications folder:
Every time I now open git-annex assistant I am greeted with:
I just did it again and it starts downloading again arrrghh!
restarted the assistant and it now says:
Then I check and find this:
ls -al /Applications/gi* /Applications/git-annex.app: total 0 drwxr-xr-x@ 3 ovi admin 102 May 12 13:10 . drwxrwxr-x+ 155 root admin 5270 May 15 04:19 .. drwxr-xr-x 5 ovi admin 170 May 9 15:45 Contents
/Applications/git-annex.app.5.20140421: total 0 drwxr-xr-x 2 ovi admin 68 May 11 11:26 . drwxrwxr-x+ 155 root admin 5270 May 15 04:19 .. shiny-2:~ ovi$ ls -al /Applications/gi* /Applications/git-annex.app: total 0 drwxr-xr-x@ 3 ovi admin 102 May 12 13:10 . drwxrwxr-x+ 155 root admin 5270 May 15 04:19 .. drwxr-xr-x 5 ovi admin 170 May 9 15:45 Contents
/Applications/git-annex.app.5.20140421: total 0 drwxr-xr-x 2 ovi admin 68 May 11 11:26 . drwxrwxr-x+ 155 root admin 5270 May 15 04:19 ..
LOL. restarting the assistant am greeted with click here to finish the upgrade. did so.
now only 2 folders not 3 left:
ls -al /Applications/gi* /Applications/git-annex.app: total 0 drwxr-xr-x@ 3 ovi admin 102 May 12 13:10 . drwxrwxr-x+ 155 root admin 5270 May 15 04:19 .. drwxr-xr-x 5 ovi admin 170 May 9 15:45 Contents
/Applications/git-annex.app.5.20140421: total 0 drwxr-xr-x 2 ovi admin 68 May 11 11:26 . drwxrwxr-x+ 155 root admin 5270 May 15 04:19 ..
Started the asistant again, am greeted with:
An upgrade of git-annex is available. (version 5.20140421)
Thank you very much... not going to downlaod it again...
COULD YOU PLEASE JUST SHARE THE DOWNLOAD LINK TO THE NEWEST ONE?
The repeated attempts to upgrade to 21 when it only downloads 20 are due to a different bug: ?git-annex auto upgrade is redundant. I've just put in a quick fix that should avoid that.
However, for the purposes of this bug report, I'm interested in the original problem of "Cannot find old distribution bundle; not upgrading", and to fix that, I need to know how you originally installed git-annex.
I have adjusted the "Cannot find old distribution bundle; not upgrading" message to say where it looked, and failed to find the git-annex.app directory.
I am going to have to moreinfo this, since without knowing where git-annex was installed to, I can't say why it failed to find a git-annex.app directory.