Why air-gapped Redmine installation starts with a dependency inventory
Installing Redmine in an isolated network starts with listing everything the application will need to pull in after go-live, then deciding how each item reaches the enclosed environment. Redmine itself is free under the GNU General Public License v2, so the cost of this work sits in staging dependencies and keeping them current. The inventory should cover the Ruby runtime, the gems declared in the Gemfile and any Gemfile.local additions, the database server and its client libraries, container images or operating system packages, every plugin and theme source, optional tools such as ImageMagick, Ghostscript and Pandoc, and the SMTP relay that sends notifications. Each item needs an owner, a source, a version and a transfer method, and the inventory should be written down before anyone copies a file across the boundary.
Version choice shapes that inventory more than any other decision. Redmine 7.0.x is the fully supported line and receives new features, bug fixes and security updates. Redmine 6.1.x receives only bug fixes and security updates, and 6.0.x receives only important security updates. The 5.1.x line and older are unsupported. Confirm the current patch releases on the Redmine download page before you fix the target version, because an isolated network that is pinned to an older line will need a planned upgrade path it can actually reach. Also confirm which Ruby versions your chosen Redmine release supports, since the runtime is one of the items you must stage in advance.
Vendored gems or mirrored container image: which to stage
A vendored bundle installs Redmine onto a Linux host from gems and packages you have downloaded on a connected machine and carried across the boundary. The bundle must match the Ruby version your host runs, and Redmine 7.0 supports Ruby 3.2, 3.3, 3.4 and 4.0 and does not support JRuby, so confirm the interpreter before you collect anything. Redmine 7.0 runs on Rails 8.1, so the dependency set is large and sensitive to the exact platform it was resolved on.
- Ruby interpreter: Stage a supported Ruby release and its native build prerequisites, since gems with C extensions must compile on the target.
- Gem set: Vendor the full dependency tree resolved from the release's lock file, including Rails 8.1 components, the database adapter and any plugin gems you plan to use.
- Database client: Carry the client library for PostgreSQL, MySQL or SQL Server, plus the server version you run.
- Optional tools: Package ImageMagick, Ghostscript, Pandoc and Sidekiq if you need thumbnails, previews or background jobs, along with their system dependencies.
- Rebuild ownership: Your platform team rebuilds the bundle for each Redmine patch, so every security release means a new collection, transfer and verification cycle.
Before you rely on a bundle, confirm that a clean host with no internet access installs it end to end, and ask your security team how each package is verified on arrival.
Mirroring copies a prebuilt Redmine container image, with its Ruby runtime and gems already resolved, into an internal registry that your hosts pull from. The image is built and tagged upstream, so your team does not compile gems inside the isolated network. The image still needs its database and file storage supplied at run time, and any plugins or optional tools must either be baked into a derived image or mounted in a controlled way.
- Image and tag: Choose a tag that matches a supported release line, and pin the digest so the mirrored artifact is the one you tested.
- Derived image: Build an internal image on top of the mirror when you need plugins, ImageMagick, Ghostscript or Pandoc, and store that build recipe under version control.
- Registry and base images: Mirror the database and any sidecar images the stack uses, not only Redmine itself.
- Rebuild ownership: Whoever maintains the image pipeline rebuilds and re-mirrors the image when upstream publishes a fix, which is often a smaller change set than a full bundle.
- Scanning: Scan the mirrored image inside the network with tooling you control, because you cannot rely on a connected scanner.
Confirm with your container platform team which registry and build tooling are approved inside the enclave, and how long a mirror transfer takes through your change process.
The two routes differ most in how security releases move through them. Redmine 7.0.x is the fully supported line and receives security updates, 6.1.x receives security and bug fixes, and 6.0.x receives only important security updates, so the line you run sets how often you must stage new artifacts. Each route turns a patch into a different amount of work, and that work determines your exposure window while the boundary stays closed.
- Bundle patches: Each release requires re-resolving gems, rebuilding native extensions, retesting the install and transferring the full set again.
- Image patches: Each release requires pulling a new tag, rebuilding any derived image, and re-mirroring, with a smaller transfer when only the image layers change.
- Plugin coupling: Plugins must be rechecked against each new Redmine version in both routes, because a plugin that fails to load can block the upgrade.
- Upgrade steps: The upgrade guide's steps for database migration, plugin migration and cache clearing apply to both routes.
- Evidence: Record which artifact digest or gem set version runs in each environment so change records show what was deployed.
Ask your security team which release lines they accept in production, and how fast they can approve a re-staged artifact.
Configuration options for an offline Redmine
This table compares the choices that shape an air-gapped Redmine install: how software enters the network, which database and job backend to run, where files live, and how mail leaves. Read each row for the condition that makes an option fit and the cost it adds once no internet access is available. The main takeaway is that every option moves a maintenance task inside your boundary, so decide them together before the first transfer.
| Decision | When it fits | Offline trade-off |
|---|---|---|
| Staging method (vendored gems or mirrored container image) | Vendored gems suit a bare-metal or Puma host. A mirrored image suits a team already running containers on an internal registry. | Every gem, system package or image layer must be transferred, checked and rebuilt in the isolated network. Each security release repeats this work. |
| Database: PostgreSQL | Multi-user production use, with a DBA team able to run backups and upgrades inside the boundary. | Client packages, extensions and major-version upgrade media all need to be carried in. Confirm the exact version your team will stage. |
| Database: MySQL 8.0 to 8.4 | Your organization already operates MySQL inside the boundary and standardizes on it. | The transaction isolation level must be set to READ COMMITTED, and that setting must be verified after every rebuild. |
| Database: SQL Server 2012 or higher | Your organization runs SQL Server licensing and backup tooling inside the network. | Driver and adapter gems must be staged offline, and compatibility should be confirmed against the Redmine release you plan to run. |
| Database: SQLite | Only for non-production use such as a test or evaluation instance. | The installation guide does not recommend it for multi-user production use, so it should not hold live project data. |
| Background jobs: default adapter | Small teams with low mail volume who want fewer moving parts to stage. | Background work runs inside the web process, so slow mail delivery can affect users. Fewer components to transfer. |
| Background jobs: Sidekiq with Redis | Larger user counts or heavy notification volume where email and project deletion should not block requests. | Redis and its gems must also be staged and patched offline. Each extra service adds a release to track. |
| Attachment storage path | Any production install. Place the path on storage sized and backed up inside your infrastructure. | Uploads, thumbnails and previews need disk planning up front. Optional tools such as ImageMagick, Ghostscript and Pandoc must be carried in as packages. |
| Plugin sourcing: vendored archives | A small, fixed plugin set whose code you have reviewed and can freeze. | Updates require a new transfer and review cycle. Confirm each plugin's license and dependencies before import. |
| Plugin sourcing: internal Git mirror | Several plugins or custom code that you maintain and upgrade on a schedule. | The mirror needs its own patching, access control and integrity checks. Plugin migrations must be retested on each Redmine upgrade. |
| Outbound mail: internal SMTP relay | Notifications and email-based issue creation must work inside the network, with the relay operated by your mail team. | Relay settings, TLS certificates and sender domains must be configured inside the network. Test delivery and inbound polling before go-live. |
Build sequence for an isolated Redmine host
This sequence takes a Redmine release from a pinned version on a connected staging host to a tested installation inside a network with no internet access. Each step ends with a check, so the team knows the host is ready before the next layer goes on.
Pin the Redmine release line and dependencies
Choose the Redmine release line before anything is downloaded. The download page lists 7.0.2 and 6.1.5 as current stable releases, and 7.0.x is the only fully supported line, with 6.1.x limited to bug and security fixes and 6.0.x limited to important security fixes. Record the exact Redmine version, the Ruby version the release supports (7.0 runs on Ruby 3.2, 3.3, 3.4 or 4.0), the database server version, and every plugin version you intend to run. Confirm the Ruby and database versions against the installation guide. Done when a written version manifest exists and has been approved by the people who own the host.
Build the offline bundle on a staging host
On a connected staging host that matches the target operating system, fetch the Redmine source archive, the gems listed in the Gemfile and Gemfile.lock, any plugin sources, and the base container image or OS packages you need. For gems, vendor them into a bundle directory so the target does not reach rubygems.org. For containers, export the image to a tar archive with its tag and digest. Keep the manifest from the previous step next to the bundle. Done when a bundle-level listing shows every gem and plugin version matches the manifest and the container image digest is recorded.
Verify checksums and transfer the bundle
Generate SHA-256 checksums for every file in the bundle on the staging host, then sign or store the checksum list where the isolated side can read it. Move the bundle across the boundary using the transfer method your security policy approves, and recompute the checksums on the isolated side before anything is installed. This step is the control point for software integrity: NERC CIP-013-2 addresses verifying the integrity and authenticity of vendor software and patches, and the same discipline applies to any regulated environment. Done when every checksum matches and the mismatch log is empty.
Install the runtime and database from internal repositories
Install the operating system packages, Ruby, the database server (PostgreSQL, MySQL 8.0 to 8.4 with READ COMMITTED isolation, or SQL Server 2012 or higher) and a web server or Puma process from your internal package mirror or from the offline package set. Create a dedicated database and role with only the privileges Redmine needs. SQLite is not suited to multi-user production use, so do not use it here. Done when the database accepts a local connection from the Redmine service account and the Ruby version reported on the host matches the manifest.
Load gems or the container image
For a bare-metal or VM install, install the vendored gems with Bundler pointed at the local bundle directory, with no network fallback. For a container install, load the exported image into the internal registry or local image store and confirm the tag and digest. Keep optional tools such as ImageMagick, Ghostscript and Pandoc in the same offline set if you plan to enable previews. Done when Bundler resolves all gems from the local path without errors, or the image digest on the host matches the one in the manifest.
Configure the internal SMTP relay
Point Redmine's email delivery at your internal SMTP relay, which must be reachable from the Redmine host and must accept mail for the sending domain. Set the sender address, authentication method and TLS settings in the Redmine configuration file, and confirm with the mail team which relay hosts and ports are permitted. Email is the step most often left until last, so configure it now and test it in the later step. Done when the relay accepts a test connection from the Redmine host.
Run database and plugin migrations
Run the database migration task, then the plugin migration task, from the Redmine directory with the production environment set. Migrations must run in this order because plugins depend on the core schema. Watch the output for errors and keep the log with the change record. Done when both tasks complete without errors and the Redmine application starts and serves its home page from the internal address.
Test login, attachments, email and API access
Test each function in turn and record the result. Sign in with a test account and an administrator account, upload an attachment and download it, trigger an email notification and confirm it arrives at an internal mailbox, and call a core REST API resource such as issues with an API key, after an administrator has enabled the REST API. Confirm the host makes no outbound calls to the internet by checking firewall logs. Done when all five checks pass and the results are signed off.
How artifacts cross the isolation boundary
The flow starts in a connected staging zone, where the team collects the gems, the Redmine container image, plugin sources and the release tarball, then signs them into one offline bundle. The bundle crosses the boundary through a controlled transfer step, where the team recomputes checksums and compares them with the signed manifest before anything is installed. Only verified artifacts reach the air-gapped zone, which runs Redmine with its database, file storage, Sidekiq and an internal SMTP relay. Check that nothing inside the isolated zone reaches out to the internet, and that each file in the bundle matches the manifest.
Artifacts are verified at the boundary before any component inside the isolated zone uses them.
Security controls that matter inside the enclosure
An isolated Redmine host still holds issue data, credentials and attachments, and the controls below decide whether that data stays intact and attributable. Each card covers one control that a reviewer will ask about once the network is sealed, and each names what to check during handover.
Integrity checks on every carried package
Every gem bundle, container image, plugin archive and checksum file that crosses the boundary should be verified against a hash or signature recorded at the source, and the manifest should be kept with the transfer record. Verify before anything is installed, and reject the transfer if a single file does not match. This is the software integrity and authenticity check that supply chain procurement processes are expected to address for vendor software and patches, so it belongs in the transfer procedure, not in someone's memory. Check that the verification step is logged and that the person who verified is not the person who installed.
CIP-013-2 textREST API off unless needed
The Redmine REST API must be enabled by an administrator, so leave it disabled by default in the enclosure. If integrations need it, enable it for a named set of users and issue each integration its own API key rather than sharing a personal password. Confirm that basic authentication is not used by scripts that run on the isolated network, because it sends credentials with every request. Review API keys during each access review and revoke keys for integrations that no longer exist.
REST API docsLeast-privilege roles
Start with the built-in roles and tighten them before users arrive, because most isolated deployments inherit broad project permissions from the first setup. Give administrator rights to two or three named people, separate project managers from members, and avoid granting rights to edit other users' time entries unless a reviewer needs them. Check each role's permissions in the administration screens and record who approved each change.
Offline backups of database and uploads
Back up the database and the attachment directory together, since issues reference files that must exist alongside them. Store copies on media that leaves the enclosure only through the same controlled transfer process, and keep at least one copy somewhere other than the Redmine host. Test a restore onto a separate host inside the network at a planned interval. A backup that has never been restored is an assumption, not a control.
Secrets kept out of images
The secret key base, database passwords and mail credentials should come from files or environment injected at runtime, never from a Dockerfile, a configuration file committed to a repository or an image layer. Restrict read access to the secrets file, rotate values after staff changes, and confirm that the transferred image contains no credentials. Keep a record of where each secret lives so rotation does not depend on one administrator.
Logging of administrative changes
Record who changed roles, enabled modules, edited settings, installed plugins and created accounts, and forward those logs to a store inside the enclosure that administrators cannot silently edit. Redmine's own history covers issue changes, but platform administration needs logs from the web server and the application. Review them on a schedule, and confirm that log retention matches the period your reviewers will sample.
How security releases reach an offline Redmine
Every security release reaches an offline Redmine by hand, so the first decision is which support line you run. Redmine 7.0.x is the only fully supported line and receives new features, bug fixes and security updates. Redmine 6.1.x receives only bug fixes and security updates, 6.0.x receives only important security fixes, and 5.1.x and older are unsupported. An air-gapped install on 5.1 or older has no upstream path to a patch, so moving to a supported line is the first security task, not a later one. Confirm the current tier of your line on the Redmine download page before each planning cycle, because the tiers are the basis for deciding how urgently a release must be imported.
Someone with internet access has to watch the download page on a schedule and record each new stable release, its date and its release notes. Treat that connected system as a one-way intake: download the release archive, verify its checksum against the value published by the project, and carry it across your boundary through the approved transfer process. Keep a written record of what was imported, when, and who approved it. Your procurement and change process should also address integrity and authenticity of vendor software and patches, since that is the control your auditors will ask about when they review the transfer.
A routine for each release has three stages. First, import the archive and any gems you vendor into a staging copy built from the same image or host configuration as production, and restore a recent database backup into it. Second, check every third-party plugin before import: confirm that its current version supports the target Redmine release, because a plugin that has not been updated can block the upgrade or run with errors. Third, apply the change in production using the upgrade procedure, which calls for backing up the database and uploaded files, copying configuration, uploads and plugins to the new installation, running db:migrate and redmine:plugins:migrate, clearing the cache and restarting. Record the rollback point before you start, and retest core workflows such as login, issue updates and attachments after the restart.
What to confirm in your environment before committing
An offline Redmine build depends on decisions that sit outside Redmine itself: which plugins you need, which Ruby and OS packages your mirror carries, and which services inside the enclosure Redmine can reach. Confirm each item with your architects, your plugin authors and your mail and identity teams before you agree a scope, because each one can change the build sequence.
Plugin compatibility with the target line
Every plugin must declare support for the Redmine line you choose. Redmine 7.0.x is the fully supported line, and 6.1.x and 6.0.x receive fewer updates, so a plugin that only supports 6.x may hold back your target version. Ask each plugin author which Redmine versions and Rails releases the current release supports, and whether the author plans a release for the line you intend to run. Confirm compatibility in writing for every plugin on the list before the build starts.
Redmine download pageVendoring plugin sources
Plugins often pull gems or assets from public sources during installation, and an offline network cannot reach them. Ask whether each plugin's source code and dependencies can be copied into your repository or artifact store and built without network access. Also check whether the plugin license allows you to hold and redistribute the code internally. Plugins that fetch at install time need a vendored copy before the enclosure is sealed.
Ruby and OS package availability
Redmine 7.0 supports Ruby 3.2, 3.3, 3.4 and 4.0, and it does not support JRuby. Confirm that your internal mirror carries the exact Ruby version you plan to use, the operating system packages Redmine needs to compile native gems, and the gems in your lock file. A gap in any of these is common when the mirror was built for a different Redmine line. Check the mirror against the Gemfile.lock of the target release, not against the latest gem index.
- Supported Ruby range
- 3.2 to 4.0
LDAP and SSO reachability inside the enclosure
Redmine authenticates natively against LDAP directories, but SAML and OpenID Connect depend on plugins or an authenticating reverse proxy. Confirm that the Redmine host can reach the directory server on the ports you plan to use, and that any identity provider or proxy you rely on is hosted inside the enclosure. Also confirm that certificate chains for internal services are trusted by the Redmine host. An SSO design that calls an external identity service will fail once the network is sealed.
Mail relay policy
Redmine sends notifications and accepts issues by email, so it needs an SMTP relay it can reach. Ask your mail team whether an internal relay exists, which hosts may send through it, whether it requires authentication or TLS, and whether inbound mail for issue creation is permitted at all. Confirm the relay's sender domain rules and the retention of notification logs. Agree the relay design with the mail team before you configure delivery, since an unrouted relay causes silent notification loss.
Optional preview tool requirements
ImageMagick, Ghostscript and Pandoc are optional components that generate thumbnails and previews for attachments. Decide whether your users need previews at all, because each tool must be packaged into the offline mirror along with its dependencies and kept current through your own patch process. If you omit them, confirm that users accept plain file downloads for attachment types they upload. Make this decision during scoping, since adding tools later means a second offline package cycle.
Installation guideQuestions teams ask before an offline Redmine install
How much more effort does an air-gapped Redmine install add over a connected one?
It adds a build and transfer stage that a connected install skips. Everything Redmine pulls at install time must be collected on a connected staging host, verified, moved across the boundary and then installed from local sources. The main drivers are the number of gems and plugin dependencies, whether you mirror a container image or vendor gems onto a Linux host, how many database, mail and attachment components sit inside the enclosed network, and how often you need to repeat the transfer. A core install with no plugins is the smallest case. Each plugin adds its own dependencies, sources and upgrade checks, so ask for the effort split between the base install, plugin intake and the offline update routine in any quote.
Can our own team install Redmine offline without a partner?
Yes, if your team already runs Redmine or Rails applications and has someone comfortable with Ruby dependency management, database administration and Linux service configuration. The skills that are harder to find internally are building a reproducible offline bundle, documenting a transfer procedure that your security team accepts, and testing that updates still work after the boundary is in place. Check whether the people who would do this have run a production Redmine upgrade before, since the upgrade procedure requires backups, database migrations and plugin migrations in a set order. A first offline install usually goes better with an outside review of the bundle and runbook.
What does the work need from our organization before it starts?
Plan for four inputs. First, written approval from network and security teams for the transfer path, including who may carry media or move files through a data diode or cross-domain tool and how each package is checked before it enters. Second, a staging host on a connected network where the offline bundle is built, with the same operating system and Ruby versions as the target. Third, administrator access to the enclosed hosts, the database server, the mail relay and the storage that will hold attachments. Fourth, a named owner who accepts the runbook and approves changes to the bundle. Confirm the approval lead times with your change board early, because they often set the schedule more than the technical work does.
How long does an air-gapped Redmine installation take?
Duration depends on the scope you agree and on how long approvals take, so there is no fixed figure to quote here. Scope drivers include the number of plugins and their dependencies, the database and attachment storage design, whether a mail relay must be built inside the network, the number of environments (for example, a test copy before production), and whether you need a repeatable procedure for later security releases. Approval and transfer cycles often run in parallel with the build but can extend the calendar well beyond the technical effort. Ask for a timeline that separates build, review, transfer, cutover and handover, and that names which steps depend on your approvals.
How are Redmine security updates handled when the network has no internet access?
Updates are handled by a repeatable offline cycle, not by the server checking for patches. Redmine publishes stable releases on its download page, and the current fully supported line is 7.0.x, while 6.1.x receives only bug fixes and security updates and 6.0.x receives only important security updates. Each cycle, someone on a connected staging host must check the release notes, rebuild the gem bundle and any plugin sources, verify checksums, transfer the bundle, back up the database and files, run the upgrade steps and retest. Agree in advance who watches the release feeds, how fast critical fixes are carried across, and which Redmine line you will stay on. Staying on an unsupported line such as 5.1.x or older means no security updates at all.
Does Redmine have a paid edition for offline or enterprise use?
No. Redmine is released under the GNU General Public License v2 and has no paid edition, so air-gapped use does not require a license upgrade. The cost of a deployment comes from hosting, implementation work, plugins, upgrades and the staff who maintain the system. Some other open-source products reserve air-gapped deployment for commercial editions, so it is worth checking the license of every component you bring in. Plugins are the part to check, because each plugin carries its own license and some are commercial, which affects what you can bundle and who must pay for updates.
How do our plugin choices change the offline install effort?
Plugins usually add the most work in an offline setup. Each one needs its source code, its gem dependencies and any database migrations collected on the staging host, checked for integrity and carried across. Plugins that call external services, such as hosted authentication, mail APIs or map tiles, will fail inside the enclosed network unless you replace those services with internal equivalents. Commercial plugins may also require license checks that reach the vendor. Before committing, list every plugin, its license, its external calls and its upgrade history. Fewer, well-maintained plugins with no outbound calls keep both the first install and the recurring update cycle smaller.
How DeployOpen scopes and delivers offline Redmine
DeployOpen approaches an air-gapped Redmine install as a written scope covering the isolated network, the image or gem supply path, the database, email relay and the update routine. Each step is agreed before work starts, so the offline operating model is designed up front rather than discovered after go-live.
How we scope
- Engagements are fixed-scope, with the offline network boundary, Redmine version and database agreed in writing first.
- We confirm which artifacts can cross the boundary: container images, vendored gems, plugin sources and email relay settings.
- We record which plugins are needed, their source, and who approves each package carried into the isolated network.
How we build
- We prepare the Redmine image or vendored gem bundle outside the network and verify it before transfer.
- We deploy Redmine, the production database, background jobs and attachment storage inside your infrastructure, with no internet calls.
- We configure an internal SMTP relay and test notification delivery from inside the isolated network.
How we hand over
- You receive a written runbook covering the transfer process, checksum verification and the offline upgrade steps.
- We document the security release intake procedure, so your team knows how new Redmine patches reach the network.
- Your administrators are walked through backups, restores and the migration commands used during an upgrade.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers, scoped to your offline environment.
- Retainers can cover preparing each security release bundle for transfer and retesting the deployment afterward.
- Security testing of the deployed Redmine is available on request, with findings reported and retested after fixes.

