Decidim upgrades and support

Decidim supports only its last two minor versions with security updates, so every deployment needs a planned, one-minor-version-at-a-time upgrade path. This page explains what that work includes, what drives its cost and duration, and when a partner makes sense.

On this page

How Decidim upgrades and support keep you on a supported release

Most organizations run Decidim upgrades with a partner, though a team with Rails and PostgreSQL experience can do them in-house. A live instance has to stay on 0.32.x or 0.31.x, and the trigger is usually one of three things: a security release, a change to the Ruby or Rails baseline, or a decision to adopt new features such as the locale-prefixed URLs introduced in 0.32.0. Each of these can land on a timetable you do not control, so the question is less whether to upgrade and more who carries the work when a patch is due. Before you decide, confirm the Ruby and Node requirements of your target release and check whether your current hosting can meet them.

The support window is narrow on purpose. Until version 1.0, Decidim supports only the last two minor versions with security updates, so 0.30.x and earlier no longer receive fixes. Upgrades also cannot skip minor versions. Decidim's update guide asks you to move one minor version at a time, for example 0.29 to 0.30 before 0.31, and to follow each release's upgrade instructions because some of them change database structures. A jump from an old release straight to 0.32 therefore means several sequential upgrades, each with its own database backup and verification, and each one adds time and risk. Ask any partner to show how they would sequence those steps for your current version.

Before the work starts, confirm three things in writing: which release you run today, which custom modules and OmniAuth providers you have added, and who on your side approves production changes. Custom modules are the most common source of surprise, because they can break when the core changes and must be retested against each target release. Also agree how the patch grace periods in Decidim's security policy will be met, since the project gives implementers 2 months for standard vulnerabilities and 4 months for critical ones before details are disclosed. A fixed-scope agreement should state who monitors releases, who applies patches, and how fast a critical fix goes to production.

What Decidim upgrades and support includes

The work splits into assessment, a sequence of minor-version upgrades, runtime and module compatibility, data and service checks, security patching and handover. Each card names what the client receives, so the upgrade can be reviewed and repeated by the client's own team afterward.

Version assessment

We record the current Decidim version, the Rails, Ruby and Node versions in use, the installation method (manual or Docker), and every custom module or patch in the codebase. The output is a written inventory and a list of the minor releases between the current version and the target. Check whether the current branch is still within the two supported minor versions before planning anything else.

Decidim update docs

Stepwise minor-version upgrades

Decidim's update guide asks for one minor version at a time, for example 0.29 to 0.30 before 0.31, following each release's own instructions because some change database structures. We run each step in sequence, with a checkpoint and a test pass between steps. The client receives a log of each version reached and the upgrade notes applied at each stop.

Current supported line
0.32.x

Ruby and Node runtime changes

Each Decidim release sets its own runtime. Version 0.32 requires Ruby 3.4.7 and Node 22.14.x, and version 0.31 uses Ruby 3.3.4 with Node 22.14.x. We align the application server, the asset build and the gem bundle with the target release, then confirm the app boots and assets compile. The client receives the pinned runtime versions and the build steps used.

Custom module compatibility

Custom components, patches and forks often break when Rails or Decidim internals change. We review each custom module against the target release, adjust hooks and overrides, and run its tests and manual checks. Ask the client to confirm which modules are still needed, because retiring an unused module lowers every future upgrade's cost and risk.

Database backup and migration checks

Before each step we take a full database backup and confirm it restores to a separate instance. We then run the release's schema migrations, check for failed or skipped migrations, and review data counts for processes, proposals and users. The client receives backup records, restore test results and the migration output for every step.

Manual install baseline
PostgreSQL 17.4

Background jobs and file storage checks

Production setups depend on ActiveJob workers, ActiveStorage file storage, SMTP and map services. After each upgrade we confirm queued jobs process, uploaded files load and attachments download, and outgoing email is delivered. The client receives a checklist with the results and the configuration values verified.

Security patch application

Decidim supports only the last two minor versions with security updates, so an upgrade often also closes known gaps. We apply the latest patch release on each supported branch and track advisories against the installed version. Confirm the client's internal patch windows in advance, since Decidim's disclosure grace periods are two months for standard issues and four months for critical ones.

Critical patch grace
4 months
Decidim security policy

Handover and runbook

We write a runbook covering the upgrade procedure used, rollback steps, backup and restore commands, runtime versions and the monitoring the client's team should watch. A handover session walks their engineers through one dry run. The client keeps the runbook and the record of every version reached, which is what their own team needs for the next upgrade.

One minor upgrade hop runs through staging before production and repeats for the next version

The hop starts with a full backup of the production database, then a clone of production into staging. Operators read the upgrade instructions for the target release, update Ruby and Node to the versions that release requires, and run its migrations, since some releases change database structures. Custom modules and background jobs are tested in staging before cutover. If the next minor version is still needed, the same loop runs again, one version at a time.

Each minor hop follows this loop, with staging tested before production cutover.

What drives the cost of Decidim upgrades and support

This table lists the factors that change how much work each Decidim upgrade takes and how much ongoing support follows. Read each row as a lever: the middle column explains why it moves effort, and the right column names what your team or a partner can do to keep it contained.

DriverWhy it affects effortHow to keep it down
Minor versions between current and targetDecidim's update guide asks for one minor version at a time, each with its own upgrade instructions, so every step is a separate test and release cycle.Stay close to the supported 0.31 and 0.32 branches and upgrade on a fixed schedule instead of letting the gap grow.
Number and depth of custom modulesCustom components and overrides must be checked against each Rails, Ruby and Decidim change, and deep changes to core views or models often need rework.Keep customizations as thin as possible, document each one, and prefer extension points over patches to core code.
OmniAuth and social login providersEach provider brings its own credentials, callback URLs and vendor-side changes that must be retested after every upgrade.Limit providers to those actually used and confirm with each provider which changes would affect your setup.
Docker versus manual installationA manual Rails install means the team manages Ruby, Node, PostgreSQL and the operating system directly, while Docker images bundle some of that but still need configuration review.Confirm which method you run, pin image or package versions, and write down the steps your team actually follows.
Data volume and database migrationsSome releases change database structures, so large tables and long migrations raise the time window and the rollback risk.Back up the database before each step, measure a test migration on a copy of production data, and plan the maintenance window.
Number of environments to testEach environment such as development, staging and production needs its own upgrade run and verification pass.Keep a staging copy that mirrors production configuration, and reuse the same test checklist for every release.
Integrations: SMTP, maps and geocodingMail delivery, map tiles and geocoding providers depend on external services and settings that can break silently after an upgrade.Test email delivery, map rendering and address lookup as part of every upgrade checklist and confirm provider API terms.
Compliance evidence the client needsAssessors may ask for change records, test results, patch timelines and proof of backups, which adds documentation work to each upgrade.Agree the evidence list in writing before work starts and generate it as part of the upgrade, not afterwards.

How the upgrade path changes by starting point

An instance already on the 0.31 branch is the shortest path to the current supported line, which is 0.32.x. The work is a single minor step, but it still follows the release's own upgrade instructions, because minor releases can change database structures. Confirm the exact patch level first, since the 0.31 branch has received later patch releases, and plan around the Ruby and Node versions that 0.32 requires.

  • Patch level: Record the exact 0.31.x tag in use and move to the latest 0.31 patch before starting, so the upgrade begins from a known state.
  • Runtime change: Plan the move from Ruby 3.3.4 on 0.31 to Ruby 3.4.7 on 0.32, along with Node 22.14.x.
  • Database backup: Take and test a database backup before any migration runs, as the update guide requires.
  • Locale-prefixed URLs: Review the 0.32 release notes for the locale-prefixed URL change and check any links, redirects or integrations that depend on the old paths.
  • Custom code review: Check every custom module and theme against 0.32 before the upgrade window opens.

Before you start, confirm the current patch version, the target 0.32 patch, and whether your team or a partner owns the rollback plan.

Upgrade phases from assessment to handover

The sequence moves a Decidim instance from its current release to a supported one without losing data, custom code or participant access. Each phase closes with a written output that the next phase depends on, so the client can see what changed and what was verified before production is touched.

  1. Assess the current version and modules

    Record the installed Decidim minor version, the Ruby and Node versions in use, the PostgreSQL version, every enabled component and space type, and every custom module, theme or OmniAuth provider. Compare the installed version against the two supported minor releases, which at the time of writing are 0.32.x and 0.31.x, and against the update path from the current release. DeployOpen performs this assessment and the client's platform owner confirms the inventory. The phase is complete when a written upgrade inventory lists each version, each custom component and each known gap, and the target release is agreed.

  2. Confirm environment and backup readiness

    Check that the target hosting meets the runtime requirements for the chosen release, including Ruby, Node and PostgreSQL versions as stated in the installation documentation. Confirm that ActiveJob workers, ActiveStorage file storage, SMTP and any map or geocoding services work in a copy of production. Take a full database backup and a file storage backup, and verify that the backup restores on a separate host. The output is a readiness checklist signed by the client's operations lead, with a restore test result attached.

  3. Upgrade the staging copy one minor version at a time

    Restore production data into staging and move the instance through each intermediate minor release in order, for example from 0.29 to 0.30 before 0.31, applying the upgrade instructions published for each release. The update guide notes that some releases change database structures, so each hop runs its migrations and is checked before the next hop starts. DeployOpen runs the hops and records the outcome of each one. The phase is complete when the staging instance reaches the target release with every migration applied and a log for each hop.

  4. Fix custom modules and Ruby or Rails changes

    Where the release moves Ruby or Rails forward, run the custom modules, themes and any patched code against the new runtime and resolve deprecations, failing tests and changed APIs. Review each OmniAuth strategy and custom authorization handler against the new release. Keep changes in version-controlled branches with a note on why each change was needed. The output is a passing automated test run on the target release and a list of custom code changes that the client's maintainers can review.

  5. Test spaces, components and authorization flows

    Test the participatory spaces in use, such as processes, assemblies and initiatives, and each enabled component, including the ones that handle votes, signatures or budgets. Repeat the authorization and verification paths with test accounts for each rule, and test social or single sign-on logins for each organization. Check email delivery, file uploads and the public pages participants see. The output is a test log with each path marked as passed, failed or accepted by the client, and a defect list with owners for anything still open.

  6. Cut over to production with a rollback path

    Schedule the production window with the client, freeze content changes, take a fresh backup, and run the same hop sequence that passed on staging. Keep the pre-upgrade backup and the previous application build available until the client accepts the result. Watch background jobs, error logs and email queues after the switch. The phase is complete when production reports the target release, the client signs the cutover record, and the rollback decision point has passed.

  7. Hand over documentation and support terms

    Deliver the final upgrade record, the custom code repository, the updated runbook, the list of known issues and the monitoring setup to the client's maintainers. Agree how security advisories and future minor upgrades will be handled, including the security patch grace periods that Decidim publishes for implementers and the support window for the two most recent minor releases. Ongoing support and continuous testing can be contracted as a retainer. The output is a signed handover pack and a named contact for the next upgrade decision.

How the support window and grace periods set your patch clock

Until version 1.0, Decidim supports only the last two minor versions with security updates. At the time of the supplied facts, that means 0.32.x and 0.31.x, while 0.30.x and earlier are no longer supported. If your production instance sits on an older minor version, you are not receiving security fixes for it, and the gap grows with every new minor release. Treat the upgrade decision as a security decision, not only a feature decision. Before you schedule anything, confirm the current supported branches in Decidim's SECURITY.md, because the window moves as new minor versions ship.

Decidim's security policy gives implementers a grace period of 2 months to apply patches for standard vulnerabilities and 4 months for critical ones before details are disclosed. Use these figures as the planning baseline your team works against, not as a guarantee of how Decidim will handle future reports. Build your patch clock around them: a critical fix needs to reach production, after staging tests of your custom modules, theme and integrations, well inside the four-month window. Ask your partner or internal team to record how long each step takes on your own instance, including database backup, the release's upgrade instructions and regression checks on identity providers and file storage. Those measured steps are what turn the grace period into a usable schedule.

Report suspected vulnerabilities in Decidim to security@decidim.org or through GitHub Security Advisories, as the project's security policy describes. Your own intake process should route vendor advisories, and any issues you find in custom modules, to the same people who own patch approval, so the grace period is not spent waiting for a decision. Agree in advance who can approve an out-of-cycle patch, who runs the staging test, and who signs off on the production change. If you cannot meet the support window in time, record that as a risk with a named owner and a date for the next planned upgrade.

Which upgrade tasks your team keeps and which a partner takes

This table compares the upgrade tasks for a Decidim platform, showing whether teams usually keep each one in-house or hand it to a partner, and which skills it needs. Use it to split work between your staff and an implementer, then confirm the split against your own team's Ruby on Rails and PostgreSQL experience. The main takeaway is that release reading and patch tracking are cheap to keep, while custom module refactoring and production cutover need hands-on Rails and database depth.

TaskUsually in-house or outsourcedSkills it needs
Reading release notes and upgrade instructionsIn-house, with partner reviewProduct owner literacy, basic Decidim configuration knowledge
Ruby and Rails dependency changesOutsourced for first upgrades, in-house laterRuby on Rails, Ruby version management, Node tooling
Custom module refactoringOutsourced, unless a Rails team owns the modulesRuby on Rails, Decidim module APIs, automated test writing
Database backup and restore testingShared, with infrastructure team ownershipPostgreSQL administration, backup tooling, restore verification
Staging validationShared between client testers and partner engineersTest scripting, participatory process knowledge, Rails debugging
Production cutoverOutsourced or run jointly with a rehearsed runbookPostgreSQL, Rails deployment, Docker or server operations
Monitoring after upgradeIn-house, with partner support during the first weeksApplication logs, PostgreSQL metrics, background job monitoring
Ongoing patch monitoringIn-house, tracking supported branches and advisoriesReading security advisories, applying minor and patch releases

What goes wrong in Decidim upgrades and how to prevent it

Most failed Decidim upgrades trace back to a few predictable causes: skipped versions, unverified backups, and runtime changes in Ruby, Rails, Node or PostgreSQL. Each card below names one risk and the check that prevents it, tied to the steps in the update instructions.

Skipping a minor version

Decidim's update guide says to move one minor version at a time, for example 0.29 to 0.30 before 0.31. Some releases change database structures, and each one ships its own upgrade instructions. Before starting, list every minor version between your current release and the target, read each set of instructions, and plan a staging upgrade for each step. Ask your team or partner to record which step each change was tested on.

Version per step
One minor
Update guide

Upgrading without a verified backup

The update guide asks you to back up the database before any upgrade. A backup that has never been restored is an assumption, not a recovery plan. Take the backup, restore it into a separate PostgreSQL instance, and confirm that the application starts and that accounts, proposals and process data are present. Keep the backup until the new version has run in production for a period your organization sets.

Custom modules breaking on new Rails

Custom modules, themes and patches are the most likely point of failure when Decidim moves to a newer Ruby or Rails release. Decidim v0.32 uses Ruby 3.4.7 and Rails 8.1, and v0.31 uses Ruby 3.3.4. Inventory every custom component and override, run its test suite against the target version in staging, and treat any module with no tests as the largest unknown in the plan.

Background jobs and storage failing at cutover

After the new release is live, ActiveJob workers, ActiveStorage uploads, SMTP delivery and map or geocoding calls can fail even when the web app loads. Participants then see missing attachments, unsent confirmation emails or stalled exports. Check the job queue, confirm that uploaded files resolve, send a test email and run a geocoding request on the new stack before you open the site to users.

Node or PostgreSQL version mismatch

Decidim v0.31 and v0.32 both call for Node 22.14.x, and the manual installation guide uses PostgreSQL 17.4 or later on Ubuntu 24.04.3 LTS. A host image or Docker base that drifts from these versions can cause asset build failures or database errors that look like application bugs. Pin the Node and PostgreSQL versions in your build and deployment configuration, and confirm them against the release's installation instructions for each step.

Manual install guide

Falling out of the support window

Until version 1.0, Decidim supports only the last two minor versions with security updates. Once a release falls outside that window, security fixes arrive for newer lines only, and your instance is exposed to any advisory disclosed after the grace period ends. Track the current supported branches, schedule upgrades so a single minor step never takes more than one cycle, and set a written deadline for applying security patches.

Standard patch grace
2 months
Security policy

What you provide before an upgrade starts

The fastest way to scope a Decidim upgrade is to have the client's inputs ready before the assessment begins. The first item is access to the current server or container setup, including how Decidim is deployed (manual Rails application or Docker), the Ruby, Node and PostgreSQL versions in use, and the configuration files that hold background job, file storage, SMTP, map and social login settings. Without this, the assessment has to reconstruct the environment from guesswork, and every unknown becomes a later change request. Next, provide your current database backup policy and a recent restore test result. Upgrades move one minor version at a time because release instructions can change database structures, so the team needs to know how backups are taken, where they are kept and who can restore them before any migration runs.

A staging environment that matches production is the second essential input. It should share the same Ruby and PostgreSQL versions, file storage approach, mail and integration endpoints, and a copy of production data with personal information handled under your own rules. Pair it with a written list of custom modules, extensions and themes, along with the owner of each one, because custom code is where most upgrade rework appears. List the enabled OmniAuth providers and any external integrations, such as identity verification handlers, mapping services and reporting exports, so each one can be tested after the upgrade. Finally, decide the maintenance window and name a business owner who approves the cutover. The window fixes how long participants can be locked out, and the approver makes the go or no-go call on test results. Confirm these decisions with your own leadership and check the Updating Decidim guide for each target release.

Questions buyers ask about Decidim upgrades and support

What drives the cost of a Decidim upgrade?

The main cost drivers are how many minor versions separate your instance from the target, how much custom code and how many custom modules you run, and how much of your data and configuration needs checking after each step. Decidim's update guide asks you to move one minor version at a time, for example 0.29 to 0.30 before 0.31, and to follow each release's upgrade instructions because some releases change database structures. Each step is a separate piece of work with its own testing. Ask any partner for a quote that lists each version step, the custom modules in scope, the staging environment, and the backup and rollback plan. A fixed-scope agreement in writing is the usual way to compare quotes. Upgrades are typically one-time work, while ongoing support is a recurring cost you should price separately.

How long does a Decidim upgrade take, and what sets that time?

Duration depends mainly on the number of minor version steps, the Ruby, Rails and Node changes each step brings, and the size of your custom code. Recent releases illustrate the moving parts: v0.32 requires Ruby 3.4.7 and Node 22.14.x, while v0.31 uses Ruby 3.3.4 and Node 22.14.x, so runtime changes can appear at each step. Testing time, including checks of participatory spaces, components, login and email, usually drives the schedule more than the upgrade commands themselves. Your team's availability for review and sign-off also matters. Ask the partner to state the expected duration for each step and what would extend it, and confirm the timeline in the written scope before work starts.

Can our own team upgrade our Decidim instance?

Yes, if your team has Ruby on Rails and PostgreSQL experience and time to follow each release's instructions carefully. The upgrade path is documented, and the update guide asks you to back up the database first and to go one minor version at a time. The hard parts are usually custom modules, background jobs, file storage, SMTP and social login settings, which the upgrade can affect in ways that are not obvious from the core release notes. Decide who will own each step, who tests the result, and who handles a failed rollback. Many organizations split the work: their team runs routine tasks while an outside partner handles the version steps and custom code. Confirm which parts your team can carry before you commit.

What happens if our Decidim instance is on version 0.30 or older?

Versions 0.30.x and earlier are no longer supported with security updates, so an instance on those versions is exposed to any vulnerability fixed only in 0.31 or 0.32. Until version 1.0, Decidim supports only the last two minor versions, currently 0.32.x and 0.31.x. The first priority is usually to plan the step-by-step path from your current version forward, one minor version at a time, following each release's upgrade instructions. Start by taking a full database backup and checking your custom modules against each target version. Ask any partner to confirm your current version, the number of steps and the risks of running an unsupported version while the work proceeds.

How do the security patch grace periods affect upgrade scheduling?

Decidim gives implementers a grace period of 2 months to apply patches for standard vulnerabilities and 4 months for critical ones before details are disclosed. That window matters because a long multi-step upgrade may still be in progress when a patch arrives. Plan the upgrade so that each step can be completed promptly, and keep a clear process for triaging advisories against your running version. Security reports for Decidim go to security@decidim.org or GitHub Security Advisories, so someone on your team should monitor those channels. Agree in the written scope who applies patches, how quickly they are tested, and how you will document the change for your security or compliance reviewers.

What does an upgrade need from our team?

Your team needs to provide access, decisions and sign-off. Typical inputs include credentials to the hosting environment and database, a staging copy that mirrors production, a list of custom modules and integrations, and named contacts for business acceptance testing. Your team also owns the decision to deploy to production and the schedule for any downtime. Ask the partner to list every input they require before work starts, and confirm who approves each change. Clear ownership shortens the review cycle and reduces the chance that an upgrade stalls waiting for information.

Can a partner provide ongoing support for Decidim after the upgrade?

Yes. DeployOpen plans, implements, customizes, integrates, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms, including Decidim, inside the client's own infrastructure. Ongoing support, upgrades and continuous testing are available as retainers, while most one-time upgrade engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. A retainer typically covers tracking releases and security advisories, applying patches within your agreed window, and handling routine operational tasks. Ask for a written description of what the retainer includes, how response times are defined, and what is billed separately, such as major custom development. DeployOpen does not publish a price list, so a quote follows from the written scope.

How DeployOpen scopes, delivers and hands over Decidim upgrades

DeployOpen plans Decidim upgrades as written, fixed-scope work inside your own infrastructure, one minor version at a time. Each step covers the release's upgrade instructions, database backup and restore, custom module review and verification before anything reaches production.

How we scope

  • Inventory the running Decidim version, Ruby and Node runtimes, PostgreSQL version and hosting model.
  • List custom modules, theme changes, OmniAuth providers and background job settings that the upgrade must carry across.
  • Agree the upgrade path, such as 0.29 to 0.30 before 0.31, in a written scope with deliverables and timelines.

How we build

  • Back up the database and file storage before each step, and confirm the restore procedure works in a staging copy.
  • Apply each release's upgrade instructions, then review custom modules against Ruby and Rails changes in that release.
  • Run the test suite and a manual check of key participatory spaces, components and login flows before promoting each step.

How we hand over

  • Document each version step, the commands run, configuration changes and any custom code adjustments made.
  • Record the final running versions and the date each one left the supported window so your team can plan the next upgrade.
  • Walk your operations and development staff through the runbook and the rollback steps for each release.

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer after the initial engagement ends.
  • Track published security advisories and patch releases for your running version, and scope the work to apply them.
  • Ask any provider, including us, to confirm the security patch grace periods and reporting channels in writing before work starts.

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.