Bugs in SolidCP-Aut...
 
Notifications
Clear all

Bugs in SolidCP-Auto-Upgrade script

1 Posts
1 Users
0 Reactions
236 Views
Posts: 5
Topic starter
(@rsiera)
Active Member
Joined: 5 years ago

I'm having various issues with the auto-upgrade script, but I will focus here on one issue: lacking support for split Enterprise/Portal config.

Although there is a variable in the script ($SCP_Portal_Svr_IP) with remark "IP Address of the Portal component if not running on the Enterprise Server."
But that variable is not used anywere in the script, resulting in this error

Test-Path : Cannot bind argument to parameter 'Path' because it is an empty string.
At C:\HolonCom\SolidCP-Auto-Upgrade-Tool\SolidCP-Auto-Upgrade.ps1:522 char:16
+ if (Test-Path "$SCP_Portal_Dir") { # Upgrade the Portal if the pa ...
+ ~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (:) [Test-Path], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyStringNotAllowed,Microsoft.PowerShell.Commands.Test
PathCommand

Any suggestions?

Share: