CKAN 2.9 to 2.10 upgrade

A practical plan for leaving the unsupported CKAN 2.9 line for 2.10, including theme, extension and data-loader changes, and how to plan the move on to 2.11 or 2.12.

On this page

Why a CKAN 2.9 portal needs a 2.10 upgrade now

If your portal runs a 2.9 release, 2.9 is no longer the supported line, and the move off it is a planned upgrade, not a patch. CKAN's release policy supports the latest patch of the current minor version and the previous minor version, with security and bug fixes limited to those. Once the project's current minor line moved past 2.9, the 2.9 branch fell outside that window. Confirm the exact minor version your portal runs with ckan --version on the server and compare it against the CKAN releases policy before you scope the work, because the answer determines how many steps your move needs.

Patch releases cannot close this gap. CKAN patch releases do not break backwards compatibility and exclude schema changes and new features, while minor releases may include backwards-incompatible changes. A move from 2.9 to 2.10 is a minor-line change, so the 2.9 patch you run today will not carry you there, and the newest 2.9 patch does not restore support. Treat the upgrade as a project with its own test environment, a dated rollback plan and a review of every installed extension, since the changes that matter most (the Bootstrap 5 default theme and extensions that dropped 2.9 support) land in your custom code and plugins, not only in core.

Plan the move as a two-step path rather than a single jump to the newest release. Step one takes the portal to 2.10, which is the minimum needed to return to a supported line. Step two moves it on to 2.11 or 2.12, and the sibling upgrade guides cover those changes in detail. Ask your implementation partner or internal team to document both steps in one plan, including the Python, PostgreSQL and Solr versions each step requires, so that the second step is not forgotten once the first one is live. Before work starts, confirm the target versions with the CKAN GitHub releases page and your own extension vendors.

What changes between CKAN 2.9 and 2.10 and what you must do

This table compares what changes between CKAN 2.9 and 2.10, what each change affects in a portal, and the action your team needs to take. Read each row against your own custom templates, installed extensions and hosting stack. The main takeaway is that extension versions and the Solr and PostgreSQL baselines decide whether the upgrade can start, so audit them first. Confirm the complete list of 2.10 breaking changes in the CKAN release notes before you fix the scope.

ChangeImpactAction needed
Default theme moves to Bootstrap 5Custom templates and CSS written for the older base may render incorrectly or failCompare custom templates and CSS with the 2.10 base theme, then review key pages in staging
Python 3.10 or newerHosts running an older Python interpreter cannot run the target releaseConfirm the interpreter version on every server and plan OS package updates
PostgreSQL 12 or newerOlder database servers fall below the install-from-source requirementCheck the server version and schedule a database upgrade if needed
Solr 9 recommended, Solr 8 supportedThe search index and CKAN schema must match the Solr version you runChoose the Solr version, install the matching schema, then rebuild the search index
ckanext-saml2auth requires CKAN 2.10 or laterThe current release will not run on CKAN 2.9, so SSO can fail after the core upgradePin v1.3.0 or older while on 2.9, then move to a current release on 2.10
Current XLoader does not support CKAN 2.9Uploaded and linked files may stop loading into the DataStoreSelect the XLoader release that matches your target CKAN version and test a file load
ckanext-dcat supported on CKAN 2.10Catalog metadata, DCAT RDF endpoints and harvesting depend on a version that matches 2.10Install a ckanext-dcat release listed for 2.10, then test RDF endpoints and a harvest job
Other extensions and pluginsAny extension without a 2.10 release may fail at startup or break featuresAudit each installed extension against its repository's supported version table
Full list of 2.10 changesItems beyond these rows are not covered on this pageRead the CKAN 2.10 release notes and changelog before estimating effort

How the Bootstrap 5 default theme affects custom templates

The default theme moves to Bootstrap 5 in CKAN 2.10, so any custom CSS, Jinja2 templates and extension snippets written against the older front end need review and retesting before the upgrade is considered done. A portal that runs only the stock theme with no local changes has a much smaller job here than one that overrides page layouts, adds custom stylesheets or ships an extension with its own templates. Treat the front end as a separate work stream with its own test pass, not as a side effect of the Python and database changes.

Start by building a theme inventory during preparation. Search the site's custom theme directory, any extension templates and public folders, and the ckan.site_custom_css setting for overrides of base templates, macros and stylesheets. Include front-end code in custom extensions such as JavaScript modules, webassets bundles and page-level snippets that call Bootstrap classes or data attributes directly. Record each file, the template it overrides, and the owner who can judge whether it still matters. This list also tells you which items to compare against the 2.10 changes, since a template that overrides nothing in the new base will usually survive untouched.

Do not plan from assumed class-level changes. Confirm the specific Bootstrap 5 differences that affect your overrides in the CKAN 2.10 release notes on the CKAN releases page, then check each inventory item against them. Visual regressions are the most likely outcome, so test the main dataset, organization, group and user pages, forms, and any custom landing pages in a staging copy on the target version, at desktop and mobile widths. Agree in writing which pages and browsers count as acceptance criteria, because that list determines how long the front-end work takes.

Preparing the 2.9 portal before the move

Preparation for a CKAN 2.9 to 2.10 move is mostly inventory and recovery work. Each item below produces evidence you will need during the upgrade, and together they tell you whether the portal can be moved safely and how much extension work sits ahead of it.

Back up the PostgreSQL databases

Take a full, restorable backup of the main CKAN database and the separate DataStore database, and record the exact time each was taken. Because the DataStore lives in its own PostgreSQL database with its own write and read-only users, a backup of only the main database leaves your loaded tabular data unprotected. Test a restore on a scratch server before relying on the backup.

DataStore docs

Back up file storage

Copy the uploaded resource files and any local storage directory configured for the portal, and confirm the copy matches the database snapshot taken at the same point. A restored database that points to missing uploads produces broken resource links that are hard to spot in a quick smoke test. Check the storage path in your configuration file so you copy the right location.

Inventory extensions and their versions

List every installed extension with its installed version, the CKAN version it declares support for, and the source it was installed from. Include loaders such as XLoader and the authentication plugin ckanext-saml2auth, since both have current releases that no longer support CKAN 2.9. Any extension that only supports 2.9 needs a replacement, a pinned older release, or a decision to stop using it before the move.

ckanext-saml2auth repo

List custom templates and theme changes

Record every template override, CSS and JavaScript change, and static asset in your custom theme, and note which ones copy markup from the default theme. The 2.10 default theme moves to Bootstrap 5, so templates written against the 2.9 markup and class names will need review. Keep this list with the code repository so the same changes can be reapplied or retested.

Build a test environment that matches production

Stand up a separate CKAN 2.9 instance with the same extensions, configuration file, operating system, and database and search versions as production, then restore the backups into it. Run the upgrade there first and use it to verify logins, dataset pages, DataStore queries and harvesting jobs. Confirm with your own team how closely the copy must match production before you treat test results as evidence.

Check Solr and Redis versions

Confirm the Solr and Redis versions the portal runs today and compare them with the versions the target CKAN release documents. CKAN's source install guide lists Solr 9 as recommended and Solr 8 as supported, and it requires Redis, so record both versions and their hosting method, whether package, container or managed service. If the search index is out of step with the schema, plan a rebuild as part of the upgrade window.

CKAN install docs

Choosing the target: 2.10 only, 2.11 or 2.12 as a two-step move

Stopping at 2.10 is the shortest route off 2.9. It moves the portal onto a line that still receives security and bug fixes, and it keeps the change set limited to the Bootstrap 5 default theme, the Python and database moves, and the extensions that dropped 2.9 support. Teams with a tight window or a fragile customized theme often choose this route first, then schedule the next hop as separate work.

  • Support position: 2.10 is the previous minor line at the time of the 2.12.0 release, so it receives security and bug fixes only through the patch releases CKAN publishes for it.
  • Extension constraints: Every extension must have a release that supports 2.10. For example, the current XLoader release does not support 2.9, and ckanext-saml2auth needs version 1.3.0 or older only for 2.9 and earlier, with newer releases requiring CKAN 2.10 or later.
  • Python constraint: Confirm the Python version your 2.10 install requires in the CKAN install documentation before building the target environment.
  • Risk: You stay one minor release behind the current line, so you will need to plan the next hop before 2.10 support ends.
  • Checkpoint use: Treat this route as a stable, tested state you can roll back to while you prepare 2.11.

Before choosing this route, confirm which 2.10 patch release you will deploy and whether it is the latest patch on that line.

The 2.9 to 2.10 upgrade sequence with rollback points

This sequence moves a CKAN 2.9 portal to 2.10 in a order that keeps the production portal recoverable at every stage. Each step ends with a check, and the cutover only happens after staging has passed the same checks.

  1. Freeze the portal and take verified backups

    The portal owner and the upgrade lead agree a change freeze on dataset edits, user changes and harvest jobs, then take a full PostgreSQL dump of the main database and the DataStore database, a copy of the configuration files and extension code, and a copy of the file storage used for uploads. The backups are restored to a scratch host to confirm they load. The step is done when a restored copy starts and a sample of datasets and resources reads correctly. This is the first rollback point: if later steps fail, production is restored from these backups and not from the upgraded state.

  2. Build staging on the target runtime

    The platform team builds a staging environment that matches production data volume as closely as the organization allows, using Python 3.10 or newer and PostgreSQL 12 or newer, the versions the CKAN install from source documentation lists for current releases. Staging is loaded from the frozen backups, with the same Solr and Redis versions planned for production. Confirm which Python and PostgreSQL versions your target 2.10 build requires in the release notes, since your production host may need new packages before any code change. The step is done when staging starts on the target runtime and the admin dashboard loads. Production is not touched in this step.

  3. Upgrade or replace extensions for 2.10

    Every installed extension is checked against its repository for a release that supports CKAN 2.10. Two examples are worth checking first. The ckanext-saml2auth extension requires CKAN 2.10 or later, with v1.3.0 or older needed for 2.9 and earlier, so the 2.10 build needs a newer release. The current XLoader release does not support CKAN 2.9, so it must be moved to a release that supports 2.10 before the DataStore checks. Extensions with no 2.10 release are either replaced or removed from the plugin list. The step is done when each extension is pinned to a version recorded in the upgrade log and staging starts with all plugins loaded.

  4. Apply 2.10 code and configuration changes on staging

    The 2.10 code is deployed to staging alongside the pinned extensions, and the configuration file is reviewed against the 2.10 changes in the release notes rather than edited from memory. Settings that are removed or renamed are updated, the Bootstrap 5 default theme is checked against any custom templates and CSS, and any custom theme overrides are either adjusted or set aside for testing. Plugin order is reviewed in the same pass. The step is done when the web server starts without configuration errors and the log shows every expected plugin loaded. The rollback point is still the frozen production backup, and staging can be rebuilt from the same inputs.

  5. Migrate the database on staging

    The database migration commands shipped with the 2.10 release are run against the staging copy of the main database, in the order the release documentation gives, and the output is saved to the upgrade log. Any migration error stops the run and is investigated before another attempt, and the staging database is restored from the frozen backup before each retry. The step is done when the migrations complete without errors and a count of datasets, organizations and users matches the pre-upgrade figures recorded in step one. Production migration is only run after this check passes on staging.

  6. Rebuild the search index and check DataStore loaders

    The Solr index is rebuilt on staging so that search reflects the 2.10 schema and the migrated data. Afterwards, the team runs a search for a known set of datasets and confirms the results match expectations. For the DataStore, a small set of representative CSV and spreadsheet resources is uploaded and loaded with the pinned XLoader release, then queried through the Data API, including a filtered query and a SQL query where the portal exposes it. The step is done when the search results and the sample DataStore queries return the expected rows. A failed loader check blocks cutover until the extension or configuration is corrected.

  7. Cut over to the upgraded portal

    The production portal is placed in maintenance mode, the database and file storage are backed up again from the frozen state, the 2.10 code, pinned extensions and configuration are deployed to production, the migrations are run, the search index is rebuilt, and the same smoke tests used on staging are repeated. Users are allowed back only when the sign-in flow, dataset pages, search and DataStore queries pass. The step is done when the portal serves traffic on 2.10 and the upgrade log is signed off by the portal owner. Until sign-off, the last rollback point remains the backup taken at the start of this cutover, and restoring it returns production to 2.9.

How the 2.9 to 2.10 phases and rollback points fit together

The upgrade starts with an inventory of the portal and every installed extension, then moves through a staging build, extension decisions and a test run before any production cutover. The decision node after the test run is the last point where the team can stop without touching live data, so it should only pass when extensions, themes and search behave in staging. An optional second hop to CKAN 2.11 or 2.12 begins only after 2.10 is running stably in production, and each hop needs its own test run and rollback plan.

Phases of a 2.9 to 2.10 move, with the go or rollback decision and optional second hop.

Testing the upgraded portal and rolling back safely

Test the upgraded portal against a fixed list of functions that matter to your users and publishers, and sign off only when every item on that list has passed in staging. Start with login for each account type, including SAML2 single sign-on if your portal uses ckanext-saml2auth, and confirm that users are still mapped to the right organizations and roles after the move. Then check dataset search and the Solr results it returns, since a changed index or schema can make a portal appear to work while returning incomplete results. Record the expected results before the upgrade so the comparison is objective.

Next, test the data paths that most often break silently. Upload a resource through the loader you chose, confirm that the DataStore table is created and populated, and run representative Data API queries with filters, full-text search and pagination. Trigger a harvest job and call the DCAT endpoints your publishers depend on, and confirm that background jobs complete and that the queue is not backing up. Finally, load every custom theme page and content page, because templates written for 2.9 are the most likely to fail at render time. Confirm with each extension's repository which version you have pinned for 2.10, since support tables change.

Rollback means restoring the tested database and file backup together with the previous code and configuration, so the portal returns to a state you have already verified. Treat the rollback as a procedure with a named owner, a time limit agreed in advance and a check list that matches the test set above. Rehearse the full rollback in staging, including restoring the database dump and the Solr index, before you run the production upgrade. Use the rehearsal to confirm how long a restore takes in your environment, because you will not know it from the documentation alone.

What makes a CKAN 2.9 to 2.10 upgrade take longer

This table lists the factors that most often stretch a CKAN 2.9 to 2.10 upgrade, with the effect each one has on effort and what to check before estimating. Read each row against your own portal, because a small install with few extensions and no planned second hop behaves very differently from a large portal with many custom components. The main takeaway is that extensions, theme depth and authentication plugins usually matter more than the core upgrade itself.

DriverEffect on effortWhat to check
Number and age of extensionsEach extension needs a 2.10 compatible version, a config review and its own test pass. Extensions unmaintained since 2.9 may need replacing.List every installed extension, its pinned version and its supported CKAN versions in its repository.
Custom theme depthTemplates written for the Bootstrap 3 default theme must be reworked for the Bootstrap 5 default theme, which affects layouts, snippets and custom CSS.Count overridden templates, custom CSS and JavaScript, and any forked core templates.
SAML2 or other authentication pluginsckanext-saml2auth needs v1.3.0 or older on CKAN 2.9 and CKAN 2.10 or later on the newer line, so the plugin version and login configuration must change together.Confirm the installed plugin version, the identity provider metadata, attribute mapping and sysadmin handling.
DataStore size and loader choiceLarge DataStore tables take longer to verify after the move. The current XLoader release does not support CKAN 2.9, so loader changes can add work.Record table count and row volume, and whether uploads use XLoader or legacy DataPusher.
Solr index rebuild timeRebuilding the search index scales with dataset and resource count. Schema or Solr version changes add review and testing steps.Measure dataset count and time a rebuild in a staging copy before setting a cutover plan.
Number of environmentsEach environment (development, test, staging, production) repeats the upgrade, configuration checks and smoke tests.Confirm which environments exist, whether they match production, and who signs off each one.
Planned second hop to 2.11 or 2.12Moving on to a later minor release adds another round of breaking-change review, since minor releases may include backwards-incompatible changes.Decide the target line now, and check whether the 2.11 or 2.12 upgrade notes apply to your extensions and templates.

Questions buyers ask before hiring help with a CKAN 2.9 upgrade

What drives the cost of a CKAN 2.9 to 2.10 upgrade?

The biggest cost driver is how much of the portal has to change, not the version number itself. Cost rises with the number of installed extensions that lack a 2.10 release, the amount of custom theme work needed to move to the Bootstrap 5 default theme, the size of the DataStore and search index that must be rebuilt, and how many environments (development, test, production) must be brought forward. A quote should price each of these separately. Ask for the list of extensions with their target versions, the decision on each custom template, and whether the work is one-time or includes ongoing support afterward. Support and upgrades after go-live are a recurring cost and are usually quoted as a retainer.

Can our own team run a CKAN 2.9 to 2.10 upgrade in-house?

Often yes, if the team has Python, PostgreSQL and Solr operations experience and time to test properly. The work is well documented, but it has moving parts: extension compatibility, theme changes and index rebuilds all need verification on a copy of production. The questions to answer honestly are whether you have a staging environment that mirrors production, who owns each extension and its fork, and who will test the portal's public pages and API after cutover. If those answers are unclear, a fixed-scope engagement with written deliverables can cover the gaps while your team keeps ownership of the portal.

What does the portal owner need to provide for the upgrade?

The portal owner provides the decisions and access that only the owner can give. In practice that means a current inventory of installed extensions and their pinned versions, access to a copy of the production database and file storage for testing, the list of custom themes and templates that must survive, and named contacts who can approve scope changes and sign off testing. Owners should also confirm which datasets are private, which harvesters and integrations run on a schedule, and what downtime users will accept. Missing inputs are the most common reason an upgrade schedule slips, so ask the provider to list them in the written scope.

How long does a CKAN 2.9 to 2.10 upgrade usually take?

Duration depends on the same drivers as cost: the number of extensions to replace or update, the degree of theme customization, the size of the search index and database, and how quickly test results are reviewed. Simple portals with few extensions move faster than portals with heavily customized templates and several third-party integrations. Rather than relying on a general figure, ask for a timeline in the written scope that shows phases for inventory, staging upgrade, extension and theme work, testing, and cutover. Ask which phases depend on your team's approvals, since those often set the calendar.

Should we go straight from CKAN 2.9 to 2.12?

Usually not in one step. The CKAN release policy says minor releases may include backwards-incompatible changes, so each minor version has its own migration checks. Many portals therefore plan a two-step path, moving from 2.9 to 2.10 first and then on to 2.11 or 2.12 after the first move is tested and stable. Each step has its own extension compatibility checks and its own breaking changes. Ask the provider to plan both steps in one scope, so the intermediate version is tested rather than treated as a throwaway stop. Confirm the exact target against the release notes available at the time of planning.

What should a quote for this upgrade include?

A useful quote is a written scope, not a single number. It should list the CKAN version path, every extension with its compatibility status and planned action, theme and template work, environments to be built, data migration and index rebuild steps, testing and acceptance criteria, cutover and rollback plan, and handover documentation. It should separate one-time work from recurring support, state what the client must provide, and name the exclusions. DeployOpen does not publish a price list, and each quote follows from the written scope agreed before work starts. Ask for the assumptions behind each line item so you can compare proposals on equal terms.

Where to confirm the release and extension details

Before you plan a move off CKAN 2.9, confirm the release and extension facts against the sources the CKAN project and extension maintainers publish, not against this page or your memory of earlier releases. Start with the CKAN releases policy, which explains how minor and patch releases differ and when older lines lose support. Then read the CKAN releases page for the release notes of every minor and patch version between your current release and your target, paying particular attention to any backwards-incompatible changes listed in minor releases. Your planning document should name each release you reviewed and the date you reviewed it.

Extension compatibility is the part most likely to change under you. Check the supported CKAN version statement in the README or release notes of each extension you run, including the ckanext-saml2auth repository, which requires CKAN 2.10 or later, and the ckanext-xloader repository, whose current release does not support CKAN 2.9. Record the exact version of each extension on your 2.9 portal, the newest version that supports your target line, and the release that will be installed. Those records are the input to your compatibility audit.

Version support tables and extension release notes change, sometimes between the day you write your plan and the day you run the upgrade. Repeat every check on the day of the upgrade and again before you approve the change window, and record the URLs and commit or release tags you used. If a table you relied on has changed, treat the plan as stale and revisit the affected extensions before touching production. Ask your CKAN support provider or DeployOpen to confirm the same facts in writing as part of the scope so the decision is based on a dated, reviewed set of sources.

How DeployOpen scopes and delivers a CKAN upgrade

DeployOpen plans, implements, customizes, integrates, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms inside your own infrastructure. For a CKAN 2.9 to 2.10 move, we start from a written inventory of your portal, its extensions and its theme, then build and test the upgrade in a copy of your environment before anything touches production.

How we scope

  • Inventory the CKAN version, installed extensions, custom theme templates and Solr and PostgreSQL versions in use.
  • Confirm which extensions have releases that support CKAN 2.10 and which need replacing or pinning to an older release.
  • Agree the written scope, deliverables and timeline before work starts, since most engagements are fixed-scope.

How we build

  • Stand up a staging copy of the portal on infrastructure you control, matching production data, Python and service versions.
  • Port custom templates and the Bootstrap 5 default theme changes into your extensions and test them page by page.
  • Run the upgrade rehearsal several times, measure the downtime window and document each step and rollback point.

How we hand over

  • Deliver the runbook with the exact upgrade steps, configuration changes, extension version pins and verification checks.
  • Walk your platform and portal teams through the changed templates, dependency list and any open follow-up items.
  • Document the planned two-step path toward CKAN 2.11 or 2.12 so later upgrades start from a known baseline.

How we support

  • Support after handover can be covered by a retainer for patches, extension updates and issues that appear in production.
  • Retainers can also include continuous testing so new extension releases are checked before you adopt them.
  • Confirm response expectations, support hours and included upgrade work in the written agreement before signing.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.