Forum Discussion

dvantveld's avatar
dvantveld
New Contributor
9 years ago
Solved

Upgrade JIRA Connector 11 to 12 is failing missing file qacJIRAConnector.Service.InstallState

We have the QAComplete JIRA Connector 11 (version 1.1.19.0) installed and I'm trying to install (there does not appear to be an upgrade method other than to start the installation of the new version) QAComplete JIRA Connector 12 (version 1.2.0).

 

It is getting stuck when trying to install (so past the admin check) with the message: "could not find file 'C:\Program Files (x86)\Smartbear\qacJIRAConnector\qacJIRAConnector.Service.InstallState". See message attached.

 

I have not yet tried to restart the server, as that would interrupt various services. Any ideas on how to resolve this?

 

 

  • After a bit more digging, we found that the reason for the upgrade failing originally is that the software is not actually able to do a proper upgrade. It removes the software, but can't deal with the running service. Even when you stop the service, it can't actually proceed. It should be stopping the service and uninstalling the service, but instead it presents a message saying that the service is already running and then rolls back the upgrade, removing the application (so also the old version), but leaves the service. So this then prevents any repair, removal or installation from that point onwards.

     

    We managed to fix it by doing an sc delete on the service, after which the installation worked fine. So, in conclusion, if anyone upgrades the connector, I recommend stopping the service, uninstalling the software, check that the service has been removed (and if not using the sc delete command via the command line) and then install the new version.

     

    I think I have retained our settings/configurations by copying the previous settings.xml file and the Data folder. It's looking ok at first glance but we'll need to verify in greater detail to make sure. In any case, problem solved.

4 Replies

  • dvantveld's avatar
    dvantveld
    New Contributor

    After a bit more digging, we found that the reason for the upgrade failing originally is that the software is not actually able to do a proper upgrade. It removes the software, but can't deal with the running service. Even when you stop the service, it can't actually proceed. It should be stopping the service and uninstalling the service, but instead it presents a message saying that the service is already running and then rolls back the upgrade, removing the application (so also the old version), but leaves the service. So this then prevents any repair, removal or installation from that point onwards.

     

    We managed to fix it by doing an sc delete on the service, after which the installation worked fine. So, in conclusion, if anyone upgrades the connector, I recommend stopping the service, uninstalling the software, check that the service has been removed (and if not using the sc delete command via the command line) and then install the new version.

     

    I think I have retained our settings/configurations by copying the previous settings.xml file and the Data folder. It's looking ok at first glance but we'll need to verify in greater detail to make sure. In any case, problem solved.

    • TanyaYatskovska's avatar
      TanyaYatskovska
      SmartBear Alumni (Retired)

      Hi dvantveld,

       

      Great to hear that you have managed to resolve the issue :)

       Thanks for sharing the results with us.

  • dvantveld's avatar
    dvantveld
    New Contributor

    Tried the following:

    Tried to uninstall the previous JIRA Connector 11. That failed with a message about it not being configured as a service (which seems a bit random).

    Did a manual uninstall by removing the Smartbear folder in Program Files and then used Wise Program Uninstaller to get rid of the rest.

    Did a full restart of the server.

     

    After all that, tried to install JIRA Connector 12 again, but I'm still getting that InstallState message.