08-07-25 08:15 AM
Hi
Upgrading from Blue Prism HUB 4.7 to 5.1.1 with Blue Prism powershell migration script.
Have uninstalled previous installation of bp hub and api, files and databases are intact. Have run the migration script with -disable flag and passed all tests. When i run the script with -migrate_data flag it works all the way to the part when it should install the Gateway, the installation fail and never finish.
Any ideas?
Part of the log file from the Gateway installation.
ActionData: 1: System.Windows.Extensions.dll 2: 3: 4: 5: 6: 43112 7: 8: 9: C:\Program Files (x86)\SS&C Blue Prism\Gateway\runtimes\win\lib\net6.0\
ActionData: 1: System.Windows.Extensions.dll 2: 3: 4: 5: 6: 43112 7: 8: 9: C:\Program Files (x86)\SS&C Blue Prism\Gateway\Migrator\runtimes\win\lib\net6.0\
ActionData: 1: System.Windows.Extensions.dll 2: 3: 4: 5: 6: 25712 7: 8: 9: C:\Program Files (x86)\SS&C Blue Prism\Gateway\Migrator\
ActionData: 1: web.config 2: 3: 4: 5: 6: 1724 7: 8: 9: C:\Program Files (x86)\SS&C Blue Prism\Gateway\
ActionStart: Action 15:43:47: UpdateHostsFile.
Info: SFXCA: Extracting custom action to temporary directory: C:\Windows\Installer\MSIBA1B.tmp-0\
Info: SFXCA: Binding to CLR version v4.0.30319
Info: Calling custom action BPC.Gateway.Ocelot.Installer!BPC.Gateway.Ocelot.Installer.Actions.CustomActions.UpdateHostsFile
ActionStart: Action 15:43:48: UpdateSettingsJsonFiles.
Info: SFXCA: Extracting custom action to temporary directory: C:\Windows\Installer\MSIBB83.tmp-0\
Info: SFXCA: Binding to CLR version v4.0.30319
Info: Calling custom action BPC.Gateway.Ocelot.Installer!BPC.Gateway.Ocelot.Installer.Actions.CustomActions.UpdateSettingsJsonFiles
Info: System.FormatException: String was not recognized as a valid Boolean.
at System.Boolean.Parse(String value)
at BPC.Gateway.Ocelot.Installer.Helpers.ConnectionStringHelper.ReconstructConnectionString(Dictionary`2 properties, SqlConnectionInfo connectionInfo)
at BPC.Gateway.Ocelot.Installer.Actions.CustomActions.<>c__DisplayClass4_0.<UpdateSettingsJsonFiles>b__0()
at WixSharp.Extensions.HandleErrors(Session session, Action action)
Info: CustomAction UpdateSettingsJsonFiles returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Info: Action ended 15:43:48: InstallFinalize. Return value 3.
CommonData: Message type: 2, Argument: 0
CommonData: Message type: 2, Argument: 0
CommonData: Message type: 0, Argument: 1033, 1252
CommonData: Message type: 1, Argument: Gateway
ActionStart: Action 15:43:48: Rollback. Rolling back action: [1]
ActionData: 1: UpdateSettingsJsonFiles
ActionData: 1: UpdateHostsFile
ActionData: 1: Copying new files File: [1], Directory: [9], Size: [6]
ActionData: 1: Creating folders Folder: [1]
ActionData: 1: Updating component registration
CommonData: Message type: 2, Argument: 1
CommonData: Message type: 2, Argument: 1
Info: Action ended 15:43:48: INSTALL. Return value 3.
InstallEnd: 1: Gateway 2: {D66CED36-3E4C-4509-95F2-267CC57FF6E6} 3: 3
CommonData: 1: 2 2: 0
CommonData: 1: 2 2: 1
Info: Action ended 15:43:48: INSTALL. Return value 3.
Config.json file (changend ip, username, password, domain values to fake ones.)
{
"Mandatory": {
"SQLServerConfiguration": {
"Address": "10.1.1.1,22204",
"Username": "Username",
"Password": "password",
"AuthMode": "S",
"Encrypted": "true",
"DbName": ""
},
"RabbitMQConfiguration": {
"Username": "username",
"Password": "password",
"Host": "localhost",
"Port": "5672",
"ManagementPort": "15672"
},
"WebApplication": {
"Domain": "my.domain.se",
"Port": "443"
},
"CustomerID": "developer"
},
"Optional": {
"Certificates": {
"WildcardThumbprint": "8f66392da9f2df34401bfdf98af0f556bfc47fc7",
"AlmThumbprint": "",
"AuthServerThumbprint": "",
"AuditThumbprint": "",
"ControlRoomThumbprint": "",
"DashboardThumbprint": "",
"DecisionThumbprint": "",
"DirectorThumbprint": "",
"DiscoveryThumbprint": "",
"EmailServiceThumbprint": "",
"FileServiceThumbprint": "",
"GatewayThumbprint": "",
"InteractRemoteApiThumbprint": "",
"InteractThumbprint": "",
"LayoutManagerThumbprint": "",
"LicenseManagerThumbprint": "",
"NotificationCenterThumbprint": "",
"SettingsThumbprint": "",
"SignalRThumbprint": "",
"UsmThumbprint": ""
},
"SQLServerConfiguration": {
"Databases": {
"Alm": "RPAAlmDB_v511",
"Audit": "RPAAuditDB_v511",
"AuthServer": "RPAAuthenticationServerDB",
"Dashboard": "RPADashboardDB_v511",
"Decision": "RPADecisionDB_v511",
"Discovery": "RPADiscoveryDB_v511",
"EmailService": "RPAEmailServiceDB_v511",
"FileService": "RPAFileServiceDB_v511",
"Interact": "RPAInteractDB_v511",
"LayoutManager": "RPALayoutManagerDB_v511",
"LicenseManager": "RPALicenseManagerDB_v511",
"NotificationCenter": "RPANotificationCenterDB_v511",
"Settings": "RPASettingsDB_v511"
}
},
"InstallationPath": "C:\\Program Files (x86)\\Blue Prism",
"DataProtectionKeysDirPath": "",
"RootCACertificateThumbprint": "",
"JwtCertificateThumbprint": "",
"DataProtectionCertificateThumbprint": "",
"SqlEncryptionCertificateThumbprint": "",
"DecisionClientCertificateThumbprint": "",
"RabbitMQEncryptionCertificateThumbprint": "",
"ConfigProtectionCertificateThumbprint": "",
"TelemetryLogs": {
"ApplicationInsightsConnectionString": "",
"CloudWatchRegion": ""
},
"Hosts": {
"Alm": "",
"Audit": "",
"AuthServer": "",
"ControlRoom": "",
"Dashboard": "",
"Decision": "",
"Director": "",
"Discovery": "",
"EmailService": "",
"FileService": "",
"Gateway": "",
"Interact": "",
"InteractRemoteApi": "",
"LayoutManager": "",
"LicenseManager": "",
"NotificationCenter": "",
"Settings": "",
"SignalR": "",
"Usm": ""
},
"DecisionModelService": {
"Port": "",
"Url": "",
"Certificates": {
"ServerKey": "",
"ServerPath": "",
"CaPath": ""
}
}
}
}
data-migration-config.json
{
"SourceVersion": "4.7",
"Batch": {
"Size": 500
},
"TransactionScope": {
"Timeout": 15
},
"FileService": {
"Address": "https://file.my.domain.se/",
"Type": "database",
"StoragePath": "Server=10.1.1.1,22204;Database=RPAFileServiceDB;User Id=username;Password=password;Encrypt=True;"
},
"ConnectionStrings": {
"FileService": "Server=10.1.1.1,22204;Database=RPAFileServiceDB;User Id=username;Password=password;Encrypt=True;",
"Hub": "Server=10.1.1.1,22204;Database=RPAHubDB;User Id=username;Password=password;Encrypt=True;",
"Interact": "",
"Audit": "Server=10.1.1.1,22204;Database=RPAAuditDB;User Id=username;Password=password;Encrypt=True;",
"EmailService": "",
"NotificationCenter": "",
"Decision": ""
},
"DataProtection": {
"KeyStorageDirectory": "C:\\Program Files (x86)\\Blue Prism\\DataProtectionKeys",
"CertificateThumbprint": "8f66392da9f2df34401bfdf98af0f556bfc47fc7"
}
}
09-07-25 09:36 AM
The output log from the Gateway installation states there is something wrong when parsing boolean value. Anyone know where this happens, where to find this boolean value?
Info: Calling custom action BPC.Gateway.Ocelot.Installer!BPC.Gateway.Ocelot.Installer.Actions.CustomActions.UpdateSettingsJsonFiles
Info: System.FormatException: String was not recognized as a valid Boolean.
at System.Boolean.Parse(String value)
at BPC.Gateway.Ocelot.Installer.Helpers.ConnectionStringHelper.ReconstructConnectionString(Dictionary`2 properties, SqlConnectionInfo connectionInfo)
at BPC.Gateway.Ocelot.Installer.Actions.CustomActions.<>c__DisplayClass4_0.<UpdateSettingsJsonFiles>b__0()
at WixSharp.Extensions.HandleErrors(Session session, Action action)
22-07-25 03:37 PM
Hello,
We are also facing the similar issues. Are you able to complete the installation?
Thanks,
Ravi