alphazo Posted September 27, 2013 Share Posted September 27, 2013 git-annex is an appealing Open Source replacement for Dropbox http://git-annex.branchable.com/. I initially found a script to create a Slackware package out of the generic Linux package but it didn't work out of the box. https://github.com/rdparker/slackbuilds/tree/master/git-annex Please find attached a modified version of the script that works on unRAID. It will download the git-annex binary package and create a working Slackware package. 1. Download and extract attached zip file into a temp directory 2. Change permissions on git-annex.SlackBuild chmod +x git-annex.SlackBuild 3. Run the script ./git-annex.SlackBuild 4. Install package upgradepkg --install-new git-annex-4.20130922-g7dc188a-i486-3_rdp.txz 5. *Do no start* the web app like you would do on a laptop like: git-annex webapp 6. Specify unRAID IP address as listening address git-annex webapp --listen=192.168.0.18 7. You should get a login token. Copy it and paste it on a browser. http://192.168.0.18:57158/?auth=58246bd934f64b96efd645ce7bd12b38e53ed07e01b1a90993c8b6c41a1cd21c67efed50b0667489bc61bc657e3aed398ac0d67755d496dd8e559e8b6c004cc8 8. You should be in business! The only thing that didn't work was the Remote Server setup. While it worked for encrypted repo it didn't work for unencrypted, full git repo as git-annex complains about unRAID not running git or git-annex. git-annex-slackware.zip Quote Link to comment
spamalam Posted October 25, 2013 Share Posted October 25, 2013 wow! I just searched for unraid + git-annex and this popped up... you saved me a lot of time and effort. thank you! Quote Link to comment
NAS Posted October 28, 2013 Share Posted October 28, 2013 I had never heard of this. Looks extremely interesting. Nice one Quote Link to comment
alphazo Posted November 11, 2013 Author Share Posted November 11, 2013 I'm looking for help as the package I provided doesn't work the way it should. git-annex commands run when started from an unRAID console but not over SSH so it is virtually impossilble to use unRAID as a remote repository, only as a remote encrypted "special remote" that only contains git-annex object but not a full copy of the git repository... kind of defeat the purpose of it. I looked at the path and even changed them over the SSH session but I think the package is not setup correctly. This application has huge potentials for stuff like unRAID. Following commands ran on a remote PC should return the help page: ssh unraid git-annex ssh unraid 'git annex' But they don't return anything. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.