Multiple farms in one farmOS

Created on 29 January 2018, almost 7 years ago
Updated 18 September 2024, 4 months ago

Problem/Motivation

A question that comes up often is: can multiple farms use the same farmOS instance, or do you need separate instances for each farm?

The answer is: it's probably better to have separate instances...

But it's not hard to imagine multiple farms in one - and if there's enough interest then it's worth exploring!

Proposed resolution

...

Remaining tasks

...

User interface changes

...

API changes

...

Data model changes

...

✨ Feature request
Status

Closed: won't fix

Version

2.0

Component

Miscellaneous

Created by

πŸ‡ΊπŸ‡ΈUnited States m.stenta

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States m.stenta

    There hasn't been activity on this, so I'm going to close it as "won't fix" for now. It seems like this shouldn't be farmOS core's responsibility. It keeps things simple for core to just consider itself a "single farm". That said, I think everything that would be necessary for this could be implemented in an add-on contrib module. Experimentation can happen there, and if something solid and stable comes out of that and we want to reconsider adopting it into core, we can reassess at that time.

    For what it's worth, I made a proof of concept module here (NOT FOR REAL USE): github.com/mstenta/farm_multifarm/

  • πŸ‡ΊπŸ‡ΈUnited States m.stenta

    Relevant update: farmOS core will be adding a concept of "Organization" entities with a "Farm" sub-type by default.

    Here is the pull request that is currently being worked on: https://github.com/farmOS/farmOS/pull/849

    This ONLY adds a concept of "Farm Organizations" and allows assets to be linked to them. It does not add any access restrictions or automatic filtering of records by farm. That is still where the bulk of the work lies in implementing a "multi-tenant" instance of farmOS.

Production build 0.71.5 2024