Update to a new version
Updating your CARTO Self-Hosted deployment
Support lifecycle policy
At CARTO, we are committed to providing reliable, secure, and high-quality support for all our users. To ensure the best experience, our support services are available only for CARTO Self-hosted versions released within the past 12 months.
Maintaining your installation on an up-to-date version is essential to:
Guarantee optimal performance of the platform.
Ensure security and compliance through the latest patches.
Benefit from continuous improvements, including new features and resolved issues.
Keeping your environment current is the best way to maximize the value of your CARTO deployment while ensuring stability, security, and a seamless user experience.
Upgrade Selfhosted version
Follow the steps below if you're using an Orchestrated container deployment in Kubernetes.
Pre-upgrade requirements
Before performing any upgrade to a new CARTO Self-Hosted version, you must create a backup of your databases:
Backup the following databases:
carto/metadata- Main CARTO metadata database (PostgreSQL) - Requiredaiproxy- AI Proxy database (PostgreSQL) - Only if AI features are enabled
Verify backups are complete and restorable before proceeding with the upgrade.
Document the current chart version (
helm list -n <namespace>) in case you need to reinstall.
This is your only recovery path if an upgrade fails. Without a pre-upgrade backup, rolling back to a previous working state is not possible.
Download customer package (Helm)
Once a new release is available, you will need to download the latest customer package.
Clone the CARTO Self-Hosted github repo:
Checkout to the latest stable release:
You should Install the following packages on your machine:yq, jq and gcloud.
Run the script passing the following arguments:
-d
Directory containing the existing customer package files.
-s
Carto selfhosted installation mode. Possible values for mode are docker (Single VM deployment) and k8s(Orchestrated container deployment)
Example output:
Install upgrade
Upgrade Single VM deployment
To upgrade your CARTO Self-Hosted deployment, simply access the Admin Console and check for any available updates.
Login to the Admin Console.
Click on "Check for Updates" link.
If there are new SelfHosted version availabile, you will see it in the "New version available" section in the Admin Console.
Wait for the Preflight Checks to Complete.

Click on the blue "Deploy" button to deploy your new version.
Monitor the progres in the "Details" section.
Upgrade Orchestrated container deployment (Kots in K8s)
Follow the steps below if you're using an Orchestrated container deployment in Kubernetes.
Login to the Admin Console.
Click on "Check for Updates" link.
If there are new SelfHosted version availabile, you will see it in the "New version available" section in the Admin Console.
Wait for the Preflight Checks to Complete.

Click on the blue "Deploy" button to deploy your new version.
Monitor the progres in the "Details" section.
Upgrade the KOTS Admin Console (when required)
The KOTS Admin Console (kotsadm) is Replicated's management tool, and it is versioned independently of CARTO Self-Hosted. Because of this, most CARTO upgrades do not require you to change it. Upgrade the Admin Console only when one of the following applies:
The Admin Console requires it during an upgrade: CARTO defines a minimum supported KOTS version (
minKotsVersion). If your Admin Console is below it, the upgrade is blocked until you upgrade KOTS. You can check the current minimum inkots-app.yaml.A release note explicitly calls it out: Only some releases raise the minimum KOTS version. When one does, that release's notes will mention it. If a release note does not mention KOTS, no KOTS upgrade is required for it.
Always upgrade the Admin Console independently of the CARTO upgrade to avoid conflicts or delays.
Steps to upgrade KOTS:
On your local machine, install the latest KOTS CLI (it is always at or above CARTO's minimum supported version). To pin a specific version instead, replace
installwithinstall/vX.Y.Z:
Upgrade the Admin Console in the cluster:
Post-change verification
After applying an update, confirm the deployment is healthy:
Last updated
Was this helpful?
