How to plan a MISP Docker upgrade before new images are pulled
If your team runs misp-docker today and must move to images that split out a separate misp-nginx container, plan the change as a topology change, not a routine image pull. The target should be the MISP 2.5 line. MISP 2.4 is end of life with security fixes only, and the project strongly advises against installing new 2.4 instances, so a move to 2.4 images would only defer the next migration. Before you touch any compose file or manifest, confirm the exact target image tag and read the misp-docker repository release notes for the NGINX change, since the public release facts do not give the variable names or file paths you will need.
Routine updates change images and keep the same wiring. Here the web tier moves into its own container, so the things that used to be implicit become explicit: a mandatory BASE_URL that must match the public hostname your users and sync partners reach, renamed environment variables, and certificate and TLS file paths that now belong to the NGINX container rather than the MISP container. Make an inventory of every variable in your current .env file, every mounted certificate, and every ingress or load balancer rule that points at the old web port, then map each one to its new home in the release notes. Do this against a copy of the instance, not production.
Verify the change in a staging environment that mirrors your production hostnames and certificates. Confirm that the login page, the API, attachment downloads and a sync connection with a test partner all work through the new NGINX layer, and that the MISP container no longer needs the certificate mounts it used to have. For Kubernetes, update the Service, Ingress and Deployment manifests in the same change set so the misp-nginx pod is exposed and the old single-container assumptions are removed before the new images roll out. Record a rollback path that restores the previous manifests and database backup together, because the database and the web tier must be restored as a pair.
What changes in the misp-docker topology and what each change breaks
This table lists each change in the misp-docker layout that affects an existing deployment, what it breaks if ignored, and the action to take before pulling new images. Read it top to bottom as a pre-upgrade checklist, and confirm every container name, variable and path in the misp-docker repository before you write any values.
| Change | Impact | Action needed |
|---|---|---|
| New misp-nginx container | Web serving moves out of the core MISP container into a separate NGINX container, so existing port mappings, reverse proxy rules and health checks that target the old container may stop responding. | Map every route, published port and proxy upstream that points at the old container, and update them to the misp-nginx service name in the repository's compose file. |
| Mandatory BASE_URL setting | Without a BASE_URL value that matches the public address users type, links, sync callbacks and redirects can point at the wrong host or scheme, and the stack may not start cleanly. | Set BASE_URL to the exact external URL, including scheme, in your environment file, and confirm the expected format in the repository documentation. |
| Renamed environment variables | Variables your current env file or Kubernetes config map sets may be ignored after the rename, which can silently fall back to defaults for database, Redis, admin or mail settings. | Diff your existing variable list against the new template in the repository, rename each key, and remove obsolete ones so nothing is set twice. |
| Moved or renamed certificate paths | TLS certificates and keys mounted at the old paths may not load in the NGINX container, which leaves HTTPS unavailable or serving an unexpected certificate. | Confirm the new mount points and file names in the repository, then update volume mounts and secrets to match before the first start. |
| Updated Kubernetes manifests and probes | Deployments, services, ingress rules and liveness or readiness probes written for the single web container can fail, causing restart loops or traffic sent to pods that are not ready. | Split the web workload into the new container definition, update service selectors and ingress backends, and adjust probe paths and ports to the values in the repository. |
| Database migration system in MISP 2.5.47 | MISP 2.5.47 introduced a new database migration system with PostgreSQL support, so schema changes run as part of the upgrade and a failed migration can leave the database partially updated. | Take and test a database backup before the upgrade, confirm the target database engine, and plan a rollback path that restores both database and files. |
How requests reach MISP before and after the NGINX split
The diagram follows one HTTPS request through two layouts. In the earlier layout, a reverse proxy terminates TLS and forwards requests to the MISP application container, which runs PHP with CakePHP and reads from MySQL or MariaDB and Redis. In the later layout, the Kubernetes ingress routes traffic to a separate misp-nginx container, which reads its own certificate files before forwarding to the application container. BASE_URL feeds the links and redirects that both application containers generate, so it must match the public address clients use. This is a generic model. Confirm the exact container layout, certificate paths and variable names in the misp-docker repository before you change manifests.
Generic request paths before and after the misp-nginx split, to confirm in misp-docker.
What to back up and inventory before the NGINX change
The misp-docker change moves HTTP handling into its own container and alters how URLs and certificates reach MISP. Before you pull new images, you need a restorable copy of the instance, a record of every customization, and a clear view of who depends on the current address.
Full database and file backups
Take a full MySQL or MariaDB dump, plus the attachment, custom file and GnuPG key volumes used by your misp-docker stack. Restore them into a scratch environment and confirm that logins, events and attachments come back intact. A backup that has never been restored is not a recovery point. Record the exact image tags running before the change so you can roll back to them.
Inventory of local overrides
List every change you made to the compose files, environment files and Kubernetes manifests, including port mappings, volume mounts, custom configuration files and added services. Mark which ones target the web tier, because that is where the separate misp-nginx container changes the layout. Keep the list in version control so the new manifests can be compared line by line against what you ran before.
Current certificates and their paths
Copy the active certificate, private key and chain files, and write down the path each one is mounted from and the path the web server reads it from. The NGINX container expects its certificate files in locations you must map explicitly, so a path that worked before can fail silently after the change. Confirm expiry dates and who holds renewal rights for the certificate.
Staging environment that mirrors production
Build a test copy that uses the same public hostname, ingress rules, TLS termination point and BASE_URL value as production. Use a hosts override or internal DNS to reach it. An environment on a different hostname hides the redirect, cookie and link problems this change is most likely to cause, so the test result only counts if the names match.
Sync partners and automation clients
List every remote MISP instance that synchronizes with yours, and every script, PyMISP job, SIEM connector or feed consumer that calls your API. Each of them stores the public URL or uses it to fetch events. Note which ones use a fixed address, which allow a change request, and who owns each contact. Plan the notification and the cutover order before the production change window opens.
Why a missing BASE_URL breaks links, sync and sign-in
A mandatory BASE_URL matters because MISP uses it as the public address of the instance. After the move to the separate misp-nginx container, that address is baked into generated links to events and attributes, redirect targets, API callback URLs and the references that sync partners store when they pull from your instance. If the value is missing or does not match the hostname users and partners actually reach, the application can still render pages, but the links it hands out point somewhere else. Identity provider redirect URIs built from the public address follow the same logic, so a sign-in flow can fail even though the login page loads. Before you upgrade, list every place your current instance advertises its address: the server settings, the reverse proxy configuration, the sync server records held by partners, and the redirect URIs registered with your identity provider.
A value that differs from the public hostname can look healthy in a browser. You may load the home page, log in with a local account and browse events without noticing anything wrong, while sync pushes or pulls fail, API consumers receive links they cannot follow, or the SSO round trip returns to an address the provider does not recognize. The fault appears only when something outside your browser session uses the address. Confirm in the documentation for the target release which setting the application reads for its base address, where that setting lives (environment file, container variable or database configuration), and whether the value is applied at container start or read at runtime. Check that the value in docker-compose.yml, your Kubernetes manifests and the proxy headers all agree before you pull new images.
Test the change with the same paths your users and partners use. Run a sync test against one partner or a test peer, open a shared event link from an external network, and, if you use the OidcAuth plugin, complete a full sign-in through your identity provider. The OidcAuth plugin README describes how identity provider roles map to MISP roles and how the first matching role is assigned by priority, so verify that a test user lands in the expected role after the redirect, not only that the login succeeds. Record the redirect URI and role mapping results before and after the upgrade so that a regression is easy to spot and roll back.
The upgrade sequence for misp-docker with rollback points
This sequence moves a misp-docker deployment onto the separate misp-nginx container without losing data or access. Each step ends with a check, and the previous image tags and pre-upgrade database snapshot stay available until sign-in, sync and API checks pass.
Freeze changes and announce the window
The platform owner stops configuration changes, pauses scheduled sync pulls and feed imports, and tells sync partners and analysts when the window opens and closes. The change record names the people who can approve a rollback. Done means the change freeze is recorded, partners have acknowledged the window, and no one else is editing the environment file or manifests during the upgrade.
Take and verify backups
The operator takes a database dump, copies the attachment and file storage volumes, and backs up the GnuPG keys and the environment file. Each backup is restored or read back to confirm it is complete and not truncated. Keep these copies outside the cluster or host being changed, because they are the rollback point if later steps fail.
Record the running image tags
Before any change, the operator records the exact image tags and digests for the MISP core, workers, Redis, database and the current web image, and saves the running compose or manifest files. Store this record with the backups. If a rollback is needed, these tags let the team redeploy the previous state without guessing which versions were running.
Update the environment file and certificate paths
The operator renames the variables the new release expects, sets BASE_URL to the public address users and sync partners use, and moves TLS certificates and keys to the paths the misp-nginx container reads. The old file is kept as a copy. Validate the result by starting the stack in a local or staging compose setup and confirming that the nginx container serves the login page over HTTPS with a valid certificate chain.
Update Kubernetes manifests and probes
For Kubernetes, the platform team adds the misp-nginx service and points ingress at it, updates the readiness and liveness probes to the paths the new topology serves, and mounts the certificate secrets at the new locations. Rendered manifests are diffed against the running ones. Done means the diff contains only the intended changes and the manifests pass a dry-run apply in the test cluster.
Deploy to the test environment and rehearse the migration
The team deploys the new release to a test environment built from the production backup, then runs the database migration on that copy and checks the logs for errors. Test sign-in through the normal identity path, a sync pull and push with a test partner, and API calls with a test key. Only proceed when these checks pass and the migrated database opens without errors in the UI.
Pull images and deploy to production
After the rehearsal passes, the operator pulls the pinned new image tags, applies the reviewed environment and manifest changes, and runs the migration against the production database after confirming the fresh snapshot. The previous tags and the pre-upgrade snapshot remain available. The step closes when the containers report healthy and the nginx endpoint answers.
Verify sign-in, sync and API before closing
The team checks sign-in for a test and a production account, confirms a sync pull and push with a partner, and runs an API search with a known key. Only when all three pass is the rollback window closed and the previous tags and snapshot released. If any check fails, redeploy the recorded tags, restore the snapshot if the migration changed data, and reopen the change record for review.
What makes a misp-docker NGINX upgrade take longer
This table lists the factors that most often extend a move to the separate misp-nginx container, with the reason each one matters and what to check before scheduling. Read each row as a question to answer in your own environment, since the effort depends on how much your deployment departs from the default. Durations are not given here, so measure the items marked for measurement on a copy of production.
| Driver | Why it matters | What to check |
|---|---|---|
| Local overrides to compose files and manifests | Custom compose overrides, environment files and Kubernetes manifests must be reconciled with the new container layout and renamed variables before any new image is pulled. | Count every override file and manifest you maintain, and diff each against the upstream misp-docker version you are moving to. |
| Custom certificates and internal CAs | Certificate paths change with the topology, and internal certificate authorities may need to be mounted into the NGINX container rather than the core application container. | Confirm where each certificate and CA bundle is mounted today, and test that TLS validation works from every client that trusts your internal CA. |
| Kubernetes ingress and load balancer changes | Ingress rules, service ports and health checks may point at the old single front end, so traffic can fail even when MISP itself is healthy. | List every ingress, service and load balancer target that references MISP, and verify the health check path and forwarded headers in staging. |
| Database size and migration time on a copy | The database migration runs as part of the upgrade, and its runtime grows with the amount of stored events, attributes and attachments. | Restore a recent backup to a test environment, run the full upgrade there, and record the elapsed time for each step before setting a window. |
| Sync partners and API integrations using the URL | Partners, PyMISP scripts, SIEM connectors and other tools store the BASE_URL, so a changed address breaks sync and automation until each one is updated. | Inventory every sync server, feed and API consumer, and confirm who owns each one and how quickly they can change a configured address. |
| OidcAuth plugin or other plugins | Single sign-on redirect URIs and plugin settings depend on the public URL, and plugins may need validation against the new layout. | Check whether OidcAuth or other plugins are enabled, confirm the redirect URI registered with the identity provider, and test login after the change. |
| Air-gapped network | Images, packages and updates must be transferred into the isolated network, and any external dependency used during the upgrade must be mirrored first. | Confirm how new images reach the isolated registry, verify each required image is present, and plan the transfer as a separate step. |
How to test the upgrade and roll back if checks fail
Decide the rollback path before the change window opens, because the most important rollback fact is that a database migration may not be reversible by swapping images alone. Before you pull the new images, take a database snapshot, copy the persistent volumes that hold attachments and GnuPG keys, and save the current image tags and the edited .env file. Restore one snapshot into a scratch environment and confirm that the previous tags start against it. A restore point that has never been restored is a hope, not a rollback plan. Confirm how the target release handles schema changes and whether it supports reverting them in its release notes, and ask your MISP team or the project's release channel to verify this for the exact version you are moving to.
Run functional checks in a fixed order once the containers are healthy. Confirm web login through the new misp-nginx container, including the proxied path and the certificate chain your browsers see. Call the REST API with a dedicated test key and check that a restSearch returns expected results. Run a sync with a test partner instance that holds non-production events, and confirm events move in both directions. Trigger a feed fetch and confirm new attributes appear. Queue a background job and check that it completes. Finally, test certificate validation from an outside client that does not share your internal trust store, since a wrong certificate path after the move to the NGINX container is easy to miss from inside the cluster.
Set explicit go or no-go criteria for each check before the window, and name the person who calls the rollback. If any check fails in a way you cannot fix within the window, stop, restore the saved image tags, restore the database snapshot, and rerun the same checks on the previous version. Record which check failed and what the logs showed, because that record decides whether you retry. Keep the test key and partner details in your runbook so the same checks can be repeated during a later attempt.
Questions teams ask before upgrading misp-docker to the NGINX container
What does upgrading misp-docker to the NGINX container cost?
Cost depends on who does the work and how much of the deployment changes. Internal cost is staff time across platform, security and MISP administration roles, plus a staging environment for testing. Outside cost is an engagement priced from a written scope, which DeployOpen agrees before work starts, and it is one-time unless you add a retainer for ongoing support. The main cost drivers are the number of MISP instances, how far your configuration has drifted from the default misp-docker layout, the number of Kubernetes manifests to rewrite, how many sync partners must be coordinated, and how many environments (development, staging, production) need the change. Ask any provider for a quote that itemizes these items, the testing approach, the rollback plan and the handover documentation.
How long does the misp-docker NGINX upgrade take?
The duration is set by the scope of change and by how many coordination steps sit around the technical work. The main factors are the number of instances, the state of your current configuration, whether a staging copy exists to rehearse the cutover, the change windows your organization allows, and how many sync partners need notice before the switch. A single instance with a clean configuration and a staging copy moves much faster than a fleet with custom variables, separate ingress paths and partners in other time zones. Confirm the target MISP release and its release notes before you plan the calendar, and build the schedule from the written scope rather than from a generic estimate.
What does the upgrade need from our own staff?
It needs a small set of named roles with clear decisions to make. A platform engineer owns the Docker or Kubernetes changes, including the manifests and image pulls. Someone who controls DNS and certificates confirms the public URL, the certificate paths and the BASE_URL value. A MISP administrator knows the current configuration, user base and feed settings, and validates the result. A security approver signs off on the change, and a person who manages sync checks pull and push behavior with partners after cutover. Ask your provider or your own team to estimate the time each role will give, because that figure depends on your environment and is not a fixed number across organizations.
Can our in-house team upgrade misp-docker without outside help?
An in-house team can do this if it already runs Docker or Kubernetes in production, has a staging copy of the instance, and has read the topology change carefully. The team needs to handle the new misp-nginx container, the mandatory BASE_URL, the renamed variables, the certificate paths and the manifest updates before pulling images. Outside help is most useful when nobody has run misp-docker before, when the production instance carries critical sync relationships, when several instances must move on one schedule, or when the change needs documented evidence for an internal or external review. Many organizations split the work, keeping routine tasks in-house and bringing in a partner for the cutover plan and the test sequence.
Can we move to the NGINX container in Kubernetes without downtime?
Whether you can avoid downtime depends on your manifests, your ingress design and your rollout method, so treat zero downtime as something to test rather than assume. Because the NGINX layer becomes a separate container, the request path changes, and the sequence matters. Plan three things: update the Kubernetes manifests and the BASE_URL value before pulling the new images, rehearse the full cutover in a staging cluster that matches production, and define the ingress switch and the rollback step in advance. Confirm with your platform team how replicas, readiness checks and session handling behave during the rollout, since those settings decide whether users notice the change.
What happens to our existing MISP sync partners during the upgrade?
Sync partners connect to your instance by its URL and API credentials, so a change to the public address, the certificate chain or the routing can interrupt sync until the partner adjusts. Before cutover, tell partners the planned window and any URL or certificate change, and confirm which endpoints they call. After the switch, check that pulls and pushes complete on each connection and review the sync logs for errors. Keep the external URL stable where you can, and keep a rollback path ready in case a partner fails. The sync checks belong on the test plan, because a successful web login does not prove that partner synchronization works.
Do we need to move from a native MISP install before upgrading?
Only if your instance currently runs as a native install rather than in misp-docker. The NGINX container change applies to misp-docker, so a native host must first move into misp-docker, which is a separate migration covering the database, files, attachments, GnuPG keys and settings. Do the migration and verify it before you take on the topology change, so that a problem can be traced to one step. If you already run misp-docker, skip this step and go straight to planning the NGINX change. The sibling topic on moving a native install to Docker explains the migration sequence in more detail.
When should we choose a partner for the misp-docker upgrade?
Choose a partner when the production instance carries sync relationships you cannot afford to interrupt, when Kubernetes manifests need rewriting, when your change records need documented evidence, or when your team lacks spare capacity for a rehearsal. DeployOpen plans, implements, documents and supports self-hosted open-source platforms in infrastructure you control, and most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. Ongoing support and upgrades can be placed on a retainer. A written scope lets you compare a partner quote with your own effort estimate on the same basis, which is the most practical way to decide.
How DeployOpen scopes, delivers and supports the misp-docker NGINX container upgrade
DeployOpen treats the move to the separate misp-nginx container as a planned change to your deployment, not a image pull. We inventory your current misp-docker configuration, rebuild the environment variables, certificate paths and Kubernetes manifests against the new topology, then test the result in a non-production copy before any production cutover.
How we scope
- Inventory your current misp-docker version, environment file, compose or Kubernetes manifests and certificate locations.
- Confirm the BASE_URL value, hostnames and TLS termination points that the new NGINX container will serve.
- Agree the written scope, deliverables and timeline with you before any work starts, since engagements are fixed-scope.
How we build
- Map each renamed variable and certificate path from the old layout to the new one, and record every change in a reviewed diff.
- Update Kubernetes manifests for the misp-nginx service, ingress and secrets, then test them in a staging cluster you control.
- Run functional checks on login, API calls, sync endpoints and attachment downloads before approving the production change.
How we hand over
- Deliver the final configuration files, environment variable reference and certificate path inventory in your repository.
- Provide a rollback runbook covering the previous image tags, configuration backups and database state at cutover.
- Walk your platform and security teams through the new topology so they can review it against their own standards.
How we support
- Offer ongoing support, upgrades and continuous testing as a retainer if you want DeployOpen to follow later MISP 2.5 releases.
- Confirm with your team which support tier, response expectations and change windows apply before the engagement starts.
- Re-test the NGINX layer after each certificate renewal or base image change, with findings reported in writing.

