List of remotes. "Kapsel" remote has "Syncing disabled"
Apparently user clicks on that, although it's not entirely clear.
Page seems to reload and still has "Syncing disabled" for Kapsel.
User goed to Edit repository for Kapsel. That page has "Syncing enabled"
checked.
User saves and remote list still has it disabled.
I guess my suggestion is, first to tell us what version of git-annex you're
using, and second, take a look at .git/annex/daemon.log inside the git
repository. There's probaby something to help narrow the problem down in
the log.
It would probably also help to paste the .git/config stanza for
the remote.
Looking at the code, the RepoList looks at syncRemotes to decide if a
remote is syncing or not. The edit form instead looks at remoteAnnexSync
from the remote's gitconfig. So, seems syncRemotes for some reason does
not include this remote, despite its gitconfig saying to sync with it.
Well, calcSyncRemotes starts with remoteAnnexSync but also excludes Dead
repos. And indeed, when a repo is dead, it behaves as shown.
So, git annex semitrust Kapsel should get it back to syncing with that
remote. Assuming it's not dead for a reason.
The webapp UI doesn't currently indicate when a remote is dead. I think you
can only get into this state by running git annex dead at the command line
though.
Simple fix is to not make the webapp display dead remotes in the
RepoList at all. Done.
Indeed it was a question of trust. Something that the assistant should notify me about. Maybe it should even be a setting in the assistant. No feedback here is just not a good idea.
Enormous animated gif shows:
I guess my suggestion is, first to tell us what version of git-annex you're using, and second, take a look at .git/annex/daemon.log inside the git repository. There's probaby something to help narrow the problem down in the log.
It would probably also help to paste the .git/config stanza for the remote.
Looking at the code, the RepoList looks at syncRemotes to decide if a remote is syncing or not. The edit form instead looks at remoteAnnexSync from the remote's gitconfig. So, seems syncRemotes for some reason does not include this remote, despite its gitconfig saying to sync with it.
Well, calcSyncRemotes starts with remoteAnnexSync but also excludes Dead repos. And indeed, when a repo is dead, it behaves as shown.
So,
git annex semitrust Kapsel
should get it back to syncing with that remote. Assuming it's not dead for a reason.The webapp UI doesn't currently indicate when a remote is dead. I think you can only get into this state by running
git annex dead
at the command line though.Simple fix is to not make the webapp display dead remotes in the RepoList at all. Done.