# Multitenant module: group.type.farm

**URL:** <https://farmos.discourse.group/t/multitenant-module-group-type-farm/2559>\
**Category:** Using farmOS\
**Created:** [July 16, 2026, 5:23pm UTC](https://farmos.discourse.group/t/multitenant-module-group-type-farm/2559 "2026-07-16T17:23:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bonushenricus](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/bonushenricus/32/139_2.png) [@bonushenricus](https://farmos.discourse.group/u/bonushenricus)\
**Post date:** [July 16, 2026, 5:23pm UTC](https://farmos.discourse.group/t/multitenant-module-group-type-farm/2559/1 "2026-07-16T17:23:16Z")

</div>

Hello everyone,  
after a long time, I’ve picked up farmOS again from Italy.  
I want to test the possibility of using multitenant. I need to write a small project that could take advantage of that module and the template module.  
I’m testing locally.  
Installed with Docker farmOS4 (with farmOS3 I can’t find the organization module, which I think is essential).  
So I installed group and flexible permissions.  
Then I installed multitenant: `docker compose exec -e XDEBUG_MODE=off www composer require 'drupal/farm_multitenant'`  
I then ran `docker compose exec -e XDEBUG_MODE=off www drush recipe modules/farm_multitenant/recipes/example_roles`  
It tells me `1/3 Installed Farm Multitenant module.`  
`In GroupRoleStorage.php line 72: The 'group.type.farm' config does not exist.`  
So I try to create a farm in organization, and it actually tells me that the organization type is: farm.  
I redo example\_roles. It doesn’t work.  
Do I need to create a group.types?

What’s missing?

Thank you

bonushenricus

---

<div class="post-metadata">

**Author:** ![mstenta](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/mstenta/32/4_2.png) [@mstenta](https://farmos.discourse.group/u/mstenta)\
**Post date:** [July 16, 2026, 5:42pm UTC](https://farmos.discourse.group/t/multitenant-module-group-type-farm/2559/2 "2026-07-16T17:42:24Z")

</div>

Hi @bonushenricus! 👋

You probably need to install the “Farm Organization” module (`drush en farm_farm`) - that is what provides the `farm` organization type… it sounds like that’s what’s missing based on “`In GroupRoleStorage.php line 72: The 'group.type.farm' config does not exist.`”.

Full disclosure: I haven’t used `farm_multitenant` or `farm_template`, so I probably won’t be able to help with those specifically, but please share your findings as you try them out!

---

<div class="post-metadata">

**Author:** ![bonushenricus](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/bonushenricus/32/139_2.png) [@bonushenricus](https://farmos.discourse.group/u/bonushenricus)\
**Post date:** [July 16, 2026, 6:50pm UTC](https://farmos.discourse.group/t/multitenant-module-group-type-farm/2559/3 "2026-07-16T18:50:37Z")

</div>

Hi @mstenta 👋

farm\_farm doesn’t seem to exist.  
What am I doing wrong?  
Actually, “organization\_type” + template  
would be sufficient.  
I just need to show an application where we can enter data with a template for the different companies we might manage.  
But I have farmos 3 and farmos 4 locally.  
In farmos3, the template works, but not organization.  
In farmos4, organization works, but not template.

---

<div class="post-metadata">

**Author:** ![mstenta](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/mstenta/32/4_2.png) [@mstenta](https://farmos.discourse.group/u/mstenta)\
**Post date:** [July 17, 2026, 12:45am UTC](https://farmos.discourse.group/t/multitenant-module-group-type-farm/2559/4 "2026-07-17T00:45:07Z")

</div>

Ohh yea - Organization entities were introduced in farmOS v4 ([farmOS v4 (and v3.5) | farmOS](https://farmos.org/blog/2026/farmOS-v4-and-v3.5/#farm-organizations)).

As for [Farm Template](https://www.drupal.org/project/farm_template) - that was still in alpha and I don’t think it reached a “finished” state, but I’m not 100% on the details. @gbathree has been working on his own version of the “template” concept recently, though. We talked a bit about it on the dev call today.

---

<div class="post-metadata">

**Author:** ![mstenta](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/mstenta/32/4_2.png) [@mstenta](https://farmos.discourse.group/u/mstenta)\
**Post date:** [July 17, 2026, 12:48am UTC](https://farmos.discourse.group/t/multitenant-module-group-type-farm/2559/5 "2026-07-17T00:48:15Z")

</div>

> [@bonushenricus](#):
>
> I just need to show an application where we can enter data with a template for the different companies we might manage.

Curious: can you describe what you’re imagining when you say “with a template”?
