User directory: synced across multiple cloudrons
-
Is it currently possible to sync the user directory across multiple cloudrons officially or via a magical hack?
Use case: I have 3 servers. 3 admin accounts for myself. Moved apps around that rely on the user directory. The original users don’t exist on the other servers… you can see the problem with that for apps like matrix/synapse.
I think I can have the user directory of server #1 be the main directory of the other two, but if server 1 goes down, the other two are affected unless they’re synced for redundancy!
-
Cloudron can sync (although only one-way) user accounts. One Cloudron becomes the single source of truth. So yes if that Cloudron is down, and sessions within the apps on other connected Cloudron require login, it will be a temporary issue.
Full two-way sync is a hard topic and also error prone with required conflict resolution. Given that virtual servers are very stable these days, I would go with a dedicated Cloudron acting as the main user-directory for others. Mostly this is also how we use it internally.
The docs for doing that one-way are at https://docs.cloudron.io/user-directory/#cloudron
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login