Skip to content

Commit

Permalink
Mention upgrade migrate job error (#2422)
Browse files Browse the repository at this point in the history
* Mention upgrade migrate job error

* nit
  • Loading branch information
tiina303 committed Nov 18, 2021
1 parent 1c9922e commit 2a46fea
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions contents/docs/self-host/deploy/snippets/upgrading.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,15 @@ Compare the numbers for the chart version (in the format `posthog-{major}.{minor
<CommandHelmUpgradeSnippet />

Check the Helm [documentation](https://helm.sh/docs/helm/helm_upgrade/) for more info about the `helm upgrade` command.

<details>
<summary>Troubleshooting</summary>
If you see this error

```
Error: UPGRADE FAILED: release posthog failed, and has been rolled back due to atomic being set: post-upgrade hooks failed: warning: Hook post-upgrade posthog/templates/migrate.job.yaml failed: jobs.batch "posthog-migrate" already exists
```

it happens because the migrate job was left around from a previous upgrade attempt, we just need to kill that job (`kubectl delete job posthog-migrate -n posthog`) before running the upgrade again.
</details>

0 comments on commit 2a46fea

Please sign in to comment.