Upgrade Mathesar to 0.1.7¶
For installations using Docker Compose¶
If you have a Docker compose installation (including one from the guided script), run the command below:
Your installation directory may be different
You may need to change /etc/mathesar/
in the command above if you chose to install Mathesar to a different directory.
For installations done from scratch¶
If you installed Mathesar from scratch, then use these steps to upgrade your installation to 0.1.7.
-
Go to your Mathesar installation directory
Note
Your installation directory may be different from above if you used a different directory when installing Mathesar.
-
Pull version 0.1.7 from the repository
-
Update Python dependencies
-
Activate our virtual environment
-
You can skip the following if you’re upgrading from versions 0.1.4 and above.
- If you’re upgrading from versions <= 0.1.3, update your environment variables according to the the new configuration specification.
- In particular, you must put the connection info for the internal DB into new
POSTGRES_*
variables. TheDJANGO_DATABASE_URL
variable is no longer supported.
-
Add the environment variables to the shell before running Django commands
-
Run Django migrations
-
Download and extract frontend assets
-
Compile Mathesar translation files
-
Update Mathesar functions on the database:
-
Restart the gunicorn server