Loading the documentation…
A deployment has two updates, and they run in order: the DataMind Installer first, then DataMind OS. Updating one never updates the other. While a newer DataMind Installer is published and not yet applied, DataMind OS updates and pulls are refused, wherever they are started.
| DataMind OS | DataMind Installer | |
|---|---|---|
| Starts from | Status: the Check for updates icon beside Update, then Update. Also Admin > Update inside DataMind OS | The Installer update available pill in the top bar. Also Admin > Update inside DataMind OS |
| Order | Second: refused while a newer DataMind Installer waits | First |
| What restarts | The services the update recreates | Only the DataMind Installer. DataMind OS keeps running |
| Health check | You check it on the host after the job | Built in: the new build must turn healthy, within about 300 seconds |
| Rollback | From your backup | One automatic rollback of the image. Your database dump covers the schema |
The DataMind Installer's own update flow has its own page: Update the DataMind Installer.
Take both backups first, as in Backup and restore: the DataMind Installer backup and DataMind OS data. The DataMind OS backup stops the deployment, so plan a maintenance window. A DataMind Installer update can change its database schema, and the dump returns it to the state before the update.
Keep a copy of the deployment's environment file to compare afterwards. On the host, from the install directory:
sudo cp deployment/.env /root/datamind-env-before-update
Check it worked. sudo ls -l / shows today's file.
Update the DataMind Installer first when its pill reads Installer update available; see
Update the DataMind Installer. Until it is applied, Update is
refused: the toast Update failed reads
Update the Installer first.
For an admin, that refusal also opens the Update DataMind Installer? dialog, which reads
A newer Installer is out. When the last Installer update
failed, the dialog also reads The last Installer update failed. and offers Continue anyway,
whose note reads Continue anyway only if the Installer update keeps failing: DataMind OS may not start with files this Installer cannot read.
2 services do not run the downloaded image. and Update recreates them.Check for updates; after a check,
Check for updates · last checked <time>.DataMind OS is already up to date. When
only the deployment files changed, Update is enabled, and its tooltip reads
Update DataMind OS to latest version. New stack files: docker-compose. yml, configuration template.Could not check for updates: <reason> and the screen
shows Could not check for updates — click for details; each service it could not read carries
Update check failed: <reason>, and a check that could not compare the deployment files carries
the title Update check failed with Stack files: <reason>.Update DataMind OS?; the dialog names what will be pulled and
recreated, and adds New stack files: docker-compose. yml, configuration template. when the
published deployment files changed.While DataMind OS is locked for an overdue invoice, Update and image pulls are refused with
Updates are paused: DataMind OS is locked for an overdue invoice.
Pay the invoice on the DataMind Platform, then update again. Start, Restart and the Installer's own
update still work.
The job runs three phases:
| Phase | What it does |
|---|---|
| Downloading | Replaces deployment/ and the configuration template with the published ones, and rewrites deployment/. On a server that still runs on a company API key, it also exchanges the key for this server's License Key (Secrets and registry access) |
| Pulling | Pulls every service image. If any image fails, every image goes back to the version that was on the host before the pull. When those images are all on the host and the stack files are the ones last applied, the job goes on and applies them, with the warning Newer builds could not be checked, so the images already on this host were applied. Otherwise it stops before recreating anything: Update stopped: … images could not be downloaded …. Nothing was changed, and the images already downloaded are kept for the next try |
| Composing | Recreates the services from the published file. After a fully successful run it clears the images kept from earlier attempts and prunes dangling ones |
While images download, the chip Finalizing pull — waiting on <services> names what is still
pending, and the log shows Pull complete, Already exists, Waiting and Pulling fs layer for
each layer.
When Composing recreates a service, connections it was serving end: a live view that was following it, such as a job feed, a conversion or a live log tail, drops while the service restarts. A service closes whatever is still open about ten seconds into its shutdown; open the view again once the service is back.
When you leave the screen, the job keeps running; Status picks it up again when you return and
reports how it ended. A finished update shows DataMind OS updated, a failure shows Update failed;
a resumed deploy shows Deployment finished or Deployment failed, a pull shows Images pulled or
Image pull failed, and a cancelled job shows Cancelled. Failed toasts link job logs; the
description reads See the job logs for details.
| Item | What happens |
|---|---|
| Services no longer in the published Compose file | --remove-orphans deletes their containers. Their volumes stay |
deployment/ | Replaced. Put local changes in deployment/; the DataMind Installer always applies it and never writes it |
| Values you edited in Configuration | Kept |
| Values you never edited | Move to the new template's default |
| Generated values, such as passwords | Kept |
| Keys the new template no longer has | Removed from Configuration and from deployment/, even if you edited them |
Check it worked. In the deployment directory on the host:
sudo docker compose ps -a
Every long-running service shows Up, with (healthy) where it has a health check. One-shot jobs
show Exited (0). None shows Restarting.
Then compare deployment/ with the saved copy, from the install directory:
sudo diff /root/datamind-env-before-update deployment/.env
Ignore the memory-limits block, between the lines that start with # >>> and # <<<: the DataMind
Installer recalculates it every time it writes the file. Every other changed or missing line is a
value the update moved or removed. Set it again in
Configuration, then use Apply changes.
| What you see | What to do |
|---|---|
| The job failed during Downloading or Pulling | Nothing was changed. Read the pull lines in Job Logs (Service status), fix the cause, and click Update again; it reuses the images already downloaded |
This server needs its own License Key. | Your company no longer lets this server run on the company API key. Paste this server's License Key into System secrets, then update again |
| The banner A previous update was interrupted | Update, Pull, Start and Apply are blocked until the image rollback of that update succeeds; see An interrupted update |
| Some services were recreated, others were not | Only the Composing phase can leave this. Click Start to finish, or Stop to remove the part it recreated. If Start is greyed out with N images missing — run Update first, click Update instead |
| A service keeps restarting after a successful job | Read its log from the service panel; see Troubleshooting |
| You need the previous version back | See Roll back a DataMind OS update |
If the DataMind Installer restarts in the middle of an update, before its image rollback has
finished, Status shows a red banner: A previous update was interrupted, with
Its image rollback has not completed: <reason>, and the notice
Update, Pull, Start and Apply are blocked until this is resolved.
The DataMind Installer restores the previous images, newest first, and stops at the first failure. The reason line names what stopped it, usually an unreachable Docker daemon. The rollback does not retry on a timer: it runs again when the DataMind Installer starts and each time you start an Update, Pull, Start or Apply. Fix Docker, then start the action again, or restart the DataMind Installer. When the rollback succeeds, the interrupted update has changed nothing and the banner clears.
If the saved rollback note is invalid, the banner reads
Its rollback note is invalid and cannot be applied. An invalid note is never acted on; only an
admin can discard it.
Discard stops the rollback and leaves the image tags as they are. Use it only when the rollback
can never succeed, for example when the old images were deleted. It asks to confirm:
Discard interrupted update?, and the toast reads Interrupted update discarded or
Couldn’t discard the interrupted update. When there is nothing pending, the answer is
No interrupted update to discard. The button is available to admins only, and it is disabled while
a job or an Installer update runs.
After Discard, services may switch to the newer image versions on the next Start or Apply. Discard only when the old images are gone.
Images that were downloaded but never applied stay on the host for the next attempt, under a reserved tag; a fully successful update clears them.
An update rewrites the deployment's files, so a rollback restores both backups you took before the update.
prod-latest now
points at the release you are rolling back from. Ask DataMind for the previous build, then start
and check the build, as in
Start the deployment.grep 'image:' docker-compose. yml in deployment/.When a newer build of the DataMind Installer is published, the pill in the top bar reads Installer update available. Apply it before you update DataMind OS: until you do, DataMind OS updates are refused. Take the DataMind Installer backup first, as in Back up, wait until no job is running, then click the pill and confirm with Update Installer. DataMind OS keeps running; only the DataMind Installer restarts. The restart window, the automatic rollback and every message it shows are on Update the DataMind Installer.
Both updates can also be started inside DataMind OS, on Admin > Update > Updates: the Installer card first, then the DataMind OS card with Update DataMind OS and Pull images only. Steps, messages and limits for that side are on Update from inside DataMind OS.
One maintenance operation runs at a time. While a DataMind OS job runs, Update Installer in DataMind OS waits for it to finish, and the DataMind Installer's own actions stay locked; while the DataMind Installer updates itself, service controls and DataMind OS updates are unavailable until it comes back, usually under five minutes. The rules are on Start, stop, restart and terminate DataMind OS.
Only when a newer DataMind Installer is published. Then it goes first: DataMind OS updates and pulls are refused until it is applied. When the Installer is already on its newest build, update DataMind OS directly. Updating one never updates the other.
Yes. The Check for updates icon beside Update compares the images on the host with the
registry, and the published deployment files with the copies applied on the host; nothing is pulled
or recreated. When nothing is newer, Update stays greyed out with
DataMind OS is already up to date; when only the deployment files changed, Update is enabled
and its tooltip names them.
No. The check refreshes on its own every 30 minutes, but an update only starts when you click Update (or Update DataMind OS inside the product).
Update stopped message mean?One or more images could not be downloaded, so the job stopped before it recreated anything:
Update stopped: … images could not be downloaded …. Nothing was changed, and the images already
downloaded are kept for the next attempt. Read the pull lines in Job Logs, fix the cause, then
click Update again.
When the images already on the host could have been applied instead, the message says why they were
not: The images already on this host were not applied: …, followed by the reason, for example
the stack files changed since the last update.
The images already on the host. When a download fails, every image goes back to the version the
host had before the pull, and the update applies those. The job finishes with the warning
Newer builds could not be checked, so the images already on this host were applied.
Click Check for updates once the registry answers; if a newer build is published, run
Update again.
--remove-orphans deletes their containers during the Composing phase, so they no longer appear in
the deployment. Their volumes are kept.
The new configuration template no longer has that key, so the update removed it from Configuration
and from deployment/, even if you had edited it. Compare with the copy of deployment/
you saved before the update.
The Update failed toast links job logs (See the job logs for details.), and the full output
stays in the Job Logs panel on Status.
Troubleshooting lists the known messages with their fixes.
Yes, from your backup. See Roll back a DataMind OS update.
Only when the rollback can never succeed, for example when the old images were deleted. Discard stops the rollback and leaves the image tags as they are, so services may switch to the newer image versions on the next Start or Apply. It is admin only and disabled while a job or an Installer update runs.
The check failed, not the update. The screen shows Could not check for updates — click for details,
and each service it could not read carries Update check failed: <reason>. Click for the reason,
fix it, then check again.