Skip to main content
avillanueva
23-Emerald I
23-Emerald I
June 18, 2025
Solved

Deinstalling Thingworx - Installer says its still there

  • June 18, 2025
  • 1 reply
  • 387 views

I am attempting to clear Thingworx from my VM and reinstall a clean 9.7 version. This is Redhat 9.2 and MSSQL DB (on different host). /opt/ptc folder was moved off. In Root home, .ptc_ccif was moved off and CINC was deinstalled. /opt/cinc has been cleared as well. This is what the bitrock installer shows:

Log started 06/18/2025 at 08:38:10
Preferred installation mode : gtk
Trying to init installer in mode gtk
Trying to init installer in mode gtk
Trying to init installer in mode xwindow
Mode xwindow successfully initialized
[08:38:13] ccif.projectFlavor: MSSQL
[08:38:13] CCIF did not recognize an existing ThingWorxFoundation
[08:38:13] Setting project.installationType as: normal
[08:38:13] Detecting chef
Setting variable _knifePath from which knife
Script exit code: 1

Script output:


Script stderr:
 /usr/bin/which: no knife in (/sbin:/usr/sbin:/usr/local/sbin:/root/.local/bin:/root/bin:/sbin:/bin:/usr/sbin:/usr/bin)

Error running which knife: /usr/bin/which: no knife in (/sbin:/usr/sbin:/usr/local/sbin:/root/.local/bin:/root/bin:/sbin:/bin:/usr/sbin:/usr/bin)
[08:38:14] searching in predefined locations: /opt
[08:38:14] knife was not found
[08:38:14] Checking CINC Version
Setting variable outputCincVersion from cinc-client -v
Script exit code: 127

Script output:


Script stderr:
 /bin/sh: line 1: cinc-client: command not found

Error running cinc-client -v: /bin/sh: line 1: cinc-client: command not found
[08:38:14] CINC was not found
[08:38:14] Can't detect Chef distribution
[08:38:14] Checking Chef/CINC installation
[08:38:15] - Previous installation of ThingWorx-Foundation found: 1

[08:38:15] Previous Installation found. Please ensure that the prerequisites for upgrade are in place
[08:38:32] - The installation either failed or the user has aborted [0] it.
[08:38:32] - Main Installer : True
[08:38:32] - Cleanup Installer Directory : true
[08:38:32] ~/.ptc_ccif/ThingWorxFoundation.xml does not exist
[08:38:32] Restore original CINC folder: /opt/cinc
[08:38:32] - Clearing Tmp Directory

[08:38:32] - Clearing system temporary and functions_files
[08:38:32] - Clearing installer directory
Exiting with code 1

The installer exits since it says a pervious installation of Thingworx was found. How? Where is it determining that? Is there a deinstall step I missed?

Best answer by avillanueva

Solved my own post: ThingWorx-Foundation.service and Thingworx-IntegrationRuntime.service still existed in /etc/systemd/system folder even though they were disabled. Apparently it must use this as a check for previous install. When I deleted these files, installed was much happier.

 

1 reply

avillanueva
23-Emerald I
avillanueva23-Emerald IAuthorAnswer
23-Emerald I
June 18, 2025

Solved my own post: ThingWorx-Foundation.service and Thingworx-IntegrationRuntime.service still existed in /etc/systemd/system folder even though they were disabled. Apparently it must use this as a check for previous install. When I deleted these files, installed was much happier.