I have used raspberry pi3 for plex media server, the result is not so good. Maybe pi4 would be better. another consideration is the HDD size. U need to ensure enough power are operating on ur hdd. I tried exteral ssd with pi3 usb port, it seems like it is not enough.