CKAN for the EU Open Data Directive

CKAN can publish, serve and describe a public body's open datasets through machine-readable files, the DataStore API and DCAT-AP metadata. It cannot decide which data must be opened, how it is licensed or whether your body is in scope.

On this page

CKAN for the EU Open Data Directive: what the platform covers and what stays with your body

A CKAN portal supports three parts of a public body's Open Data Directive work: publication in machine-readable formats, API access to tabular data through the CKAN DataStore, and DCAT-AP metadata that a national catalog can harvest. The software handles publishing and serving. Decisions about what to publish, under which license and by when remain with the body and its legal team. DeployOpen configures the portal, the DataStore loading and the DCAT-AP output through the ckanext-dcat extension, then documents how each part is set up so your staff and reviewers can check it. DeployOpen does not certify the portal, issue a compliance opinion or give legal advice on the Directive.

The duties that stay with your body are the ones software cannot settle. Confirm which bodies and datasets fall within scope, and record how any exemption is applied. Decide the license for each dataset and enter it in the metadata, because CKAN can store a license but cannot judge whether it is open enough for reuse. Choose what to publish, what to hold back and how often each dataset is updated. Assign an owner in each CKAN organization who answers when a record is wrong or out of date. Write each decision down before the build starts, since an unrecorded decision leaves the portal with no way to show what the body intended.

Before the build starts, confirm the national transposition of the Directive with your legal team. The national act sets who is covered, which data is in scope and the deadlines that apply to your body, and these can differ from the general wording of the Directive. Ask legal to write down the scope, license and deadline positions the portal must implement, and give those positions to DeployOpen so the written scope refers to them. Also confirm which DCAT-AP version your national catalog expects. ckanext-dcat supports DCAT-AP v1, v2 and v3 and is listed as supported on CKAN 2.10 and 2.11, so check the extension against CKAN 2.12, released on August 26, 2026, before you upgrade.

Which Open Data Directive duties a CKAN portal supports, and the settings each one needs

This table maps each Open Data Directive duty area to the CKAN capability that supports it, the extension or setting that enables it, and the supporting fact behind it. Use each row as a starting point for configuration, and check the exact legal wording against the Directive and national law. CKAN records and publishes what the public body decides, but it does not decide what must be published.

Duty areaCKAN capability and settingSupporting fact or check
Machine-readable filesEach resource carries a format value and a download URL, with uploaded or linked structured files such as CSVConfirm which formats your national transposition accepts before publishing
DataStore API accessEnable the DataStore, set its read-only database user, and load tabular resources with XLoaderThe DataStore exposes a Data API for filtering, search, pagination and SQL queries; XLoader is the officially supported loader, and DataPusher is legacy
DCAT-AP metadataInstall ckanext-dcat, select the DCAT-AP schema version your national portal requires, and enable DCAT RDF endpointsckanext-dcat provides DCAT-AP v1, v2 and v3 schemas and is supported on CKAN 2.10 and 2.11
Dataset metadata completenessDefine a custom dataset schema with required fields, for example with ckanext-scheming, and validate fields on publishConfirm the mandatory fields with your national portal and check the extension's compatibility with your CKAN version
Licensing fieldsSet a license on every dataset from CKAN's license list and confirm the license appears in the DCAT outputConfirm which licenses your national authority accepts, since the platform stores the value but does not judge it
Harvested or linked catalogsUse the RDF harvester in ckanext-dcat to import records from other catalogs into your portalHarvested records keep their source metadata, so check them against your own completeness rules

How a dataset moves from upload to the DataStore API and the national catalog

The publisher signs in through SAML2 with the body's identity provider, then uploads a file or links one to a CKAN dataset. XLoader loads the resource and writes its rows into the DataStore, which lives in a separate PostgreSQL database. The Data API serves those tables. The DataStore's read-only user is the role meant for read access, so confirm which role your Data API setup uses. In parallel, ckanext-dcat publishes the dataset as DCAT RDF, and the national harvester pulls that endpoint from outside. Check each boundary: the sign-in provider, the CKAN host in the body's own infrastructure, and the national portal.

Upload or link, load, serve, and harvest, with three trust boundaries marked.

Which CKAN release a Directive-ready portal should plan on

Plan on a CKAN minor version that is inside the project's support window on the day you go live, and confirm its DCAT-AP extension before you commit. CKAN 2.12.0 was released on August 26, 2026, together with maintenance releases 2.11.6 and 2.10.11 the same day. The project supports the latest patch of the current minor version and the previous minor version, and an older patch loses support once a newer one ships. With 2.12 as the current minor, 2.11 is the previous minor, so a portal started now would sit on 2.12 or 2.11. A portal already on 2.10 should plan a move before that version falls outside the window.

Patch and minor releases carry different upgrade risk, so your plan should treat them differently. Patch releases exclude schema changes and new features and are designed not to break backwards compatibility, so they can usually go into a normal maintenance window once you have tested them against your own extensions, theme and custom scheming schemas. Minor releases may include backwards-incompatible changes, so they need a planned upgrade with a restored copy of the production database, a review of the release notes, and a check of every custom plugin and template. Staying on the latest patch of a supported minor gives you security and bug fixes without changing the platform's behavior.

The extension check is the step most likely to block a DCAT-AP plan. The ckanext-dcat extension provides the DCAT-AP v1, v2 and v3 schemas, the DCAT RDF endpoints and the RDF harvester used for national catalog exchange, and it is listed as supported on CKAN 2.10 and 2.11. The supported-version list does not name 2.12, so ask the extension maintainers, and check the ckanext-dcat repository for the release tag that matches your target CKAN version, before you fix a go-live date. Record the versions of ckanext-dcat, your schema plugins and CKAN core in the architecture decision, then rerun your DCAT-AP validation on the target release in staging.

How DCAT-AP metadata reaches a national portal: publish, harvest or validate

Publishing means CKAN serves your dataset metadata as DCAT RDF so that a national portal can collect it on its own schedule. The ckanext-dcat extension provides the RDF endpoints that expose your catalog in this form. Your body must decide which endpoints the portal will call, which DCAT-AP profile the output follows and who can reach the feed, because drafts and private datasets must stay out of anything public.

  • Enable the plugin: Add the dcat plugin to ckan.plugins in the CKAN configuration file, restart the web workers and confirm the endpoints respond on a staging portal.
  • Decide the endpoints: Confirm with the portal operator which RDF endpoints the harvester calls, then test each one against a sample of datasets.
  • Scope what is public: Verify that private and draft datasets are absent from the feed, using a logged-out request and a user without access to the organization.
  • Map your fields: Compare your custom schema fields with the properties the chosen profile expects, and record every gap in the dataset documentation.
  • Plan for polling: Decide how often the national harvester will fetch the feed and check that your web tier can serve that load alongside normal users.

Confirm the endpoint URL, the DCAT-AP version and the national validation rules with the portal operator before you publish.

Setting up a CKAN portal for Directive reporting, step by step

This sequence takes a CKAN portal from a supported release and prepared servers to a publisher-ready site with a loadable DataStore, DCAT-AP metadata output and single sign-on for publishers. Each step closes with a record your compliance team can keep. The order matters because the DataStore and DCAT steps depend on a working core install.

  1. Choose the CKAN release and host

    Pick the CKAN release line before anything is installed, because the extensions you add later must match it. CKAN 2.12.0 was released on August 26, 2026, alongside maintenance releases 2.11.6 and 2.10.11, and the project supports the latest patch of the current minor version and the previous minor version. Confirm that ckanext-dcat and ckanext-saml2auth support your chosen release, since ckanext-dcat is listed for CKAN 2.10 and 2.11. Record the chosen version, the operating system and the support window your team confirmed.

  2. Install and verify the core prerequisites

    Install Python 3.10 or newer, PostgreSQL 12 or newer, Solr 9 (recommended) or Solr 8, and Redis on a supported operating system. The package install guide covers Ubuntu 20.04 and 22.04 64-bit, and source installs work on other systems such as Red Hat, Fedora and CentOS, so confirm your distribution with your platform team before you start. Solr and Redis can run from Docker images tagged for each CKAN version if your servers run containers. Your platform engineer records the version output of each component. The step is done when every version meets its minimum.

  3. Configure the DataStore database and users

    Create a separate PostgreSQL database for the DataStore, with one user that can write and one read-only user. The write user loads resource rows, and the read-only user serves Data API queries, so the two roles stay apart. Test both accounts directly against the database. Confirm the write user can insert rows and the read-only user is refused every write. Record the database name, the role names and the test results, but keep passwords in your secrets store, not in the build record.

  4. Set up XLoader as the DataStore loader

    Install XLoader, the officially supported tool for loading uploaded or linked files into the DataStore. Do not build new work on DataPusher, which is now legacy. Configure XLoader with the DataStore write connection, using the settings documented for your CKAN release, and confirm it can reach the file storage that holds uploads. Upload a sample CSV to a test dataset and check that the resource gains DataStore status and returns rows through the Data API. Record the sample file, the resource ID and the loader log showing success. Keep personal data out of the sample unless your legal team approves it.

  5. Add ckanext-dcat with the chosen DCAT-AP profile

    Install ckanext-dcat, which provides DCAT-AP v1, v2 and v3 schemas, DCAT RDF endpoints and an RDF harvester. Select the DCAT-AP version your national portal or coordinating body asks for, and confirm it with them before you configure anything, because the choice changes which fields publishers must complete. Check that the extension version supports your CKAN release. Export one test dataset to RDF and check the output against the validator your national portal names. Record the profile version, the extension version and the export test result.

  6. Add ckanext-saml2auth for publisher sign-in

    Install ckanext-saml2auth so publishers sign in through your identity provider with SAML2 single sign-on, which the extension supports on CKAN 2.10 and later. Agree with your identity team which attributes the provider sends, because the extension can assign users to organizations and roles from those attributes and manage sysadmins from an email list. Keep the sysadmin list short and owned by a named person. Test sign-in with one account from each publishing body and one account with no organization, and confirm the second account receives no publishing rights. Record the attribute mapping, the list owner and the test results.

  7. Assign organization roles and record the matrix

    Create one CKAN organization for each publishing body, then assign each publisher the role their duties require, such as editor or member. Where SAML2 attributes already place users, check that automated assignment matches your approved list before you rely on it. Remove any roles left over from testing. Export the list of users, organizations and roles, and have the accountable owner sign it. The step is done when the signed matrix matches what the portal shows. Record the matrix and the approval date.

Evidence for CKAN for the EU Open Data Directive reviews and how to keep it

Reviewers will ask for dated proof of how the portal was configured and operated. Six kinds of record cover that ground, each with a generator, a storage location and a refresh point that your team sets. The reviewing authority decides which records are sufficient.

Configuration and extension versions

Record the CKAN core version, every extension version and the configuration in use. The platform team captures this after each deployment: the running CKAN version, the installed package list from the virtual environment and ckan.ini, with secret values removed. Keep dated snapshots in version control or an evidence share. Refresh them after every extension upgrade or changed configuration key. The reviewing authority decides whether this is sufficient.

Metadata exports and DCAT snapshots

Keep dated exports of the catalog and its DCAT feed. The ckanext-dcat extension publishes RDF for the DCAT-AP profile your national portal harvests, so a dated copy shows what was published on a given day. The catalog owner generates a full metadata export and a DCAT RDF snapshot at each publication run, validates them against the DCAT-AP version the national portal expects, and files them with the publication log. Refresh them on the same schedule so a reviewer can compare one period's catalog with the next. The reviewing authority decides whether this is sufficient.

ckanext-dcat repository

XLoader load records

Log every DataStore load, including the failures. XLoader is the supported loader for uploaded or linked tabular files, and each load leaves a job status for its resource. The data team exports these statuses for each resource in scope, with dataset ID, resource ID, time and error message, after each batch of uploads. Confirm how long your CKAN version keeps job records. The reviewing authority decides whether this is sufficient.

DataStore docs

Organization roles and SAML2 mapping

Export organization roles and the SAML2 attribute mapping. With ckanext-saml2auth, SAML2 attributes can assign users to organizations and roles, so the mapping belongs in the evidence set. The identity team exports the mapping from configuration and the attributes the identity provider releases, and the portal team exports memberships and the sysadmin list. Generate both at each access review and after any mapping change, and store them with the review record. The reviewing authority decides whether this is sufficient.

ckanext-saml2auth repository

Release and patch records

Record every upgrade and patch with versions, tests and rollback points. CKAN supports the latest patch of the current minor and the previous minor, so the record shows whether the portal was on a supported line. The platform team writes an entry each time a patch is applied, covering old and new versions, release notes, the test run and the rollback point. Patch releases exclude schema changes, so a patch that touches the schema deserves a closer look. The reviewing authority decides whether this is sufficient.

Release policy

Backup run logs and restore tests

Keep backup run logs and dated restore tests. Keep both, since a backup proves little until a restore has worked. The operations team logs each run with time, size, storage location and checksum, covering the PostgreSQL databases, including the DataStore, and uploaded files if your deployment stores them locally. Restore into a separate environment at an interval the team sets, and file the result with the run log. Confirm whether the search index is restored or rebuilt. The reviewing authority decides whether this is sufficient.

What CKAN cannot do for a public body and what a partner can and cannot cover

A CKAN portal cannot make a public body compliant with the EU Open Data Directive, and a partner cannot make those decisions for the body. Four decisions stay with the body. The first is scope: which bodies and which datasets are in, which the body must confirm against its own legal mandate. The second is license: the body chooses the license for each dataset, and CKAN records it but does not select it. The third is publication timing, which follows the body's own publication plan and cannot be inferred by the platform. The fourth is data quality. CKAN can enforce required fields through a metadata schema, but it cannot check whether a description is accurate, a file is complete or a dataset is current, because those depend on the publishers in each department. Name an accountable owner for each organization before the build starts.

Hosting location creates an exposure that a partner can help document but cannot remove. Under the GDPR, every transfer of personal data to a third country must meet the conditions in Chapter V, and Article 44 applies that requirement to onward transfers as well. The EDPB Guidelines 05/2021 treat two situations as transfers that teams often overlook: remote access from a third country, even only to display data on a screen for support, and storage in a cloud outside the EEA. A portal in an EEA cloud account can still be exposed if a support engineer abroad can view personal data in user records. List every access path and storage region in the design before signing a hosting contract. Also ask whether the hosting provider is subject to third-country law with extraterritorial effect, because the guidelines state that complying with a third-country authority request would itself be a transfer.

Two other obligations turn on classification and on the hosting provider. NIS2 covers central government entities regardless of size and lists public administration as a sector of high criticality. Member States may extend it to local public administration, and it does not apply to entities working in national security, public security, defense or law enforcement, so the body must confirm its status with its national authority under the NIS2 Directive (EU) 2022/2555. Article 32 of the Data Act places the duty to prevent third-country governmental access to non-personal data on providers of data processing services, so ask the hosting provider in writing how it meets that duty. DeployOpen prepares the systems, controls and evidence that assessors will review. Independent auditors and certification bodies issue any attestation, and DeployOpen does not issue audit reports or certifications.

How much work is CKAN for the EU Open Data Directive, and what do we need to provide?

What makes a CKAN open data project cost more or less?

Cost follows the written scope, and DeployOpen does not publish a price list. The main drivers are the number of datasets and resources to publish or migrate, the number of harvest sources and their formats, the DCAT profile work (mapping your fields to the profile your national portal expects and validating the output), single sign-on through your identity provider, the hosting environment you run in, and the legal decisions your counsel must make about licensing and personal data. One-time costs cover design, build, data loading and handover. Recurring costs cover hosting, patching, upgrades and any retainer for ongoing support and testing. Ask for a quote that lists each driver as a separate line with its assumptions, so you can see what changes if the dataset count grows.

Can our own team implement CKAN for open data without a partner?

Yes, a team with CKAN experience can do the work itself. The software is open source and the install path is documented, but the work covers more than installing packages. Plan for Python 3.10 or newer, PostgreSQL 12 or newer, Solr 9 (recommended) or Solr 8, Redis, and a production web stack. Your team also has to design the metadata schema, set up the DataStore for tabular resources, configure DCAT output and any harvesting, and integrate sign-on. Check whether your staff have run CKAN upgrades before, because extensions must match the CKAN version at every step. A partner makes more sense when internal staff time is limited, when deadlines are fixed, or when you want a documented handover with tested backups and a runbook.

How long does a fixed-scope CKAN open data project take?

Duration follows the written scope, and DeployOpen agrees scope, deliverables and timelines in writing before work starts. The answer depends on the drivers listed in the cost answer, plus your review cycles and approval steps, so no duration is stated here. Ask for a timeline with milestones tied to deliverables: environment ready, schema approved, first datasets loaded, DCAT output validated against your target profile, sign-on tested, and handover complete. Also ask which steps depend on your side, such as legal sign-off, identity provider access and data owner responses, because those often set the critical path. Changes to dataset count or harvest sources should be re-quoted through a written change request. Treat any duration that has no written scope behind it as an estimate that needs confirmation.

What must our public body provide before a CKAN project starts?

Your public body provides the datasets, the people who own the metadata, the legal decisions, and access to your identity provider. Start with an inventory of datasets and resources that records file formats, update frequency and the organization that owns each one. Name a metadata owner for each publishing organization who can answer field-level questions and approve values. Legal decisions include which datasets are open, under which license, and how personal data is removed or excluded before publication. For single sign-on, provide an administrator who can supply identity provider metadata, the attribute names used for organization and role mapping, and a test account. You also need hosting access in your own cloud account, data center or air-gapped network, and a named decision maker for scope changes. Confirm each item in the written scope so nothing slips into the build phase.

Does DeployOpen certify that our CKAN portal is compliant?

No. DeployOpen does not issue audit reports, attestations or certifications, and it does not decide whether your portal meets the directive. DeployOpen prepares the platform, controls and evidence that your compliance team, legal team or an assessor will review. That can include configured metadata profiles, documented data loading and publication steps, access control settings, backup and logging configuration, and written records of decisions made during the project. Independent auditors and certification bodies make any formal determination that applies to you. Your legal and data protection teams decide what the directive requires for each dataset. Ask any implementation partner to state in writing which deliverables are evidence for your review and which decisions remain with you.

Which CKAN release should we plan on for an open data portal?

Plan on CKAN 2.11, using the latest 2.11 patch, unless your required extensions have confirmed support for 2.12. CKAN 2.12.0 was released on August 26, 2026, together with maintenance releases 2.11.6 and 2.10.11. The CKAN release policy says the project supports 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 backward compatibility, but minor releases may include incompatible changes, so a move from 2.11 to 2.12 needs its own planned upgrade and testing. Confirm the current support window with the CKAN project when you start, since the policy can change.

Why does ckanext-dcat support decide which CKAN version we use?

The ckanext-dcat extension provides the DCAT-AP v1, v2 and v3 schemas, DCAT RDF endpoints and an RDF harvester, so it produces the DCAT metadata that national portals consume. It is supported on CKAN 2.10 and 2.11. That makes the extension the constraint on your release: if you run CKAN 2.12 and the extension has not been confirmed for it, your DCAT output is at risk at go-live. Check the extension's repository and release notes against your exact CKAN version before you choose the release. Then test the RDF output against the profile version your national portal expects, and test the harvester if you import from other catalogs.

How DeployOpen works on this

DeployOpen plans, configures, documents and supports CKAN for the EU Open Data Directive inside your own infrastructure, so your team can review the portal's settings, data flows and evidence. Independent assessors issue any compliance attestations. The work starts with a written scope that sets out which datasets, formats, APIs and metadata profiles the portal must support.

How we scope

  • The written scope lists the datasets, file formats, API endpoints and metadata profiles the portal must serve.
  • Your legal and open data leads confirm which bodies, datasets and publication duties apply before design starts.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts; ongoing support is available as a retainer.

How we build

  • We install CKAN in your infrastructure with PostgreSQL, Solr, Redis and a production web server, on versions you approve.
  • We configure DataStore loading with XLoader, the officially supported loader, and test the Data API for filtering, search and paging.
  • We set up DCAT-AP metadata with ckanext-dcat and check RDF output against the profile version your national portal requires.

How we hand over

  • Handover includes an installation record, configuration files, role and permission settings and the upgrade notes your team needs.
  • Documentation covers publication steps, metadata mapping, API endpoints and the evidence your team keeps for each Directive duty.
  • DeployOpen walks your staff through publishing, harvesting and API access, so your team can run the portal.

How we support

  • Retainers can cover CKAN upgrades, extension compatibility checks and changes to metadata profiles, agreed in the written scope.
  • Upgrade planning follows CKAN's release policy, with patch releases reviewed on a schedule and minor releases given a tested plan.
  • Continuous security testing of the portal and its APIs can be added as a retainer, with findings, fixes and retests.

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.