Bring an existing installation under Deployment Manager

This page shows you how to bring an installation under Deployment Manager (DM). The installation runs at a customer site. DM did not create it. You start a new installation and say that its servers already run our product. DM reads the servers. You answer its questions. The first deploy upgrades the site. The page follows the way from A to Z.

There is no separate Import button. The import is one of the two answers on the first step of + New Installation.

Before you start

Before you bring in an installation, check what you need.

  • The installation runs on Docker Compose. Each server has one folder that holds compose.yml and .env. Each service keeps its files in its own folder inside it.

  • You can log in to every server. Or you can carry files to it.

  • An administrator is ready to give approval. Some steps cannot be undone. Only an administrator can allow them. See Step 5. Go through the upgrade review.

The first step of the wizard shows the same list, under Before you start, have these ready:

Have ready Why

A login for each server

An SSH key or a password. You add them on the installation’s card after you create it. The first deploy asks for them too.

A maintenance window

The first deploy upgrades the running services. A failed database migration cannot be undone automatically.

Your own backups

DM saves the MySQL schemas and the old compose and .env files. Back up everything else yourself: Oracle, ClickHouse, Postgres, Keycloak, Grafana and Prometheus data, data folders and volumes.

The upgrade changes the customer’s servers. Read the whole page before you start. The way back is limited. See Rolling back an upgrade.

DM does not save an unfinished import. If you close the wizard, you lose your answers. Only the server report files you uploaded stay. You can use them again for 30 days.
DM already installed this site? Do not use this page. See Update an existing installation.

For the product words on this page, see the glossary.

The whole way in one table

Importing an existing installation has eight steps. The table shows them in order.

Step What you do Where

1

Start a new installation. Choose DM reads the servers.

DM, Installations, + New Installation, step Start

2

Download the inventory kit. Carry it to the servers.

DM, step Read servers

3

Run the kit. It writes one server report for each server. Upload the files.

The customer’s servers, then DM

4

Answer the steps Topology, Differences, Variables and Review. Press Create installation.

DM, the same wizard

5

Read the upgrade review. Answer the questions, choose the backups, and ask an admin to approve.

DM, Upgrade review. It opens after Create installation.

6

Make the bundle: Configuration only or Configuration + images.

DM

7

Run the bundle: over SSH, by hand on Linux, on Windows, or offline.

DM or the servers

8

Upload the results that each server gives back.

DM, Upgrade review

The wizard for this path has six steps: Start, Read servers, Topology, Differences, Variables and Review. A step that you cannot leave shows the reason. You do not need to guess. Press Next → after each step.

Three of the steps show another heading on the page:

Step name Heading on the page

Read servers

Get a file from each server

Topology

Topology and servers

Differences

What doesn’t match the topology

Step 1. Start the wizard

Step 1 is the first screen of the wizard + New Installation.

  1. Open the Installations tab.

  2. Press + New Installation.

  3. Type the Installation name, for example acme-prod. Use lowercase letters, digits and dashes.

  4. Type the Customer. This field is optional.

  5. Under Where does it go?, choose DM reads the servers.

  6. Under Which certificate do these servers use?, choose an answer. DM does not detect it. The built-in certificate (as before) keeps the certificate the servers have now in portals/ssl. See Use the customer’s certificate.

  7. Read Before you start, have these ready.

  8. Press Next →.

This path does not ask for the version on Start. DM reads it from the servers. You check it on the step Differences.

The other answer, I pick the topology, is for a site where you choose the topology yourself: empty servers, or servers that run a version you enter. See Step 2. Create an installation.

Step 2. Get the inventory kit

Step 2 is the wizard step Read servers. DM learns what runs on the servers from a small file. The script collect-inventory.sh writes it on each server. Passwords never leave the server.

The kit is a .zip file. It holds the script and its helpers. It only reads the servers. It changes nothing.

First, answer Where will you run the script?:

Answer What it means

On each server

You copy the kit to every server and run it there, one server at a time.

From one Linux machine

A jump host that can SSH to all the servers. You run the script once there. It visits every server and collects all the files.

From one Windows machine

The same, from a Windows PC that can SSH to all the servers.

The page then shows numbered steps for your answer. Each command has a Copy button.

  1. Under Download the inventory kit, press Download. The page shows the sha256 value of the file.

  2. Carry the file to the server or the jump host, for example with scp.

  3. Unpack it and check it:

    unzip ft-inventory-kit.zip -d ft-inventory-kit && cd ft-inventory-kit && sha256sum -c SHA256SUMS

    Every file must print OK. No unzip on the server? Use python3 -m zipfile -e ft-inventory-kit.zip ft-inventory-kit. On Windows, right-click the zip and press Extract All.

Step 3. Collect the server reports and upload them

Step 3 shows how to collect one server report for each server. A server report is a ft-inventory-<hostname>.json file. The script collect-inventory.sh writes it. The scripts also keep a private folder .ft-adopt/ in the install directory.

The largest server report file DM accepts is 20 MiB. A larger file is refused: it is not an inventory.

An older kit has no collect-inventory.sh of its own. It runs collect-diagnostics.sh --inventory. This still works. The old command starts collect-inventory.sh, which must lie beside it. If it does not, the script says: "collect-inventory.sh is not beside this script. Download the inventory kit again from Deployment Manager." Download the kit again then. collect-inventory.sh --inventory also works. The script ignores the word.

The server report holds names and settings. It does not hold secret values. If a secret value would leave the site, the upload is refused. See If something is refused.

Each server report also lists the ports used outside compose: containers started with docker run and programs that listen on a port. The upgrade review uses this list. See Step 5. Go through the upgrade review.

On each server. On the server, in the kit folder, run:

sudo bash collect-inventory.sh --install-dir <install dir>

Replace <install dir> with the folder where the installation lives. It is usually /usr/local/ft-system. The script writes ft-inventory-<hostname>.json in the kit folder. Bring the file back to your computer:

scp user@server:~/ft-inventory-kit/ft-inventory-*.json .

Repeat this on every server of the installation.

If two projects run from the folder, see Two projects in one folder.

From one Linux machine. On the jump host, in the kit folder, run:

bash collect-inventory.sh --ask-hosts
  1. The script asks for each server in turn: its name or IP, the login and the install folder. Press Enter to keep the answer of the previous server.

  2. It shows the list and asks before it starts.

  3. It logs in with your SSH key. Without a key, it asks the password of each server once.

  4. It visits every server. It writes one file for each server into ./inventories/. If one server fails, the script names it. The other servers continue.

To check a login first, run ssh user@server true.

A long list of servers? Use a file instead. Create hosts.txt in the kit folder. Write one line for each server: user@host /abs/install/dir. Then run:

bash collect-inventory.sh --hosts hosts.txt

Bring the folder back to your computer:

scp -r user@jumphost:~/ft-inventory-kit/inventories .

From one Windows machine. In cmd or PowerShell, in the kit folder, run:

deploy-windows.cmd -Inventory

The Windows script asks the same questions for each server: its name or IP (as in PuTTY), the login and the install folder. Use the .cmd file. Windows refuses to run the .ps1 file directly. The files land in .\inventories\. For a long list, write hosts.txt as above and run deploy-windows.cmd -Inventory -Hosts hosts.txt.

Two projects in one folder

Sometimes two compose projects run from one install folder. A server report holds one project. The script must know which one. You have these choices:

  • Let the script ask. On a server, the script shows a menu when it runs in a terminal:

    1) a  2) b  3) all of them
    Which project?

    Type a number. If your answer is not valid, the script asks again.

  • Name the project. Add --project <name> to the command. You can repeat the option. Use --project all for every project.

  • Run without a terminal. The script stops with the exit code 3 and says: "ambiguous-project: <N> compose projects run from <dir>: a, b." and "Say which to collect: --project a, --project b, or --project all."

A project name has lowercase letters, digits, - and _. It starts with a letter or a digit. It has up to 63 characters. If the name is not one of the projects that run from the folder, the script stops with the exit code 2 and names the projects that run. If no project runs, one name is taken as the project.

With one project, or with none that runs, the script behaves as before. With a project, the file names are ft-inventory-<hostname>-<project>.json and withheld-words-<hostname>-<project>.txt. The script writes one file for each project. No file overwrites another.

From a jump host. The option --project goes to every server. A line of hosts.txt can end with project=<name> or project=all:

user@host /abs/install/dir project=<name>

If a server has two projects and the line has no project, the script asks you at the terminal: <host>: 1) a 2) b 3) all of them. Without a terminal, or after two wrong answers, it prints "FAILED <host>: ambiguous project: add project=<name> to its line in hosts.txt". The other servers continue. On Windows, use -Project <name> or -Project all. You can repeat -Project. The Windows script asks the same question in a console and prints the same text otherwise.

Upload. Upload the file of each project. The file names its project, so the wizard does not ask which project DM manages. One wizard run creates one installation. The second file of the same server and folder is listed as "import this one as another installation afterwards".

DM does not deploy into a folder that two projects share. The installation cannot be deployed until you move one project to its own folder.

For a Test install that matches the site (optional). The Run it step has two boxes. Both are off. Tick one, and its option is added to every command on the page:

Box Option What it adds

Config file contents

--with-config-contents (Windows: -WithConfigContents)

The text of each config file in the install folder. Each file up to 256 KB. The files of one server report usually take up to 4 MB in all. Files with many secrets take more. Files that do not fit are marked.

Container runtime values

--with-runtime-values (Windows: -WithRuntimeValues)

The environment variables each image sets, its command line and its health check.

The script prints what each option does before it starts. --ask-hosts asks each one, and the answer is No unless you type y.

Only values known to be safe leave the server. These are numbers, on and off settings, the names and addresses of this installation, and words from DM’s own product config files. Everything else is replaced:

  • [MASKED] stands where a password, token or key was.

  • [WITHHELD] stands where a value was that the script cannot prove safe.

Key and certificate files are not read. A file whose password goes on past one line is not read either. Variables named like a password, user or key are not included. DM checks every value again when you upload the file.

Both options need python3 3.8 or newer on the server. Without it, the script writes the server report without them and says so. The option --with-config-contents also lets you show the differences of a config file and merge it. See Show the differences and merge a file.

The words the script could not prove safe are listed in withheld-words-<hostname>.txt, next to the server report. That file stays on the server. It is not uploaded. A word that is not a secret can be kept: add it to keep-words.txt in the kit folder and run the script again.

keep-words.txt must not be writable by the group or other users. If it is, the script ignores it and prints a note with the fix: chmod g-w keep-words.txt. If other users can write to the file, the note names chmod go-w, because g-w would not fix it. This holds beside the kit and in the keep folder, in every collection mode.

The option --keep-dir <dir> names the keep folder: a private folder on the server. It holds keep-words.txt and withheld-words-<project>.txt. The folder must not be a link. It must belong to root or to the login. Nobody else may write to it. If it is not private, the script stops with the exit code 2. In --ask-hosts, the exit code 4 means that you stopped at the last question.

These are all the exit codes of collect-inventory.sh:

Exit code What it means

0

The script collected the server report.

1

The collection failed. There is no docker, no compose.yml, the folder is not writable, or a host under --hosts failed.

2

Usage error. It is also the answer when the keep folder is not private.

3

More than one compose project runs from the folder and you named none. Nothing is written.

4

With --ask-hosts, you stopped at the last question.

If credential-words.txt or contract-secrets.txt in the kit is a link or is writable by others, the script stops with one line that names the file.

The kit for an installation carries a key that DM keeps for that installation. A server report made with that kit does not hold plain fingerprints of your config files. Someone who holds only the report cannot test guesses for a hidden value. A report from the general import kit, or from an older kit, still holds plain fingerprints. Someone who holds both DM’s database and DM’s secrets key can still test guesses.

A server report with these options is up to 16 MB, under DM’s 20 MiB limit.

Upload the files. Back in DM, drop the ft-inventory-.json files on the field *Upload the files here, or press Choose files. You can pick several files at once. A file that you uploaded in the last 30 days can be used again: open Uploaded files in the last 30 days? Use one again.

Each file then gets a row with its status:

Mark What it means

✓

DM read the file. There is nothing to decide.

?

DM needs your answer. The question is shown below the list.

⋯

The file is still uploading.

✕

The file is not accepted, or the server cannot be used. The row says why. See If something is refused.

With several files, each row has a Which server list. Each file belongs to one server.

A server that is not in the documented layout cannot be imported. The row says which rule failed. Fix the layout on the server. Collect the server report again. If two projects run from one folder, name the project when you collect. See Two projects in one folder.

Step 4. Answer the import steps

Step 4 covers the wizard steps after Read servers. Press Next → after each one.

Topology step of the import wizard

The import wizard step Topology shows the topology card, as on the Topologies tab. DM suggests the topology that holds every service your servers run. To pick another, press Change topology. Each card then has the button Use this. While you choose, the button Change topology reads Keep this topology. Press it to go back to the topology that DM suggested.

Under each server of the topology, fill in three fields:

  • Customer server: which uploaded server it is.

  • SSH address: the address that DM uses to connect.

  • SSH user: the login on that server.

A server of the topology with no inventory file needs the tick New, empty server. Without it, Next → says why it cannot go on.

Differences step of the import wizard

The import wizard step Differences lists what does not match the topology. Each row has a mark: ✓ when there is nothing to decide, ? when DM needs your answer.

Row What DM checks

Services

Whether each service of the topology is already on the right server.

Version

The version that runs on the servers today. The upgrade starts from it and backs up the database first. If the servers do not say it, or say different versions, type it. Press Change to correct it.

Containers

Containers on the servers that are not part of the new version.

Config files

The config files. Each file stays as the server has it, unless you choose DM’s file. Then the server’s copy is saved in .ft-previous/ first. Press Review to see them. DM compares them with its own files later, on the Upgrade review. See Config files: what DM compares and when.

Values

Values that differ between your servers.

Below the rows, DM asks its questions. Each answer says what DM will do.

  • A service is not installed on your servers yet: Install it on <server> during the deploy, Leave it out (this customer does not use it), or It runs on another server. The last answer opens a field for its address as host:port.

  • A service runs on another server than the topology says: Install a new <service> there, Leave it out, or Keep using the one on <server>. A database cannot be installed new there: a second, empty copy would split the data.

  • A container on a server is not part of this installation: Adopt it (the hint reads "DM starts managing it"), Leave it unmanaged (the hint reads "DM won’t touch it"), or Decide on the site (the hint reads "you answer when the upgrade runs").

  • A server runs a service that the new version no longer has: Remove it during the upgrade, or Keep it running (the hint reads "DM won’t manage it").

  • The containers run under another project name: Rename the project on upgrade, or Keep the old project name.

  • A value differs between your servers: pick the value DM uses on every server.

When DM answers a service question by itself

A new version can need a database that your servers do not run yet. An example is the database of the Superset stack. For such a database, DM may answer the question for you. The row shows why.

DM does this only when your servers prove it. All of these must be true:

  1. Every server has an inventory.

  2. Every inventory has a full list of containers.

  3. No server runs any service of that stack.

  4. ftacs runs on every server. Each ftacs has an exact release tag, and the tag is older than the release that needs the database.

In the wizard, the row reads:

✓ Answered from the servers: new in this version. No server runs the Superset stack and ftacs on the servers is 7.1.2 (before 7.1.3).

The plan line reads "installs superset-db, new in this version". The choice is the wizard choice Install it on <host> during the deploy. You can pick another choice.

In the upgrade review, the row moves under For information, at the top of the first step. It has no button. It reads:

superset-db on acs-1 is answered from the servers: new in this version. No server runs the Superset stack and ftacs on the servers is 7.1.2 (before 7.1.3).

Remember these points:

  • DM saves nothing until you press a button.

  • If you upload other inventories or change the servers, DM checks again. It may ask you again.

If one of the conditions is not met, DM does not guess. It asks you. The row shows a sentence that says why. These are the sentences:

What the row says What you do

"<server> has no inventory, so DM cannot tell whether the Superset stack runs there."

Collect the inventory on that server. Upload it. Or answer the question yourself.

"DM could not list all containers on <server>, so it cannot tell whether the Superset stack runs there."

Collect the inventory on that server again. Upload it.

"No server of this installation runs ftacs, so DM cannot tell which version it upgrades from."

Check that you uploaded the inventory of the server that runs ftacs.

"ftacs on <server> is tagged <tag>, which DM cannot read as an exact version." + "ftacs on <server> has no tag, so DM cannot read its version."

Answer the question yourself. A tag like latest is not a version.

"<member> runs on <servers> but <service> does not. Say what <service> is."

Check the servers. Then answer the question yourself.

"ftacs <tag> on <server> already needs the Superset stack, yet no server runs it."

Check the servers. Then answer the question yourself.

For the last two rows, the wizard disables the choice new in this version. The hint reads "not available: the servers say otherwise, see below". The upgrade review shows no New in this version button. It says: "Import the servers again and answer it on the Services step."

In the upgrade review, an open row reads "<server> does not run <service> today. Say what <service> is: not used here, on another machine (host:port), or new in this version." The reason sentence follows. Then it reads "Never installed here before? Press New in this version."

When a service looks like it runs on another machine

Sometimes no server runs a database, but a setting on a server points at a machine that is not one of your servers. An example is DB_HOST. The row then reads:

mysql looks like it runs on another machine: app-1's DB_HOST points at db.cust.local:3306, which is not a server of this installation.
  • In the wizard, press Use it. DM fills the field for It runs on another server with host:port. If DM does not know the port, the field holds host: with a colon at the end. The step asks: "Enter where mysql runs as host:port, for example db.example.com:3306." Type the port.

  • In the upgrade review, the row reads "On another machine? Press On <host:port>." Press the button On <host:port>. The page shows this button only when it knows the port.

A press is your answer. DM will not install or migrate that service. Your servers connect to host:port. You must migrate its data yourself. This is the same as typing the answer by hand. It is only shorter.

DM does not fill the field in these cases:

  • The value is an IP address. It can be one of your own servers.

  • The value is the name of one of your own servers. This includes the short name.

  • The value is localhost, or the name of the service in the compose file.

  • Two servers give two different values.

  • The value is hidden, for example a password or a masked value.

Then you get the plain question. DM never fills the field for a row where the servers say otherwise.

Config files: what DM compares and when

A config file is a file of a service, for example a file in the folder of app-1. DM ships its own version of some config files. DM compares the file on the server with its own file. The comparison uses a fingerprint (a hash) of each file. No file content leaves the server, unless you collect the server report with config contents. See Show the differences and merge a file.

In the wizard. DM has no values yet, so DM cannot compare. The step shows this hint:

DM compares these files with its own once the values are set, on the Upgrade review. Files that match are taken over there without a question.

The list of files shows this line:

<n> files. On the Upgrade review DM takes over the ones that match its own; the others stay as they are on the servers unless you pick DM's.

On the Upgrade review. DM now knows its own files. The step Config files comes before the consents. Its intro reads:

These files on the servers differ from DM's, or have an answer already. Answer before the backups: an answer changes the bundle.

DM puts each file in one of four groups:

The file What DM does

The same as DM’s file

DM needs no answer. DM shows a notice. See below.

Different from DM’s file

DM asks you. See below.

Not compared

DM says why. See below.

Not a file of DM

DM never touches it. DM does not show it.

The file is the same as DM’s file. The page shows this notice. The paths are behind Show N files:

<n> config files on <server> match DM's. DM takes them over at the deploy if they are still the same; later updates then replace them while nobody edits them.

There is no button. You do not need to answer. "Take over" means: the server keeps its file, and DM records its fingerprint. A later upgrade can then tell whether somebody edited the file. If nobody edited it, DM replaces it with the new DM file.

If a matching file was changed on the server after the servers were read, DM keeps it and does not take it over. DM checks the file again at the deploy.

The file is different from DM’s file. The page asks:

<path> on <server> differs from DM's file.

Under it, you read:

If you choose nothing, the server keeps its file and DM will not update it.

Choose one button:

Button What it means

Keep the server’s file

The server keeps its file. DM will not update it.

Use DM’s file

DM replaces the file at every deploy. Your edits on the server are lost. DM saves the server’s copy aside first.

Keep it now, update later

The server keeps its file now. DM updates it later, while nobody edits it.

Differences…

Opens the differences of the file. There you choose the lines of the server or of DM, difference by difference. Or you edit the text. See Show the differences and merge a file.

Differences… needs a server report with config contents. See Show the differences and merge a file.

This question does not block Download. If you do not answer, the server keeps its file.

After you answer, the line shows what your answer does:

  • Keep: "The server keeps its file; DM will not update it."

  • Replace: "DM replaces it at every deploy, edits included; the server’s copy is saved aside first."

  • Record: "The server keeps its file now; DM updates it later while nobody edits it."

If database approvals already exist, the page adds this warning:

Answering changes the bundle: the database approvals on the next step have to be approved again.

The warning shows only in this case. After you answer, give the approvals again. See Who does what on the Upgrade review page.

A file that you already answered shows a second form of the warning, next to its Change button:

Changing this answer changes the bundle: the database approvals on the next step have to be approved again.

The questions about config files are not required. You may skip them. The top of the page counts only the questions that you must answer. The config questions are not in "N questions left".

The file is not compared. DM shows a line with the reason:

  • "…​ could not be compared with DM’s: the server report has no fingerprint of it"

  • "…​ DM writes passwords into it on the server during the deploy, so its own copy is not final here."

  • "Config files on <server> are not compared with DM’s yet: DM could not work out its own copies just now. Open this page again to try again."

For the last line, open the page again. DM tries again.

Files that DM does not ship. DM never touches a file that it does not ship. DM does not compare it. DM does not ask about it.

At the deploy. The deploy log tells you what happened to the files that stayed on the server:

<n> config file(s) were kept as this server has them and recorded, so a later upgrade can tell whether they are edited: <paths>
<n> config file(s) were kept because you chose to keep the server's file: <paths>

A Deploy from DM and a downloaded bundle now behave the same for these answers. Your answers count on both ways.

Show the differences and merge a file

The dialog Differences… shows the differences of a config file and lets you merge them. A merge makes one file from lines of the server and lines of DM.

What you need. The server report must hold the text of the file. Collect it with --with-config-contents. See [inventory-extras]. Without the text, the row says that the server report has no config contents. The row shows the command to collect again. See Collect again with config contents.

The row cannot be compared in these cases. The row shows one sentence and an info mark:

What the row says Why

This file is not text, so it cannot be compared.

The file is binary.

This file is bigger than 256 KiB, so it cannot be compared.

The file is too large.

This file has more than 16384 lines, so the server report does not include it.

The script left the file out.

This file has more than 4096 lines, too many to compare here.

The server’s file or DM’s file is too long.

One line of this file is longer than 4 KiB, so it cannot be compared.

A line is too long.

The server report was full before this file, so it does not include it.

The report reached its size limit. Collecting again does not help.

The server could not read this file.

The script had no access to the file.

Certificates and keys are never merged. The dialog says: "Certificates and keys are never merged."

To merge a file:

  1. In the step Config files, find the row "<path> on <server> differs from DM’s file."

  2. Press Differences…. The dialog opens. Its title is the path of the file and "on <server>".

  3. Read the tab Differences. The left column is On the server. The right column is DM writes. A run of lines that are the same is folded to one line, for example "5 unchanged lines".

  4. For each difference, press the block of the side that you want to keep. DM chooses nothing for you. An open block reads Keep. The block that you press reads Kept. The other block reads Dropped.

  5. To choose for all differences at once, press Keep all under On the server, or Keep all under DM writes.

  6. Press Save merge.

The bottom of the dialog. The bottom shows these controls:

Control What it does

A numbered square for each difference

The square shows the number of the difference. After you choose, it shows S for the server’s lines or D for DM’s lines. Press a square to go to that difference. With more than 40 differences, the squares are not shown.

"<n> of <m> chosen"

The count of the differences that have a side.

Next difference

The main button while a difference has no side. It goes to the next difference that has no side. After the last one, it starts again at the first.

Save merge

The main button when every difference has a side. It stays off until then. Your choices stay if a save fails.

Cancel

Closes the dialog without a save.

The tabs Server’s file and DM’s file show the whole file. You cannot choose there. The tab DM’s changes since <version> shows when DM’s file changed. See Merge again for a new version below. A file whose two sides have the same lines shows: "The two files have the same lines. They differ only in line endings or in the empty line at the end."

A value that is hidden. The report never holds a secret value. A line with a secret value shows a "hidden value" chip and the word "Locked". You can only keep this line or remove it with the button "Remove line <n>". After you remove it, press "Undo" to bring it back. You cannot edit it or move it. A line of DM with a secret is filled in on the server. The dialog says: "Line <n> contains a hidden value. Hidden values can only be kept or removed."

Edit by hand. The tab Edit by hand lets you type the file yourself. Each text box lies between the locked lines. A box is named "Text before locked line <n>", "Text between locked lines <n> and <m>" or "Text after locked line <n>". A file with no locked line has one box, "The file as it will be written". A locked line shows where it comes from, "server" or "DM", and the note "filled in on the server".

When you save after you typed, DM sends your text. Your choices on Differences are ignored. The bottom of the dialog says: "Saving sends this text; your picks on Differences are ignored". On the tab Differences, a note says: "You changed the text by hand. Save merge sends the text in Edit by hand."

The tab works only for a server report from the current kit. With an older kit, the tab says: "Collect the server report again with the current kit to edit this file by hand." and shows the command.

After you save. The row says: "Your merge goes out with the next deploy." To drop the merge, press Change. DM asks: "Drop your merge? Your merge for <file> is removed. The row goes back to unanswered, so you choose again." Press "Drop merge". Saving or changing a merge changes the bundle. Give the database approvals on the next step again. See Who does what on the Upgrade review page.

If you save a merge, a message can refuse it. Choices and text stay. Open the dialog again.

What the dialog says What to do

Choose the server’s or DM’s version for every difference.

Choose for the differences that are left.

This file cannot be compared, so it cannot be merged.

Use another answer for the file.

This file cannot be edited by hand.

Choose the lines for each difference.

The merged file would be empty.

Keep at least one line in the file.

The merged files of this installation are bigger than 512 KiB together.

Make a merge smaller, or use another answer for a file.

DM cannot merge a file with this name. Keep the server’s file or use DM’s.

Press Keep the server’s file or Use DM’s file on the row.

The result is bigger than 256 KiB.

Make the result smaller.

DM’s file changed since you opened this. Open it again.

Close the dialog. Open it again.

A newer server report replaced the one you merged against. Open it again.

Close the dialog. Open it again.

Something in the merge does not fit this file any more. Open it again.

Close the dialog. Open it again.

What the deploy does with a merge. DM writes the merge at the next deploy. The step runs before any container restarts. The deploy does this for each merged file:

  1. It checks that the file on the server is still the file in the server report.

  2. It saves the server’s file in .ft-previous/.

  3. It writes the merged file in place of the server’s file.

A Test install does not rehearse a merge. This file is merged on the customer’s server; the lab installs DM’s file. See the upgrade rehearsal in Test install.

The deploy never prints the content of a file. It reports one outcome for each file:

The deploy log says What happened

merged as you chose

The merge is on the server.

kept the server’s file: it changed after the server report was taken

Somebody changed the file after you collected the report. The merge is not written.

kept the server’s file: it changed while this deploy ran

The file changed between the check and the write. The merge is not written.

kept the server’s file: it no longer matches the server report you merged against

The server’s lines are not the lines you merged. The merge is not written.

kept the server’s file: this server has no python3 to apply the merge

The server needs python3 3.8 or newer.

kept the server’s file: the merge could not be written

The write failed. The server’s file is as before.

When the server keeps its file, collect a new server report. Merge again.

After the deploy, the row says what happened:

  • "Merged by DM in the last deploy, as you chose." The row does not open again.

  • "The server’s file changed after DM merged it. Look at the differences again."

  • "A deploy ran outside DM after your merge. DM cannot confirm what it wrote. Look at the differences again."

  • The sentence of the outcome from the table. The row opens again.

History. Under the dialog header, the History list shows one line for each saved merge of the file, for example "Merged in the deploy of <date>." or "Saved on <date>, not deployed yet." The list holds at most 20 merges for each file. It holds no text of the server. These are the other lines:

The line says What happened

Merged on <date>, changed on the server since.

The deploy wrote the merge. The file on the server is not the merged file now.

Not merged in the deploy of <date>: <reason>.

The deploy kept the server’s file. The reason is one of the sentences in the table of the deploy log above.

Saved on <date>; a deploy ran outside DM, not confirmed.

A deploy ran without DM after you saved. DM cannot say what it wrote.

Replaced by a later merge before any deploy.

You saved another merge for the file.

Dropped before any deploy.

You pressed Drop merge.

Not in the deploy of <date>: the file had changed since the merge.

The deploy did not carry the merge.

Merge again for a new version. The tab "DM’s changes since <version>" shows what changed in DM’s file. A difference that is new since then has the mark "New". After a merge was applied and the server still has it, press "Use last time’s choices for the unchanged differences".

Variables step of the import wizard

The import wizard step Variables is the same Variables step as for empty servers. The screen is called Settings. See Step 3. Fill in the variables. The fields hold what your servers run today, or the service’s default where the server set nothing. Change only what should be different after the upgrade.

The import adds these things:

  • The mark from <server> next to a field. It names the server. This is what that server runs today.

  • The strip Read from your servers above the counters. It counts the values kept, the values that differ per server, and the passwords. Passwords stay on the servers. DM does not ask for them again.

  • The filters To look at, Needs input and All. To look at is open by default. It holds everything that needs input or that the servers changed. A field that DM could not find on the server has the mark not found on the server.

  • Runs today: <tag> under the version of each service: what runs now, and what you upgrade to.

  • A value that differs between the servers opens as One value per server, one row for each server.

  • The time zone is taken from the servers.

Review step of the import wizard

The import wizard step Review shows what the first deploy will do. Read it, then press Create installation.

  • DM will reuse N passwords from your servers. The mark says Not checked until you check them. If one is wrong, the services cannot reach their database. To check them, press Check list on the row of each server. Run the command on that row. Then upload the file that it writes with Upload result. Before you upload, the row reads "No result file yet". After you upload, the button reads Replace result. Press it to upload a newer file. The row reads "<file>: N open the account, N wrong, N not checked". A row can read Partly checked when some passwords are still not checked:

    bash collect-diagnostics.sh --credential-probe ft-probe-candidates.tsv --install-dir <install folder>

    No password leaves the server. See which password goes where shows the source of each one.

    The mark next to the title shows the state of the check:

    • All work: every password was checked and works.

    • Wrong password: a server refused one of the passwords. Do not go on. Fix the password first.

    • Not checked: you did not run the check yet.

    If DM cannot find where a service sets its passwords on a server, the step says so. The install script then asks for each password on the server. Type the password that the server uses now. If you press Enter, the script makes a new password. Then the services lose their database.

  • What happens on <server>, for each server:

    • DM saves the current compose and .env files.

    • DM puts its own files in place and removes the server’s docker-compose.yml.

    • DM recreates the containers it starts managing from its own compose.yml.

    • Containers left unmanaged keep running.

    • Retired containers are removed. Their data stays.

    • DM waits up to 10 minutes for the services to report healthy.

  • If something goes wrong: DM does not roll back by itself. Roll back on the deploy panel restores the saved files and starts the old containers. It does not restore data. Only the MySQL dump does that. You can also run the same bundle again to continue.

  • Start managing every server without asking me first. It is off by default. When it is off, DM first checks every server without changing anything. Then it asks you about each server on the deploy panel. Nothing is installed until you have answered for every server. If you stop or refuse on any server, the run ends before any server changes. It does not go one server at a time.

After Create installation, the Upgrade review page opens. On top it shows the note After import:

  • DM manages these services from now on. Do not run the old compose files or start scripts by hand.

  • DM replaces compose.yml. It keeps the old one only in the saved tar, .ft-adopt/original-<gen>.tar. It removes docker-compose.yml, keeps .env as .env.previous, and saves replaced config files in .ft-previous/.

  • Any other compose file and your scripts stay where they are. Nothing stops them from being run, so retire them yourself.

  • Next step: set the SSH login of each server from the installation card.

Step 5. Go through the upgrade review

The page Upgrade review is the step Questions on the strip of the installation card. It opens right after Create installation, with the note After import on top. It also opens when you press Download or Deploy on the card of an imported installation, and after you save its variables. It opens when you follow the link in an approval email. It opens when any installation has steps that need consent.

The page is a checklist. You go through it one step at a time. It does not make the bundle and it does not run the upgrade. When every question has an answer, the button at the bottom takes you to the next step of the strip. See The button at the bottom: Continue.

The page shows what the upgrade keeps. Before it changes anything, the upgrade saves the compose files, the .env files, the config files that it replaces, and the Dockerfiles. This is usually less than 1 MB. The upgrade never archives the data folders. Only the database backup protects your data.

What the Upgrade review page shows

  • The top line reads "Upgrade <name> <from> → `<to>`". Under it, one sentence says why you are here.

  • A second line shows the number of servers and the date of the oldest server report, in UTC.

  • On this line, Upload newer reports and What DM looked at open dialogs. See Upload newer reports and What DM looked at.

  • A question with more than one answer has What do these mean? under it. It says what each answer does.

  • ← Back to list returns to the list of installations.

  • At the right, the page shows "N questions left" and a bar.

  • The list on the left shows the steps. A step shows a number, a tick when it is done, or a yellow "!" with "N left - skipped".

  • The page shows only one step at a time. A step with nothing in it is not shown.

  • At the bottom, the button Next: <step> → appears when the step is done. If the step is not done, the button is Skip for now →.

  • N left in this step - show scrolls to the first open item.

  • If an installation has more than one server, each step has a server filter. A step with more than 8 items also has a search box.

  • One finding on many servers is one item. It shows chips, for example "app-1, app-2 and 2 more" or "all 10 servers".

  • When you answer an item, it keeps its place and its size until you leave the step: nothing on the page moves. A database upgrade keeps its four choices with your answer pressed; press another to change it. Leave the step and come back, and the other answered items are one line with Change.

  • Show N more answered shows the answered items. It never hides an open item.

The steps are, in this order. A step shows only when it has something in it:

  1. Let DM manage these servers. See Let DM manage these servers.

  2. Config files

  3. Check changes

  4. Confirm passwords

  5. Copy files yourself

  6. Certificate: what DM read from each server’s certificate. It stops nothing. See Certificate.

  7. Backup. See Backup before installing.

  8. SQL to apply first: only for a database that the customer runs. See SQL to apply first.

  9. Database upgrades: the last of the questions. An answer in an earlier step voids an approval given here, so this step comes after them.

  10. Results of the <date> upgrade (or bundle): last, because results come back after a run. It shows only when a bundle went out and nothing came back. When DM ran the upgrade over SSH it says what DM does not know. When the bundle was only downloaded, DM cannot tell whether it ran, so it says: "Bundle downloaded on <date>. If you ran it, upload what it returned; if not, nothing to do yet." It takes the files the run left in returns/<name>-<date>/. After an upload, its first line says what DM learned: the new questions and the step each is on, or "nothing new to answer". The step is named "Results of the <date> bundle" or, after more than one day, "Results of earlier bundles". Its short line reads "<n> servers not reported", "Not reported" or "All reported". When a server’s result is back, its row reads "Reported · <date>". When DM did not see a result, a row reads "Downloaded <date> · nothing reported" or "Upgraded <date> · not reported".

If no step has anything in it, the page shows "Not needed: nothing to decide".

Who does what on the Upgrade review page

Two roles work on this page.

Role What the role can do

User

Answers every question. Chooses a backup for each step that cannot be undone. Chooses Keep or Don’t keep. Cannot give the final yes.

Support admin or global admin

Does everything a user does. Also approves the steps that cannot be undone, and approves Keep.

A user prepares everything. Then the user presses Ask an admin to approve. DM sends one email to the admins. The email holds one link to this page. The email shows each item, for example the server, the service, the versions and the backup.

  • The button is off while a question that changes the bundle is open. The page says: "Answer these first: <items>." A late answer would cancel the approval.

  • Before a recovery is chosen, the page says: "When the database upgrade has a recovery chosen, DM emails the admins."

  • While DM sends the email, the page says "Sending to admins…".

  • After DM sends it, the page shows the title Waiting for an admin. It adds "Emailed <n> admins on <date>. You can go on - the upgrade waits only for their yes."

  • A user can ask again with Send again. If the last email was sent less than 10 minutes ago, Send again is off for the same items. The page tells you how long to wait: "`<user>` asked <n> min ago. You can ask again in <time>."

  • If you add new items, you can send again at once.

  • If DM cannot send email, the page says: "DM can’t send email: mail is not set up. Tell an admin yourself. They’ll see your request when they open this page."

  • If nobody can approve, the page says: "Nobody in DM can approve this yet. Ask whoever runs DM to make someone a support admin in People."

  • If the email fails, the page says: "The email didn’t go out. Try again in a minute, or tell an admin yourself."

  • Until you send the email, an item reads "not sent to admins yet". After you send it, it reads "waiting for an admin".

An admin opens the link in the email. The page shows an approval card. Its title reads “<user>` asks you to approve the upgrade of `<name>”. For a lower version it reads "downgrade". The card lists what applies, in these rows:

Row What it shows

Can’t be undone

Each step that cannot be undone. The old version cannot open the data afterwards. Only a backup brings it back.

Backup

The backup that the user chose for each step, or "not chosen yet".

Kept settings

Each setting that the user chose to keep.

Test install

Whether a test install runs before the real install.

For the settings of

The date and time of the settings that the user asked about.

A request sent before the last two rows existed does not show them.

The admin presses Approve N changes. A dialog "Approve N changes?" lists the items. It says "Your name is saved with this approval." If a server has no backup, the admin must also tick "I understand N server has no backup". Then the admin confirms.

An admin can also approve one item. An admin who makes a choice does not wait for another admin. If the admin has no request to answer, the footer shows Approve N steps and a dialog "Approve N steps?".

If something changed since the user asked, the banner says: "Things changed since <user> asked. Approving uses what this page shows now." If only the backups changed, it says: "The backups changed since <user> asked. Approving uses what this page shows now."

If a question that changes the bundle is still open, approval is off. The page says: "Answer these first: <items>." If a new request replaced the old one, the user sees: "Replaced by a newer request: the settings changed after the admin was asked. Ask again."

Let DM manage these servers

The step Let DM manage these servers shows when DM found an installation that it did not set up. The step says: "DM found an installation it did not set up. Say whether DM takes it over."

The item reads "Let DM manage the existing installation". Under it, the page says: "Yes: DM marks it as this installation and upgrades it." Press Yes. With more than one server, the button reads Yes, on both servers or Yes, on all N servers.

Your answer goes into the bundle. The run on the server does not ask this question again. If you leave it open, the run asks it on the server.

Backup before installing

The step Backup asks about the backup of a whole server. DM asks it once. The install does not ask again. The answer is not the recovery that you choose for each database upgrade. See Database upgrades.

The item reads "Backup before installing". For one server it reads "Backup of <server> before installing". Choose one answer:

Answer Meaning

Already made

You already have a backup of each server’s databases. The install does not make one.

Dump all MySQL first

The install dumps every MySQL database on each server before it changes anything.

No backup

Nothing is made. If the install goes wrong, the data cannot be brought back. DM saves the answer with your name.

If no report came from a server, or its last report shows nothing of ours installed, the answers read differently: No backup needed: the servers are empty, DM makes one, and I made one. The step then says: "No report has been uploaded from this server, so DM can’t tell whether anything is installed. Choose what is true." Or it says: "The last report uploaded from this server (<date>) shows nothing of ours installed. If that is still true, choose "No backup needed: the servers are empty"." DM selects no answer for you.

Database upgrades

Use this step for each step that cannot be undone. An example is a change of the database engine version.

Choose how this data is backed up:

Choice Meaning

VM snapshot

You take a snapshot of the machine or its disk right before the upgrade. If the upgrade fails, you restore the snapshot. This is the fastest way back.

My own backup

You already have a fresh dump or backup, taken after the last change. If the upgrade fails, you restore it yourself.

DM makes one

Right before this step, the upgrade dumps the data into db-backups/ on the server. This choice is off, with a reason, when DM cannot do it. The page says: "DM makes one is off here. <reason>." The other three choices stay open.

No backup

If the upgrade fails, this data cannot be brought back. DM saves your choice with your name. DM asks you to confirm it with the dialog "Continue without a backup?".

Two kinds of step have no backup choice, because they change no data on disk. Each has one button:

  • Reset the Hazelcast cluster: press Allow the reset. The step stops Hazelcast and the services that use it on every server of this installation. They are down until they start again during the run. Hazelcast cache data is dropped. Nothing on disk is lost. Services that DM does not manage are not stopped. After the approval, the item reads "Reset allowed".

  • Move Keycloak into this installation: press Allow the move. The step moves Keycloak from its own compose project into the project of this installation. Its data stays where it is. After the approval, the item reads "Move allowed".

After the approval, the item reads "Approved" with the backup. Press Change to withdraw the approval.

These dialogs belong to the backup choice:

Dialog What it says and what the button does

Continue without a backup?

A user chose No backup for one item. The dialog names the item and says: "Nothing is made. If the install goes wrong, the data can’t be brought back. The answer is saved under your name." Tick the box. Press Choose no backup.

No backup for <n> steps?

A user chose No backup for many steps at once. The dialog says: "No backup. If an upgrade fails, that data is lost." and "Your choice is saved with your name." Press Choose no backup.

Upgrade <service> on <server> without a backup?

An admin approves a step with No backup. The dialog says: "No backup. If the upgrade fails, <service>'s data on <server> is lost." If the running version is unknown, it also says: "The running version is unknown." The dialog is the confirmation. There is no box. Press Approve without backup.

Withdraw the approval for <item>?

An admin pressed Change on an approved item. The dialog repeats the answer and says: "The upgrade on <server> waits for an admin again." Press Withdraw approval.

A server-level answer DM makes one dumps every database that DM can dump on that server. It also dumps an item you marked No backup.

If the upgrade changes how databases store data, the page says: "The upgrade changes how these databases store data. After that the old version can’t open them — only a backup brings them back."

An update of an app can change the schema of a database. These changes need no approval. Back up the named schema first. If this step is not shown, the same note is at the top of the page.

Check changes

DM found things on the servers that the new version handles differently. Tell DM what to do. The step says: "You never edit compose or .env yourself."

Group What you do

Programs DM did not start

DM did not start these containers, so DM cannot remove them. Choose Leave it running, or choose I’ll fix this on the server before the run. With I’ll fix this on the server before the run, DM does not touch it now and you stop and remove it yourself. If it is still running when the upgrade starts, the upgrade asks on the server.

Settings the new version doesn’t have

A mount, a network or a flag of the old install is not in the new compose file. Choose Keep or Don’t keep. See Keep a setting or not.

A compose file DM did not make

See A compose file DM did not make.

Busy port

A program holds a port that the upgrade needs. Free the port on the server. Then press I’ll fix this on the server before the run. The upgrade checks it again on the server and stops if it is still taken. See Busy port.

Found by the server check

The check of the servers found something that you can clear by hand. Clear it on the server. Then press I’ll fix this on the server before the run. The run checks again and stops before changing anything if the finding is still there. If a later check no longer finds it, the item reads "The latest server check no longer finds it." and the button is Withdraw.

Keycloak project

Keycloak runs as its own compose project. The item reads "Keycloak runs as its own compose project `<name>`". Choose Move it into this installation or Leave it where it is. With Move it into this installation, an admin must approve first. Then you move it before the upgrade. DM recreates Keycloak in the project of this installation. Its data stays where it is. With Leave it where it is, the check stops on it until you move it yourself. After your answer, the item reads "You move it after an admin consents" or "You leave it where it is".

A service that no server runs is not a group of this step. DM may answer it by itself, or it asks. See When DM answers a service question by itself, When a service looks like it runs on another machine and What blocks the upgrade.

The link Server moved? opens the dialog Server moved. Use it when a server now lives in another directory or runs under another project name. Choose the Server. Type the Installation directory. The fields Project name (optional) and Why (optional) may stay empty. Press Save. DM records the answer and runs there from now on.

Keep a setting or not

The group Settings the new version doesn’t have lists the settings that the old install had and the new version does not have.

  • Keep: DM saves the setting with this installation. This upgrade and every later upgrade keeps it. DM writes it into the compose file that DM makes itself.

  • Don’t keep: the new version runs without the setting. DM deletes nothing on the server.

Each row says what happens. For example: "`<svc>` starts without <flag>." Where you have more than two open rows, Keep all and Don’t keep any answer all of them. A row that cannot be kept is skipped, and the page names it.

Keep needs an admin:

  1. A user chooses Keep. The item reads "Kept · waiting for an admin".

  2. An admin approves it. The admin sees the source and the target of the mount, and whether it is read-only or read-write.

  3. Without the approval, the bundle does not carry the setting. The script asks on the server instead. It never drops the setting silently.

An admin who chooses Keep approves it in the same click.

After you answer, the item shows one of these marks:

The item reads What it means

Kept by DM

Every server has an approval. The bundle carries the setting.

Kept · waiting for your approval

You are an admin. You have not approved the setting yet.

Kept · sending to admins…

DM is sending the request to the admins.

Kept · not sent to admins yet

DM has not sent the request. If you download before it is sent, the script asks about it on the server. A run from the Linux jump server cannot ask and stops there.

Kept · waiting for an admin

DM sent the request. If you download before an admin approves, the script asks on the server. A run from the Linux jump server cannot ask and stops there.

Not kept

You chose Don’t keep. The new version runs without the setting.

New name only

For a container name. DM uses its own name for the container.

These settings can be kept:

  • A mount that is lost, or that comes from another place.

  • A network.

  • A flag.

A port cannot be kept. DM knows only the host port, not the address that the port was bound to. The row says: "DM can’t tell which address <port> was bound to." The only choice is Don’t keep. A container name cannot be kept. DM sets the container name itself. The name is <installation>_<service>. If the installation has Short container names on, the name is <service>. The only choice is Use the new name. See Short container names.

A mount can be refused with a reason. DM refuses a source such as the Docker socket, /, and system folders like /etc, /proc, /root, /usr and /home. It also refuses a parent folder of them. DM allows a source only under the install folder of the server, or a named volume. If DM already keeps the data volume, the row says so. The approval of the admin is the last control. Read the source before you approve.

A compose file DM did not make

A service may also have been started from a second compose file. DM never runs a compose file of the site. You can only choose Don’t use it. The file stays on the server.

  • The row lists each service that the file started. It shows what the service runs with: mounts, ports, flags, networks and names of environment settings.

  • The row says: "Don’t use it: <services> start without these. The file stays on the server."

  • The mounts, networks and flags of the file are also listed under Settings the new version doesn’t have. There you can Keep each one.

  • The values of its environment settings cannot be kept. DM sees only their names.

Questions the script asks about a setting or a file you keep or drop

If a Keep or a Don’t keep is not approved or not answered here, the script asks on the server. Each question names one item. This table shows the exact words.

Question What the script says Yes or no

A service is recreated without a mount, a network or a flag

"`<service>` is recreated without its <mount, network or flag> <target>, which the new definition drops. Recreate it without it?"

Yes: the service starts without it. No: the run stops before any change.

A compose file that DM did not make

"`<file>` on this server is not used after the upgrade: the settings it adds to <services> stop applying. Continue without it?"

Yes: the run continues and the file is not used. No: the run stops before any change.

The second question is asked when the bundle starts the services from its own compose.yml only. The page shows the file under A compose file DM did not make. The script does not ask if you already chose Don’t use it for that file in DM. If the file name has a character that a question cannot carry, the script prints a warning and does not use the file. The script does not ask in that case. When you answer No, the script writes: "Stopped before changing anything" and the question. Nothing on the server is changed.

Busy port

DM cannot check a port on the server from the page. Your answer is a confirmation. The button reads I’ll fix this on the server before the run. The hint reads: "The upgrade checks it again on <server> and stops if it is still taken." An open busy port counts as a question left in the step Check changes.

Confirm passwords

The upgrade keeps the passwords already on the servers. DM never sees them. It compares only fingerprints from the server reports. DM shows one row for each password name. The row shows the full path of the .env file.

Button Meaning

Use it

DM found the password, and it is equal on all servers.

Use each server’s own

The values differ between servers.

Use another source

Opens the mapping form. Choose where DM reads the password.

When DM finds more than one password, the step also shows the button Use all N found on the servers. N is the number of passwords that DM found. Press it to answer all of them in one click. Check the list first. DM uses the source that it found for each password. You can press Change on one row later.

To change a value, change it on the server. Then press Upload newer reports.

Copy files yourself

DM cannot save some files before the upgrade. The page says: "DM can’t save these before the upgrade. Copy them, then press Done." A file can be too big for DM’s safety copy. Copy it yourself. Then press Done.

Certificate

The step Certificate shows what DM knows about the certificate of each server. It asks no question and it never stops the upgrade. Each line is a notice. Dates end with "(UTC)". For the choice of the certificate, see Use the customer’s certificate.

The line reads What it means and what to do

Internal HTTPS ports

The installation does not use the customer’s certificate. The notice says: "This certificate is shared, so outsiders must not reach these ports. Close them on your firewall."

No certificate on <server> yet.

The server has no certificate. The next deploy makes a temporary certificate for 30 days, unless one was made there before. If one was made before, the deploy stops until the customer’s files are in .ft-tls. Put fullchain.crt and server.key in .ft-tls on the server. Or run bash tls.sh request there and send the request file to the customer’s certificate authority.

DM could not read the certificate on <server>.

The server could not read its certificate file. A tool that the report needs is missing, the file is not a certificate, or the server ran out of time. Run bash tls.sh check on the server to see why. Then run the report again.

DM cannot see the certificate on <server>.

The server report came from an older kit that does not look at certificates. Run the report again with a new kit.

DM has no report from <server>.

DM cannot say if the certificate is there. Run the report on the server.

<server> used a temporary certificate that ended on <date>.

The upgrade goes on, but browsers do not trust this server. Put the customer’s fullchain.crt and server.key in .ft-tls on the server. Then run bash tls.sh apply there.

<server> uses a temporary certificate until <date>.

tls.sh made it because the customer’s files were not there. Browsers do not trust it. Put the customer’s files in .ft-tls on the server. Then run bash tls.sh apply there.

<server> still serves our shipped certificate

The upgrade goes on, but browsers do not trust this server. Put the customer’s files on the server and run the bundle again.

<server> has the customer’s certificate

The notice lists "Names:" and "Ends:". If the date is in the past, it says: "This certificate ended on <date>. This does not stop the upgrade, but browsers will not trust this server. Put the customer’s new files on <server> and run it again."

Plain HTTP ports still answer

The notice says: "Ports such as 8880, 9880 and 8085 go around the certificate. This does not stop the upgrade. Close them on your firewall."

SQL to apply first

The step SQL to apply first shows only when the customer runs a database that the upgrade must change by hand. DM cannot apply this SQL. You apply it on the database yourself, before the install.

Each item is named “<service>`: SQL for `<version>”. The SQL is shown in the item.

  1. Read the SQL in the item.

  2. Press Copy. Or press Download <installation>-<id>.sql to save it as a file.

  3. Apply the SQL on the customer’s database.

  4. Press I applied it. The item reads Applied.

After you press I applied it, the install is no longer held back for this SQL. DM records who pressed it and when.

The SQL is the file that the bundle carries. DM never fills values into it.

If the upgrade changes, an item can disappear. Then the page says: "This SQL is no longer a step of this upgrade. Reload the page to see the steps it has now." A new version of the SQL is a new item. Apply it and press I applied it again.

The button at the bottom: Continue

When the step is done, the page shows one button for the way forward. It reads Continue: Test install when the installation has the Test install on. Otherwise it reads Go to Install. A line beside it says what is open. For example, "All answered." or "2 questions still to answer."

  • If questions are open, the way forward waits. Press Skip for now → to look at the next step.

  • If an answer waits for an admin, the line adds "`<n>` waits for an admin". Before the Test install, this does not hold you up: "waits for an admin and doesn’t hold you up." Before the Install, it does: "the install opens once it is approved."

  • If something is settled outside this page, the line reads: "All answered here. One thing is settled outside this page: see Blocks the upgrade above."

  • An admin who has answers to approve sees Approve N steps here instead. See Who does what on the Upgrade review page.

The page does not make the bundle. For the bundle and the run, see Step 6. Make the bundle and Step 7. Run the bundle. To check the servers before the run, see Check the servers before you install.

What blocks the upgrade

If something outside the steps stops the install, the page shows a plate under the header. Its title is Blocks the upgrade. The way forward waits until you clear every line. The page does not decide this. It shows what DM says.

What the line says What you do

"`<server>` does not run <service> today. Say what <service> is: not used here, on another machine (host:port), or new in this version." The reason sentence follows.

If the service was never installed here, press New in this version. Otherwise import the servers again and answer on the Services step. See When DM answers a service question by itself and When a service looks like it runs on another machine.

"`<server>` is not in the documented layout: <rule>. Bring it into the layout, or use Server moved? if it now lives elsewhere."

Fix the layout on the server and press Upload newer reports. Or press Server moved?. See Check changes.

The download or the install can also be refused. The page shows the sentence of DM. DM names each refusal with a code:

Code Meaning Who fixes it

irreversible_unconsented

A step that cannot be undone has no approval. Without it the run stops on the server and nothing changes.

An admin

bundle_audit_failed

The bundle would drop a setting that the server uses today, or publish a port twice. An admin can still accept it.

An admin

decision_open

The installed version, or the server of a database, is unknown. The script has no question for it.

A user

layout_mismatch

DM knows from the reports that the script refuses the layout of this server.

A user: fix the layout, or upload newer reports

These are warnings. They do not stop the download. The page shows each one under For information, and the script asks on the server:

Code or item Meaning

keep_pending

A chosen Keep is not approved yet. The script asks on the server instead, for example the questions in Questions the script asks about a setting or a file you keep or drop.

container_listing_unknown

DM could not read the container list. The script reads it again on the server. If it still cannot, it stops safely. It removes nothing on an unknown list.

port_busy

A port is held. The run checks it again.

Containers on a server that DM does not know

You did not decide what to do with them. The script asks about each container on the server: "Leave the container <name> running as it is?" On yes, the run does not stop, remove or change it. DM records it in .ft-adopt/site.tsv.

Upload newer reports and What DM looked at

Upload newer reports opens the dialog New server reports. It has three steps: download the inventory kit, run the script on each server, and upload the new files with Choose report files. The kit is made for this installation. It holds a hosts.txt file with one line for each server. After the upload, the page loads again. A new report replaces the old one, and an approval that no longer fits is cancelled. The page explains this.

  • DM keeps the report that the server wrote last, by the time the server wrote it.

  • An older report is refused. The message reads: "This report was collected on <date>, before the results of the last upgrade (<date>). DM keeps the newer one."

What DM looked at opens a table. For each server it has the columns Based on (which report DM used), Started from (the compose files), Ports, Data kept and Notes. Under the table, What restarts lists the services that restart on each server. The services are down while they restart. The notes also say when two settings hold the same password.

If something changed on the servers, run the report script collect-inventory.sh on each server again. It needs no network. Upload the new reports. The page is built again from them.

A consent or a check binds to what the page showed. If the server report changed meanwhile, DM refuses the save. Reload the page and check again.

Collect again with config contents

Use this when a row says that the server report has no config contents. See Show the differences and merge a file. You can collect again in four ways. Choose the way under Upload newer reports. The page starts with the way that fits how this installation is deployed.

Way What you do

DM collects it

Only for an installation that DM reaches over SSH. Press Collect again with config contents at the top of the step Config files. Nothing else to do.

On each server

Run sudo bash collect-inventory.sh --install-dir <install dir> --project <project> --with-config-contents on every server. The page shows one block for each server, with its own folder and project.

From one Linux machine

Run bash collect-inventory.sh --hosts hosts.txt --with-config-contents on the jump host.

From one Windows machine

Run deploy-windows.cmd -Inventory -Hosts hosts.txt -WithConfigContents.

For the three manual ways, the page gives the steps. Download the kit for this installation. It holds hosts.txt. Unpack it. Run the command. Then upload every ft-inventory-.json file that the script wrote with *Upload newer reports.

A server with no saved login is listed in the two jump host ways: "<server>: no saved login, <login> is used. Change it in hosts.txt if that is wrong." A server that DM cannot put in hosts.txt is listed: "<server> is not in hosts.txt: <reason>. Add its line by hand."

DM collects it. DM logs in to the servers with the logins saved for this installation. It runs the script on up to 4 servers at the same time. It needs the role user or higher, as a deploy does. While it runs, the button is off and shows "Collecting server reports… <done> of <total>". Another action on the same servers can hold DM busy. Then the page names the action.

  • Before you press the button, the page says: "<n> servers have no SSH login in DM and must be collected by hand: <list>."

  • Each server has 7 minutes. The whole job has 15 minutes. A server that has not started by then fails with a time-out.

  • When it ends, the page says: "Collected <k> of <total> server reports." It lists each server that failed, with the reason. A server with no saved login gets the steps for collecting by hand.

  • DM keeps the new reports like uploaded ones. The same checks apply. The result lasts until the next run or a restart of DM.

If a server has words that the script could not prove safe, the page says: "<server>: some words could not be proven safe. They are listed on that server in <dir>/.ft-adopt/withheld-words-<project>.txt; copy the safe ones into keep-words.txt in the same folder and collect again." DM never reads these files. If keep-words.txt is writable by the group or other users, the script ignores it and prints the fix chmod g-w keep-words.txt. If other users can write to it, the note names chmod go-w. See [inventory-extras].

Later DM read-backs collect config contents too, because this installation’s report has them.

Questions about the upgrade review

These are the questions that people ask on the Upgrade review page. Each answer says what DM does and why.

Why can a step not be undone?

The title of the step Database upgrades counts these steps: "N database upgrades can’t be undone". The step says: "After these steps the old version can’t open the data." There are four kinds:

  • A database engine gets a new version. An example is MySQL 8.0.36 to 8.4.6. The new MySQL converts the database files the first time it starts. The old MySQL cannot open those files afterwards. To go back, you must restore the backup.

  • A database engine gets an older version. The older version cannot open the data that the newer version wrote. DM still asks for approval before it tries.

  • Keycloak gets a new image. Keycloak changes its own tables in the database when it starts. The old Keycloak cannot work with those tables afterwards. To go back, you must restore the backup.

  • A service that keeps data on the server gets a new image. DM does not know whether the new version converts that data. So DM treats the change as one-way.

App updates can also change database tables. The page shows them as a warning under For information. They need no approval, but back up the named schema first.

What does an approval do, and who can give it?

An approval lets the upgrade run one step that cannot be undone. Only a support admin or a global admin can give it. Other users see that an administrator is needed. See Who does what on the Upgrade review page.

Without the approval, DM refuses to make the bundle. The page then shows the refusal in its header. The downloaded bundle runs on the server without DM, so nobody can approve there. Approve on this page before you download.

Before the Test install, an approval that is still missing does not hold you up. Before the Install, the button Go to Install waits until every approval is given.

What do "DM makes one", "Dump all MySQL first" and "Make one now" do? Does it work offline?

The three names mean the same action in three places. DM makes one is a choice in the step Database upgrades. Dump all MySQL first is a choice in the step Backup. Make one now, before the upgrade is a choice on the backup screen of the deploy panel.

The upgrade makes the backup itself, on the server, before it changes anything. It dumps the MySQL databases of the installation with the MySQL client. It writes the files to the folder db-backups in the installation folder.

It works offline. The dump runs on the server as part of the upgrade script. It does not need DM or the internet.

It does not back up ClickHouse, Postgres or Oracle. The upgrade names them and asks you to make your own backup of them.

If the dump fails, the upgrade asks the backup question again with the reason. It does not continue on its own.

Why is "DM makes one" switched off?

The page switches DM makes one off when the dump does not fit. The dump needs 1.2 times its estimated size of free space where it is written. It needs at least 1 GiB. A dump that takes more than 2 hours at 50 MB per second is also switched off. The page shows the size it needs and the free space.

Use your existing backup, or a storage or VM snapshot taken right before the upgrade. In the step Database upgrades, choose My own backup or VM snapshot.

What do the choices on the backup screen of the deploy panel mean?

When DM runs an imported installation, the deploy panel asks first: "Before anything is changed: has a backup of this installation been made?" There are three choices:

  • A backup has been made: you already have a backup of this server’s databases.

  • Make one now, before the upgrade: the upgrade dumps the MySQL databases on the server first. See above.

  • Continue without a backup: if the upgrade goes wrong, the data cannot be brought back. You must tick a second box, "Continue without a backup? This is recorded.", and DM records the choice.

If you choose nothing, DM does not start. The panel says: "Answer the backup question first: this installation was brought in from a server, so nothing is changed before it is answered."

The upgrade never archives data folders. Only a database backup protects your data.

Two settings hold the same password. Is that a problem?

The dialog What DM looked at can say, in the column Notes, for example: "DB_PASSWORD and MYSQL_ROOT_PASSWORD hold the same password." It is not a blocker. The upgrade keeps both values as they are.

DM learns this from fingerprints of the values. It never sees the passwords themselves.

It matters in two cases:

  • If the upgrade asks for one of these passwords, enter the same password. A different one changes the password of a running service.

  • Whoever knows one of these passwords knows the others. You can give them different values later, after the upgrade.

A file is too large for the safety copy. What do I do?

Before it changes anything, the upgrade saves the files it replaces, so it can put them back. It does not save a file over 1 MiB. The step Copy files yourself names such a file. Copy it somewhere yourself before the upgrade. Then press Done. Without your copy it cannot be restored.

What do the lines of "Settings the new version doesn’t have" mean?

The new compose file does not set something that the running container has today. Each row says what and what it means:

  • loses the folder: the container no longer sees the files there. The files stay on the server.

  • gets another folder at: the container reads the folder from the new place instead of the old one.

  • stops publishing port: nothing outside the container reaches it on that port.

  • starts without the option: the container uses its default for that setting.

  • leaves the network: containers on that network no longer reach it.

  • loses the container name: scripts or tools that use that name no longer find it.

If the service needs it, press Keep, or add it to compose.yml before the upgrade. Don’t keep (or Use the new name) says that you have seen the line. See Keep a setting or not.

What do "Leave it running" and "I’ll fix this on the server before the run" mean?

A container runs on the server, but DM did not start it.

  • Leave it running: DM never touches this container. It keeps running as it is, outside this installation.

  • I’ll fix this on the server before the run: DM does nothing to it now, and you stop and remove it yourself. If it is still running when the upgrade starts, the upgrade asks about it on the server.

In the import wizard, the third answer is Decide on the site. The upgrade then asks about the container on the server when it runs.

Which questions can you answer before the run?

The upgrade asks some questions on the server and waits for an answer. When you answer such a question on this page, the answer goes into the bundle, and the run does not stop for it. Some questions can only be answered on the server. The page says so next to them. A question that you leave open is asked when the run reaches it.

Step 6. Make the bundle

To make the bundle, you press Download on the card of the installation, or you open the step Install on the card. DM offers two kinds.

  • Configuration only: use it when each server reaches FT HUB, the image registry.

  • Configuration + images: use it when a server has no route to FT HUB. The archive holds the images. Each server gets only its own images. See Offline installs.

The bundle holds two extra files for each server: adoption.tsv and irreversible.tsv. deploy.sh reads them. The version number on the page names the bundle.

If you change an input, make the bundle again. An old bundle is not current. DM refuses a deploy of an old bundle.

Step 7. Run the bundle

Step 7 shows four ways to run the bundle. In all four, deploy.sh checks the server first. It does this before it changes anything. If the check refuses, nothing outside the folder .ft-adopt/ has changed. The install directory is fixed from the inventory. deploy.sh does not ask for it.

Over SSH from DM

  1. Open the step Install on the installation card.

  2. Press Install. The deploy panel opens. The same panel opens from Deploy over SSH in the download dialog.

  3. Answer the questions that appear in the panel.

  4. Watch the progress. You can press Stop. See Stopping a deploy.

DM stores the SSH access of each server. See SSH access.

Stop, force stop, continue and roll back

You can end an upgrade early, and you can go back. The full text is in Stopping a deploy.

  • Stop: the run ends at the next safe point. Nothing is undone. The panel shows "Stopped after" and the point. Some steps cannot be interrupted, for example a database migration. The panel then says "Stopping after" and the step, and it waits.

  • Force stop: the panel offers it only while a step cannot be interrupted safely. It ends that step. Only the person who started the run or an administrator can press it. The panel shows "Force-stopped during" and the step. Check the database before you go on. A force stop never interrupts a database migration.

  • Continue: the run starts again from where it stopped. Steps that are done are not repeated. By hand, run the same bundle again. After a force stop, the script asks The last attempt was force-stopped. Continue it? Check the database first.

  • Roll back: the panel button puts back the files and the containers from before the last upgrade. The panel asks "Roll back?" first. It does not put back data. Only your database backup does. On a server, run deploy.sh --rollback --install-dir <install dir>.

You can also stop a run on the server. Press Ctrl-C once for a stop. Press it a second time for a force stop. A run that you ran by hand stops in the same way.

By hand on a Linux server

  1. Carry the bundle to the server.

  2. Unpack it in a private folder. See Carry the bundle to a server by hand.

  3. Optional: check the server early. Run ./deploy.sh --adopt-check --install-dir <install dir>. This command changes nothing.

  4. Run ./deploy.sh.

  5. Answer the questions. deploy.sh asks only what nobody decided in DM.

Without a terminal, deploy.sh cannot ask. It stops with exit code 6. It prints ft-need lines that name each question. Nothing is changed. Run it on a terminal. Or answer in DM with Allow in advance.

From a Linux jump host, ./deploy.sh visits every server. On a server that it takes over, it first puts that server’s files in a private directory in /var/tmp. The install step then keeps a safety copy of the site’s own files, and only after that puts the new files in place. So /var/tmp on that server must be owned by root or by the login, have the sticky bit if other accounts may write to it, and have no link that another account can change. It also needs room for that server’s files, image archives included. The run checks both before it copies anything to any server.

Run the bundle from a Windows jump host

This is the walk from a Windows jump host. Use it when the servers cannot reach each other. For the other Windows way, see From a Windows jump host.

  1. Open the zip. Drag deploy-windows.cmd and deploy-windows.ps1 out next to it.

  2. Run deploy-windows.cmd -EachServer.

  3. Answer the questions once. The launcher asks them on this console for all servers.

The launcher copies the bundle to every server itself. It checks the free space on each server first. It checks all servers before it installs any. A server without enough room is named, and nothing is installed. Each server gets only its own images.

The launcher connects to each server several times. A key (-KeyFile) or an agent saves typing. Use -Logins logins.txt for different logins. Write one line for each server: <server-id> <login>.

Run the offline bundle

Use the offline way for a site without a route to FT HUB. Use the bundle Configuration + images.

  1. Carry the zip to the server. Use the way in the README of the bundle.

  2. Unpack it in a private folder.

  3. Run ./deploy.sh. The bundle holds the images. deploy.sh loads them. It does not pull. It does not ask about the registry.

On Windows, use the same bundle with deploy-windows.cmd -EachServer.

What the window Install steps tells you about this way

The window Install steps has the choice Install from: Linux jump server, Windows jump server or Each server. The header shows the file name. A badge reads Pulls images from FT HUB, or Images inside for the bundle Configuration + images. Under the badge the window says: "Every server needs a route to FT HUB. No route? Download Configuration + images." The notice Check these before you install (or Check this before you install) lists what the bundle found, for example a port that is used twice. The notice stops nothing.

For an installation that you brought in, the fold This installation was brought in from a server answers these questions:

Question in the fold Answer

What runs first

deploy.sh checks the server before it changes anything. If the check refuses, nothing outside .ft-adopt/ has changed.

Install directory

It is fixed from the inventory. It is not asked, so the default is not used.

Questions you may get

For a step that cannot be undone: Continue? when an administrator consented in DM, or Do you have your own backup? when the data cannot be backed up for you. If the backup of the database by DM fails, Has your own backup been made? is asked when an administrator allowed it. After a hard stop: Continue it?

Made for another directory

If deploy.sh says the bundle was made for another directory, run it again with --install-dir <pinned dir>. This is the directory that the installation is pinned to.

Exit code 3

The check refused. Nothing outside .ft-adopt/ changed. Read the sentence it printed, fix what it names, and run again.

Exit code 4

The run stopped at a safe point. You answered no, pressed Ctrl-C, or a stop was asked for. Run the same bundle again. It asks again and continues.

Exit code 6

A question needs an answer and nobody could be asked. Nothing was changed. From a jump host, the command asks the questions of every server on that terminal before any server changes. With no terminal, the lines that start with ft-need name each question and its --consent-for answer. Add them to the same command.

When it finishes

Collect the new inventory on each server: sudo bash <install-dir>/collect-inventory.sh --install-dir <install-dir>. Upload the post-inventory of each server to the upgrade review page. Until you upload it, the next bundle is made from older information.

If you choose Windows jump server, the window adds two folds.

Scripts blocked here? Open this fold when the launcher cannot run. If the window says "These steps need every server in one archive", download the archive of all servers first. Then run two commands in a console, in the folder of the zip:

  1. The first command copies the zip to the jump server (the hub).

  2. The second command unpacks the zip there in a private folder and starts deploy.sh. In it, replace <sha256> with the hash of the zip in lower case. Get-FileHash <file> shows the hash. Replace <kb> with the size of the zip in KB plus a tenth. Replace <user> with your login on the hub when the window does not know it.

The second command stops if the zip changed on the way or if /var/tmp is too full. The button Start another run (new folder) gives you a new folder name for the next try.

Good to know on Windows holds these answers:

Question in the fold Answer

Why not unpack the zip?

Windows drops the run permission of the scripts, so the zip goes to the hub unopened.

Your password

Your SSH client asks for it. The launcher never reads it.

PuTTY

Set Translation to UTF-8. If you do not, the tab view shows broken characters.

Closed the terminal window?

The install on the hub keeps running. deploy-windows.cmd -Attach <name> shows it again. The name is the private folder that the launcher printed. If you ran the pasted commands instead, the fold shows a command that shows that run again.

The credentials file

At the end the launcher copies ft-credentials-<installation>.txt into the folder where you started it. With the pasted commands, the file stays on the hub in /var/tmp/<run folder>/b. Save the values and delete the file.

File exists on mkdir?

That folder was used before. Press Start another run (new folder) and paste the two commands again.

Previous runs

The list names every earlier pasted run, newest first. Remove a folder only after that install has finished and you have saved the credentials file.

Ticks. You tick the steps of the window as you do them. The footer says "Ticks are saved in this browser". The ticks stay in this browser only. Other people and other browsers do not see them. Clear ticks shows after the first tick. It removes all ticks. With Windows jump server, it also starts a new run folder.

Step 8. Send the results back

Step 8 shows how to give DM the result of the run. Until you upload it, the next bundle comes from older information.

  • DM ran over SSH: open the upgrade review page. It shows the result when DM could read it from the server. If it shows none, collect the server report as in the next point.

  • You ran deploy.sh on a server: collect the new server report there.

sudo bash <install dir>/collect-inventory.sh --install-dir <install dir>

If two projects run from the folder, add --project <name>. Without it, the script asks which project. See Two projects in one folder.

  • You used the hub or the Windows walk: the run writes the files in returns/<name>-<date>/. On Windows it is .\returns\<name>-<date>\ next to the script.

Upload the files with the button Upload result files. It is on the step Results of the <date> upgrade of the upgrade review. The step Upload results of the page Install takes them too. For each server, upload <server>-post-inventory.json. Also upload <server>-adopt-check.tsv, if you have it. You can pick several files at once.

DM refuses a result in these cases:

What the page says What to do

This file does not say which upgrade ran, so it confirms nothing.

Collect the server report again after the run. Upload the new file.

Deployment Manager never issued this upgrade for that server.

You picked the file of another bundle. Pick the right file.

This file comes from a different server.

Upload the file in the block of its own server.

The upgrade on this server has not finished yet.

Finish the run. Then upload the file.

This file was collected on another server.

Upload the file in the block of its own server.

If something is refused

These are the refusals that you can meet on the way. The full list is in When something goes wrong.

What you see What it means What you do

This installation is not in the documented layout: …​

The server is not one folder with compose.yml and .env. The sentence names the rule that failed.

Bring it into the documented layout. Collect the server report again. Or stop its services and install it fresh. Then the data in the folder is not carried over.

<server> changed since the inventory: …​ Collect the inventory again and make a new bundle.

The server is not the same as when you collected the server report. A container, an image, or a password changed.

The script prints these steps under What to do next. Run collect-inventory.sh --install-dir <install dir> from the folder of that server in the bundle. If two projects run from the folder, add --project <name>. On the upgrade review, press Upload newer reports and choose the new file. Go through the page again. Press Download bundle and run the new bundle.

The kit that made this file cut a word out of a name: the value of <setting> is an ordinary word.

An older kit hid the value of a password everywhere, also inside image names and paths. Nothing was stored.

Download the inventory kit again. Collect the report on the server again. Upload the new file.

This upgrade would change <services> in a way that cannot be undone, and the bundle carries no consent for it.

No administrator consented to these steps, or the consent in the bundle is for another version than the server runs now. The sentence says which.

A support admin or a global admin approves the steps on the upgrade review. Then download the bundle again and run the new bundle.

A second compose file started a service.

DM never runs a compose file of the site. The settings of the file are not applied.

See A compose file DM did not make.

A secret has left the site: rotate it. The file was not stored.

The inventory file holds a secret value.

Change that secret on the site. Collect the server report again.

This file is larger than 20 MiB, so it is not an inventory.

You picked a wrong file.

Pick the file ft-inventory-<hostname>.json. With a project, the name is ft-inventory-<hostname>-<project>.json.

This DM server is older than the page.

The page and the server differ in version.

Ask an administrator to update DM.

<name> was brought in from an existing installation and has not been upgraded by Deployment Manager yet; its first change goes through an upgrade (deploy or bundle). The hint says: "Nothing was changed on the server."

DM refused to write to a server that it brought in and has not upgraded yet. This applies to the repair of a server over SSH (Fix it) and to the write in the dialog Server .env. Nothing of DM is on the server yet.

Do the first change through the upgrade review. Go through the page, then download the bundle or press Install. DM refuses for this reason only until the first upgrade has run.

Re-read servers is for an installation brought in from existing servers. Deployment Manager installed this one, so it already knows where each password is.

You pressed Re-read servers on an installation that DM installed itself. The hint says: "Nothing was changed."

Do nothing. DM already knows the passwords of this installation.

For stops, force stops, rollback and the failure codes of a run, see Step 6. Deploy.