[Features]
- Add logs to update failures
-
- Full logs for --verbose
-
- Logs limited to 500 characters for non-verbose
[Improvements]
-
Attempt fix towards updates reporting they failed, when they have not
-
- Specifically handle middlewared timeouts, which is usually the cause of these false reports
-
Print better error messages for updating, such as:
-
- If the command itself times out, say so, and recommend a higher --timeout
-
- If middlewared consistently times out, recommend a lower number of concurrent updates
-
- If snapshots preventing updates are not being deleted, state that
-
- Otherwise print out an error for the user
-
If the update command returns that there is no update available, report that as a successful update
[Other]
- Remove restart container logic after updating container images
- Do not self update if -h or --help is called, in any context.
- Change "Removed Docker Images" to just "Removed Images".
[Notes]
- If you set a ridiculous timeout, such as 99999, then you may have to wait that long if middlewared does not have internal timeouts for its update functions. Do NOT report these as errors to me.