server icon indicating copy to clipboard operation
server copied to clipboard

API or protocol to migrate/import/export users [$70]

Open sunjam opened this issue 7 years ago • 26 comments

Zot Protocol allows users to clone/merge/migrate user accounts across multiple physical servers. You can read about Zot/6 here in detail as it has been developed for Hubzilla and works beautifully. This would be an absolutely huge step forward for Nextcloud.

  • Mirroring accounts across multiple servers for faster access times
  • Preventing single point of failure when a user's server goes down
  • Promoting free speech
  • Decentralization

There is a $70 open bounty on this issue. Add to the bounty at Bountysource.

sunjam avatar Oct 06 '18 15:10 sunjam

  • 1 to this.

jcklpe avatar Oct 31 '18 16:10 jcklpe

We prefer to use standards which are well-established and widely used already (like WebDAV, ActivityPub, CalDAV, CardDAV, etc) and that’s what we focus on with our limited resources.

If anyone would like to implement this, feel free. But it’s not a main roadmap feature.

jancborchardt avatar Dec 14 '18 00:12 jancborchardt

Zot now has a W3C group for furthering development. It is an amazing protocol and open standard.

Edit: Bounty Added!

sunjam avatar Jun 28 '19 14:06 sunjam

@sunjam Bounty is now $70

QEDeD avatar Oct 02 '19 09:10 QEDeD

Ref @rullzer @MorrisJobke just FYI.

jancborchardt avatar Oct 25 '19 11:10 jancborchardt

I don't see how this could get integrated into Nextcloud since it would mean to completely rework Nextcloud's architecture, as far as I understand it but cc @nextcloud/server-triage for more input on this.

szaimen avatar Jun 08 '21 13:06 szaimen

Here is a better technical introduction.

https://zotlabs.org/help/en/developer/zot_protocol#Technical_Introduction

On Tue, Jun 8, 2021, 6:29 AM szaimen @.***> wrote:

I don't see how this could get integrated into Nextcloud since it would mean to completely rework Nextcloud's architecture, as far as I understand it but cc @nextcloud/server-triage https://github.com/orgs/nextcloud/teams/server-triage for more input on this.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nextcloud/server/issues/11653#issuecomment-856768210, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANUKZW3W7ONOPEKWJORUWLTRYLKTANCNFSM4FZNUZCA .

sunjam avatar Jun 08 '21 13:06 sunjam

This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.

ghost avatar Jul 08 '21 13:07 ghost

Open please. Zot itself is already coded in PHP and works nicely in Hubzilla over a good five years now.

  • Import and export user credentials as a json file.
  • Define accounts on different servers as primary or secondary mirror.
  • Accounts can be merged. User must convince their contacts to trust their new primary account.

This would pair really nicely with user contact based circles available in v22.

On Thu, Jul 8, 2021, 6:44 AM nextcloud-stale[bot] @.***> wrote:

This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nextcloud/server/issues/11653#issuecomment-876451342, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANUKZSPSUQ23SBD6W4HIE3TWWTT7ANCNFSM4FZNUZCA .

sunjam avatar Jul 08 '21 14:07 sunjam

This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.

ghost avatar Aug 07 '21 16:08 ghost

Keep-alive. @sunjam : Broken link in the issue body. Care to update? Thanks.

pataquets avatar Aug 07 '21 22:08 pataquets

This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.

ghost avatar Sep 06 '21 23:09 ghost

open please

On Mon, Sep 6, 2021, 4:09 PM nextcloud-stale[bot] @.***> wrote:

This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nextcloud/server/issues/11653#issuecomment-913892228, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANUKZUMS5FOEHUXVUYPSZTUAVC2ZANCNFSM4FZNUZCA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

sunjam avatar Sep 07 '21 00:09 sunjam

This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.

ghost avatar Oct 07 '21 00:10 ghost

Open please

On Wed, Oct 6, 2021, 6:10 PM nextcloud-stale[bot] @.***> wrote:

This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nextcloud/server/issues/11653#issuecomment-937338239, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANUKZRRZHIMNXO5BDMIJBDUFTQQNANCNFSM4FZNUZCA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

sunjam avatar Oct 07 '21 04:10 sunjam

Of course we can keep it open forever, but not sure this will ever be implemented.

  • Zot is not very well adopted (unlike ActivityPub which Nextcloud Social already implements): https://en.wikipedia.org/wiki/Fediverse#Communication_protocols_used_in_the_fediverse
  • It seems inactive, the Zot community group has had its last activity in 2019: https://www.w3.org/community/zot/

What do you think @karlitschek @AndyScherzinger @skjnldsv?

jancborchardt avatar Oct 11 '21 09:10 jancborchardt

I'm unsure. Sooner or later we need a way to migrate data. But not sure about the right protocol or API

karlitschek avatar Oct 11 '21 12:10 karlitschek

Agreeing with your assessment @jancborchardt. I also don't see this happening in a foreseeable future also for the reasons you already mentioned. And like @karlitschek said we'll need a way to migrate/import/export users at some point but I am not sure Zot would be providing what we would then need to have in place.

AndyScherzinger avatar Oct 11 '21 12:10 AndyScherzinger

What about changing the title of this issue in "choose and adopt an API or protocol that allows to migrate/import/export users"? (If you could manage to be more synthetic than me it would be good!).

Then you mark select this issue as "to develop" or "nice to have"....

Spartachetto avatar Oct 11 '21 20:10 Spartachetto

This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.

ghost avatar Nov 14 '21 13:11 ghost

Open please

On Sun, Nov 14, 2021, 5:27 AM nextcloud-stale[bot] @.***> wrote:

This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nextcloud/server/issues/11653#issuecomment-968290940, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANUKZRBLV4WTJEOXBOSZZTUL62LHANCNFSM4FZNUZCA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

sunjam avatar Nov 14 '21 14:11 sunjam

This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.

ghost avatar Dec 14 '21 14:12 ghost

Open

On Tue, Dec 14, 2021, 6:53 AM nextcloud-stale[bot] @.***> wrote:

This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nextcloud/server/issues/11653#issuecomment-993623517, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANUKZUEOVNEWK4JTX4EX5DUQ5K7NANCNFSM4FZNUZCA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

sunjam avatar Dec 14 '21 15:12 sunjam

Related but not the same, may depending on this: https://github.com/nextcloud/server/issues/22732

Mannshoch avatar Oct 12 '22 21:10 Mannshoch

Mike (Friendica/Hubzilla/Zot creator)is now actively developing on this for overall activitypub and could no doubt benefit from more dev eyes on. Work is in dev branch of: https://codeberg.org/streams/streams

  • more context and info on the fediverse at https://social.wedistribute.org/@[email protected]/posts/Aggqx8PoqY11f1CRPs

sunjam avatar Apr 08 '24 19:04 sunjam

Isn't it done with https://github.com/nextcloud/user_migration ?

skjnldsv avatar Sep 03 '24 11:09 skjnldsv