UPnP/DLNA will not work unless Addons19.db is removed

I encountered the same issue on this thread.
The OP found a hacky fix which was deleting “.kodi/userdata/Database/Addons19.db”.
It worked temporarily. After reboot you need to do it again.
I don’t have any addons installed.

Here are the logs: (I tried one mkv and one mp4 file)