0

I'm trying to set up a Sitecore instance with Docker using the https://github.com/Sitecore/docker-examples/tree/develop/getting-started After init.ps1 the docker-compose up fails with unhealthy xdbsearchworker, cortexprocessingworker, xdbautomationworker and traefik containers. Checking the logs, I see

xconnect_1 | Login failed for user 'sa'.. The error occurred while attempting to perform the underlying storage operation during 'Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.StoreException: Error occurred while performing store operation. See the inner SqlException for details. ---> System.Data.SqlClient.SqlException: Cannot open database "Sitecore.Xdb.Collection.ShardMapManager" requested by the login. The login failed.

it seems that Sitecore.Xdb.Collection.ShardMapManager doesn't exist on the mssql container. Here are the databases that were created: enter image description here I tried the clean.ps1 to delete the mssql-data folder stop the containers and down them to let the script recreate it when upping them but still the same issue. I tried to create the database manually using the Sitecore.Xdb.Collection.Database.SqlShardingDeploymentTool.exe. It was created but with a different name than what I expected Sitecore.Xdb.Collection.Database.Sql.ShardMapManagerDb

1

Browse other questions tagged or ask your own question.