I've been hosting Nextcloud since version 13 and have upgraded 7 times in total, to version 20 now. Never had a single issue upgrading. I'm hosting via Docker, so upgrading is as simple as pulling and starting a new image. Nextcloud takes care of upgrading tables etc itself and has never failed on me.