You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue is when launching multiple containers at once this breaks the container creation as the containers simultanously try to update the file:
Initializing...
Starting Container
Hostname is nsysdevbg
PublicDnsName is nsysdevbuchegegen.axians-infoma.de
Using Windows Authentication
Starting Internet Information Server
Modifying Service Tier Config File with Instance Specific Settings
Modifying Service Tier Config File with settings from environment variable
Setting SqlLongRunningThreshold to 10000
Setting AllowSessionWhileSyncAndDataUpgrade to true
Setting EnableTaskScheduler to true
Creating ClientServicesReconnectPeriod and setting it to 01:00:00
Setting SnapshotDebuggerEnabled to true
Setting SnapshotDebuggerServicesPort to 17083
Setting ServicesUseNTLMAuthentication to true
Setting ServicesDefaultCompany to Master BaWü
Setting PublicWebBaseUrl to https://nsysdevbuchegegen.axians-infoma.de/BC
Starting Service Tier
Registering event sources
Creating DotNetCore Web Server Instance
Set-Content : Stream was not readable.
At C:\Run\SetupWebClient.ps1:47 char:1
+ Set-Content -Path $NAVWebClientManagementModule -Value $WebManagement ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (C:\run\my\NAVWebClientManageme
nt.psm1:String) [Set-Content], ArgumentException
+ FullyQualifiedErrorId : GetContentWriterArgumentError,Microsoft.PowerShe
ll.Commands.SetContentCommand
WARNING: SetupWebClient failed, retrying...
Registering event sources
Creating DotNetCore Web Server Instance
Set-Content : Stream was not readable.
At C:\Run\SetupWebClient.ps1:47 char:1
+ Set-Content -Path $NAVWebClientManagementModule -Value $WebManagement ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (C:\run\my\NAVWebClientManageme
nt.psm1:String) [Set-Content], ArgumentException
+ FullyQualifiedErrorId : GetContentWriterArgumentError,Microsoft.PowerShe
ll.Commands.SetContentCommand
The process cannot access the file 'C:\run\my\NAVWebClientManagement.psm1' because it is being used by another process.
at <ScriptBlock>, C:\Run\SetupWebClient.ps1: line 49
at <ScriptBlock>, C:\Run\navstart.ps1: line 191
at <ScriptBlock>, C:\run\start.ps1: line 384
at <ScriptBlock>, C:\InfomaEntry.ps1: line 43
at <ScriptBlock>, <No file>: line 1
Starting EventLog Monitor
Monitoring EventSources from EventLog[Application]:
- MicrosoftDynamicsNAVClientClientService
- MicrosoftDynamicsNAVClientWebClient
- MicrosoftDynamicsNavServer$BC
- MSSQL$SQLEXPRESS
Is there any other way to fix this rather than using a separate volume for each container?
The text was updated successfully, but these errors were encountered:
I think it is a bad idea to share c:\run\my as this is used for files related to this container.
You should share another volume with your files for the containers.
We use several containers that run on the same volume.
Our volume points to C:\run\my inside the container.
SetupWebClient appears to replace the management module everytime a container is created:
nav-docker/generic/Run/210-new/SetupWebClient.ps1
Line 47 in 614783b
The issue is when launching multiple containers at once this breaks the container creation as the containers simultanously try to update the file:
Is there any other way to fix this rather than using a separate volume for each container?
The text was updated successfully, but these errors were encountered: