For the operator

This page is for the person who runs the AdayoCRM server. Users do not need it: the user pages say what a user does.

Upgrade order

This is the move from release 0.24.0 to release 1.0.0. The steps of a later upgrade from 1.0.0 come with that release: do not use make upgrade for it.

The server is upgraded ahead of the plugin.

  1. Take a backup with make backup.
  2. Upgrade the server with make upgrade VERSION=1.0.0. Wait for the line upgrade: RESULT upgraded.
  3. Run the full check, then the check of the public path.
  4. Upgrade the plugin on each surface. The steps for a user are on Upgrade.

Release 1.0.0 adds no tool, no parameter and no return field, so no connector needs a refresh. Plugin 0.24.0 keeps working with a 1.0.0 server.

Switch coaching on

Coming soon (1.1.0) Coaching lets a user share their own voice profile with a manager or an admin, to coach them on how they write. See Share your voice profile for coaching. Coaching is off after the upgrade, in each workspace, until you switch it on.

  1. First the company tells its staff, in writing, how coaching works. A user can share their own profile with one manager or admin. A user can take the share back at any time. Each read is recorded, and the user sees these reads.
  2. Only then type make coaching STATE=on BY=<your name>. The command records your name and the time. On an install with more than one workspace, add ADAYO_WORKSPACE=<workspace name>.
  3. To switch coaching off, type make coaching STATE=off BY=<your name>. The shares are kept, and no profile is read while coaching is off.

The access log lists each read of a shared profile. Add a user gives the command that invites a manager or a service user.

Check a deploy

A deploy of an install that runs on a hosted Linux server is checked in two places.

The hosted server

A hosted Linux server installs security updates by itself at night. When an update needs a reboot, the reboot comes in a fixed early-morning window, after the nightly backup.

What the outage alert watches

Every install runs an outage alert every five minutes. It checks:

A check alerts after two failures in a row. The first run on which every check passes sends the all-clear. An alert names only a number, never a path, a service, a person or a message. The public health check covers the tunnel and the certificate, so neither has a check of its own.

Database accounts

When make refuses to run

Coming soon (1.0.1) An install’s make command refuses to run when make’s own variables come from the shell, the settings file or the command line, or with -i (--ignore-errors). Run it without them, for example env -u MAKEFLAGS -u GNUMAKEFLAGS -u MAKEFILES make <target>. The refusal comes before the command does anything, and nothing is changed. make reads variable definitions and flags from these, so a value or a flag that nobody typed could pass a check as if you typed it. One of make’s own variables (MAKEFLAGS, GNUMAKEFLAGS, MFLAGS, MAKEOVERRIDES, MAKEFILES or MAKECMDGOALS) typed on the command line as NAME=value is refused: leave the argument out, and give -k, -n or -s as flags, for example make add-user EMAIL=<address> ROLE=member. MAKE or MAKE_COMMAND from the shell, the settings file or the command line is refused too, because every inner make step runs MAKE: run env -u MAKE -u MAKE_COMMAND make <target>, and remove such a line from the settings file. A shell profile that exports MAKEFLAGS, for example for -j8, or MAKE, for example MAKE=gmake, is refused the same way.

Coming soon (1.0.1) make reset, make seed, make verify and make migrate-roundtrip delete or rewrite an install’s data. Each one refuses to run on a checkout that is not the scratch stack, unless the command line names the checkout’s own compose project, as ALLOW_DESTRUCTIVE=<compose project>. A value that comes from the shell or from the settings file is refused, and so is a value that names another project. When a command refuses, it changes nothing. make reset also refuses while the database does not answer and the data volume exists. Start the database with make up, then run make reset again. Never type ALLOW_DESTRUCTIVE on a live install. To run one of them on purpose while the shell sets MAKEFLAGS or GNUMAKEFLAGS, remove both variables for that one run: env -u MAKEFLAGS -u GNUMAKEFLAGS make <target> ALLOW_DESTRUCTIVE=<compose project>.