
PU40 d365F&O
Step 60
globalupdate script for service model: retailserver on machine
updateretailchanneldatabase.ps1 failed.
Hi Joham031,
If you are not using Retail Channel functionality, you can try re-creating the Channel DB following the below steps. The following steps will indicate how to remove the Retail Channel Database components from the AOS database.
1,Connect to the intended environment.
2,Find the latest deployable package applied to the environment. It will be under folder <ServiceVolue>:\DeployablePackages\<PackageGUID>
3,Under the deployable package folder, find the following SQL script <ServiceVolue>:\DeployablePackages\<PackageGUID>\RetailServer\Scripts\DropAllRetialChannelDbObjects.sql.
This script, when run against the AOS database, will remove all objects related to the Retail Channel Database. Only proceed if you are not using the Retail Channel functionality.
4,Connect to the AOS database and run the above script. This operation will take several minutes.
5,Resume the package deployment or start the package deployment to have the Retail Channel components recreated correctly.