That is how I do upgrades.
Close the server, delete everything else except config.inc.php public folder and of course files folder. Add the files from the new release. Set Installed to off from the config and the run php tools/upgrade.php upgrade. See the full package installation guide here: https://github.com/pkp/ojs/blob/master/docs/UPGRADE.md