cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

ThingWorx Navigate is now Windchill Navigate Learn More

Translate the entire conversation x

Deinstalling Thingworx - Installer says its still there

avillanueva
22-Sapphire III

Deinstalling Thingworx - Installer says its still there

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?

ACCEPTED SOLUTION

Accepted Solutions
avillanueva
22-Sapphire III
(To: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.

 

View solution in original post

1 REPLY 1
avillanueva
22-Sapphire III
(To: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.

 

Announcements


Top Tags