forum/Remote in webapp shows syncing disabled but is enabled (maybe)git-annexhttp://git-annex.branchable.com/forum/Remote_in_webapp_shows_syncing_disabled_but_is_enabled___40__maybe__41__/git-annexikiwiki2016-05-14T13:21:04Zcomment 1http://git-annex.branchable.com/forum/Remote_in_webapp_shows_syncing_disabled_but_is_enabled___40__maybe__41__/comment_1_04144280b69a7ba0cfa4fa3e1b5ef4ec/openmedi2016-05-10T14:40:18Z2016-05-10T14:40:18Z
This was solved by letting the assistant repair the repo (which took almost a whole night!). <a href="http://git-annex.branchable.com/forum/How_to_find_out_if_assistant_is_still_repairing__63__/">See also.</a>
comment 2http://git-annex.branchable.com/forum/Remote_in_webapp_shows_syncing_disabled_but_is_enabled___40__maybe__41__/comment_2_2c0340e5eac6d712045614886a8403a5/joey2016-05-12T19:45:18Z2016-05-12T19:36:19Z
<p>Enormous animated gif shows:</p>
<ol>
<li>List of remotes. "Kapsel" remote has "Syncing disabled"</li>
<li>Apparently user clicks on that, although it's not entirely clear.
Page seems to reload and still has "Syncing disabled" for Kapsel.</li>
<li>User goed to Edit repository for Kapsel. That page has "Syncing enabled"
checked.</li>
<li>User saves and remote list still has it disabled.</li>
</ol>
<p>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.</p>
<p>It would probably also help to paste the .git/config stanza for
the remote.</p>
comment 3http://git-annex.branchable.com/forum/Remote_in_webapp_shows_syncing_disabled_but_is_enabled___40__maybe__41__/comment_3_2b1ac09cb8b5f5ec62a201785c2f6531/joey2016-05-12T20:12:30Z2016-05-12T19:52:49Z
<p>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.</p>
<p>Well, calcSyncRemotes starts with remoteAnnexSync but also excludes Dead
repos. And indeed, when a repo is dead, it behaves as shown.</p>
<p>So, <code>git annex semitrust Kapsel</code> should get it back to syncing with that
remote. Assuming it's not dead for a reason.</p>
<p>The webapp UI doesn't currently indicate when a remote is dead. I think you
can only get into this state by running <code>git annex dead</code> at the command line
though.</p>
<p>Simple fix is to not make the webapp display dead remotes in the
RepoList at all. Done.</p>
comment 4http://git-annex.branchable.com/forum/Remote_in_webapp_shows_syncing_disabled_but_is_enabled___40__maybe__41__/comment_4_a8e68a41e069803d89f18d1645876298/openmedi2016-05-14T13:21:04Z2016-05-14T13:21:04Z
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.