Error: Windows Principal functionality is not supported

Hi

I’ve a lot of trouble running Universal Automation:
I would like it to run on a dedicated WS2019, available from Remote including https Dashboard, AD authentication as well as a remote git repo storing the scripts.

What I’ve tried:

Please find the docker scripts here:

This is the docker log of the App.ps1:

2020-05-07T23:37:13.860304300Z Start process 19540
2020-05-07T23:37:13.865301400Z Load UniversalAutomation module
2020-05-07T23:37:15.118924200Z Start UniversalAutomation server
2020-05-07T23:37:27.418243100Z Enable Authentication on UniversalAutomation server
2020-05-07T23:37:27.969816800Z Connect to the UniversalAutomation server
2020-05-07T23:37:27.970819400Z Apply UniversalAutomation and UniversalDashboard license
2020-05-07T23:37:30.834154200Z

When I try to login via http://localhost:8080 => I get the user and password prompt but afterwards the following message:
We connected to Universal Automation but it was not accessible. You may have run Universal Automation and configured authenticaiton, which UA Desktop does not support. If you want to start over, delete the files in %LOCALAPPDATA%\UniversalAutomation.

Error Log:
2020-05-08 01:37:21.086 +02:00 [WRN] Failed to commit. LibGit2Sharp.EmptyCommitException: No changes; nothing to commit.
at LibGit2Sharp.Repository.Commit(String message, Signature author, Signature committer, CommitOptions options)
at UniversalAutomation.Git.GitService.Commit(String message, String author)
2020-05-08 01:37:24.993 +02:00 [ERR] An error occurred while reading the key ring.
System.PlatformNotSupportedException: Windows Principal functionality is not supported on this platform.
at System.Security.Principal.WindowsIdentity.GetCurrent()
at Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiXmlEncryptor.Encrypt(XElement plaintextElement)
at Microsoft.AspNetCore.DataProtection.XmlEncryption.XmlEncryptionExtensions.EncryptIfNecessary(IXmlEncryptor encryptor, XElement element)
at Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IInternalXmlKeyManager.CreateNewKey(Guid keyId, DateTimeOffset creationDate, Da
teTimeOffset activationDate, DateTimeOffset expirationDate)
at Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.CreateNewKey(DateTimeOffset activationDate, DateTimeOffset expirationDate)
at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.CreateCacheableKeyRingCore(DateTimeOffset now, IKey keyJustAdded)
at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.ICacheableKeyRingProvider.GetCacheableKeyRing(DateTimeOffset now)
at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.GetCurrentKeyRingCore(DateTime utcNow)
2020-05-08 01:37:26.820 +02:00 [ERR] Connection id “0HLVIRUQL7RUD”, Request id “0HLVIRUQL7RUD:00000001”: An unhandled exception was thrown by the application.
System.IO.IOException: The process cannot access the file ‘C:\App\Database\database.db’ because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msg
Path, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream…ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at LiteDB.FileDiskService.CreateFileStream(String path, FileMode mode, FileAccess access, FileShare share)
at LiteDB.FileDiskService.Initialize(Logger log, String password)
at LiteDB.LiteEngine…ctor(IDiskService disk, String password, Nullable1 timeout, Int32 cacheSize, Logger log, Boolean utcDate) at LiteDB.LiteDatabase.<>c__DisplayClass11_0.<.ctor>b__0() at LiteDB.LazyLoad1.get_Value()
at LiteDB.LiteCollection1.Count() at UniversalAutomation.EncFilterProvider.OnProvidersExecuting(FilterProviderContext context) at Microsoft.AspNetCore.Mvc.Internal.FilterFactory.CreateUncachedFiltersCore(IFilterProvider[] filterProviders, ActionContext actionContext, List1 filterItems)
at Microsoft.AspNetCore.Mvc.Internal.FilterFactory.GetAllFilters(IFilterProvider filterProviders, ActionContext actionContext)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvokerCache.GetCachedResult(ControllerContext controllerContext)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvokerProvider.OnProvidersExecuting(ActionInvokerProviderContext context)
at Microsoft.AspNetCore.Mvc.Internal.ActionInvokerFactory.CreateInvoker(ActionContext actionContext)
at Microsoft.AspNetCore.Mvc.Internal.MvcAttributeRouteHandler.<>c__DisplayClass12_0.b__0(HttpContext c)
at Microsoft.AspNetCore.Builder.RouterMiddleware.d__4.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.d__7.MoveNext()

Any help? I really don’t know how to continue.