local-update
system/package/local-update
Type: Directory
Instead of connecting directly to MikroTik servers, you can upload package files to one of your local RouterOS devices and use it as a local package server.
| Argument | Type | Description |
|---|---|---|
| download | bool | Whether to download available packages from the local package server. |
| Read-only Argument | Type | Description |
|---|---|---|
| source | alt { ip6Addr , ipAddr } | IP address of the local package server. |
| name | string | Name of the package. |
| version | string | Version of the package. |
| status | enum (installed | downloaded | downloading | scheduled | available) | Current status of the package. |
| completed | num | Download completion percentage. |
system/package/local-update/download
Type: Command
Download specific compatible (matching device architecture) packages that are available on the local package server. Downloaded packages are saved in the root directory.
system/package/local-update/download-all
Type: Command
Download all compatible (matching device architecture) packages that are available on the local package server. Downloaded packages are saved in the root directory.
| Argument | Type | Description |
|---|---|---|
| download-beta | bool | Whether to include beta packages when downloading all compatible packages. |
| reboot-after-download | bool | Whether to automatically reboot the device after all packages finish downloading. |
system/package/local-update/mirror
Type: Settings Directory
You can mirror packages (for all architectures) from your main local package server by using this menu. Downloaded packages are saved into the packs folder in the root directory.
| Argument | Type | Description |
|---|---|---|
| enabled | bool | Whether to enable periodic check and download of packages from the local package server. |
| primary-server | alt { ip6Addr , ipAddr } | IP address of the primary local package server. |
| secondary-server | alt { ip6Addr , ipAddr } | IP address of the secondary local package server. |
| check-interval | time | Time interval at which the device checks the local package server for new package availability. If a new package is located, the package download begins. Only downloads the packages that are not already present on the device. |
| user | string | Username for accessing the local package server. |
| password | string | Password for accessing the local package server. |
| Read-only Argument | Type | Description |
|---|---|---|
| software-id | string | Software ID of the device. |
system/package/local-update/mirror/force-check
Type: Command
system/package/local-update/refresh
Type: Command
Refresh and check the list of available compatible (matching device architecture) packages on the local package server.
system/package/local-update/update-package-source
Type: Directory
The server from which to get the package is defined in this list.
| Argument | Type | Description |
|---|---|---|
| address ( mandatory ) | alt { ip6Addr , ipAddr } | IP address of the local package server. |
| user ( mandatory ) | string | Username for accessing the local package server. |
| password ( mandatory ) | string | Password for accessing the local package server. |