Dashboard process is not running - missing wwwroot

Product: PowerShell Universal
Version: 5.4.0 (13319778963) Nightly

I updated to a nightly build in lab, mostly cause i was trying to escape another issue. None of my apps start, they all fail saying

Could not find a part of the path ‘C:\Program Files (x86)\Universal\Modules\Universal\wwwroot\index.html’.

Which is true, the wwwroot is no longer present;

I copied a directory from another test , but that just got me to

System.ComponentModel.Win32Exception (2): An error occurred trying to start process 'C:\Program Files (x86)\Universal\Agents\5.1\Universal.Agent.exe' with working directory 'C:\ProgramData\UniversalAutomation\Repository'. The system cannot find the file specified.
   at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
   at PowerShellUniversal.Automation.JobProcessManager.StartProcessAsCurrentUser(String powerShellPath, String commandLine, Variable credential, Action`1 onAgentOutput, Dictionary`2 environmentVariables, String verb) in D:\a\universal\universal\src\PowerShellUniversal.Automation\JobProcessManager.cs:line 670
   at PowerShellUniversal.Automation.JobProcessManager.StartModuleDiscovery(ExecutionEnvironment environment) in D:\a\universal\universal\src\PowerShellUniversal.Automation\JobProcessManager.cs:line 537
   at Universal.Server.Services.ModuleService.Discover(ExecutionEnvironment environment, Boolean wait) in D:\a\universal\universal\src\Universal.Server\Services\ModuleService.cs:line 206
2025-02-17 18:22:12.735 +01:00 [ERR][PowerShellUniversal.Automation.JobProcessManager] Failed to check if process has exited.

D:\a\universal\universal\src\PowerShellUniversal.Automation\JobProcessManager.cs:line 537

This is also weird, i don’t have this path.

Edit: Also, trying to install the latest nightly build, it looks like it wants to do a clean install, saying it’s going to install the service. Normally it just updates.

This should probably be posted as an issue on Github, not here, since you’re using a version that isn’t meant for the general public. I could be wrong, though - maybe they want this here too.

i can do that, no problem. Will get to it right away.

Done: Dashboard process is not running - missing wwwroot · Issue #4389 · ironmansoftware/powershell-universal · GitHub

2 Likes