Why CKAN upgrades and support need a plan before the next release
A CKAN portal owner has to stay on a supported minor version, because the CKAN tech team fixes only the latest minor version and the one before it. Upgrades and support are the work that keeps a portal on one of those two lines, covering patch rollouts, minor-version upgrades, extension compatibility, and the Solr and Python changes that come with them. Most organizations handle routine patching in-house and bring in a partner for the minor-version jumps and for ongoing support, but the split depends on how many custom extensions the portal runs and how much the team has done an upgrade before. Confirm with your own team which side of that line you sit on before the next release is announced.
The triggers are usually one of four things: a new patch release, a new minor release, an extension that has fallen behind, or a platform change such as a Python or Solr requirement. Patch releases are designed not to break backwards compatibility and contain no schema changes or new features, so they are the routine step. Minor releases can include backwards-incompatible changes, so each one needs a test pass against your extensions, your theme and your DataStore setup before it reaches production. CKAN 2.12.0 was released on August 26, 2026, alongside maintenance releases 2.11.6 and 2.10.11 on the same day, so a portal on 2.11 or 2.10 should already be planning the patch step and checking whether the next minor will affect it. Read the CKAN releases policy to confirm the current support window before you set a schedule.
The practical first step is an inventory: the CKAN version and patch level in production, every installed extension with its version and the CKAN versions it supports, the Python and Solr versions in use, and who owns each item. Then decide who applies patches, who tests minor upgrades, and how much time the business will accept for a maintenance window. Ask any partner for a written scope that names the patch cadence, the test environment used for minor upgrades, and how extension compatibility is checked, because those items drive most of the effort in a quote.
What a CKAN upgrade and support engagement includes
An upgrade and support engagement keeps a CKAN portal on a supported minor version and keeps its extensions, search index and runtime working through each change. The cards below cover the components that usually sit in the written scope, from routine patching to the handover that lets your team run the portal after the engagement ends.
Patch maintenance
Applying the latest patch of your current CKAN minor version and the previous minor version, since older patch releases lose support once a newer patch is out. Patch releases do not break backwards compatibility and exclude schema changes and new features, so they are the lowest-risk changes in the cycle. The scope should state which hosts are patched, how the staging check is run, and who approves the production change.
- Supported minor versions
- 2
Minor version upgrades
Moving the portal from one minor version to the next, which can include backwards-incompatible changes that touch templates, plugin interfaces and configuration. Each upgrade plan should list the target version, the database migration steps, and the rollback point. Confirm whether the work includes a full staging rehearsal before production.
CKAN releasesExtension compatibility review and porting
Checking each installed extension against the target CKAN version and porting the ones that break. Third-party extensions often lag behind core releases, so this item can decide the schedule. Ask for a list of every extension, its version, its maintainer status, and a plan for any extension that has no compatible release.
ckanext-dcatSolr, Redis and Python dependency changes
Aligning the search index, cache and runtime with what the target version requires. CKAN source installs need Python 3.10 or newer, PostgreSQL 12 or newer, and Solr 9 (recommended) or Solr 8, with Redis. A version change in any of these can require reindexing or a schema update, so the scope should name the dependency versions before and after the change.
Install from source docsPost-upgrade verification of DataStore and XLoader
Testing that the DataStore Data API, the read-only database user and XLoader still load and query resources after the change. Verification should use a fixed set of test datasets, cover uploads and linked files, and compare search results and query output before and after. Confirm that DataPusher is not still in use, since XLoader is the officially supported loader.
DataStore docsWritten handover and runbook
A document that records the deployed versions, the patch and upgrade procedure, backup and restore steps, extension inventory, and the known issues found during the engagement. The runbook should be tested by the client's team against a staging copy so that the handover is confirmed in practice. Ask for the handover format and who receives it before work begins.
What drives the cost and duration of a CKAN upgrade
This table lists the factors that most change the effort of moving a CKAN portal to a supported minor or patch release, why each one adds work, and how to reduce it. Read it before requesting a quote, because the same target version can take very different effort depending on the extensions, data services and evidence requirements in place.
| Driver | Why it adds effort | How to keep it down |
|---|---|---|
| Custom and third-party extensions | Each extension must be checked against the target CKAN version, and minor releases may include backwards-incompatible changes that break plugin code. | Inventory every extension, remove unused ones, and prefer maintained upstream versions before the upgrade starts. |
| ckanext-dcat use | The extension is supported on CKAN 2.10 and 2.11, so the target version must fall within its supported range and DCAT-AP profile output must be retested. | Confirm the extension version for the target release early and retest harvesters and RDF endpoints against a sample of records. |
| ckanext-saml2auth use | Single sign-on, role mapping and sysadmin lists must be retested against the identity provider after the core and plugin changes. | Keep a test identity provider or test users so login, attribute mapping and organization assignment can be verified in staging. |
| DataStore and XLoader usage | DataStore tables, the read-only database user and XLoader job handling must keep working, and large resources may need reloading to validate results. | Limit validation to representative resources, and confirm that DataPusher is not still in use because it is legacy. |
| Theming and templates | Template overrides and custom CSS often break when core templates change between releases, and each page must be reviewed by hand. | Keep overrides minimal, list every changed template, and review key pages such as dataset, organization and search screens. |
| Number of environments | Development, test, staging and production each need the same build, data and checks, so effort multiplies with the number of copies. | Automate environment builds from one configuration and promote the same artifact through each stage. |
| Solr version and index size | Solr 9 is recommended and Solr 8 is also supported, so moving between them or rebuilding a large search index adds time and resource needs. | Confirm the Solr version required by the target release, then plan index rebuild time and disk space against the current index size. |
| Python and database changes | Installing CKAN from source requires Python 3.10 or newer and PostgreSQL 12 or newer, so older hosts may need new runtimes before the upgrade. | Check the host runtimes against the target release requirements and schedule operating system changes separately from CKAN changes where possible. |
| Compliance evidence needs | Assessors may ask for change records, test results, backup proof and patch history, which takes time to assemble in addition to the technical work. | Record each test result, change and rollback point as the upgrade proceeds, and agree the evidence list in the written scope. |
How a CKAN minor version upgrade runs from assessment to handover
The sequence moves a CKAN portal from its current minor version to a supported target through inventory, compatibility review, a rehearsal on production-like data, and tested cutover, ending with a documented handover the client's team can operate. Each phase closes with a written output the client can review before the next phase starts.
Inventory the running version, extensions and dependencies
The team records the exact CKAN version and patch level, every installed extension with its version and source, the Python, PostgreSQL, Solr, Redis, uWSGI and Nginx versions, the custom theme and any scheduled jobs such as harvesters. The client confirms which portal instances, DataStore databases and identity provider connections are in scope. The phase is done when the client signs off a written inventory that matches the live servers, because every later decision depends on it.
Assess compatibility against the release notes
The team reads the release notes for each minor version between the current release and the target, and checks each extension against the target CKAN version using the extension's own compatibility statement. Minor releases may include backwards-incompatible changes, so the review focuses on removed or changed APIs, template changes, plugin interface changes and dependency requirements. The output is a compatibility matrix listing each extension as compatible, needs a patch, needs replacement, or is retired, with the Solr and Python changes that apply to the environment.
Rehearse the upgrade on a copy of production
The team builds a staging environment from the same infrastructure definitions as production, restores a recent copy of the production database, search index and DataStore, and runs the upgrade there, including any database migrations and extension patches. Solr is rebuilt and reindexed against the new schema, and the team records each command and each change needed to finish. The phase is complete when the upgrade runs end to end on staging without manual intervention beyond the recorded steps, and the runbook reflects exactly what was done.
Test DataStore, harvesting and SSO
Testing covers the functions the portal's publishers and users depend on most: DataStore uploads through XLoader, the Data API and SQL queries under the read-only database user, harvest jobs against their sources, DCAT endpoints if they are in use, and login through the identity provider, including organization and role mapping. The client's business users run their own acceptance scripts for their datasets. The output is a signed test record listing each case, its result and any open defects with an agreed disposition.
Plan the cutover and the rollback
The team writes a cutover runbook with the order of steps, the maintenance notice, the database and index backups taken immediately before the change, the point of no return, and the criteria for rolling back. Rollback is tested on staging, so the team knows how long restoring the previous version takes and which data written during the window would need reconciling. The client approves the plan and the window in writing before production is touched.
Cut over to production and verify
The team runs the cutover runbook on production, confirms that the new version, extensions, Solr index and DataStore are healthy, and repeats a short subset of the staging tests against live data. Monitoring, logs and scheduled jobs are checked for errors over the first period of operation. The phase closes when the client confirms the portal is working for publishers and public users, and the team records the final versions in the inventory.
Hand over the portal and the support plan
The team delivers the updated runbook, the compatibility matrix, the test record, the backup and restore procedure, and a note on which extensions still need attention in the next minor release. The client's staff are trained on the changed areas and on how to apply the next patch release. Support terms for the period after handover, such as patch releases, security fixes and troubleshooting, are agreed in a written contract. The phase is done when the client's team accepts the handover documents.
A new CKAN release reaches production only after staging checks pass
The path starts when a new patch or minor release is published and the team confirms which supported line the portal runs on. Each release then passes an extension check, where custom and third-party extensions are tested against the new CKAN version, followed by a staging rebuild that checks the Solr, PostgreSQL and Python versions the release requires. Tests in staging decide between a production cutover and a rollback to the last known good build, so the team should confirm both paths before the window opens.
Release path from a new CKAN version to production or rollback.
Which upgrade tasks teams keep in-house and which they outsource
This table compares common CKAN upgrade and support tasks, the skills each one needs, and where teams usually keep the work versus hand it to a partner. Read each row as a question: who already has the skill, who will be on call when a patch ships, and who owns the decision when a minor release changes behavior. The main takeaway is that release monitoring and publisher communication are easy to keep in-house, while extension compatibility and Solr or Python changes need specialist depth that many portal teams do not have.
| Upgrade task | Skills needed | Usually kept in-house when | Often outsourced when |
|---|---|---|---|
| Release monitoring and patch triage | CKAN release policy, changelog reading, basic Linux | A named owner reads each patch release and schedules it | No one on staff tracks CKAN releases or the upgrade calendar |
| Staging environment ownership | Linux administration, Docker or VM management, Nginx and uWSGI | The team already runs staging for other web services | Staging does not match production hosting, Solr or DataStore setup |
| Extension maintenance | Python and CKAN plugin development, reviewing third-party code | Custom extensions are few and written by staff who still work on the portal | Several extensions such as ckanext-dcat or ckanext-saml2auth need checks against each new minor version |
| Solr upgrades | Solr operations, index schema changes, reindexing | The team has run Solr in production and can rebuild the index | Solr versions must be matched to the CKAN release and no one has tested a reindex |
| Python and PostgreSQL changes | Python packaging, PostgreSQL administration, dependency pinning | Staff already maintain Python services on the same hosts | Minimum Python or PostgreSQL versions change and dependencies conflict with extensions |
| DataStore and XLoader testing | PostgreSQL administration, read-only user permissions, data loading tests | The team has tested DataStore loads after a previous upgrade | Uploads and loads have not been tested end to end since the last upgrade |
| Publisher communication | Clear technical writing, knowledge of publisher workflows | Portal staff already support publishers and can explain changes | The portal serves many publishers and needs scheduled notices and a support queue |
What usually goes wrong when a CKAN portal falls behind
A CKAN portal rarely fails in one dramatic step. It drifts: a patch is skipped, an extension is left pinned to an old minor, or the Solr and Python baseline quietly moves out from under the code. The cards below cover the risks we see most often and the check that prevents each one.
Skipping a newer patch release
CKAN supports only the latest patch of the current minor version and the previous minor version, and an outdated patch loses support once a newer one is out. Patch releases do not break compatibility or add schema changes, so they are the cheapest fixes to apply. Prevent this by subscribing to the CKAN releases feed, scheduling a monthly patch window, and recording the running version of every instance in your runbook.
- Minor versions supported
- 2
Extensions that break on a new minor
Minor releases may include backwards-incompatible changes, and custom or third-party extensions often fail first. Harvesters, theming and schema plugins are the usual casualties. Prevention means keeping an inventory of every extension with its pinned version, running each one against the next minor in a staging copy with production-like data, and confirming a compatible release exists before the upgrade is scheduled.
Solr schema and version mismatch
Search depends on a Solr version and a schema that CKAN expects. A Solr upgrade or a hand-edited schema can silently break indexing or search results, and the portal may look healthy while datasets are missing from search. Check that the Solr version matches what the target CKAN release documents, rebuild the search index after the upgrade, and run a set of known-dataset search queries as an acceptance test.
Python runtime drift
CKAN source installs require Python 3.10 or newer, and operating system updates often change the default interpreter or system libraries. When the runtime moves without a matching virtual environment rebuild, extensions can fail on import at the next restart. Pin the interpreter in your build, rebuild environments from locked requirements, and treat an OS package upgrade as a change that needs its own test run.
Install from source docsUntested DataStore read-only user
The DataStore separates a write user from a read-only user, and the read-only role is what keeps the public Data API from changing data. After an upgrade, new tables or permission changes can leave that role with the wrong grants, or with access it should not have. Re-run the permission checks after every upgrade: confirm the read-only user can query, cannot write, and cannot reach tables outside the DataStore.
DataStore docsNo tested rollback path
A failed upgrade that cannot be reversed turns a maintenance window into an outage. Rollback needs a database backup taken immediately before the change, a copy of the previous code and virtual environment, and a documented order of steps. Ask for the rollback procedure in any support proposal, and rehearse it on a staging copy before the production date rather than assuming the backup restores cleanly.
How upgrade and support work differs by starting point
A portal already on CKAN 2.10 or 2.11 is in the most predictable position. CKAN supports the latest patch of the current minor version and the previous minor version, so a portal on either line can stay within the support window with routine patch releases and, when the time comes, a planned minor upgrade. Patch releases do not break backwards compatibility and carry no schema changes or new features, so they are usually the lowest-risk work. Minor releases can include backwards-incompatible changes, which is where extension testing and migration planning matter.
- Patch cadence: Confirm how quickly the current patch is applied in your environment and who approves it.
- Minor upgrade timing: Plan the move from 2.10 or 2.11 to the next minor line before the current line leaves the support window.
- Extension compatibility: Check each installed extension against the target minor version before scheduling.
- Solr and Python: Confirm the Solr and Python versions required by the target release.
- Backups: Verify that database and file backups restore cleanly before any change.
Confirm first: the exact running CKAN version, the installed extensions with their versions, and whether a staging copy of the portal exists for rehearsal.
A portal on an older 2.x release has usually fallen outside the support window, so it no longer receives security or bug fixes from the tech team. The first step is not a routine patch but a path to a supported line, which can involve more than one minor upgrade. Each step may carry backwards-incompatible changes, and the gap between the current release and the portal's version determines how much testing and data work is needed. Because the portal is outside support, the exposure during the wait is a real planning input for security and leadership.
- Gap assessment: Record the exact version and list every minor step between it and a supported release.
- Stepwise upgrade: Plan intermediate upgrades in a staging environment rather than jumping directly.
- Security exposure: Document the period the portal has run without fixes and the compensating controls in place.
- Infrastructure: Check whether the host OS, PostgreSQL, Solr and Redis versions still meet the target requirements.
- Data validation: Compare record counts, DataStore tables and harvested sources after each step.
Confirm first: the exact version in production, whether any local patches or forks exist, and the team's tolerance for a staged multi-step program.
A portal with many custom or third-party extensions has an upgrade cost driven mostly by code, not by the core platform. Each extension must be checked against the target minor version, and extensions that depend on changed internal interfaces may need rewriting or replacement. Some extensions are maintained by the community, others by a single vendor or a former developer, and their maintenance status varies. Patch releases are generally compatible, but minor releases are where extension breakage tends to appear.
- Extension inventory: List every extension, its source, its version and its owner.
- Compatibility review: Test each extension against the target release in a staging environment.
- Forked code: Identify any core or extension code modified in place, since it will need re-applying or re-testing.
- Abandoned extensions: Decide whether to replace, rewrite or retire extensions without active maintenance.
- Test coverage: Confirm which portal functions have automated or scripted checks for regression testing.
Confirm first: which extensions are business-critical, whether custom code is in version control, and who will own extension fixes after the upgrade.
Air-gapped and Kubernetes deployments change how upgrades are delivered, not what CKAN requires. An air-gapped portal cannot pull packages, container images or Solr and Redis images from the internet during a patch, so every artifact must be mirrored, verified and transferred through an approved process. A Kubernetes deployment adds container image builds, rolling update behavior and persistent volume handling for Solr and the DataStore database. The install guide covers source installs on Ubuntu and other Linux distributions, and Solr and Redis can run from Docker images tagged per CKAN version, which helps mirror planning.
- Artifact mirroring: Prepare a repository of packages, images and dependencies for each target release.
- Image tagging: Pin Solr and Redis images to versions that match the CKAN release in use.
- Rolling updates: Confirm how database migrations run during a rolling update and who runs them.
- Storage: Verify persistent volumes for Solr indexes and file uploads survive pod or node replacement.
- Change approval: Build the approval window for transferring artifacts into the restricted network.
Confirm first: whether the environment can import artifacts on a fixed schedule, which orchestration platform is in use, and whether the support contract covers image builds as well as code.
A portal still using DataPusher is on a legacy path. The DataStore documentation names XLoader as the officially supported tool for loading uploaded or linked files into the DataStore, while DataPusher is now legacy. Moving to XLoader changes the job runner, the dependencies and how failed loads are diagnosed, so it is a planned change, not a configuration toggle. Existing DataStore tables and resources should be checked after the switch, because loads that previously succeeded may behave differently.
- Replacement plan: Confirm which resources depend on DataPusher loads and schedule the switch with them.
- Job runner: Verify that the background worker and its queue run correctly after the change.
- Reload testing: Re-load a representative set of CSV and spreadsheet resources and compare results.
- Failed jobs: Define how load failures are monitored, retried and reported to publishers.
- Read-only access: Confirm the DataStore read-only user still has the grants the Data API needs.
Confirm first: how many resources use DataStore, which file formats publishers upload, and whether the support contract includes DataStore and XLoader troubleshooting.
What an ongoing CKAN support contract covers and what it does not
A fixed-scope upgrade and a retainer answer different questions. A fixed-scope upgrade moves one portal from one version to another, with the scope, deliverables and timeline agreed in writing before work starts. A retainer buys ongoing attention: applying patch releases, watching for new releases, and checking extensions against each release for as long as the contract runs. If your portal sits on a minor version that is close to the end of support, a one-time upgrade may be the first step, and a retainer the way to stay current afterwards. Ask which of the two you are buying and what happens at the end of each term.
Patch application is the most routine part of a retainer and the easiest to scope badly. CKAN patch releases are meant to avoid backwards-incompatible changes, schema changes and new features, but the contract should still say how each patch is tested, which environments receive it first, and who signs off the production change. Monitoring of new releases covers the minor and patch announcements on the CKAN releases page and the release policy, along with notices for each installed extension. Extension compatibility checks need a named list of extensions, such as ckanext-dcat and any custom code, with a stated process for what happens when an extension has not yet been updated for a new minor version.
Incident response, continuous testing and the commercial terms are where contracts differ most. Confirm whether incident response covers Solr, Redis, PostgreSQL and the DataStore, or only the CKAN web application, and whether it covers after-hours work. Continuous testing may mean scheduled regression runs or security checks; define the frequency and the report format. Response commitments, service levels and the price are agreed in writing, and DeployOpen does not publish a price list, so a quote follows from the written scope. Ask for exclusions in writing too, including new features, data repair, and work on infrastructure you own.
CKAN upgrade and support questions buyers ask
How much does a CKAN upgrade cost?
No supplied figure sets a price for a CKAN upgrade, and DeployOpen does not publish a price list, so the cost comes from a written scope. The main drivers are the number of minor versions you are crossing, how many custom extensions and themes you run, how much of your DataStore and Solr setup must be re-tested, and whether your environment is in a regulated network with change-control steps. Ask any quote to split one-time upgrade work (assessment, testing, cutover, rollback plan) from recurring work (patch intake, monitoring, retainer hours). Ask who is paid for third-party extension fixes and for staging infrastructure.
How long does a CKAN upgrade take?
The duration depends on the distance between your current release and the target, the state of your extensions, and how much testing your organization requires before go-live. No supplied fact gives a duration, so confirm the timeline in the written scope rather than relying on a generic number. Extension compatibility checks and a staging rehearsal usually take the most time. Ask for milestones: inventory, staging upgrade, test pass, cutover window and post-upgrade review.
Can our own team upgrade CKAN without a partner?
Yes, if your team has Linux, PostgreSQL, Solr, Redis and Python skills and can test in a non-production copy of the portal. CKAN publishes installation and release documentation, and patch releases are designed not to break backwards compatibility. Minor releases can include backwards-incompatible changes, so the harder part is usually your custom extensions, theme and any Solr or Python changes. Judge your team against that list, then decide which parts to keep in-house.
What happens when a new CKAN minor version is released?
CKAN targets about two minor releases a year, and the project supports the latest patch of the current minor version and the previous minor version for security and bug fixes. Once a minor version falls outside that window, it no longer receives fixes, so you need a plan to move forward. Watch the CKAN releases page, schedule a staging test for each new minor release, and plan the production move within the support window. Remember that a newer patch replaces an older one, so outdated patch releases lose support.
Do ckanext-dcat and ckanext-saml2auth need upgrades with CKAN?
Usually yes, because extensions must match the CKAN version you run. The ckanext-dcat extension is documented as supported on CKAN 2.10 and 2.11, and ckanext-saml2auth is documented for CKAN 2.10 and later, so confirm each extension's current compatibility matrix before you choose a target version. Check the extension release notes, test DCAT endpoints and harvesters, and test SAML2 login with your identity provider after every upgrade. Treat any extension without a release for your target version as a blocking item in the scope.
What must our team provide for an upgrade?
Your team typically supplies access to the current production and staging environments, a copy of the database for testing, a list of installed extensions and their versions, custom code and theme repositories, and the change window approved by your owners. You also provide the business owners who sign off on test results and the identity provider contact if SSO is involved. Confirm these items in the written scope so testing does not stall on access requests.
Do we need a support retainer after the upgrade?
A retainer is optional. It is useful when you want someone to watch release announcements, apply patches inside the support window, test extensions, and respond when something breaks. Without one, you must staff those tasks internally or buy them as separate work. Ask any retainer quote which tasks, response expectations and hours are included, and whether upgrades to the next minor version are covered or billed separately. DeployOpen offers ongoing support and upgrades as retainers, and the terms are set in writing.
How DeployOpen scopes, delivers and supports CKAN upgrades
DeployOpen approaches CKAN upgrades as a written, fixed-scope engagement inside your own infrastructure, whether that is your cloud account, data center or air-gapped network. The work covers the core platform, the extensions you run, and the supporting services, with documentation and a handover your team can operate.
How we scope
- Inventory the running CKAN version, installed extensions, Python version, PostgreSQL, Solr and Redis versions, and hosting layout.
- Map each extension to a version that supports the target CKAN release, and flag any that need replacement or patching.
- Agree deliverables, test environments, cutover approach and rollback steps in writing before any work starts.
How we build
- Stage the upgrade in a non-production copy of the portal, including a restored database and a current search index.
- Test DataStore loading with XLoader, harvesting jobs, DCAT endpoints and SSO logins against the upgraded instance.
- Rebuild Solr and Python dependencies for the target release and record every configuration change in version control.
How we hand over
- Document the upgrade path, configuration changes, known issues and the post-upgrade test results for your team.
- Walk your operators through the patch cadence, backup restore steps and how to apply future maintenance releases.
- Provide a rollback plan and confirm that backups and restore procedures work before the production cutover.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers, scoped in writing like the original engagement.
- Retainers can track the current and previous minor releases so patch releases are reviewed and applied on a set schedule.
- Confirm with DeployOpen which response, testing and upgrade commitments are included in any retainer before you sign.

