LinuxCommandLibrary

synoupgrade

Upgrade a Synology DiskStation Manager (DSM) from the command-line.

TLDR

Check if upgrades are available

$ sudo synoupgrade --check
copy


Check for patches without upgrading the DSM version
$ sudo synoupgrade --check-smallupdate
copy


Download the latest upgrade available (use --download-smallupdate for patches)
$ sudo synoupgrade --download
copy


Start the upgrade process
$ sudo synoupgrade --start
copy


Upgrade to the latest version automatically
$ sudo synoupgrade --auto
copy


Apply patches without upgrading the DSM version automatically
$ sudo synoupgrade --auto-smallupdate
copy


Upgrade the DSM using a patch file (should be an absolute path)
$ sudo synoupgrade --patch [/path/to/file.pat]
copy


Display help
$ synoupgrade
copy

Copied to clipboard