Uploaded image for project: 'Mender'
  1. Mender
  2. MEN-1905

mender -check-update

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:

      Description

      When developing, testing and diagnosing (i.e. being logged in to the device), it is useful to be able to trigger a check if there is any update available, rather than waiting until the next update poll to happen.

      Note that this functionality is only useful when running Mender in managed mode. If you are running in standalone mode then you are already able to trigger updates manually.

      Because this is for managed mode, we can assume that the mender daemon is already running, and -check-update would just make the existing mender daemon it check for updates now instead of waiting until the next poll interval kicks in.

      Acceptance criteria

      • New mender CLI option to trigger update check towards server
      • update check is carried out by the mender daemon already running
      • if there is an update available, the install and reboot carries on, just like if a poll interval was hit

        Attachments

          Container Issues

            Activity

              People

              • Assignee:
                oleorhagen Ole Petter Orhagen
                Reporter:
                a10003 Eystein Maloy Stenberg
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support

                    Summary Panel