Dashboards gone after upgrade

Hi,

After upgrading to 3.1.5 all my dashboards are gone.
And if i try to create a new dashboard I am getting a error message.
Error
Object reference not set to an instance of an object.
image

Any sugestions?

Product: PowerShell Universal
Version: 3.1.5

Can you grab a log file from Settings \ General \ Diagnostics? It should provide a more complete exception stack trace.

Hi,

Thanks for the reply. Do you want me to upload the log file?

Yes please. If you don’t want to share publicly, you can either DM me on here or send an email to adam@ironmansoftware.com

Sent you the logs on DM. Thanks.

Thanks. I just took a look.

What I’m seeing is that the dashboard framework isn’t being listed for some reason. This is usually populated on start up. Let’s check the following:

Verify that Frameworks is Actually Empty

Click User Interfaces \ Dashboards \ Frameworks in the top right corner. In standard installs, there should be one framework listed.

Check for previous versions of PSU and UD modules

Get-Module Universal -List
Get-Module UniversalDashboard -List 

Try removing an older modules, if they are found.

Check the Framework Deployment Directory

This is located in ProgramData and should be empty or missing in v3.

Get-ChildItem C:\ProgramData\PowerShellUniversal\Dashboard

Thanks for the reply and sorry for late respons on my side.

I have upgraded module Universal and UniversalDashboard and removed all old versions.

I can confirm that User Interfaces Dashboard Frameworks are empty

C:\ProgramData\PowerShellUniversal\Dashboard contains to folders Components and Frameworks.

How can add a new framework?

Edit:
I mange to add a old test dashboard. Framework = “undefined”

hello World

Environment: Default

File Path: test.ps1

Framework: undefined [undefined]

Process: c:\windows\system32\inetsrv\w3wp.exe [9968]