Exponential Network Docs Checks, reports and install keys
← Command reference

Checks, reports and install keys

// updated · xne 0.3.0.14

xne command reference: Checks, reports and install keys.

check

xne check [--root=DIR] [--no-notify]
  What each channel offers the install and the advisories that affect it: from the Exponential Network
  server (network_url), signed when the install has a key, else from the release sources. Runs the notify
  hooks (notify_problem_cmd, notify_ok_cmd, notify_event_cmd; setting notify). Exit 0 also when an upgrade is available (see upgrade_available).

Asks network_url what each channel offers and which advisories affect the install (signed when the install has a key, anonymous otherwise: then only the version is sent); when the server cannot be reached, the release sources answer. upgrade_available and security in the result say whether to act. Exit 0 also when an upgrade is available; exit 3 when the server refuses the key. --no-notify (or notify=none) sends no notification. The notify hooks are described in server.md.

report

xne report [--root=DIR] [--dry-run]
  Sends the install's report at report_level (version, health, full) to the server, signed with the install
  key. Never content, users or settings values. --dry-run shows the report and sends nothing.

Sends the install's report at report_level (version, health or full) to the server, signed with the install key; without a key it is refused. A report never holds content, users or settings values. --dry-run prints the report and sends nothing.

key:set

xne key:set [--root=DIR | --domain=DOMAIN] < keyfile
  Stores the install key "<id>:<secret>" read from stdin (never an argument) in a 0600 file.

Reads <id>:<secret> from standard input (never from an argument, so it does not show up in the process list or the shell history) and stores it in a 0600 file in the state folder. --domain=DOMAIN finds the install of a hosted domain instead of --root.

key:status

xne key:status [--root=DIR]
  The install key's id and fingerprint, never the secret.

The install key's id and fingerprint, so it can be compared with the server's record; never the secret.


← Backups and rollback · Server commands (the API and mirror nodes) →