Skip to content

Error upgrading to identity server 10.2 with sitecore docker tools entrypoint script #774

@johnclarete

Description

@johnclarete

ISSUE

Attempting to upgrade to 10.2 but getting issues with identity server (id). Cannot start service id for 10.2 with sitecore docker tools entrypoint script.

  • I have tried with the latest version of Docker for Windows (Stable or Edge) or Docker Enterprise.
  • Windows version is at least 1809 / ltsc2019.
  • Windows has the latest updates installed.

Expected behavior

Able to start the custom image using the entrypoint scripts provided in sitecore docker tools
...

Actual behavior

Get the following error

failure in a Windows system call: The system cannot find the file specified. (0x2) extra info: {"CommandLine":"powershell -Command 
\"\u0026 C:\\tools\\entrypoints\\worker\\Development.ps1 @{ Path = \\\"C:\\deploy\\\"; Destination = \\\"C:\\identity\\\"; }\"","User":"ContainerAdministrator","WorkingDirectory":"C:\\Identity"
,"Environment":{"ASPNETCORE_URLS":"http://+:80","DOTNET_RUNNING_IN_CONTAINER":"true"
,"Sitecore_License":"","Sitecore_Sitecore__IdentityServer__AccountOptions__PasswordRecoveryUrl":"https://xm1cm.localhost/sitecore/login?rc=1"
,"Sitecore_Sitecore__IdentityServer__CertificateRawData":"","Sitecore_Sitecore__IdentityServer__CertificateRawDataPassword":""
,"Sitecore_Sitecore__IdentityServer__Clients__DefaultClient__AllowedCorsOrigins__AllowedCorsOriginsGroup1":"https://xm1cm.localhost","Sitecore_Sitecore__IdentityServer__Clients__PasswordClient__ClientSecrets__ClientSecret1":"","Sitecore_Sitecore__IdentityServer__PublicOrigin":"https://xm1id.localhost","Sitecore_Sitecore__IdentityServer__SitecoreMemberShipOptions__ConnectionString":"Data Source=mssql;Initial Catalog=Sitecore.Core;User ID=sa;Password=Password12345"
,"WORKER_EXECUTABLE_NAME_ENV":"servicestart.ps1"},"CreateStdInPipe":true,"CreateStdOutPipe":true,"CreateStdErrPipe":true,"ConsoleSize":[0,0]}`

Steps to reproduce the behavior

  1. Using attached docker files in the zip xm1iderror.zip run docker-compose up id
  2. Error received instead of the container starting

Additional information

  • Output from docker info:
Debug Mode: false
Plugins:


app: Docker Application (Docker Inc., v0.8.0)
cluster: Manage Mirantis Container Cloud clusters (Mirantis Inc., v1.9.0)
registry: Manage Docker registries (Docker Inc., 0.1.0)
Server:
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 5
Server Version: 20.10.4
Storage Driver: windowsfilter
Windows:
Logging Driver: json-file
Plugins:
Volume: local
Network: ics internal l2bridge l2tunnel nat null overlay private transparent
Log: awslogs etwlogs fluentd gcplogs gelf json-file local logentries splunk syslog
Swarm: inactive
Default Isolation: process
Kernel Version: 10.0 17763 (17763.1.amd64fre.rs5_release.180914-1434)
Operating System: Windows Server 2019 Datacenter Version 1809 (OS Build 17763.2686)
OSType: windows
Architecture: x86_64
CPUs: 8
Total Memory: 31.65GiB
Name: mycomputer
ID: RXCV:LLDF:4QV2:PJHJ:TH4B:DAAM:S65Z:UE7X:7ZFL:NF34:I2MJ:535R
Docker Root Dir: D:\dockerData
Debug Mode: false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false```

- Are you running inside a virtualized Windows machine or physical: virtualized

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions