What the openDesk upgrade migration jobs do on every deployment
The migrations-pre and migrations-post jobs run during every openDesk deployment, so a stalled upgrade is often a stalled migration job. These jobs carry the automated migrations that openDesk applies to its components as part of a release. If a deployment hangs or fails inside one of them, first record the job name, the openDesk version you are leaving and the version you are moving to. Those three facts decide which troubleshooting path applies, and they are the first details anyone supporting the upgrade, internal or external, will ask for.
Version rules set the boundaries for any investigation. openDesk supports only the latest minor version, so a deployment that has fallen behind has no supported state to return to, and in-place upgrades between major releases are not guaranteed. Skipping several minor versions can require intermediate steps, which means the migration jobs for each skipped release may need to run in sequence. Check the openDesk release management guidance for your starting version before you retry a failed job, because rerunning a job out of sequence is a risk you should not take without that check.
Two controls change how you diagnose a failure. Since openDesk 1.17, you can skip single actions of the automated migrations, so a run that reports success may have omitted steps, and you should record every skipped action and the reason for it. Since openDesk 1.18, the timeout and log retention of the migration jobs are configurable, so a short retention window can delete the evidence before you read it. Before you start an upgrade, confirm the timeout and retention values in your environment and copy the job logs to durable storage as soon as a run fails. Confirm the exact configuration keys and default values for your target version in the openDesk updates documentation.
Which openDesk releases changed the migration jobs and what you must do
This table lists the openDesk releases and support rules that affect the migrations-pre and migrations-post jobs, and what each one means for your upgrade. Read each row as a question: did this change touch the jobs I will run, and what do I need to check before I start. The main takeaway is that option names and default values should be confirmed in the updates document for your target release before you change anything.
| Change | Impact | Action needed |
|---|---|---|
| openDesk 1.17 | Single migration actions can be skipped instead of running as part of the automated migrations. | Skip only actions the updates document covers, and record each skip in your change log. |
| openDesk 1.18 | Timeout and log retention of the migration jobs became configurable. | Review timeout and log retention values before upgrading, using names and defaults from the updates document. |
| openDesk v1.19.0 (2026-10-01) | Minor release of the current 1.19 line, published before v1.19.1. | Read its release notes for changes to migration jobs before you plan an upgrade to 1.19. |
| openDesk v1.19.1 (2026-10-06) | Most recent 1.19 patch in this guide, published after v1.19.0. | Check the releases page for newer patches before you choose a target version. |
| Supported versions | Only the latest minor version is supported. | Plan an upgrade to the latest minor before you open a support request about migration failures. |
| Several minor versions at once | Skipping several minor versions may need intermediate steps. | Check the mandatory upgrade path and plan each intermediate step before running migration jobs. |
| Option names and defaults | Exact option names and default values for timeout, retention and skips are not listed here. | Confirm them in the openDesk updates document for your target release. |
The migration jobs gate each phase of an openDesk deployment
The flow starts with pre-upgrade checks, then moves through the Helmfile and Helm deployment. The migrations-pre job runs before component rollout, and the migrations-post job runs after it, before verification. A failure in either job goes to log review, then to a fix and a rerun of that job. The rollback decision comes after log review: if the fix is not clear, the team restores the previous release. Check the job logs at each gate before moving on to the next phase.
Both migration jobs gate the rollout and feed a log review on failure.
How migrations-pre and migrations-post fit around the rollout
The migrations-pre and migrations-post jobs run on either side of the component rollout in an openDesk deployment. By name, migrations-pre prepares data and state before the new release's components start, and migrations-post finishes the work once they are in place. Confirm the actual order in your own deployment run before relying on that reading, because the names describe intent and do not prove sequence. Each job is made of individual actions, and openDesk 1.17 allows you to skip single actions of the automated migrations, so one job can contain several independent changes that you may need to handle differently.
Ordering matters because a later component can depend on data that an earlier job changed. If migrations-pre converts or renames data that a component rolled out after it reads at startup, that component may fail or misbehave when the job did not complete or was skipped. The reverse also holds: a migrations-post action that tidies up assumes the new components are already running and writing data in the expected form. For a multi-minor jump, the sibling upgrade path guidance sets out the order of pre and post steps, so work through that sequence first. Ask your team which components read each changed item, and record that mapping before the upgrade window opens.
The exact actions inside each job must be confirmed against the release notes for the target version. Open the openDesk releases page, find the entry for every version in your upgrade path, and list which actions each job runs and which of them can be skipped. Do not assume a job is idempotent, meaning that running it a second time produces the same result. Confirm that in the release notes or with the maintainers before you rerun a failed job, because a second run after a partial failure may change data again. Set the job timeout and log retention before the run, since openDesk 1.18 made both configurable, so the logs you need for diagnosis are still there when you read them.
When skipping a single migration action makes sense
A first run in staging is the place to learn what each migration action changes and which later actions read those changes, so it is the wrong place to skip anything without a reason. openDesk 1.17 allows skipping single actions of the automated migrations, as described in the openDesk updates and features notes. The risk is that a skipped action leaves data in a shape the next action assumes is present, so the failure appears later and looks unrelated.
- Dependency mapping: Run the full migration first and write down which action creates each object or setting that later actions read.
- Evidence to collect: Record each action's inputs, its output on the full run and the checks that prove the output exists, so a skip can be compared against them.
- Scoped experiment: Skip one action at a time in a copy that matches production configuration, and leave the rest of the run unchanged.
- Decision record: Log the skipped action, the reason, the staging result and the approver, so production reviewers can read the same entry.
- Retest: Run the functional checks your application owners use after both the skipped run and the full run, then compare the results.
Before any skip moves forward, confirm that the staging result matches a full run on those functional checks.
In production, a skip is justified only when a manual step has already produced the state that the skipped action would have created, and someone has verified that state. The risk is that a later action reads data the skipped action would have written, so a skip without verified prerequisites can corrupt live data or stop the upgrade midway. Treat the verified manual step as the evidence the job would otherwise have produced.
- Verified manual step: Document the manual change, who ran it and the verification output, and confirm it matches what the skipped action would have written.
- Dependency check: Confirm from the staging dependency map that no remaining action reads data the skipped action would have created.
- Backup before the run: Take a restorable backup of the stores the migration touches and test the restore path before the skip is taken.
- Change approval: Obtain sign-off from the platform owner and the security owner, because the skip changes the upgrade record.
- Log watch: Follow the migrations-pre or migrations-post logs for the remaining actions and stop the window if an unexpected error appears.
Before the maintenance window opens, check that the verification output, the backup and the approval are attached to the change record.
After a partial failure, the team may be tempted to skip the action that failed and move on. The risk is that the failed action may have written part of its output, so a rerun can meet half-finished state, and the skipped action may be the one that later actions need. Read the logs to find the last completed action and the exact failure point before deciding whether a skip is safe at all.
- Identify the failure point: Find the last completed action and its error in the job logs, and separate a timeout from an application error.
- Check partial writes: Inspect the objects or records the failed action targets to see whether it committed some of its changes.
- Choose rerun or skip: Rerun the full job when the failed action can safely run again, and check the release notes before choosing a skip.
- Retest the affected components: Run the functional checks for the affected components and compare the results with the state before the failure.
- Record the outcome: Note the failure, the action skipped or rerun, the evidence and the retest result in the change record.
Before you rerun or skip, confirm that the failure point and the partial state are written down, so the next person can continue from the same facts.
What to prepare before an openDesk upgrade runs its migration jobs
Each item below must be in place before the first migration job starts, because these jobs change data and can stop partway through. Together they give the team a tested restore path, a documented configuration, a rehearsed run, and a clear decision point if a job fails.
Verified backup of every data store
Back up every data store openDesk writes to, including the PostgreSQL, MariaDB, Redis, object storage and other external services you run for production. The migration jobs change schemas and data in place, so a backup only helps if you have restored it at least once in a separate environment. Record the backup time, snapshot ID and the restore steps your operators will follow if the upgrade is halted.
Inventory of custom values
List every value you have changed from the chart defaults, including Helmfile environment files, secret references, image pins and any patched manifests. Compare that list against the release notes for each version you will pass through, since a migration can depend on a key that was renamed or a default that moved. Keep the inventory in version control so the team reviewing a failed job can see exactly what the cluster ran before the upgrade started.
Staging copy that matches production
Run the same upgrade first in a staging environment built from the production values, chart versions and external services, with data that has the same shape as production. A passing staging run predicts production only if the external services are the same products and versions, so confirm PostgreSQL, MariaDB and the object store match before you trust the result. Time each migration job in staging and note which ones produce warnings, so the production window is planned from observed behavior.
Cluster prerequisites checked first
Confirm the cluster meets the stated requirements before any job starts: a CNCF-certified Kubernetes cluster at Kubernetes v1.33 or later, Helm 3.17.3 or later below v4, and Helmfile 1.0.0 or later. Also confirm that the ingress controller, cert-manager and RWO volume provisioner are present, because a job that starts on a half-configured cluster often fails in ways that look like application errors. Check the versions on the machine that runs Helmfile.
openDesk requirementsLog capture plan
Decide how job logs will be captured before the upgrade starts, because they are the first evidence you will need when a migration job fails. Since openDesk 1.18, the timeout and log retention of the migration jobs are configurable, so set both explicitly and confirm the retention is long enough to review a run after the window closes. Export the logs of each migrations-pre and migrations-post job to storage outside the cluster, and record each job name with its start time.
Update notesNamed owner with a stop decision
Name one person who owns the upgrade run and has the authority to stop it, and agree the stop conditions in writing before the window opens. The conditions should cover a failed migration job, a job that exceeds its timeout and a check that failed in staging. Agree in advance who may skip a single migration action, since skipping has been supported since openDesk 1.17, and record that choice as a decision made by the owner.
How to run the upgrade and where to stop
This sequence takes an openDesk deployment from a confirmed starting point to a verified target release, with the migration jobs run where they belong. Each step ends with a check and a rollback point, so you can stop before the next change if something does not match. Whether a step can be repeated safely depends on the target version notes, so confirm that before you re-run anything.
Confirm the upgrade path and target release
Confirm your current release and the target release, then list every version in between using the openDesk release management notes. Only the latest minor version is supported, in-place upgrades between majors are not guaranteed, and skipping several minors may need intermediate steps, so the path must follow the project's notes. The platform owner does this work and records the path in the change ticket. Reading the notes can be repeated safely. Check: a written path naming each hop and the target release, approved by the change owner. Rollback point: nothing has changed yet, so stopping here only costs scheduling time.
Capture the current state before changing anything
Record the running release, the chart and image versions in use, your environment configuration and the state of every data store. Then take backups of each store using a restore procedure you have tested. Keep the Helmfile values and cluster state in version control or a dated export. Repeating this capture is safe because it only reads state. Check: a backup you have confirmed can be restored, and a written inventory that someone other than the operator can read. Rollback point: this inventory is the baseline for every later rollback, so do not start step three until both exist.
Set timeout, log retention and skipped actions
Check whether the target version supports the settings you need. openDesk 1.18 made the timeout and log retention of the migration jobs configurable, and openDesk 1.17 allows skipping single actions of the automated migrations, so older releases may not offer these options. Set the values in your environment configuration, and skip an action only when the target version notes explain why that is safe. Setting values is safe to repeat, but confirm that in the target notes. Check: the rendered configuration shows the intended values before any job runs. Rollback point: revert the configuration file in version control, since no job has run yet.
Run migrations-pre and read its logs
Start the migrations-pre job for the target release and wait for it to finish before any other change. The platform owner runs it and reads the full log, including the final status line. Look for the outcome of each action, any skipped action, and any error or timeout, and compare them with the target version notes. Check: every action reports completed or intentionally skipped, with no errors. Do not re-run this job unless the target notes confirm it is safe to repeat, since a second run may act on data already changed. Rollback point: on any failed action, stop and restore from the step two backups.
Roll out components in the documented order
Deploy the target components in the order given in the target version notes. Watch each rollout reach a ready state, and check pods, events and logs for crash loops or stuck volumes before the next component starts. Check: every workload reports the target version and is healthy. Confirm in the target notes whether re-applying the same chart version is safe before repeating this step. Rollback point: roll a component back to its previous chart version only if the target notes confirm that is supported after migrations-pre has run; otherwise restore from the step two backups.
Run migrations-post and read its logs
Run migrations-post once the components are healthy, then read its log the same way as migrations-pre, checking each action and each skipped step. Confirm in the target version notes whether this job can be re-run, because that decides how you recover from a partial run. Check: all actions report completed or intentionally skipped, with no errors. Rollback point: re-deploying components may not reverse data changes made by the job, so keep the step two backups and all logs until step seven passes.
Verify functions and record the result
Test the functions users depend on, such as sign-in, file access, chat, mail and the office editors, using the test cases agreed before the upgrade. Record the release, job logs, skipped actions and test results in the change record. Check: an approved record that every agreed test passed, or a documented decision to keep the release with known issues. Running these checks again is safe, since they only read state. Rollback point: if a core function fails, return to the rollback point of the step where the fault first appeared, and keep all logs for your support partner.
Reading migration job logs when an upgrade fails
Start by identifying the job and the pod for the failing phase, because the summary error rarely names the action that raised it. List the jobs in the openDesk namespace with kubectl get jobs and find the migrations-pre or migrations-post job for the phase that failed. Then list its pods with kubectl get pods -l job-name=<job-name>. A job can create several pods after retries, and each attempt has its own log. Save the output of kubectl logs <pod> --all-containers for every attempt to a file before you change anything, and keep kubectl describe job <job-name> output beside it for the failure reason and events. Put the release version and the phase in the file names so the evidence stays readable for your vendor or ZenDiS support contact.
Retention can erase the evidence. Kubernetes can delete finished jobs and their pods automatically after a set time, so a short window may remove the failing pod before anyone reads the alert, especially outside working hours. Confirm the default retention and timeout values for the migration jobs in openDesk updates and features, since the 1.18 release made both configurable. Then set retention long enough for your on-call response time, and confirm that your log platform collects the pod output as it is written. If the pod is removed first, the first attempt usually cannot be diagnosed, and a later retry may hide the original error.
A timeout is a symptom, not a diagnosis. A migration job can reach its deadline while it waits on something outside its own work, such as a PostgreSQL or MariaDB endpoint that refuses connections, a Redis or object storage service that cannot be reached, a pod stuck in Pending because its volume did not bind, or an image pull that failed. The timeout line appears at the end of the log, but the last action that started and never finished points to the blocked call. Match that action to the openDesk step that raised it, and check the named external service before changing any deadline. Extending the timeout helps only when the log shows steady progress that is simply slow. If every attempt stops at the same point, the cause is most likely a dependency. For example, a log that ends at a database connection attempt points to connectivity, not to migration duration.
What makes an openDesk upgrade with migration jobs take longer
This table lists the factors that lengthen an openDesk upgrade that runs migration jobs and what each one changes for the team. Read each row by asking how it affects the number of migration runs, the time a job can run before its timeout, and the evidence you need before a production window. Count the minor releases between your version and the target first, since every skipped minor adds steps to plan.
| Driver | Effect on effort | What to check |
|---|---|---|
| Minor versions skipped | More releases mean more migration runs to plan, and skipping several minors may need intermediate steps | List every minor between your version and the target, and the steps each one requires |
| Customization and external integrations | Custom values, overrides or changed external services can break a migration job that works on the default layout | Diff your values against the target release and retest each external connection after the pre step |
| Data size in each store | Larger databases, mail and file stores can push migration jobs past their timeout and lengthen log review | Size each store from a copy, and set the job timeout from a tested run, which needs openDesk 1.18 or later |
| Clusters and environments | Each environment upgraded separately repeats the pre and post jobs and its own log review | Confirm which environments share a release and keep job logs long enough to compare runs |
| Depth of staging tests | Shallow staging runs leave failures to appear in production, where a failed job stalls the window | Run both migration jobs on a staging copy with production-like data, and keep the logs from each run |
| Team ownership of cluster and external services | When another party runs the database, mail relay or cluster, each failure waits on their response | Agree who reads job logs and who restarts a job. Confirm the support path for your edition before the window |
Questions buyers ask about openDesk upgrade migration jobs
What does an openDesk upgrade cost, and what drives the price?
Cost follows the written scope, because DeployOpen does not publish a price list and most engagements are fixed-scope, agreed in writing before work starts. Expect three cost groups. The first is the one-time engagement for planning, executing, rehearsing and documenting the upgrade. The second is your own staff time for approvals, access and acceptance testing, also one-time. The third recurs: a retainer for ongoing upgrades and patches and, if you choose it, an openDesk Enterprise Edition contract, which ZenDiS sells as SaaS or for on-premises installation. The main drivers are the number of minor releases you cross, whether intermediate steps are needed, how many bundled components you run, how many external services you operate, and whether you need a staging copy. Ask for each driver as a separate line.
How long does an openDesk upgrade take from start to finish?
The timeline depends on your scope and environment, so a written plan should state it phase by phase. The main drivers are the number of minor releases between your current version and the target, because skipping several minors may need intermediate steps, and whether each intermediate release runs its own pre and post steps. Next come your cluster and dependencies. The Kubernetes version, ingress controller, cert-manager and external PostgreSQL, MariaDB, Redis and object storage must already meet the requirements before the run starts. Then come the staging rehearsal, the change window and the run time of the migration jobs, which openDesk 1.18 made configurable through timeout and log retention settings. Ask the partner which steps need downtime and which steps your team must test itself.
What does an openDesk upgrade need from our internal team?
Your team provides access, decisions and evidence. Start with the platform: a CNCF-certified Kubernetes cluster at v1.33 or later, an ingress controller, cert-manager, an RWO volume provisioner, Helm 3.17.3 or later below v4 and Helmfile 1.0.0 or later, as listed in the openDesk requirements. Then provide the deployment: the configuration environments and values your installation uses, your GitOps tooling if you use it, and a staging copy with the same external services. Your team also needs people who approve the change window, a verified backup of every data store taken before the run, owners for the identity provider, mail and DNS, and someone to run acceptance tests afterward. Confirm who holds cluster admin rights, who can read migration job logs and who signs off on rollback.
Can our own team run an openDesk upgrade without a partner?
A team with Kubernetes and Helm experience can run the upgrade alone, because the deployment automation is Helmfile and Helm based and licensed Apache-2.0. The deciding question is capacity and support. Community Edition is supported only by the community on openCode with no SLA, so your team carries the diagnosis of failed migration jobs. Enterprise Edition adds SLA-backed 2nd and 3rd level support and patches, which changes who you call when a job stalls. Check four things before deciding: whether engineers can read Helm, Helmfile and job logs under deadline pressure, whether you have a tested staging environment, whether your staff can absorb monthly minor releases, since only the latest minor version is supported, and whether your change window allows a rollback. A partner can cover any gap on that list under a written scope.
Is it safe to skip a single migration action during an openDesk upgrade?
Skipping one action is possible in openDesk 1.17 and later, but it is never safe by default, and no general description can promise that a skipped action leaves the system working. Before you skip anything, read the openDesk updates and features notes for that exact action, identify which data or configuration it changes, and confirm whether a later step depends on its result. Check whether a longer timeout or fuller logs would solve the problem first, since openDesk 1.18 made both configurable. Then run the skip in staging, verify the affected functions with acceptance tests and record the decision with its approver. Ask your partner to document each skipped action, the risk it carries and the test that proves the outcome.
What should a written quote for an openDesk upgrade include?
A written quote should list the scope as deliverables, so you can compare offers and hold the partner to each item.
- The starting and target versions, and each intermediate release on the path.
- The environments covered: staging rehearsal, production run and rollback test.
- Each migration action in scope, and how any skipped action is documented and approved.
- Your responsibilities, plus the access, people and dates you must provide.
- Platform assumptions: cluster version, ingress, certificates and external services.
- Acceptance criteria, retest steps and rollback criteria.
- Support after go-live and whether a retainer covers the next minor releases.
- How changes to scope are priced and approved, and what is excluded.
How DeployOpen scopes, runs and supports an openDesk upgrade
DeployOpen plans and runs openDesk upgrades inside your own infrastructure, treating the migrations-pre and migrations-post jobs as part of each change. We agree the release path, timeouts, log retention and any skipped single actions in writing before work starts. Your team then receives documented steps for reading job logs and troubleshooting a failed run.
How we scope
- The written scope names the openDesk releases in range, the cluster, and each migration job and step covered.
- Engagements are fixed-scope, so deliverables and timelines are agreed in writing before any upgrade work starts.
- We confirm which single actions your target release lets you skip, and record the reason for every skipped action.
How we build
- We review the migrations-pre and migrations-post jobs in your Helmfile configuration against the source and target versions.
- We set job timeouts and log retention in configuration, where your release supports these options (1.18 onward).
- We run the migration jobs in a staging copy first, where your environment allows, and record their log output.
How we hand over
- A runbook for each migrations-pre and migrations-post job, with expected log output and the failure patterns seen in testing.
- A record of the timeout, log retention and skipped-action values in your configuration, with the reason for each.
- Troubleshooting steps for reading job logs, plus a checklist of what to collect before escalating a failed upgrade.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers, scoped in writing.
- Retainers can follow openDesk's planned monthly minor releases and on-demand patches, so each upgrade starts from a tested baseline.
- openDesk supports only the latest minor version, so we confirm which version your retainer covers before each upgrade.

