Skip to main content

Posts

Docker Desktop service is not running, would you like to start it?

Bellow message appear while restarting Windows laptop having Docker Desktop installed. Docker Desktop service is not running, would you like to start it? Windows will ask you for elevated access. During online search, we found below solution on stackOverflow which worked for us.  Docker: Service is not running. Windows will ask you for elevated access   Please follow this solution. Hope this helps.

Troubleshooting Sitecore containerized environment

Error #1: Waiting for CM to become available... Got to docker-compose.override.yml file and replace \ with \\ as shown below entrypoint: powershell.exe -Command "& C:\\tools\\entrypoints\\iis\\Development.ps1"

Sitecore package installation in Sitecore 10 Docker environment

Recently we got below error during installation of Sitecore package in Sitecore 10  containerized environment During online research we found one solution as given below and this worked out. https://www.koenheye.be/sitecore-docker-install-packages-in-cm-environment/

Export Pdf list via Sitecore PowerShell Extension

This Sitecore PowerShell utility export a list of Pdfs for specified location  $FilePath = "master:" + (Get-Item .).Paths.Path Import-Function -Name ConvertTo-Xlsx $DownloadReport = 1 $resultObj = @() $PdfList = Get-childItem -Path $FilePath -Recurse | Where-Object { $_.TemplateName -eq "Pdf"} $ItemReferrerList = "" if( $PdfList ){     $PdfList | ForEach-Object {         ######Get-ItemReferrer Start         $ItemArray = @()         $ItemReferrer = Get-ItemReferrer -ID $_.ID | Where-Object { $_.Name -ne "Admin" -and $_.ItemPath -like "/sitecore/content/*" } | Select-Object -Property ID,Version         If( $ItemReferrer ){             $ItemReferrer | ForEach-Object {                $item = Get-Item -Path master: -ID $_.ID              $latestVersion = $item.Versions.Count     ...

Sitecore SaaS( XM Cloud ) Migration

Sitecore XM Cloud vs Sitecore XP vs Sitecore XM Sitecore XM Cloud vs Sitecore XP vs Sitecore XM | Fishtank Consulting (getfishtank.com) Sitecore XM Cloud v Sitecore XP v Born-Headless CMS - Oshyn Sitecore XM Cloud What Is Sitecore XM Cloud: What We Know (Updated) | Fishtank Consulting (getfishtank.com) XM Cloud FAQ (sitecore.com) Sitecore Architect’s Guide to SaaS Migration – XP Marketing Automation – St-Cyr Thoughts (jasonstcyr.com) Sitecore Next JS Guide Introduction – Sitecore Next.js Guide (hakmeng.com)

Sitecore Exam

Sitecore 10 .NET Developer Certification Exam Sitecore structure & platform Security & user management Item management Layout & placeholders Components, controls, & renderings Sitecore Content Serialization Containers Sitecore structure & platform Content Editor Experience Editor Sitecore XP Downloads Security & user management Security Securing the Experience Manager Workflows Item management Data Templates Managing Items Layouts & placeholders Sitecore Layouts Versioned Layouts Dynamic Placeholders Components, controls, & renderings Sitecore MVC Sitecore Headless Development Sitecore Content Serialization Sitecore Content Serialization Sitecore Command Line Interface Sitecore for Visual Studio Containers Container Development Sitecore Support for Containers

Azure Redis Cache

 All about Azure Redis Cache  Azure Cache as a session data store in C# and MVC StackExchange.Redis Documentation Use the Redis command-line tool with Azure Cache for Redis How To Use Azure Redis Cache In C# Large Session Size Causing Sitecore Redis Timeouts, Identify and Resolve Installation Redis-cli installation on Windows GitHub RedisSizeCalculator CachingFramework.Redis

Sitecore Patching

Using a patch file to customize the Sitecore configuration https://doc.sitecore.com/xp/en/developers/93/platform-administration-and-architecture/use-a-patch-file-to-customize-the-sitecore-configuration.html Patch file examples https://doc.sitecore.com/xp/en/developers/90/platform-administration-and-architecture/configuration-patch-file-examples.html https://grantkillian.wordpress.com/2018/12/10/sitecore-artifact-table-patch-config/ /api/sitecore/Sitecore.Mvc.DeviceSimulator.controllers.simulatorcontroller,Sitecore.Mvc.DeviceSimulator/preview/previewpath=/app_data/logs/logs/log.20230405.110101.txt

Sitecore Unicorn

Unicorn SPE Unicorn with Sitecore SUGNCR | Unicorn - Introduction With Sitecore Sitecore Unicorn - Synchronize easily - Radosław Kozłowski SUGCON Europe 2016 - Serialize all the things with Unicorn Advanced Serialization with Unicorn - April Meetup 2016

Microsoft Windows Tools

  Install IIS https://www.howtogeek.com/112455/how-to-install-iis-8-on-windows-8/ Web Deploy 3.6 https://www.iis.net/downloads/microsoft/web-deploy .NET Framework 4.8 https://dotnet.microsoft.com/download/dotnet-framework/net48  Debugging Tools for Windows (WinDbg) https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/debugger-download-tools

Sitecore Modules

Sitecore PowerShell Extension(SPE) Compatibility Table https://doc.sitecorepowershell.com/appendix Downloads https://github.com/SitecorePowerShell/Console/releases/ Tutorials https://doc.sitecorepowershell.com/ https://www.youtube.com/playlist?list=PLph7ZchYd_nCypVZSNkudGwPFRqf1na0b Sitecore with MVC Areas as pluggable Module https://cprakash.com/2014/10/27/sitecore-and-mvc-areas-as-pluggable-module/

Sitecore Compatibility

 Sitecore Compatibility Sitecore compatibility table for Sitecore XP 9 and later Sitecore compatibility table for Sitecore CMS 6.0 – XP 8.2.7 Solr compatibility table Sitecore Product Support Lifecycle Sitecore modules compatibility table for Sitecore XP

SolR admin not loading after installation via SIA

Problem Statement Installed Sitecore 10.1 on local via SIA and stuck final step of verification of SolR connection Solution After SolR installation, I noticed that solr-ssl.keystore files are not present under solr\sc101solr-8.4.0\server\etc folder. To fix this followed below steps Installed Java Downloaded  solrssl.ps1  file from  Setting up Solr with SSL  and make the changes in this file as per local configurations  Copy this file in Install directory and executed PowerShell script as below PS C:\Data\Sitecore\SC10.1Install> .\solrssl.ps1 -KeyStorefile 'C:\Data\Sitecore\SC10.1Install\SC 10\solr\sc101solr-8.4.0\server\etc\solr-ssl.keystore.jks' -storetype pkcs12 Reference: SO post solr-ssl.keystore files created solr\sc101solr-8.4.0\server\etc folder Start SolR C:\Data\Sitecore\SC10.1Install\SC 10\solr\sc101solr-8.4.0\bin>solr start -p 9899 SolR started working now!

PowerShell Tricks

Power shell scripts SESSION STATE ELEVATION https://sitecorepowershell.com/session-state-elevation/ Get Child Item Count Get-childItem -Path "master:\sitecore\media library\Sites\" -Recurse | Where-Object { $_.TemplateName -eq "Pdf"} | Measure-Object Objects PS C:\> $files = dir PS C:\>  $files PS C:\>  Get-Service | Out-GridView Sorting PS C:\>  $files|sort -Property length PS C:\>  $files|sort -Property length -Descending Filtering $files| Where-Object Length -gt 212569458 $files | Where-Object Name -eq "InExpEditor.mp4" $files | Where-Object Name -Like "V*" $files | Where-Object {$_.Length -gt 200000000} $files | Where-Object {($_.Length -gt 200000000) -and ($_.Name -like "D*")} Loops 1..10 | foreach{ " This number is " + $_ } 1..10 | foreach{ if($_%2){"$_ is odd number "} } Arrays $strComputers = @("computer1","computer2","computer3") $strComputers | foreach{ $_ + ...

Sitecore Utilities

Sitecore Marketplace Caching Manager Cache Tuner Sitemap XML Sitecore Cache Admin Sitecore PowerShell Extensions Shared Module Sitecore Sidekick – Content Migrator Sitecore History Viewer Clear Cache Individually Multisite Manager ( moving site definition to database ) GitHub Sitecore Instance Manager(SIM) StandaloneShowConfig awesome-sitecore   SitecoreSidekick XConnect Tutorial Sitecore media package generator Free Templates Free CSS Developer Quicks Unlock Sitecore Admin Account Sitecore Admin Pages Cheat Sheet Uninstalling a Sitecore instance installed with SIA Installing and Uninstalling Solr with Powershell Tools DebugDiag Troubleshooting Collecting memory snapshots during high CPU and analyzing them