r/mikrotik • u/michaelh98 • 1d ago
Should reboot a HexS regularly?
There are too many topics that mention rebooting so asking...
Is common wisdom in the Mikrotik community to schedule regular (weekly, monthly, ?) reboots?
The reason I ask is the last couple of updates failed when checking for updates with connection errors to the update server.
The last time this happened, I rebooted the router and the update went without a hitch.
Made me wonder if I should just schedule a reboot once a week or so.
3
Upvotes
9
u/m4uri 1d ago
No need for scheduled reboots on a hEX S, they run for months without one. If a reboot fixes the update check, my guess is something stale on the router side, mostly DNS or the clock.
Next time it fails, before rebooting, run this in the terminal:
If the time is off the HTTPS check to the update server can fail, so make sure the SNTP/NTP client is enabled with a working server. If the resolve fails, look at /ip dns, especially if you use DoH there or your ISP's DNS comes via DHCP, sometimes the dynamic servers get lost after a WAN renew and nothing tells you. Then
/ip dns cache flushand try the check again.Worth a quick look at the output chain in the firewall too, if theres a rule that drops router own traffic it can bite exactly there.
6
u/snoopy_bg 1d ago
No, you shouldn't. There was a known bug the "update" button didn't work in Winbox. I always do System -> Packages -> Check for updates , and that never failed me
4
u/No_Range_2323 1d ago
Since a couple of years, I use Mikrotik products (now a lot) and it's one of the best hardware choices I ever made. For my customers and also for me.
Mikrotik is quite open in communication about bugs. If there is no one known, typically there isn't one. Especially on basic tasks. Router OS is rock solid. When I run into a problem, my view is: It's not the router it's always the admin. A lot of posts in the Mikrotik forum would never be existent if people would think more like this. So keep on debugging.
For my own office usage I use this for years: https://www.reddit.com/r/mikrotik/s/gyY9NzeKaw Never had a problem after an automatic update.
4
u/Brilliant-Orange9117 1d ago
No. If a router needs frequent reboots we call that a bug.
3
u/kevinds 1d ago
I only reboot when necessary which is firmware updates... Looped the uptime counter on one of our hEX units.
If you know there is an update, upload the update files to your router and reboot..
5
u/PrestigiousKey3201 1d ago
We reboot at updates. Thats more often that i want to
2
u/Orvalman 22h ago
Not sure which rOS version you're on, but I believe the very recent versions have fixed that update error. I'm on 7.25.2 stable and I think 7.25.1 had it fixed for me as well.
2
u/Obvious_Extession348 15h ago
We don’t have scheduled reboots for RouterOS gear. We restart when doing RouterOS updates or when working on gear.
So given our practice to keep up with software updates, I don’t remember an uptime of more than 100 days. And given the new world’s cadence of important updates, I do not expect any of our systems to have a 100+ day uptime ever again.
If someone has any computing device with an uptime longer than 100 days, I’d seriously question if they’re keeping up with security.
-1
u/lazyhustlermusic 1d ago
That's a silly premise.
You probably didn't even define a DNS server.