Product: PowerShell Universal
Version: 2.2.1
Environment: Docker on Windows - Running as a Linux Container
I am trying to get PowerShell Universal running locally to do some dashboard development work before hosting on another instance (which will also be running as docker container).
I am able to start the container and access PowerShell Universal and login, however when I create a dashboard it never starts and I get the following error:
fail: Universal.Server.Services.DashboardManager[0]
Dashboard process is not running. Dashboard may have crashed or failed to start.
I’m not sure if it is related however I also get this error on starting the container:
fail: UniversalAutomation.StartupService[0]
Failure configuring Universal. Some settings from your configuration files may not be applied.
System.IO.DirectoryNotFoundException: Could not find a part of the path '/root/.PowerShellUniversal/Repository/pages'.
at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)
at System.IO.Enumeration.FileSystemEnumerator`1.Init()
at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized)
at System.IO.Enumeration.FileSystemEnumerableFactory.UserFiles(String directory, String expression, EnumerationOptions options)
at System.IO.Directory.InternalEnumeratePaths(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
at UniversalAutomation.Services.PagesConfigurationScript.ReadAsync(Boolean initialSync) in D:\a\universal\universal\src\UniversalAutomation\Services\Configuration\Pages.cs:line 50
at UniversalAutomation.Services.UniversalConfigurationService.Read[T](Boolean initialSync) in D:\a\universal\universal\src\UniversalAutomation\Services\UniversalConfigurationService.cs:line 266
at UniversalAutomation.Services.UniversalConfigurationService.SyncAsync(Boolean initialSync) in D:\a\universal\universal\src\UniversalAutomation\Services\UniversalConfigurationService.cs:line 248
at UniversalAutomation.StartupService.StartAsync(CancellationToken cancellationToken) in D:\a\universal\universal\src\Universal.Server\Services\StartupService.cs:line 70
In the past with older versions I don’t recall having these issues. Has anyone else run into this, I haven’t been able to find much regarding that specific error related to dashboards.