Please describe the problem.
I didn't spot this bugs page before so here is my report I have commented on android page
In addition to two existing repositories (1 local /sdcard/annex, which is also avail at/storage/sdcard0/annex + 1 remote) I have added one more local (and said to keep it in sync with original local). But it didn't work -- it "Synced with onerussian.com_annex but not with Annex" and claimed that the /external/extSdCard/Annex doesn't exist, although it is there (and with .git generated etc). When I restarted the deamon I got into a "new" Repository: /storage/extSdCard/Annex which also listed the 1st local but with "Failed to sync with localhost" message -- no remote one listed. Whenever I try to "Switch repository" to /sdcard/annex (the original local) -- it starts loading a new page but gets stuck right there. The only way to revive webui is to go back to Dashboard. Log there says (retyping from the screen so typos might be there):
error: cannot run git-receive-pack '/storage/sdcard0/annex': No such file or directory fatal: unable to fork
What steps will reproduce the problem?
What version of git-annex are you using? On what operating system?
android
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.
Closing as this was a bug in the deprecated Android app. done --Joey
With version 6.20170104 the following workaround seems to work:
Start the webapp
Click on the menu and select "Switch Repository" (as ususal)
Click on the link of the repo you wish to switch to (as usual); at this point, the WebApp freezes and the repo is not changed.
Keep cool
Select the Git Annex terminal session from the slide-down menu.
In the Git Annex terminal create a new window by clicking the (+) icon. This will open a new WebApp Dashboard with the newly selected repository.
Enjoy
I'm closing this bug report because the git-annex Android app that it was reported on is now deprecated. Instead, we have a way to run the regular git-annex build for linux on Android in termux: https://git-annex.branchable.com/tips/install_on_Android_in_Termux/
There were a lot of problems with the way the git-annex Android app was put together, and I hope this new approach avoids them. If you try it and still have the bug you reported, please followup and I'll reopen it.