Why a Decidim 0.31 to 0.32 upgrade needs its own plan
If your organization runs Decidim 0.31, the next step on a supported line is 0.32, and it should be planned as its own upgrade rather than folded into routine maintenance. Until version 1.0, Decidim supports only the last two minor versions with security updates. At the time of writing that means 0.32.x and 0.31.x, while 0.30.x and earlier no longer receive security fixes. Staying on 0.31 is a supported position only while you keep up with 0.31.x patches, and it will not stay supported indefinitely once the next minor line moves on. Confirm the current support window in the Decidim security policy before you set your schedule.
Decidim v0.32.0 was released on July 6, 2026, with Ruby on Rails 8.1 and locale-prefixed URLs, and v0.32.1 followed on July 30, 2026. Plan against the latest 0.32.x patch, not the first release, and check the release notes for each patch before you pin a version. The project's update guidance is to move one minor version at a time and to follow each release's upgrade instructions, because some releases change database structures. For a 0.31 install, that means 0.32 is the single next step, and any custom code or modules must be checked against that target before production cutover.
Take a verified database backup before you touch the codebase. The update guidance tells operators to back up the database first, and a 0.32 upgrade runs schema and data changes that cannot be reliably reversed by redeploying old code alone. Ask your team to confirm that the backup restores into a separate PostgreSQL instance, that file storage is captured alongside it, and that the restore time is known. That rehearsal is the basis for any rollback decision, so it should be complete before the staging upgrade begins.
What changes in 0.32 and what each change asks of your team
This table compares what changes between Decidim 0.31 and 0.32 and what each change asks of your team. Read the impact column first to see where your code, server images and redirects are exposed. Items marked for confirmation must be checked against the 0.32 release notes before you set the upgrade window. The main takeaway is that the Ruby change and locale-prefixed URLs touch the most custom code.
| Change | Impact | Action needed |
|---|---|---|
| Ruby version | Moves from 3.3.4 on 0.31 to 3.4.7 on 0.32, so the runtime changes for the whole application. | Rebuild images and hosts with Ruby 3.4.7, then run the full test suite with custom modules loaded. |
| Node version | Stays at 22.14.x on both releases, so the frontend toolchain pin does not change at this step. | Keep the Node pin, rebuild assets after the Ruby change and confirm the asset build passes. |
| Rails version | Decidim 0.32 ships with Rails 8.1. Your current Rails version and gem constraints need confirmation against the release notes. | Confirm Rails 8.1 gem compatibility, then audit overrides and patched classes that depend on Rails internals. |
| Locale-prefixed URLs | Public paths gain a locale segment. Links, bookmarks, embeds and redirect rules that assume unprefixed paths may break. Exact route format needs confirmation. | Inventory hard-coded paths and redirects, add locale-aware rules and test links in each enabled language. |
| Security patch window | Only 0.32.x and 0.31.x receive security updates. Standard fixes have a 2-month grace period and critical fixes a 4-month grace period before disclosure. | Set a cutover date inside the window you accept and track 0.31 security releases until you move. |
| Database and upgrade steps | The update guide requires each release's instructions and a database backup. Specific 0.32 migration steps need confirmation. | Read the 0.32 upgrade notes, back up the database and rehearse the migration on staging first. |
How locale-prefixed URLs affect links, redirects and integrations
Decidim 0.32 introduces locale-prefixed URLs, so the same page can be reached under a path that begins with a language code. The risk is not the new URLs themselves but every place outside Decidim that still points at the old ones. Before cutover, build an inventory covering bookmarks that participants saved, external links to proposals, processes and assemblies in newsletters, partner websites and social posts, embedded widgets and iframes, reverse proxy rules, SSO callback URLs registered with each identity provider, the sitemap submitted to search engines, and analytics goals or filters that match on path. Each item needs an owner and a note on whether it must change, redirect or stay as is.
Test redirects against a staging copy running the 0.32 code, not only by reading the configuration. Check that old paths resolve to the correct new path for each locale your organization serves, that query strings and anchors survive the redirect, and that the reverse proxy does not add a second redirect loop. Confirm that SSO callback URLs registered with providers such as Keycloak, authentik or a social login provider match the exact redirect URI Decidim generates on the new release, since a mismatch fails at sign-in rather than at the page level. Also confirm how the sitemap and canonical tags are generated, and whether analytics tracking needs a path filter update.
The exact URL structure, default locale behavior and any redirect handling built into 0.32 must be confirmed in the official 0.32 upgrade instructions and release notes before you write the redirect rules, since rules written from assumptions tend to be wrong. Ask your delivery partner or internal team to record the confirmed behavior in the runbook, and plan a post-cutover check that samples links from each inventory category. Keep the old redirect rules in place for a period agreed with your communications team, and document who removes them.
Preparation before touching the 0.31 production install
Nothing in the 0.31 to 0.32 upgrade should run against production until the team can restore its data, reproduce its customizations and roll back on purpose. The cards below are the outputs to produce before the change window, and each one feeds the staging rehearsal.
Full database backup and restore test
Take a full PostgreSQL backup of the production Decidim database immediately before the upgrade, then restore it into a separate environment and confirm the platform starts and the data is readable. The upgrade guide asks for a backup first because some releases change database structures. Record the backup time, the restore steps and who ran them, so the team knows the backup is usable rather than assumed to be.
Updating Decidim docsInventory of overrides and patched classes
List every view override, decorator, monkey patch and locally edited gem or initializer in the current install, and mark each one as keep, move into a module or drop. Check each item against the 0.32 source before the upgrade, since a change to a view or class signature can break a customization silently. Store the list in version control so the rehearsal and the production run work from the same record.
Community module compatibility check
Record every third-party Decidim module in use, its version and the Decidim release it declares support for. Confirm with each maintainer or the module repository whether a 0.32 compatible release exists. For any module that is abandoned or lags behind, write down the decision now: find a replacement, fork it, or remove the feature before go-live.
Staging environment matching production
Build a staging copy that matches production in Decidim version, configuration, background job setup, file storage, SMTP settings, social login providers and the production database snapshot. Differences in these areas are where upgrade problems usually surface late. Run the full 0.31 to 0.32 path there first and keep the timing and errors as the baseline for the production change window.
Ruby and Node runtime readiness
Confirm the application servers, build agents and any Docker images can run Ruby 3.4.7 and Node 22.14.x, because 0.31 runs on Ruby 3.3.4 with the same Node line. Check system packages, PostgreSQL client and server versions and any gems with native extensions against the new Ruby version. Build the new runtime image in advance so runtime problems are found before the cutover.
Written rollback decision
Agree in writing the conditions that trigger a rollback, who makes that call and how long the team will wait before deciding. Specify whether rollback means restoring the pre-upgrade database backup, redeploying the 0.31 release, or both. Practice that rollback in staging so the production run has a tested path back, not only a plan.
Upgrade sequence from 0.31 to 0.32 with checks and rollback points
This sequence moves a production Decidim 0.31 install to 0.32 in controlled stages, with a verified backup and a working rollback path at each point where the database or runtime changes.
Freeze changes and take a verified backup
The platform owner pauses content and configuration changes, records the current Decidim, Ruby, Node and PostgreSQL versions, and takes a full database backup plus a copy of uploaded files in ActiveStorage. Decidim's update guide asks for a database backup before any upgrade. The step closes when a restore of that backup has been tested on a separate host and the team has confirmed the restored instance boots on 0.31.
Rebuild staging on the 0.31 baseline
Your team or your partner creates a staging copy from the production backup, with mail, SSO and background jobs pointed at non-production services so no real messages or logins are triggered. Confirm the staging instance runs the same 0.31 release and custom code as production. The step closes when staging matches production in version and data and passes a smoke test before any change is made.
Upgrade Ruby and Node in staging
Install Ruby 3.4.7 and a Node 22.14.x release on staging, as required by Decidim 0.32, then confirm the 0.31 instance still starts and runs its test suite on the new runtimes. Check your PostgreSQL version against the Decidim installation documentation before continuing. The step closes when the runtime change alone causes no failures, so any later breakage can be traced to the release upgrade itself. Keep the production runtime unchanged until this stage is complete.
Update the Gemfile and resolve dependencies
Update the Decidim gem references to 0.32 in the Gemfile, adjust the Rails 8.1 dependencies and any community or custom gems, then run bundle install and review the lock file diff. Each gem that does not declare 0.32 support is a blocker to resolve or replace before the next step. The step closes when bundle install completes cleanly and the lock file changes are reviewed and committed to version control, which is the rollback point for code.
Run the 0.32 upgrade instructions and schema changes
Follow the upgrade instructions published for 0.32 in order, applying the database schema changes they list and checking each one against the release notes. Work on staging only, and record the time and output of each command. The step closes when the schema migration completes without errors and a fresh backup is taken immediately after it. Restoring the pre-upgrade backup and the locked 0.31 code is the rollback point until this step is signed off.
Run data migrations and rebuild assets
Run the Decidim data migrations for the 0.32 release, check their status, and then precompile assets so the front end and admin panel match the new code. Confirm that locale-prefixed URLs resolve for each organization and that existing links and redirects return the expected pages. The step closes when data migrations report complete, asset compilation finishes, and a sample of public and admin URLs responds correctly in each configured locale.
Verify SSO, email and background jobs
Test each social login provider and any custom OmniAuth provider, confirm verification flows and password resets send email through the configured SMTP service, and check that ActiveJob workers process queued jobs. Use test accounts and a sandbox mail target. The step closes when every login path and a sample of outbound notifications have been confirmed on staging, with the results written into the cutover checklist.
Cut over to 0.32 and keep the rollback path open
Schedule a maintenance window, put the platform in read-only or maintenance mode, repeat the verified backup, apply the same steps to production in the order tested on staging, and reopen access once the smoke tests pass. Keep the 0.31 backup and code tag available for an agreed period after cutover. The step closes when production serves 0.32, the post-upgrade checks match staging, and the rollback procedure has been documented and handed over.
How to test 0.32 in staging and roll back if production fails
Test the upgraded instance in staging against a copy of production data before any production change, and treat a rollback plan as a deliverable that must be rehearsed, not written and filed. The test set should cover at least smoke tests on public and admin paths: the home page, a participatory space with its components, the proposal and meeting flows, the admin login with SSO, and the admin pages for processes, components and users. Run it once on the 0.31 build to get a baseline, then on 0.32, so that any difference can be traced to the upgrade rather than to the data copy.
Authorization and verification flows need their own checks, because a change in a handler, a permission or a login provider can leave the site up while blocking participants from voting, signing or registering. Confirm that each verification method your organization relies on completes end to end, that a restricted component still refuses unverified users, and that social or Decidim-to-Decidim OAuth 2.0 logins return the expected account. Next, send real email through your SMTP setup (registration, notifications and password reset), upload files of the types and sizes you allow, and confirm that scheduled and background jobs run and clear their queues. Finally, test old links: bookmarked and shared URLs from the 0.31 site should resolve or redirect correctly under the locale-prefixed URL scheme in 0.32, and you should confirm with your team how redirects are handled before cutover.
A rollback needs three things that must match each other: a restorable database backup taken immediately before cutover, the previous application release (including its configuration and the exact Ruby and Node versions it needs), and the asset state, meaning uploaded files and the compiled assets that the old release served. Confirm with your operations team that a restore of the database backup is tested on a separate host, that the old release can still be started from your artifact store, and that uploaded files are not overwritten by the new version. Decide in advance who may call a rollback and which symptoms trigger it. Rehearsing the full rollback in staging is the only way to learn how long the restore takes, whether a data migration has changed rows that the old release cannot read, and whether your monitoring would notice a failure early enough to act. Check the release notes and the update guide for the 0.32 release before you finalize this plan.
What makes the 0.31 to 0.32 upgrade longer or shorter
This table lists the factors that most often lengthen or shorten a Decidim 0.31 to 0.32 upgrade, with the reason each one matters and what to check in your own install. Read it before estimating work with a partner or your own team, since the same release can take very different effort depending on how far the platform has been customized.
| Driver | Why it matters | What to check |
|---|---|---|
| Overrides and monkey patches | Overridden views and patched classes can break when Rails 8.1 and the 0.32 code change underneath them, and each one needs manual review. | Count overridden views, decorators and patched classes, and note which ones were copied from core code and not moved into a module. |
| Custom modules | Your own modules must load and pass their tests against the 0.32 APIs, and any change to Ruby 3.4.7 or Rails 8.1 may affect them. | List each custom module, its owner and its test coverage, and confirm which ones already run in a 0.32 test environment. |
| Community modules without 0.32 support | A module that has no 0.32 release can block the whole upgrade, and an abandoned module may need a fork or replacement. | Check each third-party module's release history against the 0.32 line, and decide now whether to wait, fork or remove it. |
| Data volume and migration time | Larger databases take longer to back up, run schema changes and execute data migrations, and the update guide asks for a database backup first. | Measure current database size, attachment storage and the largest tables, then time a full restore and migration run on a copy. |
| Number of locales and custom templates | Locale-prefixed URLs in 0.32 affect every translated page, and custom email and page templates must be checked for each language. | Count active locales, custom templates per locale, and hard-coded paths that do not include a locale prefix. |
| Integrations (SSO, SMTP, maps, storage) | Each external service has its own configuration and callbacks, and login, mail, map tiles and file uploads must be retested after the upgrade. | List every identity provider, SMTP relay, geocoding service and storage backend, then confirm each one's settings and test accounts. |
| Staging environment availability | A production-like staging copy lets the team rehearse the migration, measure downtime and test links and redirects without risking live participants. | Confirm that staging matches production in code version, data snapshot, configuration and external service access before the rehearsal starts. |
Questions teams ask before upgrading Decidim to 0.32
How much effort and cost does a Decidim 0.32 upgrade take?
Effort depends mostly on how much your installation differs from the stock release. A platform with no overridden views, patched classes, custom components or community modules is the simplest case. Effort rises with each override, each custom verification handler or component, each social login setup and each data migration that needs review. Cost has two parts: the internal time your staff spend on the audit, testing and staging rehearsals, and any external work you buy, such as a fixed-scope review of overrides or module compatibility. Ask any quote to itemize the audit, the Ruby and Node changes, the rehearsals and the production cutover. Most engagements are fixed-scope, so the written scope should list every module, override and environment included.
How long will downtime last during the upgrade?
Downtime depends mainly on the size of your database and the amount of database change in the release, so no fixed duration applies to every installation. The update guide asks you to back up the database first, then apply the release's instructions, which can include database structure changes and data migrations. Measure the window on a staging copy built from a recent production backup, running the same Ruby 3.4.7, Node 22.14.x and PostgreSQL versions as production. Record how long each step takes, including asset compilation, migrations and smoke tests, then set the maintenance window from those timings with margin. Ask for a rehearsal log and confirm the rollback steps if a migration fails.
Can our internal team upgrade Decidim to 0.32 without a partner?
Yes, a team with Rails and PostgreSQL experience can perform the upgrade if it has the time, environments and test coverage to verify the result. Your team needs a staging environment that mirrors production, a recent database backup with a tested restore, and a list of overrides, custom modules and community modules. It also needs owners who can decide what to do with failing tests and a maintenance window the business has approved. Engineers must read each release's upgrade instructions, since some changes alter database structures. If any of these are missing, or no one has completed a Rails upgrade before, a fixed-scope engagement can cover those gaps. Confirm what your engineers can commit to in writing before you decide.
Do we have to upgrade to 0.31 before moving to 0.32?
Yes, if you run 0.30 or earlier, move one minor version at a time. Decidim's update guide describes stepping through each minor release, for example 0.29 to 0.30 before 0.31, because each release has its own upgrade instructions and some change database structures. Decidim supports only the last two minor versions with security updates, currently 0.32.x and 0.31.x, so 0.30.x and earlier no longer receive them. If you already run 0.31, move to 0.32 once that installation is stable. Also apply the latest 0.31 patch before you start, since the 0.31 branch received v0.31.7 on September 3, 2026. Check the update guide for the exact order that matches your starting version.
What happens if a community module is abandoned?
An abandoned module that does not declare support for 0.32 can fail at load time, in views or in its data migrations, so verify it before you commit. Start by checking the module's repository for a release or branch that targets Decidim 0.32 and for open issues about the upgrade. If none exists, you have a few options: keep the module on 0.31 and delay the upgrade, fork it and port the changes yourself with tests, replace its feature with a supported module or core component, or retire the feature. Forking moves ownership of the code, including security patches, to your team. Whichever path you choose, record the decision, the owner and a review date. Ask any partner to list each module with its status and the option it recommends.
What does the upgrade require from our staff and environments?
The work needs named roles and environments that match production. Plan for a host or container runtime that can run Ruby 3.4.7 and Node 22.14.x, a PostgreSQL version your installation guide supports, and a staging environment with production-like data volume and integrations. Staging should also cover SMTP, file storage, maps and social login. Assign an owner for DNS, certificates and load balancer changes, a reviewer for content and links, and someone to watch logs and monitoring after cutover. Agree on post-go-live support before the window, and check the support window in Decidim's SECURITY.md. Confirm each item with your own environment owners before scheduling.
Does moving to 0.32 change our links and redirects?
Yes, release 0.32 uses locale-prefixed URLs, so paths that once had no language segment may now include one. Start by inventorying inbound links: search engine results, newsletters, embedded widgets, social posts and links from partner sites. Test representative paths in staging for every locale your platform serves, and confirm that each old pattern redirects to its new form with the correct status code. Review overrides and integrations that build URLs from hard-coded paths, and check sitemaps and canonical tags. Keep redirect rules in version control so they can be reviewed before release. Ask your partner for the redirect test results before cutover, and confirm the exact URL behavior against the 0.32 release notes.
Where 0.31 to 0.32 sits in the supported upgrade path
The path starts by confirming the installed 0.31 release and taking a database backup before anything changes. Next, overrides and community modules are checked against 0.32, because a failed check should stop the work before staging. The upgrade then runs on Ruby 3.4.7 in a staging copy, following the 0.32 upgrade instructions for that release. Verification in staging decides the outcome: pass moves to production cut-over, and fail restores from the backup.
The decision path from the current 0.31 install to cut-over or rollback.
Where to confirm the 0.32 upgrade details
Start with the release notes for v0.32.0 and v0.32.1, which are the authority for the exact steps in this upgrade. v0.32.0 was released on July 6, 2026 with Ruby on Rails 8.1 and locale-prefixed URLs, and v0.32.1 followed on July 30, 2026. Read both in full before you plan the change window, because a patch release can alter instructions that the first release gave. Compare what each note says about Ruby 3.4.7, Node 22.14.x and any database changes against your current 0.31 environment.
The Updating Decidim guide covers the general method: upgrade one minor version at a time, follow each release's upgrade instructions, and back up the database first. Use it as the checklist for your runbook, then confirm the version-specific commands and any data migration steps in the release notes. The Decidim releases page is where you check the current patch level of the 0.31 and 0.32 branches. Note that the 0.31 branch received v0.31.7 on September 3, 2026, so confirm you are on the latest 0.31 patch before you start the jump.
The Decidim SECURITY.md file sets the support window. Until version 1.0, only the last two minor versions receive security updates, so 0.31 and 0.32 are the lines to plan around. Confirm the current support status with the project before you commit to a timeline, and confirm the grace periods for patching standard and critical vulnerabilities, which the policy describes. If your platform is still on 0.31 after the 0.32 line moves on, schedule the next upgrade early rather than waiting for an incident to force it.
How DeployOpen scopes the upgrade by environment
A self-hosted Rails install runs Decidim as a standard Rails application on servers or virtual machines you manage, with the application, background jobs, file storage, SMTP and the PostgreSQL database configured by hand or by your own scripts. The upgrade scope starts with an inventory of that stack: the Ruby and Node versions in use, the Gemfile and lockfile, custom initializers, environment variables, and the web server and job runner configuration. Because Decidim 0.32 requires Ruby 3.4.7 and Node 22.14.x, the runtime change is often the largest single item on this path.
- Runtime inventory: current Ruby, Node, PostgreSQL and operating system versions, with the gap to the 0.32 requirements listed.
- Gem and dependency review: overrides, forks and community gems checked against the target release.
- Staging rebuild: a copy of the production application and a database backup restored into a separate environment for rehearsal.
- Upgrade run and logs: the minor-version steps executed in the agreed order, with the migration output and any errors recorded.
- Handover: a runbook covering the rollback point, configuration changes and the checks you repeat after each release.
Before signing, confirm with DeployOpen whether the scope includes the operating system upgrade and who owns the production change window.
A Docker install packages Decidim and its services into images and compose or orchestration files, so the upgrade is usually a change to image tags, environment files and volume mounts. The inventory focuses on what is baked into the images and what lives in persistent volumes, because custom code added through a Dockerfile or a mounted directory can break when the base image changes. Confirm with the Decidim installation documentation which image and tag your current setup uses before estimating the work.
- Image and tag inventory: every Decidim, Ruby and Node layer in use, including custom images built on top of the official ones.
- Volume and secret mapping: persistent storage for uploads, the database and configuration files, checked for paths that change between releases.
- Compose or manifest review: service definitions, health checks, job workers and the order in which containers restart.
- Staging rehearsal on the same images: the rebuilt images deployed to a copy of the environment, with migrations run in the same order as production.
- Handover: the image digests used, the rollback procedure to the previous tag and the list of configuration keys that changed.
Ask how image builds are reproduced for your audit trail, and whether the scope includes registry access and build pipeline changes.
Some organizations run Decidim on a mix of these models, for example Docker for the web tier with a manually managed database host, or a Rails install alongside containerized background jobs. In this case the inventory must cover every component and every place where the application code is built, so no part of the stack upgrades on a different schedule by accident. This tab is for teams whose setup does not fit cleanly into either model.
- Component map: each service, host and image, with the owner and the version it runs.
- Build path tracing: where the deployed code comes from, including patches applied at build or deploy time.
- Consistency test: a check that every component reports the target release before the upgrade is declared complete.
- Split runbook: the order of changes across tiers, the pause points and who approves each one.
- Handover: the component map, the rollback order and a list of items that were out of scope.
When requesting a quote, list every host and build pipeline so the fixed scope matches the environment you actually run.
Whichever environment you run, DeployOpen agrees the scope in writing before work starts, so the inventory, test cases and handover items are fixed in advance. The written scope states what is included, what is excluded and which decisions remain with your team. Its purpose is to let your security, platform and compliance teams review the same plan before any change is made, and to avoid surprises about what counts as finished.
- Named inventory outputs: the list of components, versions and custom code reviewed, attached to the scope.
- Test plan: the checks run in staging, including functional tests for overrides and community modules.
- Exclusions: items such as third-party module replacement or infrastructure changes, stated explicitly.
- Acceptance criteria: what the client signs off, such as a successful staging rehearsal and a documented production run.
- Retest or retainer options: whether follow-up support is priced separately after the upgrade.
Check that the written scope names the environment you run, not a generic Decidim deployment, and that it says who holds the backups taken before the upgrade.
How DeployOpen scopes, delivers and supports your Decidim upgrade
DeployOpen treats the move from Decidim 0.31 to 0.32 as a written, fixed-scope engagement inside your own infrastructure. We start by inventorying your overrides, community modules and data migrations, then build and test the upgrade on a staging copy before anything reaches production. Each step is documented so your team can run and support the platform afterward.
How we scope
- Inventory your Decidim version, Ruby and Node runtime, PostgreSQL version and hosting setup before agreeing the work.
- List custom modules, view overrides, patched classes and community modules, and confirm which ones support 0.32.
- Agree in writing which URL and locale-prefix changes need redirect, link and integration review before work starts.
How we build
- Work through the required minor step from 0.31 to 0.32 in a staging copy, following the release's upgrade instructions and taking a database backup first.
- Move Ruby to 3.4.7 and Rails to 8.1, then test custom code, overrides and community modules against the new release.
- Review the locale-prefixed URLs and check that links, redirects, SSO callbacks and external integrations still resolve correctly.
How we hand over
- Deliver a written record of the changes, test results, data migration steps and open items for your team to review.
- Provide a rollback plan with the backup and restore steps verified on staging before the production cutover.
- Walk your administrators and engineers through the post-upgrade checks they will run themselves.
How we support
- Offer ongoing support, upgrades and continuous testing as a retainer after the upgrade is complete.
- Track the 0.32 patch line, including v0.32.1, and advise on applying later security releases within your own change process.
- Confirm with your team who receives security notices from the Decidim project and how patches will be scheduled.

