The linux installer for Foundation 10.0.1 and Flow 10.0.1 always fail with the following error:
Configuring Installer...
Executing ***unknown variable ccif.dir.openssl.runnable***openssl
Error running ***unknown variable ccif.dir.openssl.runnable***openssl req -config ***unknown variable ccif.dir.openssl.config***openssl.cnf -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout key.pem -out cert.pem -subj "/C=US/ST=New COUNTRY/L=SOMEWHERE /O=.../OU=.../CN=.../emailAddress=...": /bin/sh: line 1: ***unknown variable ccif.dir.openssl.runnable***openssl: command not found
[16:54:37] Failed to configure installation RuntimeI finally gave up and manually installed Foundation and am now experiencing the same problem with Flow and there is no manual way to install Flow that I'm aware of so now I'm stuck.
The openssl command is available (version 3.2.2.4) but it looks to fail injecting variables called ccif.dir.openssl.runnable and ccid.dir.openssl.config. There are other ccif.* variables:
# grep ccif ThingWorxFlow_install.log
[16:49:48] ccif.projectFlavor: PostgreSQL
[16:49:50] homeDir set to ~/.ptc_ccif
[16:50:05] ccif.dir.tmp |/opt/ptc/ThingworxFlow/installer/tmp/|
[16:50:05] ccif.dir.install |/opt/ptc/ThingworxFlow|
[16:50:05] ccif.dir.installer |/opt/ptc/ThingworxFlow/installer/|
[16:50:05] ccif.dir.tarballs |/opt/ptc/ThingworxFlow/installer/tarballs/|
[16:54:16] ccif.dir.tmp |/opt/ptc/ThingworxFlow/installer/tmp/|
[16:54:16] ccif.dir.install |/opt/ptc/ThingworxFlow|
[16:54:16] ccif.dir.installer |/opt/ptc/ThingworxFlow/installer/|
[16:54:16] ccif.dir.tarballs |/opt/ptc/ThingworxFlow/installer/tarballs/|
[16:54:17] ~/.ptc_ccif/ThingWorxFlow.xml does not exist
[16:54:25] ccif.cincInstalled: 1
[16:54:30] start ccif_start_pre
[16:54:30] end ccif_start_pre
[16:54:30] start ccif_end_pre
[16:54:31] end ccif_end_pre
[16:54:31] start ccif_start_main
[16:54:32] end ccif_start_main
Executing ***unknown variable ccif.dir.openssl.runnable***openssl
Error running ***unknown variable ccif.dir.openssl.runnable***openssl req -config ***unknown variable ccif.dir.openssl.config***openssl.cnf -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout key.pem -out cert.pem -subj "/C=US/ST=New COUNTRY/L=SOMEWHERE /O=.../OU=.../CN=.../emailAddress=...": /bin/sh: line 1: ***unknown variable ccif.dir.openssl.runnable***openssl: command not found
[16:54:55] Executing abort action : ccif_start_main component
[16:54:55] Executing abort action : ccif_end_pre component
[16:54:56] Executing abort action : ccif_start_pre componentIs there a way around this with the installer or is there a way to manually install?
-Matt
Solved! Go to Solution.
I'm convinced that it is impossible to run the Foundation or Flow installers on linux. The Foundation installer failed spectacularly as well so I manually installed the components but Flow doesn't have a manual install procedure. I scuttled the linux environment and installed on Windows and it worked.
I installed chef-workstation and libxcrypt-compat so I no longer have the error above. Now I'm getting the following:
Configuring Installer...
Executing /opt/chef-workstation/embedded/bin/openssl req -config /opt/chef-workstation/embedded/ssl/openssl.cnf -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout key.pem -out cert.pem -subj "/C=US/ST=New COUNTRY/L=SOMEWHERE /O=.../OU=.../CN=.../emailAddress=..."
Script exit code: 0
Script output:
Script stderr:
.+...+......+.............+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..........+.+..+.........+....+.....+.......+..+.+............+.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+............+...+...........+.............+.....+..........+..+...+.+.....+...............+.......+.........+.....+.+............+........+............+.+.....+.......+........+.........+.............+..+.+..+....+......+.....+...+.......+...+..............+................+.....+.......+...+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
........+.+..+...+.......+.....+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*........+....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..........+...+.........+.+..+.........+....+............+...+.........+..+......+...+......+.........................+.....+....+..+..........+..+......................+.....+...+..........+...+...............+...+.....+......+......+.........+....+..+............+.+..+.......+...+..+.+......+......+...+..+...+.........+..........+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----
Configuring Installer...
Executing /opt/chef-workstation/embedded/bin/openssl rand -base64 -out "/opt/ptc/ThingworxFlow/installer/secrets/encrypted_data_bag_secret" 512
Script exit code: 0
Script output:
Script stderr:
Configuring Installer keystore...
Executing ./knife data bag create installation -c "/opt/ptc/ThingworxFlow/installer/flow/knife.rb"
Script exit code: 0
Script output:
Script stderr:
Created data_bag[installation]
Encrypting installer secrets...
Executing ./knife data bag from file installation "/opt/ptc/ThingworxFlow/installer/flow/flow.json" --secret-file "/opt/ptc/ThingworxFlow/installer/secrets/encrypted_data_bag_secret" -c "/opt/ptc/ThingworxFlow/installer/flow/knife.rb"
Script exit code: 0
Script output:
Script stderr:
Updated data_bag_item[installation::flow]
ThingWorx Flow for PostgreSQL Installation in Progress...
Executing ./chef-client -z --config "/opt/ptc/ThingworxFlow/installer/flow/knife.rb" -j "/opt/ptc/ThingworxFlow/installer/flow.json" -L "/opt/ptc/ThingworxFlow/installer/logs/flow-20251107195144.log"
Script exit code: 172
Script output:
Chef Infra Client cannot execute without accepting the license
Script stderr:
child process exited abnormally
Error running ./chef-client -z --config "/opt/ptc/ThingworxFlow/installer/flow/knife.rb" -j "/opt/ptc/ThingworxFlow/installer/flow.json" -L "/opt/ptc/ThingworxFlow/installer/logs/flow-20251107195144.log": child process exited abnormally
[19:51:46] ThingWorx Flow for PostgreSQL: rc=172
[19:51:46] flow Installation Failed
[19:51:46] Step install via chef script failed :: 1
[19:51:46] Abort action was launched. Inside Flow component. setRestoreOn is set to: [false] Full restore is set to:[false]
[19:51:46] Abort action was launched. Inside Flow component. start removing It is running openssl and is failing to run:
./chef-client -z --config "/opt/ptc/ThingworxFlow/installer/flow/knife.rb" -j "/opt/ptc/ThingworxFlow/installer/flow.json"It looks like this is supposed to be interactive and it is wanting an acknowledgment of the license agreement but there is no visible cue in the terminal for this. Is there some flag that can be passed to accept the license?
I'm convinced that it is impossible to run the Foundation or Flow installers on linux. The Foundation installer failed spectacularly as well so I manually installed the components but Flow doesn't have a manual install procedure. I scuttled the linux environment and installed on Windows and it worked.
Hi @rattmice
We're sorry to hear about your frustrations running the installer on Linux. Most often, the issues are permissions related. Did you refer to the instructions in the Help Center?
I would like to ask that we open a case for this so we can determine the actual cause of the problems. It will help us to identify areas of improvement in both the installer and the documentation.
If you would like me to open a case on your behalf, please let me know.
Regards.
--Sharon
Yes, I followed the instructions in the help center and from tech support to no avail. This is case C17955889.
-Matt
Hi @rattmice
I see that case was opened for Flow, but I think we also need one for the ThingWorx installer since you ended up having to install manually. Would you like me to open a case for that?
Regards.
--Sharon
Sharon, I don't want to spend any more time on the ThingWorx Foundation part since I already solved it by installing manually. It is ironic that both Foundation and Flow both fails in similar ways (I don't have any specific notes for the Foundation failure) and the installer is very opaque with no way of injecting debugging or altering how it works although I did try injecting updated scripts as the files were unpacked but that didn't resolve it. I wish I could install Flow without the installer which would have saved days of effort and also allowed me to run in a preferred operation system.
I may just close the support case for the Flow installer since I found a workaround but it would be good know what I am doing wrong.
Thank you for your follow up.
-Matt
Hi @rattmice
Not a problem, but if you change your mind about opening a case, please let me know.
Regards.
--Sharon
