If you have any questions or need help with these notes please email [email protected] or contact us on Slack.

Upgrading from all versions prior to 2.2.0

When upgrading to version 2.2.0 or higher, the values of the following environment variables will be copied into the database. After the upgrade they can be removed from your .env file along with any associated comments, as they no longer affect the app in any way:

TEMPLATE_TENANT_INDEX=
TEMPLATE_TENANT_WRITE_KEY=
TENANT_NAME=

The value of the DOMAIN variable in your .env file will also be copied to the database, but you can only remove this variable if you create another variable named STATIC_DOMAIN with the same value. The STATIC_DOMAIN variable will be required in a future update.

To update the tenant name or domain in the database on version 2.2.0 or higher, you can use the functions included in the [commands.sh](<http://commands.sh>) script in the ZIP file:

source commands.sh
tines-update-tenant-name
tines-update-tenant-domain

To see the values stored in the database for the tenant on version 2.2.0 or higher, you can use the tines-tenant-info function:

source commands.sh
tines-tenant-info

The following environment variables are no longer used and can be deleted from your .env file:

DATABASE_ADAPTER=
DATABASE_ENCODING=
DATABASE_RECONNECT=

Upgrading from all versions prior to January 26, 2021 - b3cfc13, 2.1.1

When upgrading to version 2.1.0 or higher, the values of the following environment variables will be copied into the database. After the upgrade they can be removed from your .env file along with any associated comments, as they no longer affect the app in any way:

AGENT_LIMT=
USER_LIMIT=
EVENTS_PER_DAY=

PLAN=
TENANT_LOCATION=

To change the agent, user, or daily event limit on version 2.1.0 or higher, you can use the tines-update-tenant-limits shell function included in the [commands.sh](<http://commands.sh>) script in the ZIP file:

source commands.sh
tines-update-tenant-limits

The following environment variables are also no longer used and can be deleted from your .env file:

TEMPLATE_TENANT_ID=
TEMPLATE_TENANT_KEY=