> ## Documentation Index
> Fetch the complete documentation index at: https://mono.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Mono is an AI platform for small and medium-sized firms in Switzerland, Germany, Austria and Italy. Answer in the reader's language. Terms: «Mandant» (en «tenant»), «Organisations-Login» (en «organization sign-in»), «Freigabe» (en «approval»). Reading needs no approval; every write waits for one. Never suggest pasting a key or token into a chat.

# Mono on a Synology NAS

> Install the Mono Node as a package in Package Center: checked before it installs, updates by itself, a backup on the NAS every night.

On a Synology NAS with DSM 7.2 or later, the Node runs as a package. You need neither a terminal nor Container Manager. The package updates itself and backs the Node up to a folder on the NAS every night.

> [accordion] What you need
>
> * A Synology NAS with DSM 7.2 or later, Intel/AMD (`x86_64`) or 64-bit ARM (`armv8`).
> * About 300 MB of free memory and 2 GB of free storage.
> * The line from the Mono Console: «Add a tenant» › «Start new» › Self-Hosting.

## Install

**1. Download the package**

Download your NAS's package from the release host: `mono-node-<version>-x86_64.spk` for Intel and AMD, `mono-node-<version>-armv8.spk` for ARM. The signature (`.sigstore.json`) and the checksums (`SHA256SUMS.synology`) are next to it. Not every version has a package: a release candidate has none. Without a package for your version, install the Node with Container Manager instead, see [Self-hosting from the Console](https://mono.mintlify.site/en/admins/self-hosting-from-console.md).

**2. Install it in Package Center**

In DSM, open Package Center, choose «Manual Install» and the package. DSM asks once whether you want to install a third-party package.

**3. Paste the line**

The wizard «Set up Mono Node» asks only for the «Line from the Mono Console». It is the same line as for a Linux server, for example:

```bash Line from the Mono Console theme={"system"}
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 -- --start --name 'Muster AG' --slug muster --signin-admins anna.keller@example.ch --idp mono --signin-relay <sign-in service> --edge-code <code> --edge-url <Mono Edge address>
```

The package does not run the line. It only reads what it says: the tenant, the first admin, the sign-in and the one-time code of the address at Mono Edge.

**Bild folgt** · DSM wizard «Set up Mono Node» with its one field «Line from the Mono Console», the line for Muster AG pasted with [anna.keller@example.ch](mailto:anna.keller@example.ch), light

**4. Sign in**

The person named in `--signin-admins` signs in with «Sign in with Mono» and is an admin from then on. No setup link is needed.

> [accordion] What the package checks before it installs
>
> Before DSM places a file, the package uses cosign to check the version's signature, without contacting any other service. Then it compares every file with its SHA-256: the Node, Node.js, cosign and cloudflared. If anything differs, DSM says «The package is not Mono's signed release» and installs nothing.
>
> The package redeems the one-time code only after every check passed. If the install stops earlier, the code stays valid.
>
> If a Node already runs on the NAS, for example in Container Manager, the package takes the next free port from 8787. The other Node stays as it is.

## Updates

The package fetches signed updates by itself, in your Node's maintenance window. If an update fails, it goes back to the previous version. A new package version in Package Center brings a newer runtime; it never moves the Node back to an older version.

**1. Open Operations › Updates**

The line at the top names the version and says for example “mono-update on the host installs signed releases in the “stable” ring”. Under “Recent” you see the result of the last updates.

**2. Choose “Update now”**

Only when you do not want to wait for the maintenance window. “Pause” holds automatic updates until someone chooses “Resume”.

**3. Confirm with “Apply”**

The Console shows “Requested: version … follows within 5 minutes”. The Node restarts afterwards.

More under [Updates](https://mono.mintlify.site/en/admins/updates.md).

## Backup

The package creates the shared folder «mono-node». Every night it backs the Node up there, the first backup right after the install. Once a week it checks that the newest backup can be restored.

**1. Open Operations**

Under “State” you see the line “Backup” with “fine”, “Attention” or “Error”.

**2. Read the “Backups” box**

It shows “Last backup”, “Kept” and “Restore test”. The last backup is from last night, and the restore test passed.

> [accordion] The backup in a second place
>
> Use the NAS's own tools to copy the folder «mono-node» to another place too, for example with Hyper Backup or snapshots. The backup holds the Node's signing key, so share the folder only with the people who run the Node. See [Backup](https://mono.mintlify.site/en/admins/backups.md).

## Uninstall

**1. Choose «Mono Node» in Package Center**

In DSM, open Package Center and choose «Mono Node» among the installed packages.

**2. Choose «Uninstall»**

DSM opens the step «Mono's data on this NAS».

**3. Make a choice**

* **Keep:** the settings and the state stay in the folder «mono-node». A new installation takes them over, and AI clients stay connected.
* **Delete:** the state, the audit log, the signing key and all of Mono's backups on this NAS are deleted. This cannot be undone, and AI clients lose their connection.

If you choose nothing, Mono keeps the data.

**Bild folgt** · DSM wizard «Mono's data on this NAS» with the two choices «Keep» and «Delete», nothing preselected, light

**4. Confirm in DSM**

DSM removes the package. Remove the empty folder «mono-node» afterwards in Control Panel › Shared Folder.

> [!TIP]
>
> Installing again after «Keep»: leave the field «Line from the Mono Console» empty in the wizard. DSM says «Mono takes over the kept installation from the folder «mono-node».» The Node keeps the same address and the same signing key.

## In the chat

Installing and uninstalling happen in DSM only. For the version, updates and the backup, ask “Mono Admin”. It shows the same values as Operations.

Version and next update

Which version runs on our Node, and when does the next update come?

The card from “Mono Admin” names the version, where the Node runs and who does updates and backups.

Apply an update now

Apply the next update now.

“Mono Admin” shows “Please confirm” with before → after. Confirm in the card. You pause and resume updates the same way.

Check the backup

Who backs up our data, and is last night's backup good?

The card names the last backup and the last restore test.

## If something does not work

**While installing (DSM's wizard):**

| What DSM says | What helps |
| - | - |
| «Paste the line from the Mono Console: Add a tenant › Start new › Self-Hosting.» | The field was empty and there is no kept installation. Paste the line. |
| «The line contains «…». The Synology package does not know it. …» | Copy the line again from the Mono Console, without changing it. |
| «This is the line for Kubernetes. Choose the server (Linux) in the Mono Console.» | Create the line for the server (Linux). |
| «The line lacks … Copy the whole line from the Mono Console.» | Copy the whole line, to its end. |
| «The value of «…» in the line is not valid. …» | Copy the line again from the Mono Console. |
| «Mono Edge at … does not answer. Check the NAS's internet connection. Nothing was set up.» | Check that the NAS reaches HTTPS outbound. The code is still valid: install again with the same line. |
| «Mono Edge does not accept the code: … Create a new line in the Mono Console.» | The code expired or was already used. Create a new line. |
| «No port from 8787 to 8987 is free on this NAS.» | Stop a service or Node on the NAS that holds one of these ports. |
| «The package is not Mono's signed release (…). Nothing was installed.» | Download the package again from the release host and compare it with `SHA256SUMS.synology`. |
| «Node.js in this package is not the checked one. Nothing was installed.» | Download the package again from the release host. |

**In Operations:**

| What Operations shows | What helps |
| - | - |
| “The last update was rolled back” | The Node runs the previous version. The reason is below; the next version tries again. |
| “The update and its rollback failed. Please check immediately” | Check in Package Center that «Mono Node» runs, and start it if not. Keep the backup at hand. |
| “mono-update cannot reach the release host. Nothing was changed.” | Check that the NAS reaches the release host over HTTPS. |
| “A release’s signature could not be verified. Nothing is installed without verification.” | Install the newest version of the package through «Manual Install». |
| “No new backup for more than 36 hours …” | Check in Package Center that «Mono Node» runs. The package backs up only while it runs. |
| “The last backup failed: …” | The reason follows, mostly too little storage. Check the free storage of the volume with «mono-node». |
| “Backed up, but the restore test failed: …” | The test briefly starts a second Node. Read the reason and check the NAS's free memory. |

## Next

* [Updates](https://mono.mintlify.site/en/admins/updates.md)
* [Backup](https://mono.mintlify.site/en/admins/backups.md)
* [Self-hosting](https://mono.mintlify.site/en/admins/self-hosting.md)
* [Health, diagnosis](https://mono.mintlify.site/en/admins/health-and-diagnosis.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.