Question / Problem:
How to recover from a failed upgrade of 18.104.22.168
Answer / Solution:
During an upgrade to ControlSuite 22.214.171.124, the MSI detects that the Cassandra version needs to be updated, it runs install.cmd, and starts the Cassandra service. If 8dot3 is not enabled, the install will put a bad classpath into the registry, the service will fail to start, and the upgrade will fail.
First Step (removal of ControlSuite):
- Click on the Search icon and type PowerShell.
- Right click on the PowerShell application and select “Run as administrator”.
- Set PowerShell execution policy to unrestricted by executing the following command. Set-ExecutionPolicy Unrestricted
- When the warning message appears type “Y” and press your “Enter” key.
- Navigate to the “Configure” folder of your ControlSuite 126.96.36.199 installation package for example “C:\Users\Administrator\Downloads\188.8.131.52.0\Configure”
- Once you have navigated to the “Configure” folder type the following command: .\InstallAssistantHelper.ps1 -uninstall -removeconfigurationdata
- A confirmation message will appear, type “Y” and press the “Enter” key.
- The uninstall and cleanup process will now start.
- If the system does not have internet access you will get some warning messages.
- When the uninstall process is completed, open Windows control panel.
- Double click on “System”.
- Click on “Advanced system settings”.
- Click on “Settings” under “User Profiles”.
- Select the “SecurityFrameworkService” profile and delete it.
- Restart the server.
Second Step (enabling 8DOT3):
- Open an elevated command prompt run and execute the following command: fsutil 8dot3name set 0
- Reboot the server and install ControlSuite normally.
Third Step (reinstall):
1. Reinstall ControlSuite
“0” Enables 8dot3 name creation for all volumes on the system
The command should be run from a path on the install drive volume