Why a CKAN 2.10 portal needs a planned upgrade to 2.11
If your portal runs CKAN 2.10 and has to move to a supported minor release, treat the move as a planned project, not a package bump. CKAN 2.11 carries several breaking configuration and authentication changes, including a required SECRET_KEY, a move from Beaker to Flask-Session, stricter config parsing and a renamed API token header, so the work touches your settings, your login flow and every custom extension before the code runs.
The CKAN release policy explains why the timing matters. The tech team supports the latest patch of the current minor version and the previous minor version, and outdated patch releases lose support once a newer patch ships. CKAN's release policy also states that patch releases avoid backwards-incompatible changes and schema changes, while minor releases may include them. That means 2.10 patches will keep arriving, but moving between minor lines is where breakage happens, and you should plan that step deliberately.
Before you schedule anything, confirm the target version against the official release notes. CKAN 2.12.0 was released on August 26, 2026, alongside maintenance releases 2.11.6 and 2.10.11, so a 2.11 move may be a stepping stone rather than the final destination. Ask your team to check which line you will land on, because a move to 2.12 adds its own changes, and the answer changes the extension audit, the test plan and the window you need. Your first concrete action is to record your current 2.10 patch level, list every installed extension with its version, and confirm which target release your organization will support.
Which 2.11 changes affect your portal
This table lists the CKAN 2.11 changes that most often force work on a 2.10 portal, with the likely impact and the action to take for each. Read it as a checklist: a row matters if your portal sets the related config, runs custom themes or extensions, or calls the API with tokens. Confirm exact config keys, header names and removed items in the CKAN 2.11 changelog and release notes before editing anything.
| Change | Impact | Action needed |
|---|---|---|
| Required SECRET_KEY | Startup or session handling can fail if the key is missing or weak, which affects every user login and signed value. | Set a long random secret in your deployment config and store it in your secrets manager. Confirm the setting name in the 2.11 release notes. |
| Flask-Session replacing Beaker | Existing server-side sessions may not carry over, so users could be logged out after upgrade. Session storage settings change. | Review session configuration and storage backend. Plan a test login across roles and confirm the new session settings in the changelog. |
| Strict config parsing | Config values that were tolerated in 2.10 may now be rejected or read differently, which can stop the web process from starting. | Lint the ini file against the 2.11 defaults in a staging copy. Fix malformed booleans, lists and duplicate keys before cutover. |
| Token header rename | Scripts, harvesters and external clients that send the old API token header will get authentication errors. | Search your integrations and extensions for the old header name. Update them and confirm the new name in the 2.11 changelog. |
| Tracking as an extension | Tracking behaves as an extension, so a portal that relied on built-in tracking needs the plugin enabled and configured. | Decide whether you need usage tracking, enable the extension in plugins, and check that its data storage and reports still work. |
| Bootstrap 3 and Recline removal | Custom templates, CSS and any views using Recline stop rendering correctly, which affects dataset and resource pages. | Audit custom themes and extensions for Bootstrap 3 classes and Recline views. Move them to the supported frontend or plan a theme rewrite. |
| Plugin ordering changes | Plugins that override templates, actions or auth may behave differently when their load order changes. | List the plugins line by line in the plugins setting. Test overrides in staging and confirm the required order in the 2.11 release notes. |
How the configuration and authentication changes break existing setups
The 2.11 changes to configuration and sessions fail at restart, not at the moment you apply the new package. A portal that starts without a SECRET_KEY set in its configuration can run fine on the old release and then refuse to come up, or come up with signing problems, once 2.11 requires the value. Session handling also moves from Beaker to Flask-Session, so session settings written under the Beaker prefix may be ignored or rejected, and users can be logged out or see errors when their existing sessions no longer validate. Strict config parsing adds a third risk: a typo, an unknown key or a value in the wrong format in ckan.ini may have been tolerated before and now stops the process. Test each of these against a copy of your production ini file and environment, and confirm the exact requirements in the 2.11 changelog before you schedule the change.
The API token header rename is the change most likely to break quietly. A harvester, a publishing script or a dashboard that still sends the old header may not fail with a clear error. Depending on the endpoint, it may receive an authorization error, or it may get anonymous responses that look like empty results or missing private datasets. The job reports success, and the gap appears later in a report or a harvest count. Check the release notes for the header name required on 2.11, then search every client for the old one. Where you can, have each client log the HTTP status of its calls so a silent downgrade to anonymous access becomes visible.
Build a written inventory before the upgrade. List every ckan.ini and any additional ini files, every environment variable and container secret that feeds CKAN, and where each value is stored in your deployment tooling. Record the session storage in use and plan how existing sessions will be handled, including whether users must sign in again. List every client that calls the API, including scheduled jobs, harvesters, extensions, reverse proxy rules, monitoring checks, BI connectors and scripts kept by individual staff, along with the token each one uses and who owns it. Any client missing from this list is one the upgrade test will not cover.
What to prepare before touching the 2.11 upgrade
CKAN 2.11 changes how configuration, sessions, tokens and themes behave, so most upgrade failures trace back to gaps found before any code changes. The six items below cover data safety, extension support, configuration, front-end dependencies, a rehearsal environment and the search and cache services underneath the portal.
Verified full backup and restore
Take a complete PostgreSQL dump of the CKAN database and the DataStore database, plus a copy of the file storage directory for uploaded resources. A backup only counts once you restore it into a scratch environment and confirm that datasets, users, organizations and DataStore tables load and return results. Record how long the restore took, because that figure sets your realistic rollback window.
Extension support status for 2.11
List every installed plugin, its installed version and the CKAN versions its repository declares support for. Extensions that still target 2.10 may need a newer release, and some may have no 2.11 release at all. Mark each one as ready, needs a new version, needs a replacement or needs a fork, and confirm the status in the extension's own repository rather than relying on memory.
Config and secrets inventory
Gather every value in ckan.ini, environment overrides and the systemd or container definitions. 2.11 requires a SECRET_KEY, so confirm where it is currently set and who can read it. Also check that every option you rely on is still valid under strict config parsing, because unknown or malformed entries that older releases tolerated may stop the service from starting.
Theme and template audit for Bootstrap 3
Search custom templates, CSS and JavaScript for Bootstrap 3 class names, Bootstrap 3 JavaScript hooks and any reference to Recline. CKAN 2.11 removes Bootstrap 3 and Recline, so themes built on them will render incorrectly or fail. Flag each template as unchanged, needs porting or can be removed, and estimate porting effort from that list before agreeing a schedule.
Staging environment that mirrors production
Build a separate environment with the same CKAN, extension, Python, PostgreSQL, Solr and Redis versions as production, and load a recent copy of the database and files. Run the upgrade there first and keep a written log of every failed step and fix. Treat staging as valid only when its data, plugins and configuration match production closely enough that a passing test means the same result in production.
Solr and Redis compatibility check
Confirm that the Solr version in use is one that the CKAN source install guide lists as supported for the target release, and that Redis is available at the version the guide expects. Check the Python version on each host as well. Plan the search index rebuild after the upgrade, since a stale index can make the portal look empty even when the data is intact.
Source install docsThe 2.10 to 2.11 upgrade sequence with rollback points
This sequence moves a CKAN 2.10 portal to 2.11 through a staging copy first, so that every production change has a tested snapshot to return to 2.10. Each step closes with a check, and the production cutover is the last step, taken only after staging passes.
Freeze changes and take full backups
The portal owner freezes content edits, extension installs and configuration changes for the upgrade window, then your platform team takes a consistent backup of the PostgreSQL database, the file storage for uploads, the production ini file, the environment file holding secrets, and the list of installed extensions with their exact versions. Store the backup outside the production host and confirm you can list its contents. Rollback point: with these artifacts intact, production can be restored to 2.10 without rebuilding anything from memory.
Stand up a staging copy of production
Build a staging environment on the same operating system, Python, PostgreSQL, Solr and Redis versions as production, then restore the backups into it. Confirm that staging runs 2.10 with the same extensions and that the DataStore and search index respond before any change is made. Rollback point: staging stays on 2.10 untouched, so it serves as the reference for comparing later results and as a safe place to rehearse the steps below.
Update the codebase and dependencies on staging
On staging only, check out the 2.11 release, update the Python requirements, and upgrade each extension to a version that the extension's repository lists as supported on CKAN 2.11. Run the database migration commands from the official upgrade guide and record every error. Confirm the CKAN application starts and the admin pages load. Rollback point: restore the staging database from the step 1 backup and reinstall the 2.10 packages to return to the known state.
Rewrite configuration and secrets
Work through the 2.11 changes in the official guide: provide a required secret key, move session settings to the new session backend, correct any configuration values that the stricter parser now rejects, and rename API token headers in any custom code or proxy rules. Keep secrets in your secret store, not in the ini file. Confirm the application starts with no configuration warnings and that a test login creates a session. Rollback point: keep the 2.10 ini and environment files from step 1 so the old configuration can be restored in one move.
Reorder plugins and verify extension loading
Review the ckan.plugins list against the plugin ordering notes in the 2.11 guide, moving plugins whose hooks depend on others and removing any extension that is no longer needed. Remove references to removed assets such as Bootstrap 3 and Recline from custom templates and extensions. Confirm each plugin loads without an import error in the logs. Rollback point: the original plugin list is saved in the step 1 config backup, so the order can be reverted without touching the code.
Update API clients and integrations
List every external script, harvester, scheduled job and partner integration that calls the CKAN API, and update them to use the renamed token header and any changed endpoints named in the guide. Test each client against staging with a read-only token first, then with a write token on a test dataset. Confirm that each client returns expected results. Rollback point: clients keep their 2.10 token configuration in a separate record, so they can be pointed back at production 2.10 if needed.
Rebuild and verify the search index
Run the index rebuild on staging against the Solr version your 2.11 release supports, then compare dataset counts and sample searches with the 2.10 reference. Check that facets, private dataset visibility and DataStore-linked resources appear as expected. Record the rebuild time so the production window can be planned from real data. Rollback point: the 2.10 index stays available on production until cutover, so search can be restored by restoring the saved Solr data or rebuilding on 2.10.
Run smoke tests and cut over in production
Run a scripted smoke test on staging covering login, dataset creation and editing, resource upload, DataStore query, API read and write, search, and organization permissions. When every check passes, repeat the same steps in production during the frozen window, starting with the database migration and ending with the smoke test again. Confirm the results match staging and that monitoring shows no new errors. Rollback point: if any check fails in production, restore the step 1 database and file backup, the 2.10 configuration and the 2.10 packages, then rerun the smoke test on 2.10 before reopening the portal.
How to test the upgrade and roll it back
Operators run the first checks in a staging copy built from a recent production backup, then repeat them in production in the same order. Work from the web layer down to the background services so a failure is easy to isolate. Before the upgrade, keep a database dump, the previous CKAN package or virtual environment, the previous configuration file, and a record of the Solr core state, because these are what a rollback depends on.
- Login and sessions: Sign in as a sysadmin and as a regular user from a clean browser. Confirm sessions persist across page loads and that logout works, since session handling changed in this release.
- Dataset publish: Create, edit and delete a test dataset with one resource in a test organization, then confirm it appears in search.
- DataStore queries: Load a small CSV with the loader your portal uses, then query it through the Data API and check the row count.
- Harvesters and search: Run one harvest job to completion and confirm a known dataset is returned by a search query.
- Rollback: Stop the web and worker processes, restore the previous code and configuration, restore the pre-upgrade database dump if schema changes were applied, and rebuild the search index. Confirm with the release notes whether schema changes can be reversed before you rely on this path.
Rehearse the rollback in staging before the production window, and record how long each step took in your own environment.
Extension developers test the code paths the upgrade touches most: plugin registration, configuration, templates, and anything that reads sessions or API tokens. Plugin behavior in CKAN depends on the order plugins are listed, so the load order is a test target in its own right. Run these checks against a copy of the portal with the same extensions and configuration as production, and record the result of each extension's own test suite on the target release.
- Plugin load order: Check the
ckan.pluginssetting against the order the release notes require. Confirm that any plugin extending another loads after the plugin it depends on. - Template checks: Render every custom template and page. Bootstrap 3 and Recline were removed, so markup, asset references and chart code written for them may fail silently.
- Configuration parsing: Start the application with the new strict configuration parsing enabled and fix any unknown or malformed keys your extensions read or write.
- Session and token code: Test any code that reads session data, sets cookies or authenticates API requests, because the session backend and the token header changed.
- Rollback: Keep the previous extension versions pinned in your dependency file, retain the old virtual environment, and revert the
ckan.pluginsline together with the code.
A passing test suite does not prove a template renders correctly, so confirm each custom page in a browser before signing off.
Data owners confirm that the content and access rules they manage look the same after the upgrade. They are not checking code. They know which datasets should be public, which should be private, who belongs to each organization and who has been granted collaborator access. Ask them to compare the portal with a list they prepared before the upgrade, and give them a simple way to report mismatches with the dataset or organization name attached.
- Dataset and resource counts: Compare the number of datasets and resources per organization against the pre-upgrade export, and investigate any difference before sign-off.
- Organization roles: Sign in as a member, an editor and an admin of each organization and confirm each role can see and change only what it should.
- Private datasets and collaborators: Check that private datasets remain hidden from people outside the organization and that collaborator lists are unchanged.
- Sysadmin list: Confirm that the list of sysadmin accounts matches the pre-upgrade record.
- Rollback decision: A mismatch that cannot be fixed in place is a rollback candidate. Restoring the pre-upgrade dump removes any edits made after the dump was taken, so agree a cutoff with the owners and communicate it before the restore.
Record each owner's sign-off in writing, so the decision to keep the upgrade is traceable.
What makes a CKAN 2.11 upgrade take longer
This table lists the factors that most often extend a CKAN 2.10 to 2.11 upgrade and explains why each one adds work. Read each row against your own portal inventory to see which drivers apply and where your effort will concentrate. The main takeaway is that effort depends less on the core upgrade steps than on how much your portal has been customized and how many systems depend on it.
| Driver | Why it adds effort | How to reduce it |
|---|---|---|
| Number and age of custom extensions | Each extension must be checked against CKAN 2.11, and extensions last updated for 2.9 or 2.10 may need code changes for Flask-based views, Beaker replacement or plugin ordering. | Inventory every extension and its supported CKAN versions before quoting, and retire or replace unused ones first. |
| Heavy theme customization on Bootstrap 3 | Templates, CSS and JavaScript written for Bootstrap 3 must be reviewed, since 2.11 removes the Bootstrap 3 default theme and page layouts may break in several places. | Keep overrides small, document them, and ask whether a Bootstrap 5 port of your theme is in scope. |
| Use of Recline or legacy DataStore loaders | Recline is removed in 2.11, and portals relying on it need a replacement viewer, while legacy DataStore loader setups must move to XLoader. | List every resource view and loader in use, then confirm which resources depend on them before testing. |
| Size of the database and search index | Larger PostgreSQL databases lengthen migration and backup windows, and a large Solr index takes longer to rebuild after the upgrade. | Measure database size and index rebuild time in a staging copy, and schedule the production window around those results. |
| Number of API clients | Scripts, harvesters and partner systems that send requests with the old token header or depend on changed API behavior must be found and updated before cutover. | Collect a list of API consumers from access logs and token records, and notify owners early. |
| Multiple environments | Development, test, staging and production each need the upgrade, configuration review and testing, and drift between them makes results harder to compare. | Keep environments configured from the same source, and upgrade the lowest environment first. |
Common questions about the CKAN 2.11 upgrade
How much does a CKAN 2.11 upgrade cost and what drives the price?
No standard price applies, because cost follows the written scope. The main drivers are the number of installed extensions, how many of them already have a 2.11 release, how much custom theme and template code must move off Bootstrap 3, and how many environments need the change, such as staging and production. Solr and PostgreSQL moves add work if the portal is on older versions. The upgrade, testing and cutover are one-time work. Patch maintenance after the upgrade recurs. A useful quote lists each environment, each extension with its 2.11 status, the testing included, and what happens if an extension needs replacing.
How long does a CKAN 2.11 upgrade take to complete?
The duration depends on scope, so no fixed timeline applies. Extension count and compatibility, the amount of custom code, the size of the search index that must be rebuilt, and the testing window before cutover all move the schedule. Check the CKAN release policy early, because it sets which release lines still receive fixes on the day you plan. A portal on a line that is losing support needs its schedule set against that date. Ask for a written plan with milestones for staging, extension testing, data validation and production cutover.
What does the upgrade require from our internal team?
The internal team must supply knowledge and access that no outside party can assume. Plan for four inputs:
- An owner who knows the portal's configuration, installed extensions and custom templates.
- Administrative access to the servers, PostgreSQL, Solr, Redis and the CKAN configuration file in each environment.
- A staging copy of production data and a test plan that business users can sign off on.
- A named person who runs the portal after cutover and handles patch releases.
Missing any of these usually shows up as delay during testing, not during the technical change itself.
Can our own team upgrade CKAN to 2.11 without a partner?
Yes, a capable team can do it, provided it has working knowledge of Linux, Python, PostgreSQL and Solr, and time for a proper staging test. The official install and maintenance documentation covers the steps. The risks are a team that has not run CKAN in production learning the changes on the live portal, and extensions whose compatibility nobody has checked. A partner suits teams that lack capacity or want a fixed-scope engagement with written deliverables and a verified cutover. DeployOpen plans, upgrades and documents self-hosted platforms in your own infrastructure, and most engagements are fixed-scope. Compare both options against the same written scope.
Should we skip 2.11 and upgrade directly to CKAN 2.12?
Targeting 2.12 directly can work, but it combines two sets of changes into one move. CKAN 2.12.0 was released on August 26, 2026, and minor releases may include backwards-incompatible changes, so the 2.10 to 2.11 changes and the 2.11 to 2.12 changes both apply. Staging through 2.11 can help a team isolate failures, especially for a portal far behind. Confirm that every extension supports 2.12 in its own repository, and review the CKAN GitHub releases for the target version's notes before deciding. The right path depends on extension support and on how much testing time you have.
What happens if an installed extension has no CKAN 2.11 release?
The extension blocks the upgrade until you decide how to handle it. Start by reading the supported version table in the extension's repository, because some extensions declare support for several CKAN lines. For example, the ckanext-dcat repository lists support for CKAN 2.10 and 2.11. If no release supports 2.11, the options are to find a newer release that does, replace the extension with an alternative, patch and maintain a fork, or remove the feature. Each option carries ongoing maintenance cost. Decide before the staging test, not during cutover.
Which CKAN 2.11 changes most often break an existing portal?
The changes that most often break a portal are the required SECRET_KEY, the move from Beaker to Flask-Session, strict config parsing, the API token header rename, the removal of Bootstrap 3 and Recline, and changed plugin ordering. Before the test, check the following:
- Compare your configuration file with the 2.11 defaults and remove any setting the parser now rejects.
- Confirm
SECRET_KEYis set in every environment. - Search custom templates for Bootstrap 3 classes and Recline references.
- Review the order of entries in
ckan.pluginsagainst each extension's documentation. - Update client scripts that send the old token header.
Test each item on staging before production.
The upgrade moves through a test gate before any production change
The path starts with an inventory of the live 2.10 portal, including its extensions, configuration and Solr and PostgreSQL state. Work then moves to a staging build where configuration and plugin changes are made and checked. Production cutover happens only after the test gate passes; if a check fails, the team returns the portal to the 2.10 snapshot taken before cutover. Check the snapshot and restore steps before the cutover window opens, not during it.
Phase path from inventory to cutover, with rollback to the 2.10 snapshot on failed checks.
How DeployOpen scopes and delivers a CKAN upgrade
DeployOpen plans, implements, tests, documents and supports self-hosted CKAN inside your own infrastructure, including the move from CKAN 2.10 to 2.11. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts, so your team knows what changes and what evidence it receives.
How we scope
- Inventory the running CKAN version, config file, plugins and extension versions against the 2.11 target.
- Record every custom extension, template and plugin load order that must be reviewed before the upgrade starts.
- Agree in writing which environments are covered, who signs off on the test results and what the rollback plan includes.
How we build
- Set SECRET_KEY and session settings from your secrets store, then test login and session behavior in staging.
- Review config values against strict parsing, and check the API token header change in every client that calls the API.
- Reorder plugins where needed, replace Bootstrap 3 and Recline dependencies, and rerun search indexing and tests after each step.
How we hand over
- Deliver a written change record covering config changes, extension versions, plugin order and any template fixes made.
- Document the upgrade runbook so your team can repeat the steps in later environments and during future patch cycles.
- Walk your platform and security staff through the test evidence so your compliance reviewers can check the upgrade record.
How we support
- Offer ongoing support, upgrades and continuous testing as a retainer after the 2.11 move is complete.
- Confirm with your team the next minor release plan and which patch releases your environments will receive.
- Agree in the written scope who maintains extension compatibility checks when new CKAN patches ship.

