# Updating Typesense

# Typesense Cloud

If you're running Typesense on Typesense Cloud:

  1. Click on the "Clusters" link on the top nav bar after logging in.
  2. Click on your Typesense Cloud cluster's dashboard link
  3. Click on the "Cluster Configuration" section in the left pane
  4. Click on the "Modify" button on the top of the page
  5. On the next screen, you'll be able to pick an upgrade timeframe, and then specify which configuration parameters you want to change
  6. Click on "Schedule Change" at the bottom of the page

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

We support the following configuration changes in Typesense Cloud:

  • Upgrading Typesense Server versions
  • Downgrading Typesense Server versions (when supported by a version)
  • Upgrading or Downgrading RAM
  • Upgrading or Downgrading CPU cores
  • Enabling or disabling High Performance disk
  • Enabling or disabling GPU Acceleration
  • Enabling High Availability

For all other types of configuration changes, you would have to provision a new cluster with the desired configuration and reindex your data in it.

Note:

  • For single-node non-HA clusters, there will be a downtime of about 5-60 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. Learn more here (opens new window).

# 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/3/2023, 11:51:14 AM