If Nextcloud has solved whatever issues were happening in 2020, it still doesn't necessarily instill confidence because one can remain skeptical and assume there are new issues still happening in 2023. E.g. https://github.com/nextcloud/server/issues
It's going to take some time to wade through all those Github issues to determine if there are any showstoppers that would affect one's installation. This doesn't look like a low-maintenance solution. The gp's wording of "dedicated the time" seems very relevant. Copy&paste of some YAML doesn't really address the work involved.
For photos I recommend Immich (https://immich.app/) - recently switched from nextcloud to immich and it's ridiculous that this is free and opensource software - it feels so premium.