# Updating Typesense

# Typesense Cloud

If you're on Typesense Cloud:

  1. Visit your cluster's dashboard page.
  2. Click on "Modify Configuration" on the right pane under "Configuration".
  3. Click on "Pick an Upgrade Window"

Once the upgrade is complete, you will receive an email notification to the Cluster Alerts email address you've set in your account page.

Note:

  • For single-node non-HA clusters, there will be a downtime of about 5-30 minutes depending on the size of your dataset while the upgrade happens.
  • For multi-node HA and SDN clusters, the upgrade will happen one node at a time, so the other nodes in the cluster will continue to serve traffic and you should see a zero-downtime upgrade.

# Typesense Self-Hosted

The process of updating Typesense is simple:

  1. Install the new version of Typesense
  2. Restart the server

You won't need to re-index any of your documents.

So if you used the Docker image, just stop the running container, then run docker run with the new version. Make sure you pass the same arguments to docker run as before.

If you installed Typesense with one of the prebuilt binaries or from one of the package managers, just download the new version of Typesense, replace the binary, or use the package manager to upgrade the DEB/RPM and restart the process.

Important

If you are running Typesense in clustered mode for high availability, make sure you update the nodes one at a time. Wait until the /health endpoint responds with the status code 200 on the node you just updated, before updating the next node.

# Updating via Docker

# Updating RPM package

# Updating DEB package

# Updating Linux binary

# Updating Mac binary

# Updating on macOS via Homebrew

Last Updated: 10/21/2022, 9:17:22 AM