Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Discuss
  3. User directory: synced across multiple cloudrons

User directory: synced across multiple cloudrons

Scheduled Pinned Locked Moved Discuss
2 Posts 2 Posters 168 Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • humptydumptyH Offline
    humptydumptyH Offline
    humptydumpty
    wrote on last edited by humptydumpty
    #1

    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!

    1 Reply Last reply
    0
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      2
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Bookmarks
      • Search