Please describe the problem.
No matter what I do I can't
What steps will reproduce the problem?
Create a repository, try to add a remote. An external disk in this case.
What version of git-annex are you using? On what operating system?
Fedora 27
$ cat /etc/fedora-release
Fedora release 27 (Twenty Seven)
$ uname -a
Linux greger 4.14.14-300.fc27.x86_64 #1 SMP Fri Jan 19 13:19:54 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
$ git annex version
git-annex version: 6.20180130-g39d97867a
build flags: Assistant Webapp Pairing S3(multipartupload)(storageclasses) WebDAV Inotify DBus DesktopNotify ConcurrentOutput TorrentParser Feeds Testsuite
dependency versions: aws-0.17.1 bloomfilter-2.0.1.0 cryptonite-0.23 DAV-1.3.1 feed-0.3.12.0 ghc-8.0.2 http-client-0.5.7.0 persistent-sqlite-2.6.2 torrent-10000.1.1 uuid-1.3.13 yesod-1.4.5
key/value backends: SHA256E SHA256 SHA512E SHA512 SHA224E SHA224 SHA384E SHA384 SHA3_256E SHA3_256 SHA3_512E SHA3_512 SHA3_224E SHA3_224 SHA3_384E SHA3_384 SKEIN256E SKEIN256 SKEIN512E SKEIN512 SHA1E SHA1 MD5E MD5 WORM URL
remote types: git gcrypt p2p S3 bup directory rsync web bittorrent webdav tahoe glacier ddar hook external
local repository version: 5
supported repository versions: 3 5 6
upgrade supported from repository versions: 0 1 2 3 4 5
operating system: linux x86_64
Please provide any additional information below.
Debug log:
[2018-01-31 14:46:15.670775214] main: starting assistant version 6.20180130-g39d97867a
[2018-01-31 14:46:15.776042349] Cronner: You should enable consistency checking to protect your data.
(scanning...) [2018-01-31 14:46:15.988042623] Watcher: Performing startup scan
(started...)
[2018-01-31 14:47:48.236476657] read: gpg ["--quiet","--trust-model","always","--with-colons","--list-secret-keys","--fixed-list-mode"]
[2018-01-31 14:47:48.262055169] process done ExitSuccess
[2018-01-31 14:47:51.695935824] read: git ["init","--quiet","--bare","/run/media/dxtr/archive/annex"]
[2018-01-31 14:47:51.700278024] process done ExitSuccess
[2018-01-31 14:47:51.700424216] read: git ["config","--null","--list"]
[2018-01-31 14:47:51.707427206] process done ExitSuccess
[2018-01-31 14:47:51.70868726] call: git ["--git-dir=../../../../run/media/dxtr/archive/annex","--literal-pathspecs","config","core.fsyncobjectfiles","true"]
[2018-01-31 14:47:51.725766269] process done ExitSuccess
[2018-01-31 14:47:51.728215647] read: git ["config","--null","--list"]
[2018-01-31 14:47:51.740757992] process done ExitSuccess
[2018-01-31 14:47:51.741434499] read: git ["config","--null","--list"]
[2018-01-31 14:47:51.753548799] process done ExitSuccess
[2018-01-31 14:47:51.755149461] read: git ["--git-dir=../../../../run/media/dxtr/archive/annex","--literal-pathspecs","show-ref","git-annex"]
[2018-01-31 14:47:51.771911199] process done ExitFailure 1
[2018-01-31 14:47:51.772860937] read: git ["--git-dir=../../../../run/media/dxtr/archive/annex","--literal-pathspecs","show-ref","--hash","refs/heads/git-annex"]
[2018-01-31 14:47:51.789876829] process done ExitFailure 1
[2018-01-31 14:47:51.790600261] call: git ["--git-dir=../../../../run/media/dxtr/archive/annex","--literal-pathspecs","show-ref","--verify","-q","origin/git-annex"]
[2018-01-31 14:47:51.79719711] process done ExitFailure 1
[2018-01-31 14:47:51.799141741] read: git ["--git-dir=../../../../run/media/dxtr/archive/annex","--literal-pathspecs","write-tree"]
[2018-01-31 14:47:51.807820543] process done ExitSuccess
[2018-01-31 14:47:51.809126461] chat: git ["--git-dir=../../../../run/media/dxtr/archive/annex","--literal-pathspecs","commit-tree","4b825dc642cb6eb9a060e54bf8d69288fbee4904","--no-gpg-sign"]
[2018-01-31 14:47:51.836742843] process done ExitSuccess
[2018-01-31 14:47:51.837688371] call: git ["--git-dir=../../../../run/media/dxtr/archive/annex","--literal-pathspecs","update-ref","refs/heads/git-annex","c1bd62a595ce9cb811ad353ed0d9eaf8cfcb0b30"]
[2018-01-31 14:47:51.849598566] process done ExitSuccess
[2018-01-31 14:47:51.850762057] call: git ["--git-dir=../../../../run/media/dxtr/archive/annex","--literal-pathspecs","config","annex.uuid","da4c4bf3-5b3d-47f7-98d6-040cf8094360"]
[2018-01-31 14:47:51.855957091] process done ExitSuccess
[2018-01-31 14:47:51.85617243] read: git ["config","--null","--list"]
[2018-01-31 14:47:51.858450427] process done ExitSuccess
[2018-01-31 14:47:51.860771677] read: git ["--git-dir=../../../../run/media/dxtr/archive/annex","--literal-pathspecs","show-ref","git-annex"]
[2018-01-31 14:47:51.879636685] process done ExitSuccess
[2018-01-31 14:47:51.880463945] read: git ["--git-dir=../../../../run/media/dxtr/archive/annex","--literal-pathspecs","show-ref","--hash","refs/heads/git-annex"]
[2018-01-31 14:47:51.897305118] process done ExitSuccess
[2018-01-31 14:47:51.899214969] read: git ["--git-dir=../../../../run/media/dxtr/archive/annex","--literal-pathspecs","log","refs/heads/git-annex..c1bd62a595ce9cb811ad353ed0d9eaf8cfcb0b30","--pretty=%H","-n1"]
[2018-01-31 14:47:51.9105804] process done ExitSuccess
[2018-01-31 14:47:51.912107527] chat: git ["--git-dir=../../../../run/media/dxtr/archive/annex","--literal-pathspecs","cat-file","--batch"]
[2018-01-31 14:47:51.916244492] chat: git ["--git-dir=../../../../run/media/dxtr/archive/annex","--literal-pathspecs","cat-file","--batch-check=%(objectname) %(objecttype) %(objectsize)"]
[2018-01-31 14:47:51.926062822] call: git ["--git-dir=../../../../run/media/dxtr/archive/annex","--literal-pathspecs","config","annex.version","5"]
[2018-01-31 14:47:51.943412825] process done ExitSuccess
[2018-01-31 14:47:51.943804264] read: git ["config","--null","--list"]
[2018-01-31 14:47:51.949022318] process done ExitSuccess
[2018-01-31 14:47:51.952482534] chat: git ["--git-dir=../../../../run/media/dxtr/archive/annex","--literal-pathspecs","hash-object","-w","--stdin-paths","--no-filters"]
[2018-01-31 14:47:51.954175781] feed: git ["--git-dir=../../../../run/media/dxtr/archive/annex","--literal-pathspecs","update-index","-z","--index-info"]
[2018-01-31 14:47:51.968113275] process done ExitSuccess
[2018-01-31 14:47:51.969050491] read: git ["--git-dir=../../../../run/media/dxtr/archive/annex","--literal-pathspecs","show-ref","--hash","refs/heads/git-annex"]
[2018-01-31 14:47:51.979633335] process done ExitSuccess
(recording state in git...)
[2018-01-31 14:47:51.980277288] read: git ["--git-dir=../../../../run/media/dxtr/archive/annex","--literal-pathspecs","write-tree"]
[2018-01-31 14:47:51.989727059] process done ExitSuccess
[2018-01-31 14:47:51.98998106] chat: git ["--git-dir=../../../../run/media/dxtr/archive/annex","--literal-pathspecs","commit-tree","06548fa56acf18f9c1d74a29e248c4650df15e7e","--no-gpg-sign","-p","refs/heads/git-annex"]
[2018-01-31 14:47:52.011569157] process done ExitSuccess
[2018-01-31 14:47:52.012198525] call: git ["--git-dir=../../../../run/media/dxtr/archive/annex","--literal-pathspecs","update-ref","refs/heads/git-annex","26bcec3f33162a9c1c5b7a39c4828eedfdeae41b"]
[2018-01-31 14:47:52.030929599] process done ExitSuccess
[2018-01-31 14:47:52.037715315] process done ExitSuccess
[2018-01-31 14:47:52.038491764] process done ExitSuccess
[2018-01-31 14:47:52.039098682] process done ExitSuccess
[2018-01-31 14:47:52.039790346] read: uname ["-n"]
[2018-01-31 14:47:52.043271433] process done ExitSuccess
[2018-01-31 14:47:52.043523608] read: git ["config","--null","--list"]
[2018-01-31 14:47:52.057690629] process done ExitSuccess
[2018-01-31 14:47:52.058740927] call: git ["--git-dir=../../../../run/media/dxtr/archive/annex","--literal-pathspecs","remote","add","greger","../../../../../home/dxtr/temp/test"]
[2018-01-31 14:47:52.072184794] process done ExitSuccess
[2018-01-31 14:47:52.072509479] call: git ["--git-dir=.git","--work-tree=.","--literal-pathspecs","-c","core.bare=false","remote","add","archive","/run/media/dxtr/archive/annex"]
[2018-01-31 14:47:52.081339812] process done ExitSuccess
[2018-01-31 14:47:52.082154367] read: git ["config","--null","--list"]
[2018-01-31 14:47:52.093569488] process done ExitSuccess
31/Jan/2018:14:47:52 +0100 [Error#yesod-core] there is no available git remote named "archive" @(yesod-core-1.4.37-GCI7RasEcSMIU2vku0fHJ1:Yesod.Core.Class.Yesod ./Yesod/Core/Class/Yesod.hs:693:5)
The interesting part here is that if I try to run the failing git commands in the repository it works:
$ git --git-dir=../../../../run/media/dxtr/archive/annex --literal-pathspecs show-ref git-annex
26bcec3f33162a9c1c5b7a39c4828eedfdeae41b refs/heads/git-annex
Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders)
I have been using it for years. Just not the webapp
Please describe the problem.
Creating or adding remotes to an existing repository via the webapp results in
Creating a new repository seems to create the repo and update the remotes (checked via
git
at command line) but does not update the repos in the webapp and results in the error:Adding an existing repo to the current repo in the webapp results in the errors: (interesting as it first notes that the remote already exists and then complains that it's not available...)
Version
I'm on OSX 10.11.6. I started with a homebrew install, and today I found the native .dmg app. Could there be a conflict between the homebrew install and the .app? I'm a first time user trying to test this program and not getting very far. I have a minimal understanding of git, and therefore shy away from the CLI.
I am getting the same error messages as olaf. It does not seem to be related to brew vs dmg jhnichol.
Using the web-gui I can create one local repo. When I try to create a second local repo, by clicking
Add another repository
|Add another repository
|Make Repository
|Combine the repositories
the webapp then fails with this error message:Looking at the .git/config files for the repos, the names seem strange/incorrect. The second repo has the remote name listed as my hostname, “bumblebee.local”? Not sure if this is an issue.
Also from a git remote perspective I am a bit confused what I just did? Did I create two completely separate git repos then try to combine them, what does that mean? Shouldn't I have cloned the first repo instead of creating a new one?
When I created two repos on the commandline I didn't run into any issues, but, what I did was create a repo, then clone it into another directory, then added the new repo as a remote of the 1st repo. It seems the combine button in the webapp isn't doing that. Perhaps combine should only be enabled for special remotes, is that the problem?
—Andrew
========== full log below, first steps to make the error with webapp, followed by success on the commandline =============
does anyone have a solution to this? I can't seem to add remotes through the webapp. I consistantly get the following error:
Internal Server Error there is no available git remote named "blablabla"
thanks
I'm seeing the same issue on OSX when adding a "Remote server", using git-annex version 6.20180807. This is on a completely new repository that I've created in "~/annex", with no files in it.
After clicking "Combine repositories", I get the following error:
Where mydomain.example.com is the address to my ssh server.
The logs say:
It does not matter if the remote repository has been created or not - I still see the same error. Also, my local "~/annex" git repository has a remote named "mydomain.example.com_annex":
Sorry for leaving such a bad bug unaddressed so long. (And in fact a reversion since it used to work fine and I broke it about a month before this bug was opened.)
It's fixed now.
Bear in mind that I have a backlog that is literally over 400 items long and just can't get to everything promptly. Unsure why I didn't notice one of the several followups in my triage operations, other than the assistant being a ways down my prority list and bug reports about it often being not detailed enough and taking a lot of time to understand. If anyone would like to help triage out important problems like this one that I may be missing, that would be great.
Thank you for fixing!
|| If anyone would like to help triage out important problems like this one that I may be missing, that would be great.
I can try. How would you like to receive this information?
@andrew, take a look at the contribute page, bug triage section.