talk@lists.collectionspace.org

WE HAVE SUNSET THIS LISTSERV - Join us at collectionspace@lyrasislists.org

View all threads

Tenanat not active

MW
Michael Wedderburn
Tue, Apr 23, 2019 5:27 PM

Hi,

I upgraded an installation from 4.5 to 5 and enabled a new tenant. The new
tenant doesn't seem to be activating. The server/service comes up fine but
the new tenant is in the active list. Any insights/ tips that can be given
as to why this is? Thanks much

Hi, I upgraded an installation from 4.5 to 5 and enabled a new tenant. The new tenant doesn't seem to be activating. The server/service comes up fine but the new tenant is in the active list. Any insights/ tips that can be given as to why this is? Thanks much
RL
Ray Lee
Sun, May 5, 2019 4:27 AM

Hi Michael,
If you created your new tenant by copying one of the existing ones, there is an environment variable that will need to be set at build time in order to enable the tenant. For example, in the public art tenant, the settings.xml file contains the name of the environment variable (CSPACE_PUBLICART_CREATE_DISABLED_OPT): https://github.com/collectionspace/application/blob/5e6be926ef169426daa4038cf6499769532f9fb0/tomcat-main/src/main/resources/tenants/publicart/settings.xml#L59

In the settings.xml for your tenant, you can find the name of the environment variable, and set it to "false", then rebuild. Or, you can just put "false" directly in the <create-disabled> element, and rebuild.

Ray


From: Talk talk-bounces@lists.collectionspace.org on behalf of Michael Wedderburn michael.wedderburn@granitehorizon.com
Sent: Tuesday, April 23, 2019 10:27:43 AM
To: talk@lists.collectionspace.org
Subject: [Talk] Tenanat not active

Hi,

I upgraded an installation from 4.5 to 5 and enabled a new tenant. The new tenant doesn't seem to be activating. The server/service comes up fine but the new tenant is in the active list. Any insights/ tips that can be given as to why this is? Thanks much

Hi Michael, If you created your new tenant by copying one of the existing ones, there is an environment variable that will need to be set at build time in order to enable the tenant. For example, in the public art tenant, the settings.xml file contains the name of the environment variable (CSPACE_PUBLICART_CREATE_DISABLED_OPT): https://github.com/collectionspace/application/blob/5e6be926ef169426daa4038cf6499769532f9fb0/tomcat-main/src/main/resources/tenants/publicart/settings.xml#L59 In the settings.xml for your tenant, you can find the name of the environment variable, and set it to "false", then rebuild. Or, you can just put "false" directly in the <create-disabled> element, and rebuild. Ray ________________________________________ From: Talk <talk-bounces@lists.collectionspace.org> on behalf of Michael Wedderburn <michael.wedderburn@granitehorizon.com> Sent: Tuesday, April 23, 2019 10:27:43 AM To: talk@lists.collectionspace.org Subject: [Talk] Tenanat not active Hi, I upgraded an installation from 4.5 to 5 and enabled a new tenant. The new tenant doesn't seem to be activating. The server/service comes up fine but the new tenant is in the active list. Any insights/ tips that can be given as to why this is? Thanks much