Skip to main content

UpdateStatus

currentVersionstringrequired

Installed Hoserva package version.

availableVersionstring

Newer version on the configured channel, if any.

availableTagstring

Git tag of availableVersion, if any.

changelogstring

Release notes for availableVersion, if the index carries them.

channelUpdateChannelrequired

Release channel the update check reads from the release index.

Possible values: [stable, beta]

checkEnabledbooleanrequired

Whether the periodic outbound update check is enabled.

previousVersionstring

Version rollback would restore, if an upgrade has been applied.

rebootRequiredbooleanrequired

Whether /run/reboot-required is present.

pendingDebianUpdates object[]required
  • Array [
  • namestringrequired
    installedVersionstringrequired
    candidateVersionstringrequired
  • ]
  • dependencies object[]required
  • Array [
  • namestringrequired

    Debian package name (mergerfs, snapraid).

    installedVersionstringrequired
    testedFloorstringrequired

    Lowest version this Hoserva release was tested against.

    inRangebooleanrequired

    True when installedVersion is at or above testedFloor.

  • ]
  • blockingJob object

    A running Parity, Array-write or Topology job that would refuse an update, rollback or (until it finishes) a reboot.

    idstring<uuid>required
    typeJobTyperequired

    Every job type, each belonging to one of the mutually exclusive job classes.

    Possible values: [sync, scrub, fix, check, rebalance, evacuation, share_relocation, mover, vm_disk_relocation, disk_format, disk_add, disk_remove, disk_replace, disk_upgrade_data, disk_upgrade_parity, pool_remount, migration_scan, migration_import, migration_verify, migration_parity, appdata_backup, appdata_restore, appdata_restore_preview, restore_drill, config_backup, container_update, container_recreate, stack_start, acme_issue, vm_start, vm_stop, vm_create, vm_delete, vm_snapshot, vm_clone, vm_migration_import]

    classJobClassrequired

    The mutually exclusive job class the scheduler enforces.

    Possible values: [parity, array_write, topology, service, vm]

    UpdateStatus
    {
    "currentVersion": "string",
    "availableVersion": "string",
    "availableTag": "string",
    "changelog": "string",
    "channel": "stable",
    "checkEnabled": true,
    "previousVersion": "string",
    "rebootRequired": true,
    "pendingDebianUpdates": [
    {
    "name": "string",
    "installedVersion": "string",
    "candidateVersion": "string"
    }
    ],
    "dependencies": [
    {
    "name": "string",
    "installedVersion": "string",
    "testedFloor": "string",
    "inRange": true
    }
    ],
    "blockingJob": {
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "type": "sync",
    "class": "parity"
    }
    }