Dashboards are failing to start after upgrading to PSU 3.0.1

Hello I have just performed an upgrade from PSU 2.11.1 to 3.0.1.

Everything seems to look good except all the dashboards are now failing to start with the error below scraped from the Log window.

Creating services.

C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1

C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1

C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1

C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1

C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1

C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1

C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1

C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1

C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1

C:\ProgramData\PowerShellUniversal\Dashboard\Frameworks\UniversalDashboard\3.10.1

C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1

C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1

C:\inetpub\wwwroot\Modules\Universal\ca\Universal.psd1

C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1\UniversalDashboard.psd1

C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1\UniversalDashboard.psd1

C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1\UniversalDashboard.psd1

C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1\UniversalDashboard.psd1

C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1\UniversalDashboard.psd1

C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1\UniversalDashboard.psd1

C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1\UniversalDashboard.psd1

C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1\UniversalDashboard.psd1

C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1\UniversalDashboard.psd1

C:\ProgramData\PowerShellUniversal\Dashboard\Frameworks\UniversalDashboard\3.10.1\UniversalDashboard.psd1

C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1\UniversalDashboard.psd1

C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1\UniversalDashboard.psd1

Failed to get dashboard. Assembly with same name is already loaded System.Management.Automation.CmdletInvocationException

Inner Exception: System.IO.FileLoadException

Dashboard configuration complete.

I have tried creating a fresh new test dashboard and it errors as well.
Please help.
Cheers Carl.

Product: PowerShell Universal
Version: 3.0.1

We have an open issue for this but it’s likely that you have the UniversalDashboard or Universal v2 module installed somewhere on this machine.

Get-Module Universal -ListAvailable
Get-Module UniversalDashboard -ListAvailable 

You’ll need to uninstall the v2 versions and attempt to start the dashboard.

1 Like

Okay I will try this and report back.
thanks for the quick response.

Ok I have removed the version 2 module and the dashboards now start but are flakey and crashing.
see below for an example.

Dashboard configuration complete.
Waiting for dashboard information…
Dashboard information received. Starting dashboard.
Creating services.
C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1
C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1
C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1
C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1
C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1
C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1
C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1
C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1
C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1
C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1
C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1
C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1
C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1
C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1
C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1
C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1
C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1
C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1
C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1
C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1
C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1
C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1
C:\inetpub\wwwroot\Modules\Universal\ca\Universal.psd1
C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1\UniversalDashboard.psd1
C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1\UniversalDashboard.psd1
C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1\UniversalDashboard.psd1
C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1\UniversalDashboard.psd1
C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1\UniversalDashboard.psd1
C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1\UniversalDashboard.psd1
C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1\UniversalDashboard.psd1
C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1\UniversalDashboard.psd1
C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1\UniversalDashboard.psd1
C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1\UniversalDashboard.psd1
C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1\UniversalDashboard.psd1
C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1\UniversalDashboard.psd1
C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1\UniversalDashboard.psd1
C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1\UniversalDashboard.psd1
C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1\UniversalDashboard.psd1
C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1\UniversalDashboard.psd1
C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1\UniversalDashboard.psd1
C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1\UniversalDashboard.psd1
C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1\UniversalDashboard.psd1
C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1\UniversalDashboard.psd1
C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1\UniversalDashboard.psd1
C:\inetpub\wwwroot\Modules\UniversalDashboard\4.0.1\UniversalDashboard.psd1
Startup: You cannot call a method on a null-valued expression.
Startup: at , C:\ProgramData\UniversalAutomation\Repository\dashboards\DeployVM\DeployVM.ps1: line 3
at , : line 1
Startup: at CallSite.Target(Closure , CallSite , Object )
at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0)
at System.Management.Automation.Interpreter.DynamicInstruction2.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) Startup: Cannot bind argument to parameter 'Credential' because it is null. Startup: at <ScriptBlock>, C:\ProgramData\UniversalAutomation\Repository\dashboards\DeployVM\DeployVM.ps1: line 6 at <ScriptBlock>, <No file>: line 1 Startup: at System.Management.Automation.ParameterBinderBase.ValidateNullOrEmptyArgument(CommandParameterInternal parameter, CompiledCommandParameter parameterMetadata, Type argumentType, Object parameterValue, Boolean recurseIntoCollections) at System.Management.Automation.ParameterBinderBase.BindParameter(CommandParameterInternal parameter, CompiledCommandParameter parameterMetadata, ParameterBindingFlags flags) at System.Management.Automation.CmdletParameterBinderController.BindParameter(CommandParameterInternal argument, MergedCompiledCommandParameter parameter, ParameterBindingFlags flags) at System.Management.Automation.CmdletParameterBinderController.BindParameter(UInt32 parameterSets, CommandParameterInternal argument, MergedCompiledCommandParameter parameter, ParameterBindingFlags flags) at System.Management.Automation.CmdletParameterBinderController.BindNamedParameter(UInt32 parameterSets, CommandParameterInternal argument, MergedCompiledCommandParameter parameter) at System.Management.Automation.ParameterBinderController.BindNamedParameters(UInt32 parameterSets, Collection1 arguments)
at System.Management.Automation.CmdletParameterBinderController.BindCommandLineParametersNoValidation(Collection1 arguments) at System.Management.Automation.CmdletParameterBinderController.BindCommandLineParameters(Collection1 arguments)
at System.Management.Automation.CommandProcessor.BindCommandLineParameters()
at System.Management.Automation.CommandProcessor.Prepare(IDictionary psDefaultParameterValues)
at System.Management.Automation.CommandProcessorBase.DoPrepare(IDictionary psDefaultParameterValues)
at System.Management.Automation.Internal.PipelineProcessor.Start(Boolean incomingStream)
at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input)
— End of stack trace from previous location —
at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input)
at System.Management.Automation.PipelineOps.InvokePipeline(Object input, Boolean ignoreInput, CommandParameterInternal pipeElements, CommandBaseAst pipeElementAsts, CommandRedirection commandRedirections, FunctionContext funcContext)
at System.Management.Automation.Interpreter.ActionCallInstruction6.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) Startup: Not connected to any Prism Central. Please connect to Prism Central host and try again. Startup: at <ScriptBlock>, C:\ProgramData\UniversalAutomation\Repository\dashboards\DeployVM\DeployVM.ps1: line 8 at <ScriptBlock>, <No file>: line 1 Startup: Startup: Not connected to any Prism Central. Please connect to Prism Central host and try again. Startup: at <ScriptBlock>, C:\ProgramData\UniversalAutomation\Repository\dashboards\DeployVM\DeployVM.ps1: line 10 at <ScriptBlock>, <No file>: line 1 Startup: Startup: Not connected to any Prism Central. Please connect to Prism Central host and try again. Startup: at <ScriptBlock>, C:\ProgramData\UniversalAutomation\Repository\dashboards\DeployVM\DeployVM.ps1: line 17 at <ScriptBlock>, <No file>: line 1 Startup: Startup: Not connected to any Prism Central. Please connect to Prism Central host and try again. Startup: at <ScriptBlock>, C:\ProgramData\UniversalAutomation\Repository\dashboards\DeployVM\DeployVM.ps1: line 22 at <ScriptBlock>, <No file>: line 1 Startup: Startup: Cannot convert the "PowerShellUniversal.UserInfo" value of type "PowerShellUniversal.UserInfo" to type "System.Collections.Hashtable". Startup: at <ScriptBlock>, C:\ProgramData\UniversalAutomation\Repository\dashboards\DeployVM\DeployVM.ps1: line 72 at <ScriptBlock>, <No file>: line 1 Startup: at System.Management.Automation.LanguagePrimitives.ThrowInvalidCastException(Object valueToConvert, Type resultType) at System.Management.Automation.LanguagePrimitives.ConvertNoConversion(Object valueToConvert, Type resultType, Boolean recurse, PSObject originalValueToConvert, IFormatProvider formatProvider, TypeTable backupTable) at System.Management.Automation.LanguagePrimitives.ConversionData1.Invoke(Object valueToConvert, Type resultType, Boolean recurse, PSObject originalValueToConvert, IFormatProvider formatProvider, TypeTable backupTable)
at System.Management.Automation.LanguagePrimitives.ConvertTo(Object valueToConvert, Type resultType, Boolean recursion, IFormatProvider formatProvider, TypeTable backupTypeTable)
at System.Management.Automation.Internal.PSDataCollectionStream`1.Write(Object obj, Boolean enumerateCollection)
at System.Management.Automation.Internal.ObjectStreamBase.Write(Object value)
at System.Management.Automation.Internal.ObjectWriter.Write(Object obj)
at System.Management.Automation.Internal.Pipe.AddToPipe(Object obj)
at System.Management.Automation.Internal.Pipe.Add(Object obj)
at System.Management.Automation.MshCommandRuntime._WriteObjectSkipAllowCheck(Object sendToPipeline)
at System.Management.Automation.MshCommandRuntime.WriteObject(Object sendToPipeline)
at System.Management.Automation.Cmdlet.WriteObject(Object sendToPipeline)
at UniversalAutomation.ConnectServerCommand.BeginProcessing() in C:\actions-runner_work\universal\universal\src\Cmdlets\ConnectServerCommand.cs:line 40
at System.Management.Automation.Cmdlet.DoBeginProcessing()
at System.Management.Automation.CommandProcessorBase.DoBegin()
Failed to get dashboard. There is no Runspace available to run scripts in this thread. You can provide one in the DefaultRunspace property of the System.Management.Automation.Runspaces.Runspace type. The script block you attempted to invoke was: Get-Module System.Management.Automation.PSInvalidOperationException
Inner Exception:
Dashboard configuration complete.

Are you using a secret credential on line 3?

Startup: at , C:\ProgramData\UniversalAutomation\Repository\dashboards\DeployVM\DeployVM.ps1: line 3

Yes I have tried overwriting it to see if that would help but still errors.

$a = import-module Nutanix.Cli
$a = Connect-PrismCentral -Server xxxx.local -Credential $Global:Deploy -AcceptInvalidSSLCerts

Hello Adam,

I have reverted back to PSU 2.11.1 for now as running out of time to fix for today.
There was what looks like an issue with 3.0.1 accessing the secret store variables.
I will try again tomorrow and rebuild the store from scratch to see if that fixes the problem.

Cheers Carl.

1 Like

I have same/simular issue
a production PU v2.* running as service
a test PU v2.* running in IIS for to take over the first one soon
a PU 3.0.1 running in IIS for verification, it is a fresh install without any data from v2.
all 3 runs at diffrent ports

Hello Leihuang,
I followed Adams advice and removed the V2 powershell modules from the server that were present and the dashboards would then start.

Get-Module Universal -ListAvailable
Get-Module UniversalDashboard -ListAvailable 

You’ll need to uninstall the v2 versions and attempt to start the dashboard.

And this will be fixed in v3.0.2. We are using the -RequiredVersion parameter to load the proper version of the Universal module into PSU.

1 Like

thanks! :slight_smile:

thanks, but we have both v2 and v3 running, can’t remove v2 :frowning: yet
but I will wait for 3.0.2 as adam wrote

So today I tried upgrading Universal from 2.11.1 to 3.0.2.

Again I was still having problems with the Variable stored as a credential in the PSUSecretStore.
I deleted it and recreated with the same issue. Cannot bind argument to parameter ‘Credential’ because it is null. Startup: at . So I tried recreating a new credential in the BuiltinLocalVault and got the same problem.

The next step I manually created the credential to test in the script and this worked allowing the dashboard to move on to another error.

The next issue I get is where the script is running a Connect-Psuserver -apptoken $apptoken. The only universal module version installed is 3.0.1. This is the error below.

Startup: Cannot convert the "PowerShellUniversal.UserInfo" value of type "PowerShellUniversal.UserInfo" to type "System.Collections.Hashtable".
Startup: at <ScriptBlock>, C:\ProgramData\UniversalAutomation\Repository\dashboards\DeployVM\DeployVM.ps1: line 75
at <ScriptBlock>, <No file>: line 1
Startup:    at System.Management.Automation.LanguagePrimitives.ThrowInvalidCastException(Object valueToConvert, Type resultType)
   at System.Management.Automation.LanguagePrimitives.ConvertNoConversion(Object valueToConvert, Type resultType, Boolean recurse, PSObject originalValueToConvert, IFormatProvider formatProvider, TypeTable backupTable)
   at System.Management.Automation.LanguagePrimitives.ConversionData`1.Invoke(Object valueToConvert, Type resultType, Boolean recurse, PSObject originalValueToConvert, IFormatProvider formatProvider, TypeTable backupTable)
   at System.Management.Automation.LanguagePrimitives.ConvertTo(Object valueToConvert, Type resultType, Boolean recursion, IFormatProvider formatProvider, TypeTable backupTypeTable)
   at System.Management.Automation.Internal.PSDataCollectionStream`1.Write(Object obj, Boolean enumerateCollection)
   at System.Management.Automation.Internal.Pipe.AddToPipe(Object obj)
   at System.Management.Automation.Cmdlet.WriteObject(Object sendToPipeline)
   at UniversalAutomation.ConnectServerCommand.BeginProcessing() in C:\actions-runner\_work\universal\universal\src\Cmdlets\ConnectServerCommand.cs:line 40
   at System.Management.Automation.Cmdlet.DoBeginProcessing()
   at System.Management.Automation.CommandProcessorBase.DoBegin()
Failed to get dashboard. There is no Runspace available to run scripts in this thread. You can provide one in the DefaultRunspace property of the System.Management.Automation.Runspaces.Runspace type. The script block you attempted to invoke was: Get-Module System.Management.Automation.PSInvalidOperationException
Inner Exception: 

The last error I also now get is rendering a button

Error rendering component (mu-button)
TypeError: Cannot read properties of undefined (reading 'dark')

    at https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/index.f64cc1d3a02c549ffd16.bundle.js:2:1220
    at https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/index.f64cc1d3a02c549ffd16.bundle.js:75:12384
    at https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/index.f64cc1d3a02c549ffd16.bundle.js:147:1799916
    at o (https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/index.f64cc1d3a02c549ffd16.bundle.js:147:2610599)
    at Cell (https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/4483.1bd10cd1e75d0be9d19b.bundle.js:1:20005)
    at td
    at https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/index.f64cc1d3a02c549ffd16.bundle.js:2:1220
    at https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/1239.44826fd5a55a364bd221.bundle.js:54:4364
    at tr
    at https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/index.f64cc1d3a02c549ffd16.bundle.js:2:1220
    at https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/1239.44826fd5a55a364bd221.bundle.js:54:14742
    at tbody
    at https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/index.f64cc1d3a02c549ffd16.bundle.js:2:1220
    at https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/1239.44826fd5a55a364bd221.bundle.js:54:2184
    at Ne (https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/4483.1bd10cd1e75d0be9d19b.bundle.js:1:15546)
    at table
    at https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/index.f64cc1d3a02c549ffd16.bundle.js:2:1220
    at https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/1239.44826fd5a55a364bd221.bundle.js:54:18361
    at div
    at https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/index.f64cc1d3a02c549ffd16.bundle.js:2:1220
    at https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/index.f64cc1d3a02c549ffd16.bundle.js:102:66172
    at https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/index.f64cc1d3a02c549ffd16.bundle.js:2:1220
    at https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/1239.44826fd5a55a364bd221.bundle.js:54:5874
    at Ve (https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/4483.1bd10cd1e75d0be9d19b.bundle.js:1:18305)
    at t (https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/6923.9f9ff40545e9727f889d.bundle.js:2:456914)
    at https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/index.f64cc1d3a02c549ffd16.bundle.js:147:1799916
    at o (https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/index.f64cc1d3a02c549ffd16.bundle.js:147:2610599)
    at div
    at https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/index.f64cc1d3a02c549ffd16.bundle.js:2:1220
    at https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/index.f64cc1d3a02c549ffd16.bundle.js:75:14630
    at n (https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/1077.94b92d8d499dcf920d76.bundle.js:1:5832)
    at https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/1077.94b92d8d499dcf920d76.bundle.js:1:5145
    at div
    at https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/index.f64cc1d3a02c549ffd16.bundle.js:2:1220
    at div
    at https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/index.f64cc1d3a02c549ffd16.bundle.js:2:1220
    at div
    at https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/index.f64cc1d3a02c549ffd16.bundle.js:2:1220
    at t (https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/index.f64cc1d3a02c549ffd16.bundle.js:147:2539319)
    at https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/index.f64cc1d3a02c549ffd16.bundle.js:102:2872
    at div
    at https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/index.f64cc1d3a02c549ffd16.bundle.js:2:1220
    at https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/index.f64cc1d3a02c549ffd16.bundle.js:102:66172
    at https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/index.f64cc1d3a02c549ffd16.bundle.js:2:1220
    at https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/index.f64cc1d3a02c549ffd16.bundle.js:75:15414
    at n (https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/1077.94b92d8d499dcf920d76.bundle.js:1:12108)
    at https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/1077.94b92d8d499dcf920d76.bundle.js:1:5145
    at o (https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/index.f64cc1d3a02c549ffd16.bundle.js:147:2610599)
    at PlaceHolder4
    at n (https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/ud-element.6df499cea164875ce03e.bundle.js:1:1375)
    at n (https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/ud-element.6df499cea164875ce03e.bundle.js:1:350)
    at Suspense
    at div
    at https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/index.f64cc1d3a02c549ffd16.bundle.js:2:1220
    at https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/index.f64cc1d3a02c549ffd16.bundle.js:102:31055
    at i (https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/5474.0a3f08e9ae5c242abc55.bundle.js:1:236)
    at o (https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/index.f64cc1d3a02c549ffd16.bundle.js:147:2610599)
    at div
    at https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/index.f64cc1d3a02c549ffd16.bundle.js:2:1220
    at https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/index.f64cc1d3a02c549ffd16.bundle.js:102:31055
    at i (https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/5474.0a3f08e9ae5c242abc55.bundle.js:1:236)
    at o (https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/index.f64cc1d3a02c549ffd16.bundle.js:147:2610599)
    at main
    at div
    at https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/index.f64cc1d3a02c549ffd16.bundle.js:147:1799916
    at t (https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/index.f64cc1d3a02c549ffd16.bundle.js:147:2507942)
    at t (https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/index.f64cc1d3a02c549ffd16.bundle.js:147:2509925)
    at Suspense
    at yt (https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/index.f64cc1d3a02c549ffd16.bundle.js:147:138601)
    at u (https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/index.f64cc1d3a02c549ffd16.bundle.js:147:89328)
    at f (https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/index.f64cc1d3a02c549ffd16.bundle.js:147:89046)
    at A (https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/index.f64cc1d3a02c549ffd16.bundle.js:147:89448)
    at ie (https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/index.f64cc1d3a02c549ffd16.bundle.js:147:62765)
    at o (https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/index.f64cc1d3a02c549ffd16.bundle.js:147:2567295)
    at https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/index.f64cc1d3a02c549ffd16.bundle.js:147:2568171
    at Dashboard (https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/index.f64cc1d3a02c549ffd16.bundle.js:147:205765)
    at t (https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/index.f64cc1d3a02c549ffd16.bundle.js:147:2507942)
    at t (https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/index.f64cc1d3a02c549ffd16.bundle.js:147:2509925)
    at div
    at t (https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/index.f64cc1d3a02c549ffd16.bundle.js:147:2504671)
    at t (https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/index.f64cc1d3a02c549ffd16.bundle.js:147:2499931)
    at o (https://vpsu.dorsetcc.local/Dashboard/live/ICT/Nutanix/DeployVM/index.f64cc1d3a02c549ffd16.bundle.js:147:2614215)

image

For the time being I will revert back to version 2.11.1 where things are stable.
Cheers Carl.

FWIW,
After uprading to 3.01, uninstalling all the 2.x stuff,
I am getting “Failed to get dashboard. Assembly with same name is already loaded System.Management.Automation.CmdletInvocationException” when I use an integrated environment, but not when I use PS 7.2
I had to re-enter variables in the PS7.2 env.

I don’t know if this is relevant to the issues at hand, but I updated my dev instance to 3.0.3 over the weekend and noticed that there were issues starting dashboards. I saw that there was still an entry for 2.11.1 in Add/Remove Programs, so I uninstalled both that were visible then reinstalled 3.0.3 fresh and it then began working (mostly! couple quirks I’ll post separately for).

Is it possible the 3.x MSI isn’t properly cleaning the old 2.x.x installs?

1 Like

Interesting. I’ll open an issue for this to see if we can track down what’s going on there.

I did get this issue also when I did upgrade a server, so when I was running;

Command: Get-Module Universal -ListAvailable
Return: Script     2.9.2                 Universal

Command: Get-Module UniversalDashboard -ListAvailable
Return:
Script     4.0.2                 UniversalDashboard
Script     3.11.1                UniversalDashboard

So what I did was run; Install-Module -Name Universal -Force

Then it was working again