22
votes
Accepted
Why won't Visual Studio load symbols when attaching to a container's w3wp process?
You need to set the code type to Managed (.NET 4.x) code in the Attach to: section of the Attach to Process dialog in order for debugging to work. Automatic does not load symbols.
15
votes
Accepted
Does Sitecore have support for Sitecore products in containers?
While currently Sitecore cannot provide guidance on how to develop or host them in a containerized environment other than those examples, but if you are hosting a Sitecore solution within a ...
12
votes
Accepted
Local Sitecore containers unable to access Docker DNS
After a lot of research and troubleshooting, we were able to resolve this issue. It is caused by a group policy setting which prevents Docker from setting up Windows firewall rules necessary to pass ...
8
votes
Accepted
How do the xConnect Docker containers correspond to the Azure xConnect app services?
For Azure PaaS infrastructure:
Looking at the Azure AppServices packages for a scaled XP solution, you will find that that the following three workers are deployed in their correlated app services and ...
6
votes
Docker-Compose up -d fails with unhealthy xconnect and cm
I faced this issue too during installation. Try the below steps:
Run docker-compose stop on Powershell.
Run docker-compose down on Powershell.
Now run iisreset /stop on Powershell to make sure that ...
6
votes
Accepted
Error viewing JSS app: Item has already been added. Key in dictionary: 'PSMODULEPATH' Key being added: 'PSModulePath'
This is a known issue with IIS ServiceMonitor, which is used as an entrypoint for Docker images: https://github.com/Microsoft/IIS.ServiceMonitor/issues/32
ServiceMonitor copies environment variables ...
5
votes
Accepted
Issue browsing CM Sitecore container
I had this problem on my local. I had all containers green in docker desktop, but got the same error as you. Even after I restarted Docker, it still did not work for me.
I have an on-prem version of ...
5
votes
Accepted
Docker-Compose up -d fails with unhealthy xconnect and cm
Quick fix
This turned out to be a permissions issue that prevented the ShardMapManager database (and accompanying shard databases) from being installed. To fix it, I needed to give the NETWORK SERVICE ...
4
votes
Accepted
Sitecore Docker Development Image for MS SQL Server 2019
You should build your own custom Windows based SQL Server image, targeting the desired version.
The following steps describe how to do it, targeting MS SQL Server 2019.
Step 1 - Create a dockerfile ...
4
votes
Error on mssql-init container during the deployment of Sitecore to AKS
There were linefeed characters in the secret files. Removing the linefeed characters resolved the issue and the sql server was reachable.
Once you remove the line feed characters from the files, you ...
3
votes
SItecore XP 10 on Docker: how to install a package when the bin/ folder is read-only?
The sitecore.aspnet.gettingstarted didn't install SXA to the Sitecore XP0 instance, so I needed to modify the docker files in order to add SPE and SXA to my images.
Here is how to do it, if anyone is ...
3
votes
Sitecore Commerce installation fails in Docker
Checking the official Sitecore images tags list, it seems that the sitecore-xc0-solr-init image is missing. You should open a ticket with Sitecore Support to let them know that it is missing.
In the ...
3
votes
Accepted
Sitecore Docker containers stop unexpectedly after a few minutes
Depending on your version of VMware Tools in the Windows OS (mine was 11.0.5), you need to disable VMware's appinfo plugin.
On your Docker host, open an Admin PowerShell prompt and run the below ...
2
votes
Accepted
Install certificate to store on container
Assuming you have a certificate in pfx format and you know its password (if the certificate is password protected), you can install it in the image of your container when you build it, copying the ...
2
votes
When creating a new solution do I have to run the .\init.ps1 command again to prepare the container environment?
Firstly, you need to run the PowerShell in Admin mode and check the path of the license file. you need to add "license.xml". As shown in below screenshot.
Hope this helps!
Thanks,
Yamini
2
votes
Sitecore MVP-Site Docker Error
The logs show the following issue
[2022-06-04T14:15:23.127079600Z][com.docker.proxy.exe][E] cannot rewrite volumes: &errors.errorString{s:"mount denied:\nthe source path \"\\\\Projects\\\...
2
votes
ERROR: Service 'dotnetsdk' failed to build : Build failed
In order to fix this error, you should move to Windows containers.
Right-click the Docker Whale icon
Choose "Switch to Windows containers..."
Hit "Switch". If the process fails, ...
2
votes
Accepted
Error getting SSL certificate - Nginx Ingress Controller (Kubernetes)
It looks like you have done most of the steps correctly. However, the error logs indicate that the Ingress Controller isn't able to find the SSL certificates even though they are present in the same ...
1
vote
Cumulative hotfix for Sitecore XP 10.2 - Container
The first step is to download the Sitecore pre-release or hotfix package. You can do this from the Sitecore website or by contacting Sitecore support. Save the package to a local directory on your ...
1
vote
Am I wrong or the horizon-integration-xp1-assets:3.0.0-ltsc2022 is missing the module/db folder?
Could the issue be related to the fact that Sitecore 10.1+ now supports Items As Resources or IAR? There may no longer need to be a folder for database files when the items are stored in .dat files.
1
vote
Sitecore Docker exited with code 1 while setting Sitecore admin password
I believe the key is the error line:
2023-03-06 23:48:23 Error SQL72014: .Net SqlClient Data Provider: Msg
5118, Level 16, State 1, Line 1 The file
"C:\data\Sitecore.Core_Primary.mdf" is ...
1
vote
The remote name could not be resolved "rendering" error in experience editor
There could be many different reasons.
Run docker container ls -a, and it will list all containers. Find the ID of rendering component. Then run docker container logs [ID for rendering component]. It ...
1
vote
How can I deploy custom config files to an Identity Server container?
You would need to build a custom Sitecore image for the Identity Server: https://doc.sitecore.com/xp/en/developers/102/developer-tools/building-custom-sitecore-images.html
You need a project with your ...
1
vote
When creating a new solution do I have to run the .\init.ps1 command again to prepare the container environment?
Yes, you have to open the powershell in Admin mode.
Try to run the clean script from (clean.ps1) the folder first. It might be a folder deep (depending on how your folder is structured). This will ...
1
vote
Accepted
Getting Started Template - File in use by another process
Turns out this is a known bug in Docker Windows.
https://github.com/moby/moby/issues/42803
I can run the rendering host on the Docker host (from Visual Studio or dotnet CLI) as an alternative, then ...
1
vote
Sitecore 10 MVC Multisite Container Architecture?
Everything done here was in v10.1 xp0 MVC container topology installation which is minimal for a dev. It is definitely NOT using the remote rendering host architecture. Also not using SCS, K8, Helix ...
1
vote
Local Sitecore containers unable to access Docker DNS
Had the same issue, related to the DNS issues caused by company's firewall policies.
In our case adding .local token to the hostnames solved it.
For example, if the ${SQL_SERVER} variable equals mssql,...
1
vote
Docker-Compose up -d fails with unhealthy xconnect and cm
We ran the getting-started docker scripts and everything seemed to go well, but when starting the containers that were the message we got also.
Our issue ended up being resolved by stopping IIS on our ...
1
vote
Docker-Compose up -d fails with unhealthy xconnect and cm
Possible root cause: In default init.ps1 in docker-example repository, SqlSaPassword does not meets SQL complexity requirements.
Troubleshoot
First of all, check the logs by running this command:
...
1
vote
Docker-Compose up -d fails with unhealthy xconnect and cm
In addition to the correct answer: It is worth noting that running a clean on the host directory can help, especially after granting NETWORK SERVICE full access to the MSSQL directory as the databases ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
container × 44docker × 31
jss × 7
sql-database × 5
kubernetes × 4
nextjs × 4
xm-cloud × 3
experience-editor × 2
azure × 2
installation × 2
aks × 2
solr × 1
sitecore-commerce × 1
xconnect × 1
sitecore-api × 1
sitecore-install-framework × 1
mvc × 1
tds × 1
multisite × 1
federated-authentication × 1
identity-server × 1
powershell × 1
packages × 1
iis × 1
module × 1