If you are receiving retail related errors on cloud hosted environments. here is the solution:
Note: Below solution is only applicable if you’re not using the retail functionality at all and you have RDP access of the environment.
If you’re receiving Retail server related error than do the below steps:
Run the DropAllRetailChannelDbObjects.sql and you can find the script in below path K:\DeployablePackages\\RetailServer\Scripts”
This will drop all retail server objects but will be recreated during the update. After running the script, resume the update again.
If you’re receiving error related to above two and it is timeout error(check in the log file):
Find the step in the runbook and get the script location:
Copy the UpdateCloudPos to the desktop or any other folder as backup
Open the copy file in notepad and clear the script (empty file)
Copy the empty file back to the above folder and replace it.
Same steps you have to do for RetailStorefront.
Resume the package deployment.