|
|
@@ -15,6 +15,8 @@ An inventory mode per unit decides what NetPulse expects from it (#1917). `auto`
|
|
|
|
|
|
### Fixed
|
|
|
|
|
|
+- The scheduled config backup now covers units that only answer over SSH (#1924). The weekly tick walked the connected agents and sent them the command, so a unit that cannot run the agent could be backed up by hand but never on schedule, which is the case the schedule exists for. The same pass runs the SSH path afterwards for every OpenWrt unit that is not agent-only and that its own agent did not already serve, and the archive lands where the firmware page already lists it. One unreachable unit logs a line and the pass continues with the rest, the week is only marked as done when at least one unit was copied, and the SSH pass is spaced ten minutes apart so a unit that is down is not dialled twice a minute.
|
|
|
+
|
|
|
- An agent install keeps its output even when the script fails (#1894). The install script narrates everything it does on stderr, error messages included, and the SSH pool returned stdout only and an empty string whenever the command exited non-zero, so a successful install left no line in the journal and a failed one still arrived as "exit status 1" with the reason thrown away one layer below the handler that had just been fixed to keep it. Script runs now merge both streams and return what was captured whether they succeed or fail, uninstall writes to the journal as well, and the script says what it is doing on stdout, so a normal install leaves a trace in the journal and in the box on the page.
|
|
|
|
|
|
- A slow install is no longer reported as a network failure (#1894). The browser gave the reinstall request ninety seconds while the handler waits for the script, which can take five minutes when the router has to download the binary, and then forty seconds more for the first push, so the page gave up on an operation that was still running and painted the bare word "network" in red, keeping it until a manual reload even after the agent was up and reporting. The limit now sits above the server's worst case, a timeout is told apart from an unreachable server, and both are translated instead of shown as a code.
|