Carsten Rieger wrote an intense Installation Guide for the Nextcloud 11 Server on Raspberry Pi 3. Highly recommended if you want to set up a new server:

https://www.c-rieger.de/nextcloud-installation-guide/