Setting up nextcloud on a raspberry pi 3

Well you can have a look at the following two topics:

Other than that Nextcloud is not that different from ownCloud atm, so you can just update your ownCloud raspberry to Nextcloud: