We release using a devops release pipeline without a slot swap.
In which steps should we call the CD restore? First release the CD repository, then call the CD restore, and after that release the app and do the upgrades?
We now have a problem when calling CD restore, because a module-init tries to insert some records in a table which is not there yet. Too bad the module init runs before the CD restore when calling:
dotnet Site.dll --kxp-cd-restore --repository-path .\App_data\CDRepository
Site.dll is in this case the dll from the new release. (with the newly added tables / module code)
Environment
Xperience by Kentico version: [30.8.0]
.NET version: [9]
Execution environment: [Private cloud (Azure)]