What a PostHog major version upgrade involves for self-hosted teams
For a hobby install, PostHog's documented path is the upgrade-hobby script, and instances on 1.49.x or older must finish their async migrations before upgrading. Self-hosted instances carry no PostHog support plan, so your team owns the upgrade and any rollback. Start with a backup, since PostHog recommends backing up first. Record your current version, your target version and whether any async migrations remain. Keep the database, Compose file and environment file in that backup so a rollback has a complete state to restore. Rehearse the steps on a staging copy and check that event ingestion, session recordings and feature flags still work. Name the person who makes the go or no-go call before the window opens.
The supported path is narrow. PostHog says Kubernetes and Helm support for its open source product has ended and Helm chart releases are sunsetted, and the hobby script covers only hobby installs, so a Kubernetes team should not assume it applies. Confirm how your install is built before planning, since a Docker Compose hobby install and a Kubernetes install need different upgrade work. This page works from the 1.49.x line and older, and it does not state end-of-life dates for any release. Before you set a schedule, check the current release and your target major version on PostHog's releases page and read the breaking changes for each version in between. Outside help makes sense when your install sits off the hobby path and your team cannot run a tested upgrade and rollback on its own.
Which PostHog versions and deployments carry which upgrade rules
This table compares which PostHog versions and deployment types carry which upgrade rules, and what each one means for the team's next step. Read each row by its documented status first, then check the action column against your install. The main takeaway is that the open source Kubernetes path and new paid self-hosted Kubernetes deployments are the rules most likely to affect your plan.
| Version or deployment | Documented status | What the team should do |
|---|---|---|
| 1.49.x and older | Async migrations must finish before upgrading | Check that async migrations have finished on your instance before you start the upgrade. |
| Hobby Docker Compose (MIT) | Free MIT-licensed install, upgraded with the upgrade-hobby script; officially unsupported | Back up first and stay on the latest version. Plan for no PostHog customer support during the upgrade. |
| Kubernetes and Helm, open source product | Support has ended and Helm chart releases are sunsetted | Plan a move to a supported deployment path, and confirm the options with PostHog before scheduling any upgrade. |
| New Kubernetes deployments, paid self-hosted product | No longer supported for new deployments | Do not start new deployments on this path. Ask PostHog which supported option fits before planning. |
| Release lines and end-of-life dates | This page gives no end-of-life dates for any release line | Confirm the current release and support status on the PostHog releases page before planning. |
The documented upgrade path for hobby installs
This sequence takes a hobby install from a known starting release to a verified upgrade on the latest version PostHog recommends. Each step produces a record or check that the next step depends on, so a problem stops the process before the instance changes further. The verification step is DeployOpen's recommendation, and the exact commands come from PostHog's self-host documentation.
Confirm your current release and target
Check which PostHog release your instance runs now and which release you plan to move to, and write both down before you change anything. Read the current version from your deployment's own records, then compare the target against the release list PostHog publishes. Done means you have a short written record of the current and target versions, and the remaining steps refer to it. If your team cannot state both versions with confidence, stop here and resolve that first, because the path differs depending on where you start.
Finish async migrations if on 1.49.x
PostHog requires instances on 1.49.x or older to finish async migrations before upgrading. If your instance is on that line or older, run the async migration steps described in PostHog's self-host documentation while the current version is still running, and let them complete. Confirm completion by checking the migration status that the documentation describes for your version. Do not start the upgrade while any migration is still pending. Instances already on a newer release can skip the migrations, but should still record that they checked this requirement.
Back up the instance before any change
PostHog recommends a backup before upgrading, and this step is what makes rollback possible later. Take a full copy of the database and of the volumes, environment files and configuration that hold your deployment state, and store it on a system other than the host being upgraded. Confirm the copy is usable by restoring it to a separate test machine or by checking that the archive opens and its contents match what you expect. Done means you have a restorable backup and a written note of where it is stored and who can access it.
Confirm you run the covered hobby deployment
The upgrade-hobby script covers PostHog's free Docker Compose hobby deployment, which PostHog installs with its deploy-hobby script. Confirm that your instance matches that setup by checking how it was installed. Kubernetes and Helm support for the open source product has ended and Helm chart releases are sunsetted, so a Kubernetes or Helm install needs a different plan. Done means your team has written confirmation of the deployment type. PostHog states that self-hosted deployments are officially unsupported and that it offers no customer support for them, so keep that in mind when you plan the change window and fallback.
Run the upgrade-hobby script to the recommended version
Run the upgrade-hobby script from PostHog's self-host documentation, targeting the latest version PostHog recommends. Schedule the run with the people who depend on the instance and watch the script output until it finishes. Take the exact commands, flags and script paths from PostHog's self-host docs, because these can change between releases. Done means the script exits without errors and every container you expect is running. If the script reports an error, stop and use the backup from the earlier step rather than retrying blindly.
Verify against a checklist written beforehand
Write the verification checklist before the change starts. This step is DeployOpen's recommendation, and PostHog's documentation does not prescribe it. Include items such as the web app loads, administrators can sign in, event ingestion and feature flag evaluation return expected results, session replay and surveys still work, and the backup from the earlier step opens. Run each item against the upgraded instance and record pass or fail. Done means every item has a recorded result, and any failure leads to a documented decision about rollback.
How the upgrade sequence and rollback points connect
The diagram starts by confirming both releases. Instances on 1.49.x or older must finish async migrations before upgrading, so that branch runs first. The pre-upgrade backup is the rollback point and is taken before the upgrade-hobby script runs. A verification step then decides the outcome: a passing check ends the change, and a failing check restores the pre-upgrade backup. PostHog does not document a rollback procedure, so the restore branch is DeployOpen's recommended approach. Confirm the verification checks against your own events, feature flags and recordings before you close the change.
Upgrade sequence with the pre-upgrade backup as the rollback point.
Which documented changes affect a PostHog major version upgrade
Four documented changes shape an upgrade plan, and each depends on how your install is hosted, how old it is, or how much traffic it handles. Settle deployment method, migration state, support path and event volume before you choose a target version. This page lists no application-level API breaking changes, so check the release notes for each target release on GitHub.
Kubernetes and Helm support ended
PostHog says Kubernetes and Helm support for its open source product has ended, and its Helm chart releases are sunsetted. An install that runs through a chart cannot follow the same upgrade steps as a Docker Compose install, so the plan has to start with the deployment method. Teams on Helm must confirm their path with PostHog before planning the upgrade. Ask which chart release is the last one, whether a supported successor exists, and what manifest changes the target version needs.
Async migrations on 1.49.x and older
Instances on PostHog 1.49.x or older must finish their async migrations before upgrading. Long-lived installs, especially those upgraded in place over several years, are the most likely to have unfinished migrations, which makes them the first blocker in the project. Check async migration status before you schedule the upgrade window. Confirm your installed version, list any migrations still pending, and treat an unfinished migration as a stop condition. Use PostHog's self-host documentation to confirm how to read migration status for your version.
Self-host docsNo paid support for self-hosted
PostHog's self-host documentation says self-hosted instances are officially unsupported, and PostHog offers no paid support plans for them. It also does not provide customer support for product or infrastructure questions on self-hosted instances. When an upgrade fails, the call goes to your own team or to a partner you have contracted. Before the window opens, name who owns rollback, who reads the logs and who signs off on the target version. Ask any outside partner, such as DeployOpen, to put upgrade failure coverage, backups and retainer hours in writing.
Volume check before upgrading
PostHog's README says open source deployments should scale to about 100k events per month and recommends PostHog Cloud above that. The self-host page points to Cloud at about 300k events, 1k recordings or 300k flags API calls, so the two thresholds differ and you should confirm which one applies to your version. The upgrade is a natural point to re-check current event volume. Pull a recent monthly count across events, recordings and flag calls, then decide whether the target version still fits your hosting plan or whether a move to PostHog Cloud belongs in the same project.
PostHog READMEHow to prepare a PostHog major version upgrade by environment
The hobby deployment is a free Docker Compose setup under the MIT license, usually installed on a single Ubuntu VM. PostHog recommends a server equivalent to about 4 vCPU, 16 GB RAM and more than 30 GB of storage, and it upgrades hobby installs with the upgrade-hobby script. PostHog recommends staying on the latest version and backing up first, so treat the change as a rehearsal before it touches production. Preparation should produce a staging copy you can upgrade without affecting users, a snapshot of the host taken just before the change, and a backup you have restored successfully at least once.
- Staging copy: Build a second VM with the same configuration, restore a recent backup into it, and run
upgrade-hobbythere first. - Host snapshot: Take a VM or disk snapshot immediately before the change so you can roll back the host as well as the application data.
- Application backup: Run a full backup and confirm it restores into staging with the same projects, feature flags and dashboards.
- Async migrations: If the instance runs 1.49.x or older, confirm async migrations have finished before you start the upgrade.
- Storage headroom: Check free disk against the 30 GB minimum, because the upgrade and the backup both need space.
Before you schedule the production window, confirm that the staging upgrade and the restore both complete without manual fixes.
PostHog's self-host documentation says Kubernetes and Helm support for its open source product has ended and that Helm chart releases are sunsetted. It also says new Kubernetes deployments of its paid self-hosted product are no longer supported. That changes the order of work: before you plan any upgrade steps, ask PostHog directly whether an upgrade path for your existing Helm install is still open to you and what that path covers. If the answer is no, the job becomes a migration project with its own scope, timeline and rollback plan.
- Path confirmation: Get PostHog's position on your chart version and your target release in writing before you spend planning time.
- Version inventory: Record the chart version, image tags, and the Kubernetes version your clusters run.
- Stateful services: List the databases and storage the release depends on, and where each backup is kept.
- Support gap: Plan as if no vendor support is available, because PostHog does not offer customer support for questions about self-hosted instances.
- Exit route: Include a move to PostHog Cloud as an option in the same review, so the decision is not made by default.
Do not schedule a cluster change until PostHog's answer is documented and your team has rehearsed the rollback in a non-production cluster.
The PostHog README says open-source deployments should scale to approximately 100k events per month and recommends migrating to PostHog Cloud above that level. The self-host page gives a different set of thresholds, suggesting PostHog Cloud for volumes above about 300k events, 1k recordings or 300k flags API calls. Because the two sources set different limits, ask PostHog which one applies to your workload. For high-volume instances, the upgrade cost is mostly team time, the risk of a long migration on a large dataset, and the cost of running the instance afterward. Get current prices from PostHog pricing and compare them with your own measured volumes.
- Volume measurement: Measure monthly events, recordings and flags API calls over a full billing cycle, not a single busy week.
- Migration timing: Run the migration on a copy of your largest dataset to estimate the downtime window, then agree that window with dashboard and flag users.
- Flag evaluation: Verify that feature flag evaluation returns the same results in staging, since flags sit on live request paths.
- Replay storage: Check storage growth from session replay and confirm that your backup size and restore time still fit your recovery plan.
- Cloud comparison: Compare the upgrade effort and ongoing run cost with a move to PostHog Cloud, including the work to export data out of the self-hosted instance.
Confirm which threshold PostHog applies to your account before you commit team time to running this instance through a major upgrade.
Integrations are where upgrades tend to fail quietly. SDK calls, webhooks, reverse proxy rules and custom code all depend on endpoints, payload fields and behavior that a major release may change. PostHog's published documentation does not describe plugin compatibility for a given release, so you need to confirm compatibility for each component yourself. Build a complete inventory first, then test each item against the target release in staging before anything reaches production.
- SDK inventory: List every client SDK, its version, and the websites or apps that load it.
- Webhook and API consumers: List each system that receives PostHog webhooks or calls its API, along with the payload fields it reads.
- Reverse proxy: Record proxy rules, headers and TLS settings, then test event ingestion through the proxy after the upgrade.
- Plugins and custom code: Identify every plugin, transformation or patch you run, and confirm each one against the target release in staging.
- Named owners: Assign one owner to each integration so that someone signs off on compatibility before cutover.
Keep a dated record of who verified each item and against which release, so the sign-off can be reviewed later.
How to test and roll back a PostHog upgrade when no rollback path is documented
The rollback plan for a PostHog upgrade is a tested backup restore that you define, run and time yourself. PostHog's self-host documentation advises backing up before you upgrade, and the hobby upgrade script guidance says the same, but it does not document a procedure for returning to the previous major version. Treat downgrade as unsupported until PostHog confirms otherwise in writing, and plan on that basis. Self-hosted instances are officially unsupported and PostHog offers no paid support plans for them, so no vendor will guide your team through a restore during an incident. Your runbook should name the backup method, where the backup is stored, who runs the restore and how the team confirms the restored instance is healthy.
Test the upgrade on a staging copy restored from a production backup, so the data shape matches production. Run the upgrade on that copy first, then check each area your team depends on. Send test events from every SDK version in use and confirm they arrive in the expected project with the expected properties. Open the core dashboards and insights and compare figures with production for the same window, allowing for events that arrived after the backup was taken. Evaluate a set of feature flags for test users and confirm the results match what your applications receive. Play back a sample of session recordings. Finally, check every alert, scheduled export and downstream job that reads PostHog data, since these often fail quietly when a field or endpoint changes. Record each result as pass, fail or accepted difference.
Before the production window, the analytics owner should sign off the staging results in writing. The sign-off should list the checks that passed, the ones that failed or changed, any accepted differences, and the decision to proceed or hold. During the change, record the start and end times of the backup, the upgrade and the verification, the PostHog release version before and after, and the backup identifier the restore would use. Restore timing depends on instance size and backup method, so do not plan around a figure from someone else's environment. Measure a full restore time on staging using the same backup method and storage you will use in production, then schedule the production window around that measurement plus verification. Confirm with your infrastructure team how backups are taken and where they are kept before you start that measurement.
What buyers ask before a PostHog upgrade: cost, time and effort
What does a PostHog major version upgrade cost in practice?
Most of the cost is internal time, plus the staging and backup capacity needed to upgrade safely. PostHog offers no paid support plans for self-hosted instances, so there is no vendor support fee for the upgrade. Budget for these parts:
- Engineer time for planning, the staging run, the production window and post-upgrade checks.
- Staging infrastructure, ideally close to production size. PostHog's hobby guidance lists about 4 vCPU, 16 GB RAM and more than 30 GB of storage.
- Backup storage for a full backup taken before you start, held until the upgrade is verified.
- Outside help, if you buy it, under a written fixed scope.
One-time costs are the first upgrade and its runbook. Recurring costs are each later upgrade and the staging environment you keep. DeployOpen does not publish prices. A quote follows from the written scope, so ask for each line above to be listed.
How long does a PostHog major version upgrade take?
No duration is documented for this upgrade, so the answer depends on your setup. Four drivers set the time: the size of your migration backlog, the volume of data in the database, the number of integrations that send data to or read from PostHog, and the number of environments you must validate. An instance on 1.49.x or older with async migrations still pending must finish them first, which can add time before the upgrade itself starts. A single hobby VM with a verified backup and few integrations is likely the simplest case. Ask any provider, including DeployOpen, to put a timeline in the written scope with the assumptions behind it listed, then check those assumptions against your own environment before you accept it.
What does a PostHog upgrade need from our team?
Your team must provide host access, backup storage, a staging copy, a sign-off owner and a change window. In practice:
- Administrative access to the host running your PostHog deployment and its configuration.
- Backup storage with enough room for a full backup, plus a restore you have tested.
- A staging copy that mirrors production configuration, so test results mean something.
- One named owner who signs off test results and makes the go or no-go call.
- An agreed change window with the teams that depend on PostHog, since analytics, session replay and feature flags may feed live products.
If any item is missing, treat the upgrade as blocked until it is in place.
Can our own team upgrade PostHog without outside help?
Yes, for a simple hobby install that follows the documented script, if someone on your team is comfortable with Docker and Linux. PostHog's upgrade-hobby script covers that path, and PostHog recommends backing up first and staying on the latest version. The job gets harder on Kubernetes or Helm, since PostHog says Kubernetes and Helm support for its open source product has ended and Helm chart releases are sunsetted. It also gets harder with pending migrations, many integrations or production analytics that feed business decisions. PostHog offers no paid support for self-hosted instances and does not offer customer support for product or infrastructure questions there, so your team owns every troubleshooting step, including rollback. Settle that ownership before the change window opens.
When should we bring in outside help for a PostHog upgrade?
Bring in outside help when the upgrade carries risk your team cannot absorb in its own time. The clearest triggers are:
- Helm-based installs, since Kubernetes and Helm support for the open source product has ended.
- Instances on 1.49.x or older with pending async migrations, which must finish before the upgrade.
- Production analytics that feed business decisions, where a failed migration has a direct cost.
- No tested restore, meaning no backup you have actually restored somewhere else.
DeployOpen plans, backs up, upgrades, documents and supports self-hosted open-source platforms inside your own infrastructure, including cloud accounts, data centers and air-gapped networks, under a written fixed scope. Most engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts. Use the scope to confirm who owns rollback and post-upgrade support.
Would PostHog Cloud remove the upgrade work entirely?
Moving to PostHog Cloud removes the self-hosted upgrade work, but it changes who is responsible and it is a separate decision with its own cost. PostHog's self-host guidance suggests Cloud once volumes pass about 300k events, 1k recordings or 300k feature flag API calls. Cloud has its own pricing, so compare it with the engineer time, staging and backup costs you would otherwise carry. Confirm with PostHog which upgrade tasks it takes on under Cloud and which stay with your team, such as SDK updates and your own integrations. Make the hosting decision before an upgrade is scheduled, not during one.
How DeployOpen plans and runs PostHog upgrades
DeployOpen plans PostHog major version upgrades as fixed-scope projects inside your own infrastructure. PostHog's self-host documentation states that self-hosted instances are officially unsupported and that PostHog offers no paid support plans for them, so the upgrade plan, test evidence and rollback path need to be written down before work starts. Scope, deliverables and timelines are agreed in writing, and ongoing upgrades can follow under a retainer.
How we scope
- Written scope names the PostHog version you run now and the target major version.
- Scope lists every deployment in the upgrade, including Docker Compose hobby installs and any Kubernetes or Helm setups.
- Scope checks whether your instance is on 1.49.x or older, which must finish async migrations first.
How we build
- Build work covers a staging copy of your instance, restored from backup, to rehearse the upgrade.
- Testing covers event ingestion, feature flags, session replay and surveys, the product areas you depend on.
- Premium features from the ee directory are checked against your PostHog license before cutover.
How we hand over
- Handover includes a written runbook for the upgrade, rollback steps and the backup restore test.
- Deliverables include test results, the version change record and a list of open risks with owners.
- Rollback steps are rehearsed on staging before cutover, so your operators have run them at least once.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover.
- Self-hosted PostHog has no vendor support, so ask who answers production issues after cutover.
- If volumes exceed the levels PostHog's self-host page suggests, compare PostHog Cloud before upgrading.

