Dashboard does not start

Dashboard does not start

Version: PowerShell Universal 2.x
Problem:
When attempting to start a dashboard, the dashboard either reports Start Failed or does not transition from Stopped. 
Root Cause and Resolution:
There can be multiple root causes for this issue. Each root cause has a different resolution. 
Terminating Error in Script During Start Up
If there is a terminating error in your script, it can prevent the dashboard from starting. You can identify if there is an error in the script by attempting to start the dashboard and then by clicking the Details for the dashboard and navigating to the Log tab. The error will be shown within the log. 
Resolve the error within the script to fix the issue. 
Syntax Error within Script
Syntax errors within scripts will prevent a script from starting. You can use an editor like VS Code or PSScriptPad to validate that there are no syntax errors within your dashboard script. Common syntax errors can be unclosed quotes or braces. You may not see an error in the Dashboard \ Details \ Log if there is a syntax error. 
Fix the syntax error to address this issue. 
Missing Environment
If you have assigned a specific environment to a dashboard and that environment is no longer available, the dashboard will fail to start. You will see an error in the PowerShell Universal log regarding the missing environment. 
Reset the environment to one that exists within PowerShell Universal to fix this issue. 
    • Related Articles

    • Out-String doesn't work in Universal Dashboard

      Product: PowerShell Universal - Any Version  Issue: Out-String does not appear to work in PowerShell Universal Dashboard running in Windows PowerShell v5.1. You will receive empty strings when attempting to use Out-String. See the example below for ...
    • KB0025 - Universal Server fails to start automatically

      Applicability This article applies to PowerShell Universal (Kestrel version*) running on Windows. If you have PowerShell Universal running under IIS or another OS then this article does not apply. Symptom Even though the PowerShell Universal service ...
    • KB0021 - Unable to update Dashboard Pages in PowerShell Universal 3.6.4

      Purpose Due to an issue with the client-side application in PowerShell Universal 3.6.4, you may experience a problem updating page content. When clicking the Save button, a toast message would be shown that states that a 400 HTTP error had occurred. ...
    • KB0035 - How to add the Calendar and other components

      Purpose The purpose of this article is to demonstrate how to install and use the Calendar component (module) Background There is a growing list of add-on components (modules) for PowerShell Universal at ...
    • KB0063 - API, App or Job Not Starting

      Problem External processes do not start after upgrades or with the same configuration and script on different machines. Common errors in the log will include: [ERR] Dashboard process running but not response after 10 seconds. Terminating process. ...