You can use the upgrade tool which is even easier if you are on a current version of owncloud. Even though the article doesn't say anything about updating from owncloud, the first article I posted does say you can use this method on current owncloud servers. You just switch the update channel and search for updates.
https://nextcloud.com/blog/get-up-to-date-with-the-new-nextcloud-updater/