Nextcloud definitely seems solid... but let's be honest, it is definitely a resource hog. I tried deploying NextCloud on a VPS with 2GB of RAM, with most features turned off. The instance was empty. After a few minutes, I started getting alerts that I was using 100% of my memory.
Nextcloud isn't gonna work the way you expect it to with 2GB of RAM. It doesn't seem like you'd be able to run this on some cheap, low powered device.
Someone rewrite it in Rust! 😅
Seafile is an alternative for self-hosting: https://www.seafile.com/en/product/seafile_on_premise/
I haven't tried it. Seems to be more efficient than Nextcloud. It also has way less features. So. 🤷