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. ...
    • KB0078 - Service fails to start during PowerShell Universal v5 Upgrade when using SQLite and MSI

      Scope Users that are upgrading from PowerShell Universal v4 to PowerShell Universal v5 using the MSI and SQLite persistence database. Problem The service may not start in a timely manner and cause the MSI process to fail. Root Cause PowerShell ...
    • KB0015 - Offline PSU server has slow dashboards

      Disclaimer Please be careful with changing any settings on your server around the Certificate Revocation List. You should only do this if you know what you are doing. Read the related Github articles (linked below) in their entirety. Symptom PSU ...