You need to check your config files because they are most likely missconfigured
You may notice in the above error the path ../system/upload/temp-long-code/install.xml. But system/upload is not the real path of the upload folder in opencart 2.1+, it is actually system/storage/upload. So the config files are missing a folder from the path and that creates the issue.
To solve it, you need to edit the admin/config.php and the root config.php files.
Once you open the files you might notice that not only the DIR_UPLOAD contant is incorrect but DIR_CACHE, DIR_DOWNLOAD, DIR_LOGS and DIR_MODIFICATION as well.
Their values is made by concatenating the DIR_SYSTEM value with their folder name:
And you need to add the storage folder before the actual folder name, like this:
Dont forget that you need to do this for the other constants mentioned above as well, and in both the admin config.php and the root one.
After you corrected the mistakes, save the files and you should be ok. While you're at it make sure the root config.php doesnt have a DIR_CATALOG constant in it, you can read more about that issue in the below article.