Since your router is one of those making use of MediaTek MT7621A - MT7615N combination,
Provided you're comfortable installing LuCi manually,
You could give Development Snapshot builds a try and see if that improves the situation.
Due to bug(s),
I stopped testing/using the stable releases on DIR-878 and DIR-882 (MediaTek MT7621A - MT7615N) routers.
I can do that. But when I bought the router, I installed by mistake a dev snapshot instead of the stable one and configured LUCI myself. But I don't remember which one, but I think that there were a couple other packages that were not comptatible.
I may take a look at this option after Easter because I'll be out of the country a couple a days and I dont want to make the situation worse before leaving.
For now I'll schedule a reboot every night as a temporary patch..
Just a little follow up on this one.. I may have found the (or one of the) guilty package.
Few weeks ago, I updated my router to the latest version, and the issue diseapered.
I did not reinstall any of my previous packages(except VPN) to keep the setup clean.
After a few weeks running without issue, last week I wanted to limit bandwidth for a specific device, so after reading, I installed NFT-QOS (which was installed before but unused).
I was unabled to get it to work properly.. So I unchecked the "active" box in Lucy and I left it like that.
Two days later, my Internet speed was veeeeery slow, on all devices. As I knew that the only difference was the NFT-QOS "inactive" package, I decided to completely remove it.
I'm now on the sixth day without reboot with no issue at all.
So lesson learned, I'll go one package at a time and wait a couple of days to see if there are issues!