# Upgrade from v1.4 to v1.5

> What v1.5 changes for your deployment, and the exact steps to upgrade from v1.4 with Helm or Docker

Last edited on 2026-12-06 by Joey Orlando.

Upgrading to v1.5 needs a short stop: a migration removes a database column that v1.4 reads, so stop v1.4 before v1.5 migrates. Take a backup first; it is your only way back to v1.4.

## What Changes for Your Deployment

Skip any item for a feature you do not use.

### Removed

- **Read-only Vault** (`READONLY_VAULT` as [`ARCHESTRA_SECRETS_MANAGER`](https://archestra.ai/docs/admin/deployment/configuration#ARCHESTRA_SECRETS_MANAGER), team Vault folders, `ARCHESTRA_DATABASE_URL_VAULT_REF`). The migration refuses to run while any credential still uses it. Move to `DB` or `VAULT` on v1.4 first; see [Before You Upgrade](#before-you-upgrade).
- **`agent:configure-runtime`.** Custom roles that held it get **Can use and configure** on every [Agent Runtime](https://archestra.ai/docs/agents/runtime). Update role automation.
- **Identity provider edits for Platform Admin.** Editing a provider decides who signs in as which member, so only Admins can create or edit [identity providers](https://archestra.ai/docs/admin/identity) now.
- **Adoption page and Client connections log**, with their `/api/connected-clients/*` endpoints. Use [`GET /api/statistics/agent-usage`](https://archestra.ai/docs/insights/usage#agents-sources-and-external-clients) and the audit log.

### Renamed

- **Agent run tools:** `start_run` is now [`start_agent_run`](https://archestra.ai/docs/reference/archestra-mcp-server/agents#start_agent_run), and the other `*_run` tools follow; `list_runs` is gone. Update prompts, Guardrails rules, and automation.
- **OAuth client APIs:** `/api/llm-oauth-clients` and `/api/mcp-oauth-clients` are now `/api/oauth-clients`.
- **Permissions:** `llmCost` is now [`usage`](https://archestra.ai/docs/reference/permissions#usage:read), and Guardrails records need `guardrailsLog` instead of `log`. Custom roles convert on their own; update scripts and Terraform.
- **Default model:** `/api/members/default-model` and its environment variables are gone. Set it under **Settings → Agents**.

### Behavior

- **Spend limits** now count cache tokens and fail closed, so they are reached sooner. [Review them](https://archestra.ai/docs/llm-proxy/cost-controls/limits).
- **Agent Runtime size:** runs default to tier M, 4 CPU and 8Gi (v1.4: 500m and 1Gi). If runs stay `Pending`, lower the tiers under **Settings → Agents → Runtime tiers** or add nodes.
- **Agent Runtime timeouts:** runs end after 24 hours or 60 idle minutes (v1.4: 72 hours, 180 minutes). [`ARCHESTRA_AGENT_RUNTIME_DEFAULT_TTL_HOURS`](https://archestra.ai/docs/admin/deployment/configuration#ARCHESTRA_AGENT_RUNTIME_DEFAULT_TTL_HOURS) and [`ARCHESTRA_AGENT_RUNTIME_DEFAULT_IDLE_TIMEOUT_MINUTES`](https://archestra.ai/docs/admin/deployment/configuration#ARCHESTRA_AGENT_RUNTIME_DEFAULT_IDLE_TIMEOUT_MINUTES) restore them.
- **Guardrails** no longer waives blocks. If you used [`ARCHESTRA_OPENAPPA_SOFT_BLOCK_MODE=allow`](https://archestra.ai/docs/admin/deployment/configuration#ARCHESTRA_OPENAPPA_SOFT_BLOCK_MODE) or **Waive the block**, set **Guardrails mode** to **Observe** after the upgrade.
- **One port:** port 3000 serves the app, API, gateways, and worker metrics. Port 9000 still works, but v1.6 removes it: move ingress rules and clients to 3000.
- **No shell in the platform pods:** the chart's `-slim` image has no `sh` or `curl`. Run maintenance scripts with `node`, as in [Reset a Password from the CLI](https://archestra.ai/docs/admin/identity/account-security#helm-or-kubernetes).
- **OTLP export** is off unless [`ARCHESTRA_OTEL_EXPORTER_OTLP_ENDPOINT`](https://archestra.ai/docs/admin/deployment/configuration#ARCHESTRA_OTEL_EXPORTER_OTLP_ENDPOINT) is set (v1.4 sent to `localhost:4318`).
- **Error reports** go to Archestra's Sentry when analytics is on. Allow `*.ingest.de.sentry.io`, or set [`ARCHESTRA_ANALYTICS=disabled`](https://archestra.ai/docs/admin/deployment/configuration#ARCHESTRA_ANALYTICS).

## Before You Upgrade

1. If you use read-only Vault, move those credentials, then confirm none are left. This must print `0`:

   ```bash
   PGPASS=$(kubectl get secret archestra-platform-postgresql -n archestra -o jsonpath='{.data.password}' | base64 -d)
   kubectl exec -n archestra archestra-platform-postgresql-0 -- \
     env PGPASSWORD="$PGPASS" psql -U archestra -d archestra_dev -tAc \
     "SELECT count(*) FROM secret WHERE is_byos_vault AND NOT is_vault AND secret <> '{}'::jsonb"
   ```

2. Update [Helm Values](#helm-values) and [Environment Variables](#environment-variables).
3. With Argo CD or Flux, pause auto-sync so it does not restart v1.4 mid-upgrade.

## Upgrade With Helm

For the release `archestra-platform` in the namespace `archestra` with the bundled PostgreSQL, as in [Helm](https://archestra.ai/docs/admin/deployment/helm).

1. Note the replica counts, stop v1.4, and wait for its pods to go:

   ```bash
   kubectl get deployment archestra-platform archestra-platform-worker -n archestra
   kubectl scale deployment archestra-platform archestra-platform-worker -n archestra --replicas=0
   kubectl wait pod -n archestra --for=delete --timeout=5m \
     -l 'app.kubernetes.io/instance=archestra-platform,app.kubernetes.io/component in (web,worker)'
   ```

2. Back up the database (or use your own backup for an external one):

   ```bash
   PGPASS=$(kubectl get secret archestra-platform-postgresql -n archestra -o jsonpath='{.data.password}' | base64 -d)
   kubectl exec -n archestra archestra-platform-postgresql-0 -- \
     env PGPASSWORD="$PGPASS" pg_dump -U archestra -d archestra_dev -Fc > archestra-v1.4.dump
   ```

3. Upgrade the chart. It migrates the database first. Do not add `--atomic`, `--rollback-on-failure`, or `--reuse-values`.

   ```bash
   export ARCHESTRA_VERSION="1.5.0" # x-release-please-version
   helm upgrade archestra-platform \
     oci://ghcr.io/archestra-ai/helm-charts/archestra-platform \
     --version "$ARCHESTRA_VERSION" --namespace archestra \
     --values values.yaml --timeout 30m
   ```

4. Scale back to your replica counts (or `minReplicas` with autoscaling) and wait:

   ```bash
   kubectl scale deployment archestra-platform archestra-platform-worker -n archestra --replicas=1
   kubectl rollout status deployment archestra-platform -n archestra --timeout=30m
   kubectl rollout status deployment archestra-platform-worker -n archestra --timeout=15m
   ```

To keep the migration logs if it fails, follow them from a second terminal: `kubectl logs -n archestra -f job/archestra-platform-migrate`. Never start v1.4 on the migrated database: [roll back](#roll-back) instead.

## Upgrade With Docker

1. Stop the container and back up both volumes:

   ```bash
   docker stop --time 120 <container>
   for volume in archestra-postgres-data archestra-app-data; do
     docker run --rm -v "$volume":/data -v "$PWD":/backup alpine \
       tar czf "/backup/$volume-v1.4.tgz" -C /data .
   done
   docker rm <container>
   ```

2. Start v1.5 on the same volumes. It migrates on start. Pin the version, since `latest` can be a release candidate:

   ```bash
   docker run \
     -p 127.0.0.1:3000:3000 \
     -e ARCHESTRA_QUICKSTART=true \
     -v /var/run/docker.sock:/var/run/docker.sock \
     -v archestra-postgres-data:/var/lib/postgresql/data \
     -v archestra-app-data:/app/data \
     archestra/platform:1.5.0 # x-release-please-version
   ```

## After You Upgrade

1. **Settings → Guardrails:** check **Guardrails mode** and **Review summary model**.
2. **Settings → Agents:** set the default model and the Agent Runtime tier sizes.
3. Review spend limits.

## Helm Values

- `archestra.imageTag`: delete it, or set the v1.5 version.
- `archestra.imageVariant`: the chart runs the `-slim` image. Mirror that tag if you mirror images.
- `archestra.runAsNonRoot`: pods run as UID 10001. Run `chown -R 10001` on NFS or `hostPath` volumes first. On OpenShift, set it to `false`.
- `archestra.readOnlyRootFilesystem`: the root filesystem is read-only. Mount a volume for any other path a custom image writes to, or set it to `false`.
- `vaultSecrets.entrypoint`: no longer runs through a shell; give the command and arguments directly.
- `database.cloudSqlProxy.enabled` and `database.alloyDbProxy.enabled`: v1.5 honors these. Delete a leftover `true`.
- With `orchestrator.kubernetes.rbac.create: false`, add `list` and `delete` on `persistentvolumeclaims` to your Role.

## Environment Variables

Remove these; they are ignored or rejected in v1.5:

- `ARCHESTRA_AGENT_RUNTIME_CPU_REQUEST`, `_MEMORY_REQUEST`, `_MEMORY_LIMIT`: use Runtime tiers.
- `ARCHESTRA_LLM_PROXY_USAGE_ACCOUNTING_MODE`.
- `ARCHESTRA_CHAT_DEFAULT_PROVIDER` and `ARCHESTRA_CHAT_DEFAULT_MODEL`: use **Settings → Agents**.
- `ARCHESTRA_BETA`: for M-Files, set [`ARCHESTRA_KNOWLEDGE_BASE_MFILES_CONNECTOR_ENABLED=true`](https://archestra.ai/docs/admin/deployment/configuration#ARCHESTRA_KNOWLEDGE_BASE_MFILES_CONNECTOR_ENABLED).
- `ARCHESTRA_OPENAPPA_SELF_SERVICE_DIRECTORY`: set the folder per Git sync source.
- [`ARCHESTRA_OPENAPPA_REVIEW_SUMMARY_PROVIDER`](https://archestra.ai/docs/admin/deployment/configuration#ARCHESTRA_OPENAPPA_REVIEW_SUMMARY_PROVIDER) and [`ARCHESTRA_OPENAPPA_REVIEW_SUMMARY_MODEL`](https://archestra.ai/docs/admin/deployment/configuration#ARCHESTRA_OPENAPPA_REVIEW_SUMMARY_MODEL): v1.5 copies them into **Review summary model** on first start; remove them after checking it. v1.6 drops them.
- [`ARCHESTRA_INTERNAL_API_BASE_URL`](https://archestra.ai/docs/admin/deployment/configuration#ARCHESTRA_INTERNAL_API_BASE_URL) no longer sets the port: use [`ARCHESTRA_PORT`](https://archestra.ai/docs/admin/deployment/configuration#ARCHESTRA_PORT).

## Roll Back

Rolling back means restoring the backup; v1.4 cannot read a migrated database.

1. Stop v1.5 the same way you stopped v1.4.
2. Restore the backup as the PostgreSQL superuser:

   ```bash
   PGSUPER=$(kubectl get secret archestra-platform-postgresql -n archestra -o jsonpath='{.data.postgres-password}' | base64 -d)
   kubectl exec -i -n archestra archestra-platform-postgresql-0 -- \
     env PGPASSWORD="$PGSUPER" pg_restore -U postgres -d postgres --clean --if-exists --create < archestra-v1.4.dump
   ```

3. Run `helm rollback archestra-platform <v1.4 revision> -n archestra` (`helm history` lists them), then scale back up.

With Docker, remove the v1.5 container, restore both volumes, and start your v1.4 image:

```bash
for volume in archestra-postgres-data archestra-app-data; do
  docker volume rm "$volume"
  docker run --rm -v "$volume":/data -v "$PWD":/backup alpine \
    tar xzf "/backup/$volume-v1.4.tgz" -C /data
done
```
