What you need
What you need
- Linux on amd64 or arm64 (Ubuntu 22.04 or 24.04, Debian 13, DGX OS, Raspberry Pi OS 64-bit), 2 vCPU, 2 GB RAM for the Node, 5 GB of free storage and running time synchronization (NTP).
- Docker Engine with the Compose plugin, or Node.js 22 for running with systemd.
- For automatic updates, the nightly backups and running with systemd: Mono’s own Node.js 22 and cosign 2.6 or later. From Mono 0.6.15 the line brings both, checked: Node.js into
/opt/mono/update/runtime(owned by root, used by its full path), cosign into/opt/mono/bin– only where they are needed. The system’s Node.js is never installed, replaced or required: a host with an older/usr/bin/node(Debian 12, Ubuntu 24.04) installs as it is. A Docker server without updates and backups gets neither. - Outbound: HTTPS to Mono’s release host and to your tunnel. Inbound: nothing.
- A Raspberry Pi 4 or 5 with a 64-bit system and at least 2 GB RAM. The installer refuses a 32-bit system.
- A Synology or QNAP NAS: at least 1 GB of free memory for the Node beside DSM or QTS and your other containers. Measured, the Node used 134–152 MB while running, more while reading documents. A NAS with 2 GB RAM in total is enough only without other containers; otherwise it swaps and slows down.
- A way in from the internet for Claude, ChatGPT and Copilot: the key for Mono Edge from Mono, or your own Cloudflare or Tailscale account. Without the key, the installer shows “Mono Edge · Coming soon” and proposes “Local only”; without Mono’s sign-in relay, “Sign in with Mono · Coming soon”, and the first admin uses a passkey through the setup link.
Install the Node
Get the line
Run the line on the host
--kubernetes runs without root.https://releases.cloud.ask-mono.ch/install) the line installs the newest stable version; you choose another version with https://releases.cloud.ask-mono.ch/v/<version>/install.Answer the installer’s questions
install.sh asks for each value, in the host’s language; another one with --lang en (de, fr, it, rm). The line from the Console and from “Mono Admin” already carries their language:--port), Mono’s sign-in relay (--signin-relay for a test stage) and the e-mail domain (in the Console under Access › Sign-in).The installer does not show a secret value while you type.Running the line again starts from the saved settings: it keeps every answer and asks only what is missing. An option changes its value, for example --console-origins or --admin-group (who is admin changes at the Node’s next start). --review asks every question again, with the saved answers as defaults.Set up the first admin
https://ki.muster.example/einrichten#code=ABCD-EFGH-JKMN-PQRS. It is valid for 60 minutes and for one use; the installer names the time until when. It shows it only when your server answers at its address (“Mono is running: …” with the address), else it says what is missing. sudo mono setup-link on the server gives a new link; a server that has an admin already says so. Give it to exactly the person who becomes admin, never in a chat or a ticket. The time until which it is valid is the host’s time, in the host’s time zone.The person opens the link, sees “Set up Muster AG” and signs in. Whoever signs in this way first, with a verified address, becomes the first admin.If your Node has passkeys as its only sign-in (the install line’s default without “Sign in with Mono”), the link opens the page “First admin of Muster AG”: the person gives a name and an email address and creates a passkey with Touch ID, Face ID, Windows Hello or a security key. Afterwards they are signed in to the Mono Console. The address is given by the person: Mono does not verify it and ties no right to it. A browser creates passkeys only at an address with https or at http://localhost; otherwise the page says what to do.sudo mono setup-link --mandant muster. The mail goes only to an address that just signed in through Mono at exactly this Node.
How the Node can be reached
local. If you type edge anyway, the installer asks for the address service and says where it is: in the Console’s line after --edge-url. Enter there goes back to the reachability. So reserve the address in the Console under “Start new” › “Self-Hosting” and run its line, or choose another reachability. Later, you change the reachability only on the host. Operations › “Custom address” › “Change reachability” shows the command for it.
What happens next?
What happens next?
- Updates are on from the start: the Node fetches signed updates itself, in the “stable” ring and in the maintenance window daily 02:00–05:00. For this, the line brings Mono’s own Node.js (into
/opt/mono/update/runtime; the system’s Node.js stays as it is) and cosign where it is missing. To switch only the updates on or off: the same line with--updates-onor--updates-off– it changes nothing else. At the end, the installer says in one line what it set up and how to change it. Without updates:--no-updates– the server then stays on its version until someone updates it: the same line for this server brings it to its release by hand, and updates stay off. On a host with several Mandanten, another Mandant’s update changes nothing on this server – neither its program nor its Console. Running the line again keeps what the server had;--updatesturns them back on. More in Control updates. - Every night, the host backs up the state and keeps it for 14 days. More in Backup and restore.
- On a device in the office,
ssh <user>@mono-ab12.localfinds the host on the local network. This name does not lead to the Console.
A new setup link
A new setup link
sudo mono setup-link --mandant muster issues a new one. The previous link is then no longer valid. If the Node already has an admin, the page says “Muster AG is already set up”. A Node that signs in through your own organization sign-in issues no setup link: the installer says so and names the admin group, or you add --signin-admins with the address of the first admin to the line.A lost passkey
A lost passkey
sudo mono setup-link --mandant muster --recover on the server issues a recovery link. It is valid for 60 minutes and for one use. Through it the person creates a new passkey; their earlier passkeys stop working then, and every other sign-in of theirs ends at once: the Console in other browsers and in the desktop app, the AI clients and the kept sign-in of other browsers. Keys for AI clients without OAuth and the person’s open links and tickets end too, such as a link to add a passkey and the page for talking to Mono. The browser that creates the new passkey stays signed in. Their consents for AI clients stay: an AI client connects again with the new passkey. The link comes only from the server, with administrator rights there, never from a web page, and only while that person is the only admin. If there is another admin, that admin signs in. The Node records every request and every recovery in the audit log. Operations and Access › Sign-in show the recovery with its date as a line of its own, and after signing in the person sees the notice “Your passkey was replaced from the server on …”, which only they can close.Open the setup link from your own computer
Open the setup link from your own computer
http://localhost:8787 and has no screen, the link opens only on the server itself. The installer then shows the one line that forwards the port to your computer, for example ssh -L 8787:localhost:8787 anna@server. Run it on your computer and open the link in the browser there. The address stays localhost, so the passkey works the same way later.Connect a sign-in provider later
Connect a sign-in provider later
A device with a screen
A device with a screen
install.sh --firstboot shows the setup link as a QR code on the screen as long as there is no admin. Leave this out on a shared server.Identity provider on the internal network
Identity provider on the internal network
--extra-hosts idp.firma.intern=10.0.0.5: names the Node resolves itself, several separated by commas. Otherwise a container knows only the network’s DNS.--ca-file /path/ca.pem: the CA of your certificate in PEM format, in addition to the public CAs.
none removes it. By hand they are MONO_EXTRA_HOSTS and MONO_CA_FILE in the settings file; then use the restart Operations names.A device without a screen
A device without a screen
curl -fsSL --proto '=https' --proto-redir '=https' --max-redirs 2 https://releases.cloud.ask-mono.ch/v/0.7.0-rc.2/install | sh -s -- --mandant muster --device-code. You open it on your phone, sign in and confirm. See First admin with a device code.Several tenants on one host
Several tenants on one host
MONO_KEYS_FOR
Instead of a key, an admin can name a variable of your server’s settings for a system or a model provider (env:MONO_KEY_…). Your server sends it only to the addresses you, the operator, allow for it. Anything else is refused before anything is sent, and the message says what to add.
Read the refusal
Add the line
/etc/mono/node.env, with Docker .env, in Kubernetes the Secret node.env) add MONO_KEYS_FOR=MONO_KEY_CUSTOM=api.example.com. Separate several addresses with commas and several variables with semicolons: MONO_KEYS_FOR=MONO_KEY_CUSTOM=api.example.com,api2.example.com;MONO_KEY_MISTRAL=api.mistral.ai. With install.sh, use --keys-for. If your server has several Mandanten, name in each entry after «@» the Mandant it is for: MONO_KEYS_FOR=MONO_KEY_CUSTOM@muster-ag=api.example.com, for several @muster-ag,firma-b. An entry without a Mandant holds only on a server with exactly one Mandant; on a server with several it holds for none, and the log names it at start (env_keys.no_mandant).Restart the server
docker compose up -d. systemd: systemctl restart mono-node (or mono-node@<tenant>). Kubernetes: replace the Secret and restart the pod.Connect again
What is never allowed, and what holds after the update
What is never allowed, and what holds after the update
- The variables your server uses itself never belong to a system or provider, not even with
MONO_KEYS_FOR:MONO_KEY_CONNECT,MONO_KEY_WORKERand the keys of the instances and speech engines in your settings. Create a variable of its own for such an address. - A reference set up before 0.6.16 keeps working after the update for exactly the address it had then. If the address changes, Mono removes the reference, like a stored key.
- Except: a reference to a variable your server uses itself (for example
MONO_KEY_CONNECT) ends at the update. The system or provider then lacks its key; an admin enters one of their own through the one-time key link. The audit and the log (env_keys.own_ended) name each such reference. Every reference that still holds is in the log at each start (env_keys.kept): check that every address there is yours, and otherwise replace the key. - The same rule holds for
MONO_IDP_…of a sign-in method an admin adds: never a name your server’s own sign-in uses, otherwise only for the issuer you name inMONO_KEYS_FOR(for exampleMONO_IDP_OIDC_SECRET=login.firma.ch). A sign-in method from before the update that uses one of your server’s own variables keeps working, so nobody is locked out; the log names it at each start (identity.secret_own). Have the admin enter a key of their own, then replace the variable. - Mono Cloud and the Private Cloud read no variables. There a key goes on the key page.
- The whole list is yours, as the operator: at start the server logs every
MONO_KEY_…variable without a line inMONO_KEYS_FOR(env_keys.unlisted), with the line to add. Never with the value. MONO_KEYS_FORnames host names: every port and every path of that host gets the key. A host that serves several customers by path (a hook or function service) therefore gives it to all of them. The whole line to set is in the log at start (env_keys.line) – check that every host in it is yours.- Operations shows a Mandant’s admins under “Keys from the settings” only their own systems and providers that name a variable, and whether it is allowed for their address – never another Mandant’s address and never a variable none of their systems names.
- Without a variable it always works: the one-time key page stores the key in the server’s key store.
In the chat
If “Mono Admin” is connected, you ask in Claude or ChatGPT how your Node is running.Shows the Node's version, health, updates and backup.
Installs the next update. Mono asks with “Please confirm”.
If something does not work
Next
Custom address
Connect an AI client
Mono on Kubernetes
Remove Mono from the host
--uninstall: what goes, what stays.