Upgrade from v1.4 to v1.5
Last edited 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_asVAULT ARCHESTRA_, team Vault folders,SECRETS_ MANAGER ARCHESTRA_). The migration refuses to run while any credential still uses it. Move toDATABASE_ URL_ VAULT_ REF DBorVAULTon v1.4 first; see Before You Upgrade. agent:configure-runtime. Custom roles that held it get Can use and configure on every Agent 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 now.
- Adoption page and Client connections log, with their
/api/connected-clients/*endpoints. UseGET /api/statistics/agent-usageand the audit log.
Renamed
- Agent run tools:
start_is nowrun start_, and the otheragent_ run *_runtools follow;list_is gone. Update prompts, Guardrails rules, and automation.runs - OAuth client APIs:
/api/llm-oauth-clientsand/api/mcp-oauth-clientsare now/api/oauth-clients. - Permissions:
llmCostis nowusage, and Guardrails records needguardrailsLoginstead oflog. Custom roles convert on their own; update scripts and Terraform. - Default model:
/api/members/default-modeland 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.
- 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_andAGENT_ RUNTIME_ DEFAULT_ TTL_ HOURS ARCHESTRA_restore them.AGENT_ RUNTIME_ DEFAULT_ IDLE_ TIMEOUT_ MINUTES - Guardrails no longer waives blocks. If you used
ARCHESTRA_OPENAPPA_SOFT_BLOCK_MODE=allowor 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
-slimimage has noshorcurl. Run maintenance scripts withnode, as in Reset a Password from the CLI. - OTLP export is off unless
ARCHESTRA_is set (v1.4 sent toOTEL_ EXPORTER_ OTLP_ ENDPOINT localhost:4318). - Error reports go to Archestra's Sentry when analytics is on. Allow
*.ingest.de.sentry.io, or setARCHESTRA_ANALYTICS=disabled.
Before You Upgrade
-
If you use read-only Vault, move those credentials, then confirm none are left. This must print
0:bashPGPASS=$(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" -
Update Helm Values and Environment Variables.
-
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.
-
Note the replica counts, stop v1.4, and wait for its pods to go:
bashkubectl 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)' -
Back up the database (or use your own backup for an external one):
bashPGPASS=$(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 -
Upgrade the chart. It migrates the database first. Do not add
--atomic,--rollback-on-failure, or--reuse-values.bashexport 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 -
Scale back to your replica counts (or
minReplicaswith autoscaling) and wait:bashkubectl 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 instead.
Upgrade With Docker
-
Stop the container and back up both volumes:
bashdocker 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> -
Start v1.5 on the same volumes. It migrates on start. Pin the version, since
latestcan be a release candidate:bashdocker 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
- Settings → Guardrails: check Guardrails mode and Review summary model.
- Settings → Agents: set the default model and the Agent Runtime tier sizes.
- Review spend limits.
Helm Values
archestra.imageTag: delete it, or set the v1.5 version.archestra.imageVariant: the chart runs the-slimimage. Mirror that tag if you mirror images.archestra.runAsNonRoot: pods run as UID 10001. Runchown -R 10001on NFS orhostPathvolumes first. On OpenShift, set it tofalse.archestra.readOnlyRootFilesystem: the root filesystem is read-only. Mount a volume for any other path a custom image writes to, or set it tofalse.vaultSecrets.entrypoint: no longer runs through a shell; give the command and arguments directly.database.cloudSqlProxy.enabledanddatabase.alloyDbProxy.enabled: v1.5 honors these. Delete a leftovertrue.- With
orchestrator.kubernetes.rbac.create: false, addlistanddeleteonpersistentvolumeclaimsto 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_andCHAT_ DEFAULT_ PROVIDER ARCHESTRA_: use Settings → Agents.CHAT_ DEFAULT_ MODEL ARCHESTRA_: for M-Files, setBETA ARCHESTRA_KNOWLEDGE_BASE_MFILES_CONNECTOR_ENABLED=true.ARCHESTRA_: set the folder per Git sync source.OPENAPPA_ SELF_ SERVICE_ DIRECTORY ARCHESTRA_andOPENAPPA_ REVIEW_ SUMMARY_ PROVIDER ARCHESTRA_: v1.5 copies them into Review summary model on first start; remove them after checking it. v1.6 drops them.OPENAPPA_ REVIEW_ SUMMARY_ MODEL ARCHESTRA_no longer sets the port: useINTERNAL_ API_ BASE_ URL ARCHESTRA_.PORT
Roll Back
Rolling back means restoring the backup; v1.4 cannot read a migrated database.
-
Stop v1.5 the same way you stopped v1.4.
-
Restore the backup as the PostgreSQL superuser:
bashPGSUPER=$(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 -
Run
helm rollback archestra-platform <v1.4 revision> -n archestra(helm historylists them), then scale back up.
With Docker, remove the v1.5 container, restore both volumes, and start your v1.4 image:
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