Installing Package within Docker Container causing shutting down
Hi,
i deployed Umbraco 9 within a docker container on a unix machine. Umbraco is running fine so far.
I created some document types on my local instance and tried to deploy it via package to the docker containered Umbraco. But the instance is shutting down when i am installing the package. Also the package content is not installed.
The logs does not say anything to me, but the shutdown info. Attached the logs afterwards.
Is there a way to figure out, whats wrong?
Logs
{"@t":"2021-06-03T11:16:03.8566578Z","@mt":"Now listening on: {address}","address":"http://[::]:23001","SourceContext":"Microsoft.Hosting.Lifetime","ProcessId":1,"ProcessName":"dotnet","ThreadId":1,"AppDomainId":1,"AppDomainAppId":"0c35eebf403cf91fe77a64921d76aa1ca6411d20","MachineName":"875dd37cd8f4","Log4NetLevel":"INFO "}
{"@t":"2021-06-03T11:16:03.8582167Z","@mt":"Application started. Press Ctrl+C to shut down.","SourceContext":"Microsoft.Hosting.Lifetime","ProcessId":1,"ProcessName":"dotnet","ThreadId":1,"AppDomainId":1,"AppDomainAppId":"0c35eebf403cf91fe77a64921d76aa1ca6411d20","MachineName":"875dd37cd8f4","Log4NetLevel":"INFO "}
{"@t":"2021-06-03T11:16:03.8582500Z","@mt":"Hosting environment: {envName}","envName":"Production","SourceContext":"Microsoft.Hosting.Lifetime","ProcessId":1,"ProcessName":"dotnet","ThreadId":1,"AppDomainId":1,"AppDomainAppId":"0c35eebf403cf91fe77a64921d76aa1ca6411d20","MachineName":"875dd37cd8f4","Log4NetLevel":"INFO "}
{"@t":"2021-06-03T11:16:03.8582762Z","@mt":"Content root path: {contentRoot}","contentRoot":"/app","SourceContext":"Microsoft.Hosting.Lifetime","ProcessId":1,"ProcessName":"dotnet","ThreadId":1,"AppDomainId":1,"AppDomainAppId":"0c35eebf403cf91fe77a64921d76aa1ca6411d20","MachineName":"875dd37cd8f4","Log4NetLevel":"INFO "}
{"@t":"2021-06-03T11:16:04.3779661Z","@mt":"Starting async background thread for RebuildIndexes.","SourceContext":"Umbraco.Cms.Infrastructure.Examine.ExamineIndexRebuilder","RequestId":"0HM96G3T01NA4:00000002","RequestPath":"/umbraco","ConnectionId":"0HM96G3T01NA4","ProcessId":1,"ProcessName":"dotnet","ThreadId":15,"AppDomainId":1,"AppDomainAppId":"0c35eebf403cf91fe77a64921d76aa1ca6411d20","MachineName":"875dd37cd8f4","Log4NetLevel":"INFO ","HttpRequestId":"627a1c0c-f989-4d83-a899-b5eb44b87925","HttpRequestNumber":1,"HttpSessionId":"0"}
{"@t":"2021-06-03T11:17:03.8337487Z","@mt":"Stopping ({SignalSource})","SignalSource":"environment","SourceContext":"Umbraco.Cms.Core.Runtime.MainDom","ProcessId":1,"ProcessName":"dotnet","ThreadId":24,"AppDomainId":1,"AppDomainAppId":"0c35eebf403cf91fe77a64921d76aa1ca6411d20","MachineName":"875dd37cd8f4","Log4NetLevel":"INFO "}
{"@t":"2021-06-03T11:17:03.8436392Z","@mt":"Released ({SignalSource})","SignalSource":"environment","SourceContext":"Umbraco.Cms.Core.Runtime.MainDom","ProcessId":1,"ProcessName":"dotnet","ThreadId":24,"AppDomainId":1,"AppDomainAppId":"0c35eebf403cf91fe77a64921d76aa1ca6411d20","MachineName":"875dd37cd8f4","Log4NetLevel":"INFO "}
{"@t":"2021-06-03T11:17:03.8451526Z","@mt":"Application is shutting down...","SourceContext":"Microsoft.Hosting.Lifetime","ProcessId":1,"ProcessName":"dotnet","ThreadId":24,"AppDomainId":1,"AppDomainAppId":"0c35eebf403cf91fe77a64921d76aa1ca6411d20","MachineName":"875dd37cd8f4","Log4NetLevel":"INFO "}
{"@t":"2021-06-03T11:17:03.8583042Z","@mt":"Queued Hosted Service is stopping.","SourceContext":"Umbraco.Cms.Infrastructure.HostedServices.QueuedHostedService","ProcessId":1,"ProcessName":"dotnet","ThreadId":26,"AppDomainId":1,"AppDomainAppId":"0c35eebf403cf91fe77a64921d76aa1ca6411d20","MachineName":"875dd37cd8f4","Log4NetLevel":"INFO "}
{"@t":"2021-06-03T11:17:25.8937212Z","@mt":"Storing keys in a directory '{path}' that may not be persisted outside of the container. Protected data will be unavailable when container is destroyed.","@l":"Warning","path":"/root/.aspnet/DataProtection-Keys","EventId":{"Id":60,"Name":"UsingEphemeralFileSystemLocationInContainer"},"SourceContext":"Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository","ProcessId":1,"ProcessName":"dotnet","ThreadId":1,"AppDomainId":1,"AppDomainAppId":"0c35eebf403cf91fe77a64921d76aa1ca6411d20","MachineName":"875dd37cd8f4","Log4NetLevel":"WARN "}
{"@t":"2021-06-03T11:17:25.9871468Z","@mt":"Acquiring.","SourceContext":"Umbraco.Cms.Core.Runtime.MainDom","ProcessId":1,"ProcessName":"dotnet","ThreadId":1,"AppDomainId":1,"AppDomainAppId":"0c35eebf403cf91fe77a64921d76aa1ca6411d20","MachineName":"875dd37cd8f4","Log4NetLevel":"INFO "}
{"@t":"2021-06-03T11:17:26.4230439Z","@mt":"Acquired.","SourceContext":"Umbraco.Cms.Core.Runtime.MainDom","ProcessId":1,"ProcessName":"dotnet","ThreadId":1,"AppDomainId":1,"AppDomainAppId":"0c35eebf403cf91fe77a64921d76aa1ca6411d20","MachineName":"875dd37cd8f4","Log4NetLevel":"INFO "}
Installing Package within Docker Container causing shutting down
Hi,
i deployed Umbraco 9 within a docker container on a unix machine. Umbraco is running fine so far.
I created some document types on my local instance and tried to deploy it via package to the docker containered Umbraco. But the instance is shutting down when i am installing the package. Also the package content is not installed.
The logs does not say anything to me, but the shutdown info. Attached the logs afterwards.
Is there a way to figure out, whats wrong?
Logs
Update:
When i am keeping the installing process open in my browser and starting the docker container again the install process continuous and its working.
is working on a reply...