From acae35d6e1f2cc7dda4d1d9a625290a0da45d3a6 Mon Sep 17 00:00:00 2001 From: Simon Date: Mon, 28 Oct 2019 15:37:04 +0000 Subject: [PATCH 1/6] --- .../How_do_I_set_up_git_annex_with_nextcloud.mdwn | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 doc/forum/How_do_I_set_up_git_annex_with_nextcloud.mdwn diff --git a/doc/forum/How_do_I_set_up_git_annex_with_nextcloud.mdwn b/doc/forum/How_do_I_set_up_git_annex_with_nextcloud.mdwn new file mode 100644 index 0000000000..3baad46a75 --- /dev/null +++ b/doc/forum/How_do_I_set_up_git_annex_with_nextcloud.mdwn @@ -0,0 +1,10 @@ +I am probably doing something fundamentally wrong. Here are the steps I've tried: + +1. Create a new repository using the webapp (on two virtual machines) +2. Create a nextcloud account and folder and on the first VM ran: `WEBDAV_USERNAME=test WEBDAV_PASSWORD=whocaresforatest git annex initremote owncloud type=webdav url=https://SERVERNAME/remote.php/webdav/annex chunk=10mb encryption=hybrid keyid=randomkey@igenerated.forthis`. This seemed to lead to some synchronization. +3. Did the same thing on the second virtual machine. +4. On the first VM ran: `git annex enableremote owncloud keyid+=keyigenerated@forthesecond.vm` + +The problem is, both seem to sync something to the nextcloud installation but they don't seem to be syncing with each other. + +What did I do wrong? From 54cdad7630b9c6e91692fe5ab08a34acca7b6d14 Mon Sep 17 00:00:00 2001 From: nordmagnus999 Date: Mon, 28 Oct 2019 15:49:12 +0000 Subject: [PATCH 2/6] Added a comment: A possible solution --- .../comment_1_2528e595b04232de60571279ded4c2e8._comment | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 doc/forum/How_do_I_set_up_git_annex_with_nextcloud/comment_1_2528e595b04232de60571279ded4c2e8._comment diff --git a/doc/forum/How_do_I_set_up_git_annex_with_nextcloud/comment_1_2528e595b04232de60571279ded4c2e8._comment b/doc/forum/How_do_I_set_up_git_annex_with_nextcloud/comment_1_2528e595b04232de60571279ded4c2e8._comment new file mode 100644 index 0000000000..2c64c00843 --- /dev/null +++ b/doc/forum/How_do_I_set_up_git_annex_with_nextcloud/comment_1_2528e595b04232de60571279ded4c2e8._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="nordmagnus999" + avatar="http://cdn.libravatar.org/avatar/d5d5b418451be64f8fa5f56909fcc4c3" + subject="A possible solution" + date="2019-10-28T15:49:12Z" + content=""" +You could use [git-annex-remote-rclone script](https://github.com/DanielDent/git-annex-remote-rclone) which support nextcloud/owncloud with its webdav remote iirc. (Also the rclone remote is officially supported by git-annex on the last version afaik + its bundled in some distro's repos). +"""]] From bb9421bda4df109cce1300684469c97e9a2729ff Mon Sep 17 00:00:00 2001 From: nordmagnus999 Date: Mon, 28 Oct 2019 15:50:42 +0000 Subject: [PATCH 3/6] Added a comment: Oh yeah, use verbose flag too. --- .../comment_2_562dbc96302644f915a0b8e33428c69a._comment | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 doc/forum/How_do_I_set_up_git_annex_with_nextcloud/comment_2_562dbc96302644f915a0b8e33428c69a._comment diff --git a/doc/forum/How_do_I_set_up_git_annex_with_nextcloud/comment_2_562dbc96302644f915a0b8e33428c69a._comment b/doc/forum/How_do_I_set_up_git_annex_with_nextcloud/comment_2_562dbc96302644f915a0b8e33428c69a._comment new file mode 100644 index 0000000000..b1791bb8fd --- /dev/null +++ b/doc/forum/How_do_I_set_up_git_annex_with_nextcloud/comment_2_562dbc96302644f915a0b8e33428c69a._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="nordmagnus999" + avatar="http://cdn.libravatar.org/avatar/d5d5b418451be64f8fa5f56909fcc4c3" + subject="Oh yeah, use verbose flag too." + date="2019-10-28T15:50:42Z" + content=""" +I think it would make more sense to use the verbose flag for debugging imo. +"""]] From c4b628b241e3b119979ef15c7cc440f162dd67a4 Mon Sep 17 00:00:00 2001 From: Simon Date: Mon, 28 Oct 2019 16:04:52 +0000 Subject: [PATCH 4/6] Added a comment: Can you give more details? --- .../comment_3_7fa312e85acd3f9afbfd97d46057e6db._comment | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 doc/forum/How_do_I_set_up_git_annex_with_nextcloud/comment_3_7fa312e85acd3f9afbfd97d46057e6db._comment diff --git a/doc/forum/How_do_I_set_up_git_annex_with_nextcloud/comment_3_7fa312e85acd3f9afbfd97d46057e6db._comment b/doc/forum/How_do_I_set_up_git_annex_with_nextcloud/comment_3_7fa312e85acd3f9afbfd97d46057e6db._comment new file mode 100644 index 0000000000..5738f6d48d --- /dev/null +++ b/doc/forum/How_do_I_set_up_git_annex_with_nextcloud/comment_3_7fa312e85acd3f9afbfd97d46057e6db._comment @@ -0,0 +1,7 @@ +[[!comment format=mdwn + username="Simon" + subject="Can you give more details?" + date="2019-10-28T16:04:52Z" + content=""" +I just started trying to use git-annex. To which command should I add the verbose flag? +"""]] From 3f3e2d56aba0f076dba69c3ff02f80ca4e53ecff Mon Sep 17 00:00:00 2001 From: Simon Date: Mon, 28 Oct 2019 16:06:22 +0000 Subject: [PATCH 5/6] Added a comment: Should there have been a combine step? --- .../comment_4_7980af82df895cdd4b5c527bbb2f4c72._comment | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 doc/forum/How_do_I_set_up_git_annex_with_nextcloud/comment_4_7980af82df895cdd4b5c527bbb2f4c72._comment diff --git a/doc/forum/How_do_I_set_up_git_annex_with_nextcloud/comment_4_7980af82df895cdd4b5c527bbb2f4c72._comment b/doc/forum/How_do_I_set_up_git_annex_with_nextcloud/comment_4_7980af82df895cdd4b5c527bbb2f4c72._comment new file mode 100644 index 0000000000..e7f4c3debc --- /dev/null +++ b/doc/forum/How_do_I_set_up_git_annex_with_nextcloud/comment_4_7980af82df895cdd4b5c527bbb2f4c72._comment @@ -0,0 +1,7 @@ +[[!comment format=mdwn + username="Simon" + subject="Should there have been a combine step?" + date="2019-10-28T16:06:22Z" + content=""" +From watching the introductory video it looks like there should be a different step for adding the second remote. Did I maybe screw up using `init` again? +"""]] From b1077b417f9bfa0bd4b07cadbe83db2db9482ebb Mon Sep 17 00:00:00 2001 From: Simon Date: Mon, 28 Oct 2019 16:13:18 +0000 Subject: [PATCH 6/6] Added a comment: Maybe this is the problem... --- .../comment_5_1fe66285d3369da85c08d8c69ad9746a._comment | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 doc/forum/How_do_I_set_up_git_annex_with_nextcloud/comment_5_1fe66285d3369da85c08d8c69ad9746a._comment diff --git a/doc/forum/How_do_I_set_up_git_annex_with_nextcloud/comment_5_1fe66285d3369da85c08d8c69ad9746a._comment b/doc/forum/How_do_I_set_up_git_annex_with_nextcloud/comment_5_1fe66285d3369da85c08d8c69ad9746a._comment new file mode 100644 index 0000000000..94e6f887a3 --- /dev/null +++ b/doc/forum/How_do_I_set_up_git_annex_with_nextcloud/comment_5_1fe66285d3369da85c08d8c69ad9746a._comment @@ -0,0 +1,7 @@ +[[!comment format=mdwn + username="Simon" + subject="Maybe this is the problem..." + date="2019-10-28T16:13:18Z" + content=""" +When I look at the .git/config on both machines the remotes have a different annex-uuid. I guess those should be the same, right? +"""]]