Decidim 0.29 to 0.30 upgrade

A planned Decidim 0.29 to 0.30 upgrade is one step in a chain to a supported release, and each step needs its own release review, database changes and rollback point. This page sets out what the step involves and what drives its effort.

On this page

Why the Decidim 0.29 to 0.30 upgrade is a Decidim upgrade step, not the finish line

An install still on 0.29 has to keep moving, and 0.30.x is no longer security-supported. Decidim supports only the last two minor versions with security updates until version 1.0, which means the current supported lines are 0.32.x and 0.31.x. The move from 0.29 to a supported release therefore runs through 0.30, then 0.31, then 0.32. Treat 0.30 as a waypoint that lets you reach a line that still receives patches, not as the place where the upgrade ends.

Decidim's update documentation says to upgrade one minor version at a time and to follow each release's upgrade instructions, because some releases change database structures. Skipping 0.30 to reach 0.31 directly is not a shortcut the docs support. Before you touch code, take a full database backup and confirm you can restore it on a separate host. Record the exact version you are running today, including any Ruby and Node versions in use, so you can return to a known state if a step fails.

Plan the sequence before the first deployment. Each hop needs its own release notes review, its own database changes, its own custom code check and its own staging run, and the 0.31 and 0.32 steps depend on the state you leave behind at 0.30. Confirm with your team who owns each hop, which overrides and community modules must be checked at each release, and when the environment is frozen for the cutover. A clean 0.30 that is not followed by 0.31 and 0.32 leaves you on an unsupported platform, so the schedule should cover the whole chain from the start.

What changes in the 0.30 release and what it means for your install

This table compares the areas that change when an install moves from 0.29 to 0.30, and what each one asks of your team. Read it as a checklist: confirm each row against the 0.30 release notes and upgrade instructions before you schedule the work. The main takeaway is that 0.30 is a stop on the way to a supported release, not a destination, so plan the database backup and the Ruby and Node checks from the start.

ChangeImpactAction needed
0.30 release notesLists the functional and internal changes that can affect your templates, overrides, components and custom modules.Read the full 0.30 release notes and mark every item that touches your customizations before staging begins.
Database structure changesDecidim's update guide says some minor releases change database structures, so 0.30 may require schema migrations.Take a verified database backup first and run the 0.30 migration steps exactly as the 0.30 upgrade instructions describe.
Ruby version for 0.30The exact Ruby version for 0.30 was not confirmed here and must be checked, since 0.31 uses Ruby 3.3.4 and 0.32 uses Ruby 3.4.7.Confirm the required Ruby version in the 0.30 installation docs and align your runtime before running the upgrade.
Node version for 0.30Node requirements for 0.30 must be confirmed; 0.31 and 0.32 both list Node 22.14.x.Confirm the required Node version for 0.30 and check that asset compilation works on your build servers.
Database engine versionThe manual installation guide lists PostgreSQL 17.4 or later on Ubuntu 24.04.3 LTS, which is a reference for current installs.Confirm the PostgreSQL version that 0.30 supports and check it against your current database server before upgrading.
Community modules and overridesModules and view overrides written for 0.29 may break when the 0.30 code changes.Verify each community module and override against 0.30 in staging before you touch production.
Support status of 0.30Security updates cover only the last two minor versions, currently 0.32.x and 0.31.x, so 0.30.x is not supported.Treat 0.30 as an intermediate step and plan the next upgrade to 0.31 or later as part of the same project.

What to prepare before touching the 0.29 install

Four preparation steps come before any change to a Decidim 0.29 install. Each one protects a different part of the platform: the data, the custom code, the test environment and the decision to proceed. Skipping any of them makes the upgrade harder to reverse and harder to explain if something breaks.

Take a full database backup

Create a complete PostgreSQL backup of the production database before any code, gem or migration change. Decidim's update guide tells implementers to back up the database first, because some minor-version releases change database structures. Store the dump outside the application host and test that it restores on a separate machine, so a rollback is a known procedure rather than a hope. Record the backup time and the Decidim version it came from.

Decidim update guide

Inventory overrides and community modules

List every view override, monkey patch, initializer change and community module installed on the 0.29 instance, with the version of each. Check each one against the 0.30 release notes and against the module's own compatibility statement, because a patched class that changed upstream can fail silently. Mark anything you cannot explain or cannot find a maintainer for, since these items decide whether the upgrade is a routine step or a project of its own.

Build a staging copy with production data

Restore a recent production backup into a staging environment with the same Ruby, Node, PostgreSQL and web server versions as production. Use a data volume close to production, including large proposal counts, attachments and many participants, because migrations and background jobs behave differently under load. Run the 0.30 upgrade there first and time each step. Staging results are the only reliable basis for a downtime estimate.

Capture environment configuration

Write down the configuration that lives outside the code: file storage settings for ActiveStorage, SMTP credentials and sender domains, social login provider keys for Facebook, Twitter, Google or Decidim-to-Decidim OAuth 2.0, map and geocoding services, and the ActiveJob queue setup. Keep this record in version control or a secrets manager, and confirm each value works on staging. Missing values often surface only after cutover, when password resets or social sign-in stop working.

Name one owner for go or no-go

Assign one accountable person who makes the final go or no-go decision, with written criteria: a restorable backup, a clean staging run, resolved module blockers and a tested rollback path. Name who can approve a delay and who communicates downtime to the organization's participants. Without a single owner, teams tend to proceed on partial evidence or stop without a clear reason. Agree the criteria in writing before the maintenance window is booked.

How the 0.29 to 0.30 upgrade runs step by step

The sequence moves a 0.29 install to 0.30 on a rehearsed staging copy first, with a check and a rollback point at each stage, so production cutover only happens once the upgrade is proven. The result is a 0.30 instance ready for the next step toward 0.31.

  1. Freeze changes and back up the database

    The client's platform owner freezes content and configuration changes on the production 0.29 instance and takes a full database backup, plus a copy of uploaded files and the deployed code revision. DeployOpen confirms the backup can be restored into a scratch database before any other work begins. The step is done when a restore test succeeds and the exact 0.29 commit, Gemfile.lock and configuration are recorded. Rollback point: the unchanged 0.29 production system and this backup.

  2. Rebuild a staging environment on 0.29

    Build a staging instance that matches production as closely as possible: the same 0.29 release, PostgreSQL version, background job setup, file storage, SMTP settings and social login providers. Load the restored production data, and confirm that community modules and custom overrides are present at the versions in use. The step is done when staging boots on 0.29 and its key pages, admin login and background jobs behave like production. Rollback point: staging is disposable and can be rebuilt from the same backup.

  3. Read the 0.30 release notes and upgrade instructions

    The upgrade lead reads the 0.30 release notes and its upgrade instructions line by line, then lists every required change against the client's own code. Decidim's update guidance says to follow each release's instructions because some releases change database structures, so this list is the reference for every later step. Also confirm the runtime requirements for 0.30 with the release notes. The step is done when a written checklist exists, with each item marked as applicable or not applicable to this install. Rollback point: no system has changed yet.

  4. Update the Ruby and Node runtime

    Install the Ruby version the 0.30 release requires, which the researched facts name as Ruby 3.2.2, along with the Node version listed in the release instructions. Update the Gemfile, bundle the dependencies and rebuild the asset pipeline on staging only. Confirm that the Rails server boots and that the test suite starts before any Decidim code changes are applied. The step is done when the runtime versions are recorded and staging starts on 0.29 code with the new runtime. Rollback point: restore the previous runtime image or package set on staging.

  5. Apply the code and dependency changes

    Move the Decidim gem version to 0.30 and apply the code changes listed in the release instructions, such as configuration keys, initializers and any renamed or removed methods. Then review each custom module and override against the release notes and adjust it, so that its behavior is preserved. Run the dependency install and resolve conflicts, and commit the changes to a dedicated upgrade branch. The step is done when the code builds and the change list matches the checklist from the previous step. Rollback point: the 0.29 branch and the runtime from the previous step.

  6. Run the database changes

    Run the database migrations that come with 0.30 on the staging copy, following the order in the upgrade instructions and any data migration commands the release lists. Because some releases change database structures, check the schema diff and the row counts of key tables such as users, proposals and comments before and after the run. Record how long the migration took, since that is the figure the production cutover plan depends on. The step is done when migrations complete without errors and the counts match. Rollback point: restore the staging database from the backup taken at the start.

  7. Run the test suite and smoke tests on staging

    Run the full automated test suite for the custom code and community modules, then run smoke tests on staging covering login, registration, the main participatory spaces, components, the admin panel, email delivery and background jobs. Testers from the client's team sign off on the critical participant and administrator journeys. The step is done when the suite passes, the smoke test script is green and the sign-off list is complete. Any failure goes back to the code step, not to production. Rollback point: staging can be restored and the upgrade branch reworked.

  8. Plan the production cutover and the next step

    Write the cutover runbook from the staging results: the maintenance window, the order of backup, code deployment, migrations, service restart and verification, and the named owner for each action. Agree a go or no-go check with the client before the window opens, and keep the 0.29 system and its backup ready for rollback until the 0.30 instance is verified. After cutover, record the 0.30 state and start the 0.30 to 0.31 upgrade, because 0.30 is not supported and the chain must continue one minor version at a time. The step is done when the runbook is approved and the 0.31 upgrade is scheduled.

How to test the upgrade and roll back if it fails

Test the upgraded staging instance before any production cutover, and treat a clean boot as the starting point rather than the finish line. Walk through the participatory spaces that matter most to your organization: at least one process, one assembly and one initiative, with their main components such as proposals, meetings and surveys. Confirm that content created on the old 0.29 install still renders, that component settings survived the migration, and that a moderator can complete a common admin action. Record each check in a short sign-off list so the same list can be rerun on production.

Next, test the controls that users and auditors notice first. Run a full authorization flow with a verified test account and a non-verified one, and confirm that restricted actions such as voting or signing behave as your configuration intends. Log in through every social or Decidim-to-Decidim provider you enable, since OAuth callback URLs and secrets are easy to miss in a staging copy. Send a password reset and a notification to confirm SMTP delivery, check that background jobs are processed by your queue, and upload a file to confirm that ActiveStorage writes and serves it. Confirm the exact versions of the Ruby and Node runtimes on the staging host against the release notes for 0.30 before you trust any of these results.

Plan rollback as a deliberate procedure, not an emergency improvisation. Rollback means restoring the pre-upgrade database backup and redeploying the previous application release, and it only works if you have tested that backup restore on a separate host and kept the old code artifact, including its Gemfile lock and any custom modules, in a location you can still reach. Decide in advance who may call a rollback, which symptoms trigger it, and how long a restore is expected to take, then confirm those figures with your own infrastructure team. Note that files uploaded after the backup may not be in the restored database, so decide how those writes are reconciled. Keep the old release running in a rehearsal environment until the upgrade is accepted.

What makes a Decidim 0.30 upgrade take longer

This table compares the factors that expand or shorten a Decidim 0.29 to 0.30 upgrade, from custom code to database size and staging depth. Read each row as a question to answer about your own install before planning the window. The main takeaway is that custom code, community modules and staging coverage usually matter more to the schedule than the core release notes.

DriverWhy it mattersHow to reduce it
Custom overrides and monkey patchesOverridden views and patched classes can break when core code changes, and each one needs manual review and testing.Inventory overrides before starting, move them into your own module where possible, and add tests that catch breakage.
Community modules without a 0.30 releaseA module with no 0.30 support may block the step or force a fork, which adds work before the upgrade can begin.Check each module's compatibility, confirm with its maintainer, and decide early whether to replace, fork or drop it.
Database size and backup timeBackups must finish before the upgrade, and larger databases lengthen both the backup and the migration run.Measure backup and restore time on a copy of production, and confirm the restore process works before the change window.
Number of organizations on one installMulti-tenant installs run more configuration, content and migration checks, and problems can affect several communities at once.Review each organization's settings and content, and sequence checks so that each tenant is verified after the upgrade.
Integrations such as identity providers and mapsLogin, geocoding and other external services can fail after a change, and each needs a separate check against the new release.List every integration with its configuration, test login and maps on staging, and confirm credentials and callback addresses.
Depth of staging testingWithout a production-like staging copy, problems surface during the live window, when rollback is harder to control.Rehearse the full upgrade on recent production data, time each step, and record fixes before the production run.
Ruby and Node environment changesRuntime changes can require host rebuilds, package updates and container image changes that are not part of the application code.Confirm the target Ruby and Node versions in the release instructions and prepare the build environment before the window.

Questions teams ask before upgrading Decidim from 0.29 to 0.30

What drives the cost and effort of a Decidim 0.29 to 0.30 upgrade?

The main drivers are how much custom code you run, how many community modules you depend on, and how far your installation has drifted from the stock release. Each minor version has its own upgrade instructions, and some of them change database structures, so the work includes reading the 0.30 release notes, applying their steps and confirming the data migrations complete. Overrides, monkey patches and custom components take the most time because each one must be checked against 0.30 and retested. Ask any partner for a quote that lists the custom code, modules, environments and test passes it covers, and whether the Ruby upgrade for this step is included.

How long does the 0.29 to 0.30 upgrade take in practice?

No researched duration is available for this step, so confirm the timeline against your own environment rather than a generic figure. The length depends on the size of your database, the number of custom modules and overrides, the number of environments you must rehearse through, and how much testing your organization requires before production. Plan for at least one full rehearsal on a copy of production data, because the database changes and the backup step must be proven before a live window. Ask for the schedule in writing, with separate dates for staging, testing sign-off and the production cutover.

What must our internal team provide for the upgrade?

Your team must supply access, knowledge of the platform and decisions that only your organization can make. That includes a current inventory of custom modules, overrides and community modules, server and database access in staging and production, a recent database backup procedure, and a named owner who can approve test results. Your team also needs to confirm the target hosting setup, including Ruby and Node versions on the servers, background job configuration, file storage and SMTP settings. Someone with authority must agree the maintenance window and the rollback plan before work begins.

Can our team upgrade Decidim to 0.30 without outside help?

A team with Rails experience can carry out the upgrade if it follows the official update guide closely, tests in staging and keeps a verified database backup. The hard parts are less the commands than the judgment calls: deciding how to treat overrides, confirming that community modules work on 0.30, and recognizing when a data migration or schema change needs investigation. If your team has no one who has upgraded Decidim before, or if the platform carries many customizations, an outside partner can plan and run the work under a written scope. Either way, confirm who will test the results and who will fix issues found after the cutover.

Why not stop at 0.30, and should we skip straight to 0.31?

Stopping at 0.30 leaves you on a line that is no longer supported. Decidim supports only the last two minor versions with security updates until version 1.0, and at the time of the sources used here that meant 0.32.x and 0.31.x, so 0.30.x and earlier are not supported. Decidim's update guide also says to move one minor version at a time, because each release's instructions may change database structures. Treat 0.30 as one stop in the chain, and plan the 0.31 and later steps before you begin, since each one adds Ruby and Node changes and more testing. Confirm the current supported versions on the project's security page before you set the target.

What happens if a community module does not support Decidim 0.30?

If a community module has no release that works with 0.30, you have three broad options: find a maintained fork or alternative, adapt the module yourself, or remove the feature and accept the change in behavior. Each option has a cost, and the choice should be made before the staging rehearsal starts. Check the module's repository, its issue history and its license, because an abandoned module may still work but will not receive security fixes. Ask any partner to list the modules in scope, the module-by-module findings and the work needed to bring each one to a supported state. Do not assume a module that loads on 0.30 has been tested.

Does the 0.29 to 0.30 upgrade change the database?

Yes, the update documentation warns that some minor version upgrades change database structures, so you should expect schema and data changes to be applied during this step. Before running anything, take a full database backup and confirm you can restore it to a separate environment. Rehearse the upgrade on a copy of production data, check the migration output for errors, and verify that records such as proposals, participants and component settings look correct afterward. Keep the backup until the platform has been stable for an agreed period, and ask your partner or internal team to document the restore steps so they can be followed under pressure.

How the Decidim upgrade chain fits together

The chain starts on a Decidim 0.29 install and passes a backup and staging test gate before each step. The 0.30 line is a transit point only, since it no longer receives security updates, so the path should move through it without stopping. A failed gate restores the backup taken just before it, and the upgrade continues through 0.31 to 0.32, the supported target. Check each gate's results before moving on.

The upgrade path from 0.29 to the supported 0.32 target, with rollback to each backup.

What DeployOpen does in this upgrade and what your team provides

DeployOpen plans the 0.29 to 0.30 step as one link in the chain to a supported release, since Decidim's update guide asks operators to move one minor version at a time and follow each release's upgrade instructions. In practice, DeployOpen reviews the 0.30 release notes against your install, audits your custom code, overrides and community modules for anything the release touches, runs the upgrade on a staging copy of production, and documents a rollback path before any change reaches production. The written scope sets which of these steps apply to your install, what each deliverable looks like, and how the work is sequenced with your own change windows. Scope and deliverables are agreed in writing before work starts, so the quote follows from a defined list rather than an open-ended estimate.

Your team provides the access and decisions that the work depends on. That means access to the staging and production environments, the Rails application code and its configuration files, and the hosts or containers that run Decidim, along with permission for someone to take and restore a PostgreSQL database backup before the upgrade begins. Please confirm early who can authorize a restore and where backups are stored. Your team also supplies the environment configuration for background jobs, file storage, SMTP and social login, a named business owner who signs off each stage, and test users who hold the roles your participants rely on, such as process admins, moderators and verified participants. Confirm with your own change board which maintenance windows and sign-off steps apply, because these will shape the timeline more than the code changes will.

How DeployOpen scopes, delivers and supports Decidim upgrades

DeployOpen treats the 0.29 to 0.30 step as one link in a chain toward a supported Decidim release, not as a standalone version bump. Each step is scoped in writing, rehearsed on a copy of your installation, and handed over with the evidence your team needs to run it.

How we scope

  • Inventory your current Decidim version, enabled components, custom modules, overrides and social login configuration before quoting.
  • Confirm which community modules and verification handlers support Decidim 0.30 and which need replacing or removal.
  • Agree the written scope, deliverables and timeline with you before any work starts, since most engagements are fixed-scope.
  • Record which next step follows 0.30 so the chain to a supported release is visible in the plan from the start.

How we build

  • Take a database backup and confirm restore before any change, as Decidim's update guidance requires.
  • Apply the 0.30 release notes and upgrade instructions step by step, including any database structure changes they describe.
  • Test custom code, overrides and integrations (identity providers, mailers, ActiveJob and ActiveStorage) against the upgraded instance in a staging environment.
  • Document each change so your team can see which customizations were adjusted and why.

How we hand over

  • Deliver a runbook covering the exact upgrade sequence, backup and rollback points, and post-upgrade checks.
  • Provide a list of changed files, migrations run and modules updated, so your reviewers can audit the release.
  • Walk your platform and compliance teams through the upgraded configuration and the test results before go-live.
  • Confirm with you which Ruby, Node and PostgreSQL versions the 0.30 instance runs on, and what the next upgrade step requires.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • Plan the next minor-version step in a separate scoped engagement, since 0.30.x is no longer covered by Decidim security updates.
  • Ask for the retainer terms in writing, including what is covered for security patches and how urgent requests are handled.

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.