Upgrading unsupported Redmine 5.1 and older

A planning guide for moving an unsupported Redmine 5.1 or older installation to the fully supported 7.0 line, covering Ruby and database prerequisites, plugin replacement, staged migrations and rollback.

On this page

How do you upgrade unsupported Redmine 5.1 or older to 7.0?

A team running Redmine 5.1 or older should plan a staged path to Redmine 7.0, the only fully supported line, rather than attempting one in-place step. The supported lines, as listed on the download page, are 7.0.x with new features, bug fixes and security updates, 6.1.x with bug fixes and security updates only, and 6.0.x with important security updates only. Redmine 5.1.x and older receive no security fixes at all, so every month on that installation is exposure you carry alone. The jump crosses several releases, and each one changes requirements that the core upgrade depends on.

Before touching the core application, check the layers underneath it. Redmine 7.0 runs on Rails 8.1 and supports Ruby 3.2, 3.3, 3.4 and 4.0, so the Ruby interpreter and gems on the server may need replacing first. Confirm your database version against the installation guide, because MySQL and SQL Server minimums are set there. Then inventory every installed plugin and theme. Record its declared compatibility, its last commit date and whether its author still responds. Any plugin that is abandoned becomes a replacement or rewrite project with its own owner and budget, and that decision should be made before the upgrade window is booked, not during it.

Stage the work on a copy of production. Restore the database and the uploaded files to a separate host, step through each intermediate release that your plugins and Ruby version allow, and run db:migrate and redmine:plugins:migrate at each step, following the Redmine upgrade guide. Record the exact sequence, the errors and the rollback point for each step, because that record becomes your runbook. Ask your implementation partner or internal team to confirm which intermediate versions they will test and how long each one takes on your data volume, since those figures depend on your environment and are not fixed in advance.

What changes between 5.1 and 7.0 and what you must do

This table compares the main platform changes between an unsupported Redmine 5.1 or older installation and the supported 7.0 line, with the action each one requires. Read it as a checklist: confirm your current Ruby and database versions first, then work through each row against your plugins and data. Release-by-release detail for the versions between 5.1 and 6.0 is not covered here, so confirm it in each intermediate release's notes before you plan the steps.

ChangeImpact on your installationAction needed
Rails baseRedmine 7.0 runs on Rails 8.1, so plugins and themes written for an older Rails version may fail to load.Audit every plugin and theme for Rails compatibility before the jump, and confirm the target versions in the Redmine 7.0 release notes.
Ruby versionsRedmine 7.0 supports Ruby 3.2, 3.3, 3.4 and 4.0. Older Ruby builds on a 5.1 host are not sufficient.Install a supported Ruby, rebuild gems on it, and confirm the chosen version against the installation guide.
JRubyJRuby is not supported by Redmine 7.0.If you run JRuby today, plan a move to a supported interpreter as a separate step.
PostgreSQLPostgreSQL is supported, but the server version you run must be checked against the installation guide.Confirm your database version is supported, and schedule any database upgrade with a tested backup.
MySQLMySQL 8.0 to 8.4 is supported, with transaction isolation set to READ COMMITTED.Check the isolation setting in your server configuration and correct it before migrating.
SQL Server and SQLiteSQL Server 2012 or higher is supported. SQLite is not suited to multi-user production use.Move any production SQLite instance to a supported production database before or during the upgrade.
Trac and Mantis importersThe built-in importers are obsolete and do not work, and third-party scripts for other systems are untested.Do not rely on built-in importers for historical data. Plan a separate migration and validate the results.
Native SAML or OpenID ConnectCore Redmine does not provide SAML or OpenID Connect. Sign-in depends on plugins or a reverse proxy.If your 5.1 setup uses a plugin or proxy for single sign-on, confirm it works on 7.0 or replace it with a supported design.
Intermediate release changesRelease-by-release changes between 5.1 and 6.0 are not covered on this page.Read the release notes for each intermediate version and record the steps they require before you schedule the jump.

What to inventory and back up before the first upgrade step

Upgrading from 5.1 or older crosses several changes at once, so the safest starting point is a complete record of what runs today and a recoverable copy of it. The four cards below cover the data, the settings, the extensions and the rehearsal environment that the jump depends on.

Full database and uploaded files backup

Take a consistent backup of the production database and the files directory that holds attachments before touching anything else. The upgrade guide calls for this step first, and it is the only point you can return to if a later migration fails part way. Confirm that you can restore both pieces together, because an issue record without its attachments, or the reverse, is a broken copy. Store the backup outside the server being upgraded and record when it was taken.

Redmine upgrade guide

Configuration and secrets inventory

List every setting that the new installation must carry over, including configuration.yml, email delivery settings, the database connection, and the secret key base used for sessions. Record where each value is stored and who holds it, so credentials are not copied into tickets or shared chat. Note any values that differ between environments, because they are the ones most often left behind during a move to a new server.

Installed plugins and themes with declared compatibility

Build a table of every plugin and theme with its version, source, and the Redmine versions it declares it supports. Mark which ones are abandoned, since 5.1 and older lines are unsupported and many plugins have no release for the target version. This list decides which extensions must be replaced, rewritten or dropped before the jump, and it is the input for the plugin compatibility review.

Custom code and scheduled background jobs

Identify any local patches to Redmine core, custom views, hooks and scripts, and every cron entry or background worker that calls Rails tasks such as repository fetching or reminders. Core patches are overwritten by the new release, so each one needs a decision to keep, rewrite or retire. Scheduled jobs often run on an old Ruby path, so list their exact commands and schedules to avoid silent failures after cutover.

Production-like test environment with a data copy

Build a staging server with the same operating system, Ruby and database engine as production, then restore a recent copy of the database and files into it. Run the full migration sequence there first and time it, because real data volumes change the result. Ask your team to confirm that the staging copy is isolated from live email, webhooks and repository access, so test runs do not notify users or change external systems.

Choosing a staged route: direct jump or intermediate releases

A direct jump copies your database, uploaded files, configuration and plugins onto a freshly built host running Redmine 7.0, then runs the upgrade once. It is the shortest sequence and produces one migration run to review. It validates the end state: the Ruby interpreter, the database driver, Rails 8.1 and the 7.0 plugin API all have to work together on the new host. It does not show what each intermediate release changed in your data, so a failure is harder to trace to a specific change.

  • Migration runs: one db:migrate pass and one redmine:plugins:migrate pass against the target, following the Redmine upgrade guide.
  • Runtime check: the new host must run a Ruby version that 7.0 supports, so the interpreter is tested only at the end of the process.
  • Lower rehearsal load: you rehearse the full cutover once, which reduces test effort but leaves less room to isolate errors.
  • Late plugin failures: a plugin that depends on an API removed before 7.0 fails at the end, when the deadline is closest.
  • Release notes first: confirm in the notes for each release between your version and 7.0 whether any step changes data you depend on.

Before committing to a direct jump, check that your starting version and the 7.0 notes cover the path you intend to take.

How to run the staged upgrade with checks and rollback points

This sequence moves an unsupported Redmine 5.1 or older installation to 7.0 in controlled stages, so each migration starts from a known-good backup and ends with a documented go or no-go decision before production cutover.

  1. Inventory the current stack and set the target line

    Record the installed Redmine version, Ruby version, database engine and version, web server, every installed plugin and theme, and any optional components such as ImageMagick, Ghostscript, Pandoc or Sidekiq. Confirm which Ruby versions Redmine 7.0 supports (3.2, 3.3, 3.4 and 4.0 per the installation guide) and that your database version is on the supported list. Decide whether the jump goes directly to 7.0 or through an intermediate line, and document the decision. Done when a written inventory and target matrix exist and the team has signed off on the path.

  2. Build Ruby and database prerequisites for the target

    On a new host or a separate environment, install the Ruby version that matches the target Redmine line and the database version it supports. For MySQL, confirm transaction isolation is set to READ COMMITTED. Do not reuse the production interpreter for this step. Verify by running the Ruby version check and a database connection test from the application user. Done when both return the expected versions and the connection succeeds without manual overrides.

  3. Rebuild gems and replace abandoned plugins

    Install the target Redmine release on the prepared host, then run bundle install against the new interpreter. Check each third-party plugin for declared compatibility with the target version. Where a plugin is abandoned, select a maintained replacement or plan a rewrite before continuing. Re-add plugins one at a time so a failure points to a single component. Done when the application boots on the new stack with the core install and each retained plugin loaded.

  4. Take a rollback point and restore to staging

    Back up the production database and the files directory together, and copy configuration, uploads and third-party plugins. Label the backup with the source version and timestamp, then store it outside the host being upgraded. Restore that backup to a staging host that mirrors production's network and authentication settings, taking care to limit email and integrations so staging cannot contact real users. Done when the restored copy opens, the record counts match the source backup, and the backup has been test-restored at least once.

  5. Run migrations on each stage and record results

    On staging, run the database migration task for Redmine, then the plugin migration task, following the official upgrade guide order. Capture the full console output and any warnings. If the jump crosses an intermediate line, repeat the backup, migrate and verify cycle at each stage before moving on. Done when each migration exits cleanly and the output is saved with the staging record for the change.

  6. Clear cache, restart and run verification checks

    Clear the Redmine cache, restart the application server and any background workers, then test logins, issue creation and editing, attachment upload and download, outbound email, and REST API calls with a test API key. Confirm that the functions which matter most to your users behave as they did before the upgrade. Record each result as pass or fail. Done when every check is logged with an owner and no open failures remain.

  7. Apply the go or no-go check before cutover

    Hold a short review with the platform owner, a security reviewer and a business representative. Confirm the staging results, the plugin decisions, the restore test, rollback steps, and the window for production work. Set the rule in advance: any failed verification check, an unrestored plugin or an untested rollback means no-go. Done when the group records a signed decision and the production change is either scheduled or deferred.

  8. Cut over to production with a tested rollback path

    Take a fresh production backup immediately before the change, then repeat the migration steps on production in the same order used on staging. Run the verification checks again and compare results with staging. If a check fails and the team agreed in advance to roll back, restore the rollback backup and the prior runtime, then confirm the old version serves users. Done when production passes the same checks and the rollback procedure has been documented as tested or not needed.

Every stage has a rollback point until the final cutover

The chart starts with an inventory of the running Redmine version, Ruby, database and every installed plugin, followed by a full backup of the database and files. Changes are proven on a test copy before production is touched. The jump then runs as ordered stages: Ruby and database first, then each Redmine step, with plugins replaced or re-added wherever a gap appears. A failed check at any stage sends the team to restore from the backup. Only a clean run reaches production cutover, followed by post-upgrade verification.

Migration stages, rollback branches and the plugin loop before cutover.

Which abandoned plugins to replace before the jump

Start by sorting every installed plugin into one of four groups before touching the production copy: compatible, needs an update, needs a rewrite, or replace with core features or a maintained alternative. Build the list from the plugin directory in your installation, not from memory, and record the plugin name, its version, the author or source, and whether the project has released anything since the last Redmine line you ran. Abandoned plugins often declare compatibility with a release that is many lines behind your target, so treat a declared version as a claim to test, not as proof. Confirm the target version's support status and Ruby requirements against the Redmine download page and the installation guide before assigning any plugin to a group.

Use the group to decide the work, not just the label. A plugin that loads and passes your smoke tests on the test copy with no code changes is compatible. One that needs a new release from its author, or a small patch for changed APIs, needs an update, and you should check whether a maintained fork exists before patching it yourself. A plugin tied to hooks or internals that have changed needs a rewrite, which is the most expensive outcome. Many plugins from the 5.1 era add features that now exist in core, such as certain custom field, time tracking or wiki behaviors, so check the core feature list first. Where a maintained alternative does the job, the replacement also needs a data check, because stored settings and custom field values may not carry over cleanly.

Once the core migration has run on the test copy, re-add plugins one at a time, running your issue, time entry and project tests after each addition, so a failure points to one plugin. Plugin and theme changes can also break custom styling, because icon classes and default markup move between lines. Treat custom themes as their own item in the audit, and confirm each replacement or updated plugin against the exact target version, not a neighboring one. Record the result of every step, because that record becomes your rollback reference and your evidence of what changed.

What makes a Redmine 5.1 to 7.0 upgrade take longer

This table lists the factors that most often stretch a Redmine 5.1 or older move to 7.0, with the effect each has on effort and what to check first. Read it as an inventory: the more rows that apply to your installation, the more stages and testing the jump will need.

DriverEffect on effortWhat to check
Number and age of pluginsEach abandoned plugin may need replacing or rewriting before the core can moveList every plugin, its declared compatibility and its last commit or release date
Custom code and patchesLocal changes to core files or hooks must be re-applied or rewritten against 7.0Diff the installed tree against the stock release and record every override
Theme changesCustom themes can break on removed icon classes and new default styling in later linesCheck whether the theme ships its own icon markup or stylesheets
Database engine and versionEngine upgrades may be needed before Redmine 7.0 runs cleanlyConfirm the engine and version against the supported list in the installation guide
Data volume and attachment sizeLonger migrations and larger backups extend the maintenance windowMeasure database size, row counts for issues and journals, and total attachment storage
LDAP or reverse proxy authenticationAuth settings and proxy headers must be retested after each stageDocument LDAP bindings and any proxy-provided user headers in use
Ruby and OS platform changesNewer Redmine lines need newer Ruby, which can force OS package and gem rebuildsCompare the host OS release and Ruby version against the Redmine 7.0 requirements
Number of intermediate stagesEach stop adds a migration, a test pass and a rollback pointDecide with the vendor which Redmine lines are needed as stops for your starting version

Questions buyers ask before upgrading Redmine 5.1 or older

What drives the cost and effort of upgrading an unsupported Redmine 5.1 installation?

The main driver is how far the installation has drifted from current requirements. Redmine 7.0 runs on Rails 8.1 and supports Ruby 3.2, 3.3, 3.4 and 4.0, so an older server often needs its Ruby interpreter, database server and operating system brought up to date before Redmine itself can move. The second driver is the number of third-party plugins and custom themes, since each one must be checked, replaced or rewritten. Customizations, custom fields with dependent workflows, and the volume of attachments and history to migrate also add work. Ask any partner for a quote built from a written inventory of your Ruby version, database, plugins, themes and integrations, with each component listed separately.

How long does the upgrade take from Redmine 5.1 or older to 7.0?

Duration depends on the number of intermediate steps, the state of the platform underneath Redmine, and how many plugins need replacement. Because 5.1 and older releases sit several lines behind 7.0, the jump is usually planned as a sequence of stages rather than one step, and each stage needs its own testing. Platform work such as moving Ruby or the database is often the longest single item when the server is old. Plugin replacement is hard to time until each plugin has been reviewed. Ask for a schedule with separate milestones for the audit, the staging upgrade, plugin decisions, user acceptance testing and cutover, and confirm which of those the quote includes.

What does the upgrade need from our internal team?

Your team provides the knowledge of how Redmine is used, and the people who can approve changes. Expect to name a business owner who can decide which projects, trackers, custom fields and workflows must survive the jump, and a technical contact with access to the server, the database, the mail relay and any authentication source such as LDAP. Someone who knows the current plugin list and any local patches should be available during the audit. Users from a few active projects are useful for acceptance testing after staging. Confirm these roles, and how many hours each person will give, before work starts so the schedule does not stall on approvals.

Can our team carry out the Redmine 5.1 upgrade alone?

A team with Linux administration, database administration and Rails experience can carry out a Redmine upgrade without a partner, and the official upgrade guide describes the core steps: back up the database and uploaded files, copy configuration, uploads and third-party plugins to the new installation, then run db:migrate and redmine:plugins:migrate before clearing the cache and restarting. The harder part is the surrounding work: moving an old Ruby and database stack, deciding about plugins with no maintainer, and proving that the result works for users. Teams that lack spare time or recent Ruby experience often use a partner for the audit and staging, and keep cutover in-house. DeployOpen plans, implements and documents upgrades inside your own infrastructure, so the scope can be split however suits your team.

How should we handle plugins that no longer have a maintainer?

Start by listing each plugin, its declared compatibility, and whether its source is still maintained. For each one, decide whether the feature is still needed, whether a maintained plugin or built-in function covers it, or whether it must be rewritten. Plugins that are abandoned often break first on newer Rails and Ruby versions, so test them on the target stack in staging before deciding. Upgrading core first and re-adding plugins one at a time makes failures easier to trace. Plugins that cannot be replaced should be kept out of production until they pass tests, and the decision should be recorded. Theme and icon changes in newer lines can also break custom styling, so review those in the same pass.

Can data be lost during the upgrade, and how does rollback work?

Data loss is avoided by treating the upgrade as reversible until cutover is accepted. The procedure starts with a full backup of the database and uploaded files, taken from the running installation and verified by a test restore. The upgrade is rehearsed on a copy of production, and the rollback plan is written before the cutover date: keep the old server or database snapshot available, record the exact versions, and define the point after which rollback is no longer clean because users have created new data. Database migrations are not always easy to reverse, so the restore procedure must be tested, not assumed. Ask any partner to show the backup, restore and rollback steps as tested runbooks.

Does DeployOpen issue certification or audit evidence for the upgraded Redmine?

No. DeployOpen does not issue audit reports, attestations or certifications. It prepares systems, controls and evidence for compliance assessments, such as configuration records, change history, backup test results and access settings, which your compliance team or an independent auditor can then review. For an organization subject to a framework, ask which evidence the upgrade will produce, who keeps it, and what the auditor will need to see. Confirm with your certification body or auditor which records they accept before the work starts.

What your team must provide for a safe upgrade

The inputs that shorten this work are access, an inventory and people who can decide. Your team should provide shell and database access to the current server, including the Redmine configuration file, the uploaded files directory and the production database credentials, so the upgrade is planned against what is really running rather than what the original installation notes describe. Alongside that, provide a written inventory of every installed plugin, theme and local customization, with the version of each and the source it came from. Plugins abandoned upstream are the most common reason a jump from 5.1 or older stalls, and the inventory is what lets the work start with a replacement decision instead of a discovery exercise. Confirm the Ruby and database versions in use now, since they set the first upgrade steps.

Next, name the business owners who will accept test results. Each owner should be responsible for the projects, trackers, workflows and custom fields their teams depend on, and should sign off in writing that issues, time entries, users, roles and notifications behave as expected on the staging host. Provide a staging host with a copy of production data and enough capacity to run the full migration more than once, plus backup storage that is separate from the server being upgraded. Agree a change window in advance, long enough to restore from backup if the cutover fails. The rollback procedure should be tested before that window opens, not written during it.

Decide who signs off the cutover before the project starts. In most organizations this is the service owner for Redmine, with security or compliance approval where the instance holds regulated data. Also name who communicates with users: the message about downtime, the date and time, what changes in the interface, and where to report problems after go-live. Ask any implementation partner to confirm in the written scope which of these responsibilities they take on and which stay with your team, because the sign-off and communication roles are easy to leave unassigned and hard to fill during a live cutover.

How DeployOpen scopes, delivers and supports the Redmine upgrade

DeployOpen treats the move from an unsupported Redmine 5.1 or older installation to 7.0 as a staged engagement, not a single version bump. We start by inventorying the Ruby, database, plugin and data layers, then agree the stops, tests and rollback points in writing before any change is made to your environment.

How we scope

  • Inventory the installed Redmine version, Ruby runtime, database engine, plugins, themes and attachment storage
  • Map each plugin to its declared compatibility and mark which ones need replacing, rewriting or removal
  • Agree the migration path, intermediate releases and test cases in a written, fixed-scope statement of work

How we build

  • Build a staging copy of production in your infrastructure and rehearse each upgrade step against it
  • Move Ruby and database versions first, then step Redmine through each agreed release with db:migrate and plugin migrations
  • Test core workflows, email, LDAP logins, API clients and attachments at every stop before advancing

How we hand over

  • Document the final configuration, version matrix, plugin decisions and the rollback procedure you tested
  • Provide a runbook for future upgrades within the 7.0 line, covering backups taken before each change
  • Walk your administrators through the cutover, post-upgrade checks and the monitoring they should keep

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer after go-live
  • Track security releases in the 7.0 line and plan their rollout inside your change process
  • Review plugin compatibility again whenever a new Redmine or Ruby release is adopted

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.