What is everybody using as hardware for their Plex Server?

I've been using the NVidia Shield for several years now, but every 2-6 months the database seems to corrupt and I need to reinstall the Plex Server app and refresh the movie database. It's driving me crazy. Curious what others are using as their server hardware - thinking of a mini pc but I'd like to know what specs it should have to be able to run Plex efficiently. Thoughts and recommendations are appreciated. Thanks!