Random overnight restarts/reboots? [probably changes to DX label community database]
I have a KiwiSDR2. I have it set to NOT install updates automatically and to NOT restart overnight. Yet it seems I get seemingly random reboots overnight. I've had it run for 2 weeks with no reboots, or sometimes 2 days. I'll log on the next morning and note the uptime is only a few hours.
Is it possible my Kiwi is restarting itself for some reason? Or is it absolutely power interruptions? Or does it reboot if it loses internet connection and that's a possible issue?
Not a huge deal, but if it's likely power interruptions, would be good for me to know.
-Nate
N8BTR
Comments
That sounds like a power supply issue, I've never seen unexpected reboots.
Maybe you can see using journalctl whether it was a clean shutdown, in that case there would be something like this:
I have enjoyed plenty of unexpected reboots of my KiwiSDR 1.
Sometimes it happens after somebody/something with the same IP address does something.
It's been a while since this has happened (latter part of 2023), but after fetching the log today I see a little over two weeks ago it happened again... but after somebody/something from a different IP address did something. Except this time, there's a long string of tabs in the log file between the "connection closed" last line before & the first line in the log after reboot with "KiwiSDR v1.xyz".
But then my KiwiSDR 1 has this annoying habit of the server resetting many times every day, so perhaps I got a dicky one. A possible contrary datapoint to that is in the kiwi-reboot-20xx.log files where I save seemingly relevant lines of the log immediately prior to reboots each year: the number of times this happens has varied significantly over the years (and of course, what happens immediately before a reboot). Can't be bothered to count the actual number of reboots now, but the length of these files are:
2018 - 134 kB
2019 - 718 kB
2020 - uh oh, where'd the file go?
2021 - 450 kB
2022 - 30 kB
2023 - 23 kB
2024 to today - 27 kB
Power supply/dicky power connector issues are often the cause for others & therefore will be suggested, but those aren't the only reason.
-vr2bg.
Power supplies have generally been the biggest cause of "random" issues, so it's always worth trying another type, with a different cable and connector, just to be sure.
Regards,
Martin
OK, did the journalctl and looked at it since before the last reboot.
So if I'm understanding correctly, the KiwiSDR saw there was an update to the DX Label database, and downloaded it (since I have that option enabled), and thus commenced a restart then to update the DX database. Is that right? In which case, OK, that makes sense why it would be overnight. It checks for updates then, and restarts the Kiwi if there's a DX label update.
-Nate
N8BTR
So if I'm understanding correctly, the KiwiSDR saw there was an update to the DX Label database, and downloaded it (since I have that option enabled), and thus commenced a restart then to update the DX database. Is that right?
Correct. And this possibility should be called out on the admin status tab:
I have been making updates to that file recently.
Ahh, of course, it's all laid out there! Thanks!
Mystery solved. :-)
-Nate
N8BTR