What you need
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.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: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.
Line from the Mono Console
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.What the package checks before it installs
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.
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.
The backup in a second place
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.
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.
4
Confirm in DSM
DSM removes the package. Remove the empty folder «mono-node» afterwards in Control Panel › Shared Folder.
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
Apply an update now
Check the backup
If something does not work
While installing (DSM’s wizard):
In Operations: