Are you using the Home Assistant Shelly integration?
If so, take particular note of this:
Shelly devices use the CoIoT protocol to communicate with integration. For Shelly firmware 1.10.0 or newer, CoIoT must be enabled in the device settings. Navigate to the local IP address of your Shelly device, Internet & Security >> ADVANCED - DEVELOPER SETTINGS and check the box Enable CoIoT.
And this:
We recommend using unicast for communication. To enable this, enter the local IP address of the Home Assistant server and port 5683 into the CoIoT peer field and push SAVE button. This is mandatory for Shelly Motion with firmware 1.1.0 or newer. After changing the CoIoT peer, the Shelly device needs to be manually restarted.
I’m also using the MariaDB add-on;
I’ve rebuilt the system multiple times trying to get rid of unwanted restarts, but without a log that is persistent on restarts it’s almost impossible to do
I’m down to a random restart every 2-3 weeks now