To update to joomla V5 I created a new MySql8 database, took a backup of the site and used the Restore in Manage Backups / Actions to restore the site in situ using the updated database.
All went well until it came to remove installation directory which gave:
"An Error Occurred: We could not remove your installation directory automatically. Please close this message box by clicking the × button on its top right corner. Then proceed to remove the installation directory manually, as per the last bullet point of the instructions found on this page."
Checking with FileZilla and installation directory did not exist.
The site restored just fine and was able to update to joomla 5 no problem
it is only a cosmetic minor issue.