You should also clear all caches when upgrading.
Go to "Maintenance" and click "Flush":
Additionally, after an upgrade to a new major version, you should also delete
the other temporary files, which TYPO3 saves in
typo3temp/. In the
Install Tool go to "Clean up" to do so.