How to plan an OpenCTI Docker Compose upgrade before changing any image tag
A team running OpenCTI on one Docker host or a Swarm should decide the target release before editing any file. OpenCTI uses date-based version numbers: regular releases follow the pattern x.YYMMDD.z, and LTS releases follow x.YYMMDD.z-lts.n, where the date is the release or LTS branching date. Regular releases ship when they are ready, from daily to weekly, so a team on a rolling line will see new tags often. LTS releases arrive about every six months and are supported for one year, which gives a six-month overlap between consecutive LTS lines. The LTS line needs a specific LTS license key to run, and after a one-month stabilization period it receives only critical bug and security fixes. Confirm which line your license covers before you pick a tag.
On Compose and Swarm, an upgrade is a change to image versions followed by a restart, and database migrations run automatically when the platform starts. That makes the release notes the real plan. Read every release between your current version and the target, note any breaking changes and required dependency versions, and move through the intermediate releases the notes describe rather than jumping straight to the newest tag. Check that Elasticsearch or OpenSearch, Redis, RabbitMQ and S3-compatible storage still meet the documented minimums for the target release. Record the current docker-compose.yml or stack file, the image tags in use and a tested backup of the data stores so you can return to a known state if a migration fails.
Decide the connector plan at the same time as the platform plan. Connectors run from their own images, and a connector built for an older platform may not work against a newer one, so list every connector in your stack, its image tag and the platform version it supports. Confirm the minimum platform version and pinned client for each connector with its documentation or repository, and schedule the platform and connector changes in one maintenance window. Finally, agree who will check ingestion afterwards and which signals show success, such as worker queues draining and new bundles arriving, so the change is judged by evidence rather than by the containers starting.
What changes between OpenCTI releases that affect a Docker deployment
This table compares the release changes that touch a single-node Docker Compose or Swarm deployment, and what each one asks of the operator. Read each row before editing image tags, because the license, migration and authentication rows can block a restart even when the image pulls cleanly. Detailed breaking-change and licensing reviews are covered in the sibling topics linked below.
| Change | Impact on a Docker deployment | Action needed |
|---|---|---|
| Version number format | Tags use a date-based pattern (x.YYMMDD.z) for regular releases and x.YYMMDD.z-lts.n for LTS releases, so a tag is not a simple counter of upgrades. | Pin the exact image tag in docker-compose.yml, and confirm the target tag exists in the releases list before editing the file. |
| LTS license key requirement | LTS images need a specific LTS license key to run, so an LTS tag can fail to start if the key is missing or belongs to another line. | Obtain the LTS key before the change window and confirm it is set in the environment for every platform container. |
| LTS stabilization and critical-fix phase | After about one month of stabilization, an LTS line receives only critical bug and security fixes, so feature updates arrive on rolling releases instead. | Decide which line the deployment follows and schedule moves to the next LTS line within its one-year support window. |
| Automatic database migrations | Migrations run when the platform starts, so the first start of a new version changes stored data and cannot be undone by reverting the image tag alone. | Take a verified backup of the data stores before pulling, and plan a restore path in case the new version must be rolled back. |
| Authentication strategies and SSO as Enterprise Edition | From 7.260224.0, defining and using authentication strategies, including SSO, is an Enterprise Edition feature, so an upgrade can remove a working login method. | Confirm the license covers SSO and confirm a local administrator login works before upgrading. See the OpenCTI 7 licensing change topic for details. |
What to back up and inventory before changing image tags
A Docker Compose or Swarm upgrade only changes image tags, but the data behind the platform, the stack definition and the connector versions all have to be known before you touch them. Gather these five items first so that a failed upgrade can be rolled back and a dry run can be trusted.
Back up the dependent data stores
OpenCTI depends on Elasticsearch or OpenSearch, Redis, RabbitMQ and S3-compatible storage such as MinIO. Snapshot or back up each one according to its own tooling, and record the time of each snapshot so the set can be restored together. Confirm that the search index and the object storage bucket match the same point in time, since the platform keeps knowledge in several places. Check that you can restore a snapshot in a test environment before you rely on it.
Copy the stack file and environment files
Keep a dated copy of docker-compose.yml or the Swarm stack file, along with every .env file and any secret references it uses. Record the current image tag of each service so you can restore the exact previous state with a single edit. Store the copy outside the host that runs the stack, because a failed change can leave the working directory in an unclear state.
Inventory every connector image and tag
List each connector container, its image name and the version it currently runs. Connectors are separate images from the platform and do not upgrade when you change the platform tag. Note which connectors are external import, internal enrichment, stream or export types, because each type fails differently when the platform changes. Keep this list with the stack copy so you can compare it after the upgrade.
Confirm the LTS license key
If your release line is LTS, the container image only runs with a specific LTS license key, so confirm that you hold a key for the target line before you change the tag. Store the key in your secrets process, not in the stack file. Ask Filigran or your licensing contact to confirm which key applies to the version you plan to run, and check that the key is present in the environment the new containers will read.
Life cycle docsRehearse the change in staging
Run a copy of the full stack, including the same data stores, connectors and environment settings, on separate infrastructure. Apply the planned tag changes there first and record each step and any error. Use the results to set the order of the production change and to decide whether connector versions need to change at the same time. A staging copy that uses a smaller or empty dataset will not show migration or ingestion problems.
How to run the Docker Compose upgrade sequence step by step
This sequence moves a single-node or Swarm OpenCTI deployment to a chosen release with the platform and connectors changed in one planned window, and it gives you a check and a rollback point at each stage. Work through it in order so that a failed step is caught before the next one changes data or running services.
Confirm the target release and its license needs
Before touching any file, read the release notes for the target version on the OpenCTI releases page and note whether it is a regular release or an LTS release. Confirm which version you are on now, check the breaking changes for every version between the two, and confirm that your license covers the target line, since LTS releases require a specific LTS license key. Record the current image tags and a backup of your Compose or stack files so you can return to them. Done when you have a written target version, a list of breaking changes reviewed by the person who owns the deployment, and a saved copy of the current configuration.
Back up data stores before changing images
Take a backup of the stores OpenCTI depends on before any image changes, including Elasticsearch or OpenSearch, Redis, RabbitMQ and the S3-compatible object storage, following your own backup procedure. Confirm that the backups restore in a test location if your team has that capability. Because database migrations run automatically when the platform starts, a backup taken now is the rollback point if a migration fails. Done when each backup completes without errors and you have noted where it is stored and how long you have to restore it.
Update image versions in docker-compose.yml
Edit the image tag for the OpenCTI platform and its workers in the docker-compose.yml file, and change the connector images in the same file so that they match the platform release. Check each connector's minimum platform version and pinned client version before you change it. In a Swarm deployment, make the same tag changes in the stack file you deploy. Done when a diff of the file shows only the intended tag changes and every connector image is set to a version you have confirmed works with the target platform.
Stop the running services
Run docker-compose stop from the directory that holds the Compose file so that the platform, workers and connectors are shut down before new images start. Stopping first avoids mixed versions writing to the same data while the upgrade is underway. Watch for any connector that is still processing a large batch and wait for it to finish or record its state. Done when docker-compose ps shows every service as stopped and no container is still writing to the stores.
Pull the new images
Run docker-compose pull to download the platform, worker and connector images at the tags you wrote in the Compose file. Pulling before starting separates network or registry failures from startup failures and keeps the restart window short. If you run an air-gapped or mirrored registry, confirm the mirror holds the exact tags first. Done when the pull finishes without errors and docker images lists the target tags on the host.
Start the new release with docker-compose up
Run docker-compose up -d to start the services on the new images. Migrations run automatically at platform start, so this step changes stored data. Keep the platform and worker logs open with docker-compose logs -f on the platform service while the containers come up. Done when the platform reports it is listening and the web interface loads for an administrator account, and the logs show no repeated migration or dependency errors. If migration errors appear, stop the services and restore from the backup taken earlier before attempting any fix.
Check platform logs and migration results
Review the platform and worker logs from the start of the new containers through to steady state. Look for migration completion messages, connection errors to Elasticsearch or OpenSearch, Redis, RabbitMQ and object storage, and worker registration. Confirm the version shown in the interface matches your target. Done when the logs show a clean start, the workers are consuming from the queue, and the version displayed in the platform matches the release you planned.
Verify connector ingestion before closing the window
Confirm that each connector registered with the upgraded platform and that the connectors have resumed importing or enriching data. Check the connector status pages in the interface, review the connector logs for version or schema errors, and confirm that new reports or indicators appear from at least one import source. Queued messages in RabbitMQ should drain rather than grow. Done when every connector reports a healthy state, ingestion has resumed for each source, and no connector is still on an older image. Keep the backup and previous Compose file until this check passes.
How Docker Compose and Docker Swarm upgrades differ in practice
On a single-node Docker Compose deployment, the whole OpenCTI stack lives in one docker-compose.yml file on one host. The upgrade starts by changing the image tags for the platform and its workers in that file, then running the stop, pull and up sequence against the stack. Because every container is restarted together, the platform is unavailable from the stop step until the containers come back.
- Edit the image tags first: Change the OpenCTI platform and worker image versions in
docker-compose.ymlbefore stopping anything, so the pull fetches the intended release. - Stop the stack: Run
docker-compose stopso that all services halt cleanly before new images are pulled. - Pull the new images: Run
docker-compose pullto fetch every image referenced in the file, including connector images if you run them in the same file. - Bring the stack back up: Run
docker-compose upto recreate the containers from the new images. The platform applies any database migrations during startup. - Confirm the stack is healthy: Check container status and logs, then sign in to the UI to confirm the platform responds.
Before you start, confirm the target version and its migration notes with the OpenCTI upgrade documentation and take a backup of the data stores.
On Docker Swarm, each OpenCTI component runs as a named service, and you update services individually rather than stopping one stack file. Swarm replaces tasks for a service with new ones built from the updated image, so the ordering of services and the health of each service matter more than in a Compose stack. The documented pattern is docker service update --force on each service.
- Update one service at a time: Run
docker service update --forceagainst each OpenCTI service, passing the new image reference for that service. - Choose a consistent order: Update the platform service first so the API and migrations are in place, then the worker services, then connector services. Confirm the order against the release notes for your target version.
- Wait for a running state: Use
docker service psanddocker service lsto confirm the new tasks reach the running state and the replica count matches before moving on to the next service. - Check logs after each service: Review the service logs for startup errors, failed migrations or restart loops before updating the next one.
- Keep a rollback path: Know the previous image tag for each service and whether
docker service rollbackis suitable for it.
A Swarm service update still needs the same backups, pre-upgrade checks and rollback plan as a Compose upgrade, because a failed migration cannot be undone by Swarm alone. Ask your team to confirm the Swarm and Docker Engine versions it supports before the window opens.
The preparation steps are the same on both platforms, but the consequences of skipping them grow with the number of services involved. OpenCTI runs database migrations automatically when the platform starts, so a backup taken before the change is the main way to return to a known state. Treat the rollback plan as part of the upgrade, not an afterthought.
- Back up the data stores: Take backups of the search index, message queue state, Redis data and object storage according to your own retention policy before changing any image.
- Record current image tags: Save the running image versions for every service so you can restore them exactly.
- Read the release notes: Check the documented breaking changes and connector compatibility for the target release before starting.
- Plan the rollback criteria: Decide in advance which checks trigger a rollback and who makes that call.
- Test in a non-production copy: Where possible, run the same sequence on a copy of the environment first.
Before you start, confirm with your platform team how backups are restored and how long that restore takes in your own environment.
How the upgrade moves through backup, change, restart and verification
The sequence starts with reading the release notes and planning the change, then saves the stack files and data stores before anything moves. The new image tags are first applied to a staging copy, and only then to production. After the restart, the platform and workers are checked first, followed by connectors and ingestion. If either check fails, the team returns to the saved tags and backups instead of continuing forward. Each hand-off is a point where the team should record what was checked.
Phases of a single-node or Swarm OpenCTI upgrade, with the rollback branch.
Why connector images must move with the platform in the same window
Connectors must be upgraded in the same window as the platform. Connectors for import, enrichment, file extraction, export and stream consumption do not sit beside the platform as independent tools. They talk to the OpenCTI platform through its API and exchange work with the platform through the RabbitMQ queue that the Python workers consume. When the platform image changes and a connector image stays behind, the connector may still run but send messages or calls the new platform handles differently, or it may stop receiving the work it expects. The failure is often quiet: the container stays up while enrichment or imports silently stop producing results.
In a Docker Compose or Docker Swarm stack, the practical choice is to treat connector image tags as part of the same change set as the platform tags in docker-compose.yml. Update them together, then pull and restart the stack as one operation. Before the change, record the current image tag of every connector and the platform, and keep that list with the compose file so you can roll back to a known combination. After the restart, read each connector's logs and confirm it registers with the platform, reports a successful start and processes a test item. Do not assume a healthy container means working ingestion.
Confirm the compatibility of each connector before you change any tag. Check the minimum platform version each connector documents and the client library version it pins, and plan a fallback for any connector that lags the platform release. The sibling topic on keeping OpenCTI connectors compatible across platform upgrades covers those checks in detail, so use it as the reference for deciding which connector versions can move in this window.
What makes a Docker upgrade take longer than expected
This table lists the factors that stretch a single-node Docker or Swarm upgrade beyond the image swap itself, with the effect of each and what to confirm. Read it before scoping, since the largest swings come from connector count, search data size and whether a staging copy exists.
| Driver | Effect on effort | What to ask a partner or internal team to confirm |
|---|---|---|
| Number of connectors | Each connector image is updated alongside the platform and must be checked against the platform version, so effort grows with the count. | How many connectors run, which are custom or pinned to a specific client version, and who owns each one. |
| Custom or pinned connectors | Pinned or custom connectors may not start on the new platform version and need code or version changes before the cutover. | Whether each connector has a documented minimum platform version and whether any are built in-house. |
| Size of the Elasticsearch or OpenSearch data | Larger indices mean longer migrations on startup, so the restart window grows with data volume. | Index size and document counts, plus the migration time observed in a test run on a copy of the data. |
| Compose or Swarm deployment | Swarm updates each service with a forced service update, so service ordering and placement need checking across nodes; Compose stops and restarts the full stack. | Which orchestrator is in use, how services are named and placed, and whether the team has a tested rollback for that orchestrator. |
| Custom Compose overrides | Override files, environment variables or volume mounts can conflict with new image defaults and need reconciling line by line. | Every override file, environment file and custom volume mount in use, and who maintains them. |
| Reverse proxy or SSO configuration | Proxy headers, TLS settings and identity provider callbacks may need changes, and login testing adds time after the restart. | Proxy and certificate configuration, the authentication strategy in use, and whether SSO requires an Enterprise Edition license. |
| Staging copy availability | Without a staging copy, the first real run of migrations happens on production data, which raises the risk of a long outage or rollback. | Whether a staging stack with a recent data copy exists, how current that copy is, and who signs off the cutover. |
How to test an OpenCTI upgrade and roll back when ingestion fails
Test the upgrade on a copy of the stack before touching production, and keep the rollback path ready before the first restart. Build the test environment from the same docker-compose.yml or Swarm stack definition, with the target image tags and the same dependency versions (Elasticsearch or OpenSearch, Redis, RabbitMQ and S3-compatible storage). Then run a representative sample of your connectors, including at least one import connector and one enrichment connector, against a realistic slice of data. Confirm that the platform starts, that workers consume RabbitMQ messages, that connectors report healthy, and that new objects appear in search and in the expected count. Record the image tags you started from, because that list is your rollback reference.
Decide on rollback based on what failed. If the new images fail to start, or a connector fails after the platform is healthy and the data is intact, restoring the saved image tags in docker-compose.yml (or rolling the Swarm services back to their previous image) is usually enough. A data restore is required when the platform migrated its database and then ingestion is wrong, corrupt or missing. Database migrations run automatically when the new platform starts, so an older image cannot simply read the data back once it has been migrated. Reverting the images alone then leaves you with a mismatch between the code and the data.
This is why a backup taken before the change is essential. Back up the search indices, the Redis and RabbitMQ state you need, and the S3-compatible file storage as your recovery plan defines them, and confirm the backup can be restored into the test environment. Rollback is only safe if that backup was taken and verified before the restart. A backup taken after the upgrade may already contain migrated data that the old images cannot use. Confirm the exact backup method, retention and restore steps with your own operators and the upgrade documentation before the change window.
Which checks confirm that ingestion works after the restart
A restart that finishes without errors does not prove that OpenCTI is ingesting data. The checks below move from the containers themselves to the data path, so each failure points to a specific layer. Run them in order after the first full stack restart on Compose or Swarm.
Containers running and the UI responding
Confirm that the platform and worker containers are up on the new image tags, not restarting in a loop. Run docker-compose ps on Compose or docker service ls on Swarm and check that each service shows the replica count you expect. Then open the web interface and send a simple GraphQL query to the API, since a container can report healthy while the application behind it still fails to start. A version mismatch between platform and workers often shows up here first.
Connector logs show a clean connection
For each connector, read its container logs and confirm it authenticated against the platform and registered with it. Look for the connection and registration messages and for the absence of repeated authentication or schema errors. Connector images should move with the platform, so a connector still pinned to an older image is a common cause of silent failure at this stage. Record which connector versions you ran so the next upgrade starts from a known state.
New work items leave the RabbitMQ queue
Workers consume messages from RabbitMQ for asynchronous writes, so ingestion depends on that queue draining. Open the RabbitMQ management view and watch the queue depth after you trigger an import or let a connector run. A queue that grows without shrinking means workers are not consuming, usually because they are on a different version or cannot reach the broker. Check that the message count returns to near zero once the import finishes.
Newly imported data appears in search
Ingestion is only confirmed when data created after the restart can be found. Trigger a small, known import, such as one test indicator or one feed item, and search for it in the platform by its value. If the object appears in the UI but not in search, the Elasticsearch or OpenSearch index may not be receiving writes, which points to the search layer rather than the connector. Record the object identifier so you can compare it across environments.
Scheduled imports and streams resume
Connectors that run on a schedule and stream consumers do not always resume on their own after a restart. List the scheduled jobs and confirm that each one shows a next run time and that the last run completed. For stream consumers, confirm that they pick up from their saved position rather than replaying old data or starting over without notice. Note any feed that has missed a window so you can backfill it deliberately.
Platform errors reviewed after one cycle
Wait until at least one full ingestion cycle has run, then review the platform and worker logs for errors that started after the restart. Filter for error and warning levels and compare them against the logs from before the upgrade so that long-standing noise does not hide a new fault. Treat repeated migration, schema or dependency errors as blockers, and log any recurring warning with its owner and a follow-up date.
What do teams ask before paying for an OpenCTI Docker upgrade?
What does an OpenCTI Docker upgrade cost, and what drives the price?
The cost follows from the written scope, so no single figure applies to every deployment. The main drivers are the number of environments (test and production are usually separate), how many connectors must be upgraded and tested alongside the platform, the volume of data already in the platform, and whether dependencies such as Elasticsearch or OpenSearch, Redis, RabbitMQ and object storage also change in the same window. A fixed-scope quote lists each of these items with its deliverables. Ask for the cost split between the upgrade itself, pre-upgrade review, post-upgrade ingestion checks and any retest, and ask which items would be billed again if a second change window is needed. DeployOpen does not publish a price list, so the quote is the figure to compare.
How long does an OpenCTI Docker upgrade take?
Duration depends on the number of services in the Compose or Swarm stack, how many connectors run, how large the existing dataset is, and how much testing your team requires before production. The upgrade steps themselves are short: edit image versions, stop, pull and restart, or run a service update on Swarm. Most of the elapsed time goes to checking connector compatibility, rehearsing on a copy, and confirming that ingestion resumes. Database migrations run automatically during the platform start, so their length grows with data volume. Ask for the planned sequence and the checks that gate each step, and confirm the window with your own change process before agreeing a date.
What do we need to provide for the upgrade?
The work needs several things from your side before it starts:
- Access to the Docker host or Swarm manager, the registry or image source, and the current
docker-compose.ymlor stack file - A verified backup of the platform data and the Elasticsearch or OpenSearch indices, taken before any change
- A change window agreed with the people who depend on threat intelligence feeds and dashboards
- A named decision maker who approves the target version and any rollback point
- A list of connectors, their image versions and the feeds they import from or stream to
Confirm these items in writing with the upgrade scope, because missing backups or unclear approvers are the most common reasons a window slips.
Can our internal team run the OpenCTI Docker upgrade without a partner?
Yes, a team with Docker and OpenCTI operations experience can run a single-node Compose or Swarm upgrade. The process is documented and it is mostly configuration and service commands. The questions to answer honestly are whether someone on the team has done a platform restart with live ingestion, whether connectors are tracked against platform versions, and whether there is a tested restore path if the new version misbehaves. A partner adds value when the team lacks that experience, when several environments must be aligned, or when audit evidence of the change is required. Compare the internal effort with the scope a partner would deliver before deciding.
What happens to our LTS license key during an upgrade?
OpenCTI LTS releases are distributed as container images but require a specific LTS license key to use. Before you change to an LTS image, confirm that your key matches the LTS line you are moving to, because a key for one line does not carry over automatically to another line. LTS releases receive only critical bug and security fixes after a one-month stabilization period, so the key and the target line should be checked together during planning. Rolling releases follow a different path, and the license terms for each edition are set out in the OpenCTI Enterprise Edition documentation. Ask Filigran or your licensing contact to confirm the key details for your deployment.
Is a one-time Docker upgrade different from ongoing upgrades under a retainer?
A one-time upgrade covers one target version, one change window and the deliverables in its written scope. Ongoing support covers recurring work: tracking new releases, planning each step, applying connector updates, and testing after each change. OpenCTI releases arrive at different cadences, since non-LTS releases ship from daily to weekly and LTS releases occur every 6 months and are supported for 1 year. Each upgrade therefore recurs on your schedule, not on a fixed vendor schedule. Ask whether a retainer covers the cadence you choose, what testing is included per release, and what is billed separately if a release includes breaking changes.
How DeployOpen works on this
DeployOpen approaches an OpenCTI Docker Compose or Docker Swarm upgrade as a planned change inside your own infrastructure, starting with your current image tags, connector versions and dependency stack. We agree the scope in writing, then test the sequence on a copy of your environment before anything touches production.
How we scope
- Inventory current OpenCTI image tags, connector images and the Elasticsearch or OpenSearch, Redis, RabbitMQ and MinIO services they depend on.
- Agree in writing which Docker Compose or Swarm stacks, nodes and connectors are in scope and which are excluded.
- Confirm the target release line with you, including whether your organization holds the license needed for an LTS image.
How we build
- Prepare the updated compose or stack files with image versions pinned, then rehearse the stop, pull and restart sequence on a staging copy.
- Upgrade platform and connector images together in a defined order, and record the checks run after each step.
- Verify ingestion, worker queues and search after the change, and keep a tested rollback path with the previous image tags.
How we hand over
- Deliver a written runbook with the exact commands, image versions, service order and the post-upgrade checks used.
- Document the configuration changes, known connector constraints and the backups taken before the change.
- Walk your operations team through the runbook so they can repeat the upgrade for later releases.
How we support
- Ongoing support, upgrades and continuous testing are available as a retainer, scoped separately from the upgrade itself.
- Retainer work can cover reviewing new OpenCTI releases and their connector impact before each planned upgrade window.
- Ask any partner for the support boundaries, response expectations and quote basis in writing before signing.

