I am unable to start the git-annex assistant/webapp.
I use OpenBox as desktop manager and the assistant/webapp is not available through the menu.
Trying to use the CLI, all my attempts fail with a message saying that it(?) is not a git repository!? Since the video show that on first start the assistant/webapp allows a choice of a directory and then creates it, I am not sure as to what git initialized directory does the assistant/webapp requires in this instance. And I also guess that means invoking the webapp from that directory rather than from the directory that contains the standalone git-annex.
Any help would be appreciated as git-annex really seems to be the app I am looking for.
Thanks
running,
should launch the web app.
Unfortunately, no, I tried this and many other variants, (I tried again just now, to be sure, and I still get the "git-annex: Not in a git repository." message.
Thanks for trying to help. It is very much appreciated.
Yes, the webapp is supposed to be able to be started from anywhere.
git annex webapp
from inside it, it'll start up the webapp on that repository.~/.config/git-annex/autostart
lists some git repositories, the webapp will start up in the first listed one.Most likely problem then is #2. If you used the webapp once, say in ~/annex and then deleted ~/annex/.git directory, it would try to start up in ~/annex, but it's no longer a git repository so it cannot start. This was a bug, so I've fixed it. You could work around that problem by deleting
~/.config/git-annex/autostart
too.If it's some other problem, you can work around it by going the #1 route and making a git repository by hand ("git init annex; cd annex; git annex init") and running the webapp in there.
Thank you.
The problem was indeed with having a file containing a non-existent ~/.config/git-annex/autostart.
I can now continue my evaluation of what looks like a very fine and useful piece of software.
Thanks again for the help.
I had that issue, git-annex is installed on a noGUI remote machine so the directory and the file ~/.config/git-annex/autostart didn't exist. I think it worth to mention than you could create by hand ~/.config/git-annex/autostart
and in simply add the path of your git-annex you want to start such as /srv/data for this example (which contain a .git/annex/ directory) then you are ready to go