ben_white
hi there,
i am experiencing issues with the runtime installer and am unable to start the runtime 
i am using a windows 11 installed PC
 
any help is greatly appreciated 
 
Installing OpenPLC on Windows
Cache directory is /var/cache/apt/packages
Mirror is https://cygwin.mirror.constant.com
--2024-03-13 17:33:10-- https://cygwin.com/key/pubring.asc
Resolving cygwin.com (cygwin.com)... 8.43.85.97, 2620:52:3:1:0:246e:9693:128c
Connecting to cygwin.com (cygwin.com)|8.43.85.97|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3122 (3.0K) [text/plain]
Saving to: ‘/tmp/apt-cyg.1573.2bfa195f’
0K ... 100% 52.7M=0s
2024-03-13 17:33:11 (52.7 MB/s) - ‘/tmp/apt-cyg.1573.2bfa195f’ saved [3122/3122]
TRUSTEDKEY_CYGWIN: FAILED: Hash does not match https://cygwin.com/key/pubring.asc.
Error: TRUSTEDKEY_CYGWIN has been updated, maybe. But sometimes it may has been cracked. Be careful !!!
at : /usr/bin/apt-cyg: fetch_trustedkeys: 848
Cache directory is /var/cache/apt/packages
Mirror is https://cygwin.mirror.constant.com
--2024-03-13 17:33:11-- https://cygwin.com/key/pubring.asc
Resolving cygwin.com (cygwin.com)... 8.43.85.97, 2620:52:3:1:0:246e:9693:128c
Connecting to cygwin.com (cygwin.com)|8.43.85.97|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3122 (3.0K) [text/plain]
Saving to: ‘/tmp/apt-cyg.1602.65ec1390’
0K ... 100% 53.4M=0s
2024-03-13 17:33:12 (53.4 MB/s) - ‘/tmp/apt-cyg.1602.65ec1390’ saved [3122/3122]
TRUSTEDKEY_CYGWIN: FAILED: Hash does not match https://cygwin.com/key/pubring.asc.
Error: TRUSTEDKEY_CYGWIN has been updated, maybe. But sometimes it may has been cracked. Be careful !!!
at : /usr/bin/apt-cyg: fetch_trustedkeys: 848
Cache directory is /var/cache/apt/packages
Mirror is https://cygwin.mirror.constant.com
--2024-03-13 17:33:13-- https://cygwin.com/key/pubring.asc
Resolving cygwin.com (cygwin.com)... 8.43.85.97, 2620:52:3:1:0:246e:9693:128c
Connecting to cygwin.com (cygwin.com)|8.43.85.97|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3122 (3.0K) [text/plain]
Saving to: ‘/tmp/apt-cyg.1623.7e017cda’
0K ... 100% 49.9M=0s
2024-03-13 17:33:14 (49.9 MB/s) - ‘/tmp/apt-cyg.1623.7e017cda’ saved [3122/3122]
TRUSTEDKEY_CYGWIN: FAILED: Hash does not match https://cygwin.com/key/pubring.asc.
Error: TRUSTEDKEY_CYGWIN has been updated, maybe. But sometimes it may has been cracked. Be careful !!!
at : /usr/bin/apt-cyg: fetch_trustedkeys: 848
./background_installer.sh: line 261: lynx: command not found
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
./background_installer.sh: line 265: /home/ben/OpenPLC_v3/.venv/bin/python3: No such file or directory
./background_installer.sh: line 266: /home/ben/OpenPLC_v3/.venv/bin/python3: No such file or directory
Reply 0 0
ben_white
i have tried uninstalling  and reinstalling , following the manual installation guide, i have tried installing python and lynx separately and i always come back to these issues
Reply 0 0
Jean-Pierre Fortin
Hi! I experienced the same, but on Windows 10. Hoe can I make Runtime work on my machine(s) ? I already tried several things without success.
Reply 0 0
Jean-Pierre Fortin
hi there,
i am experiencing issues with the runtime installer and am unable to start the runtime 
i am using a windows 11 installed PC
 
any help is greatly appreciated 
 
Installing OpenPLC on Windows
Cache directory is /var/cache/apt/packages
Mirror is https://cygwin.mirror.constant.com
--2024-03-13 17:33:10-- https://cygwin.com/key/pubring.asc
Resolving cygwin.com (cygwin.com)... 8.43.85.97, 2620:52:3:1:0:246e:9693:128c
Connecting to cygwin.com (cygwin.com)|8.43.85.97|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3122 (3.0K) [text/plain]
Saving to: ‘/tmp/apt-cyg.1573.2bfa195f’
0K ... 100% 52.7M=0s
2024-03-13 17:33:11 (52.7 MB/s) - ‘/tmp/apt-cyg.1573.2bfa195f’ saved [3122/3122]
TRUSTEDKEY_CYGWIN: FAILED: Hash does not match https://cygwin.com/key/pubring.asc.
Error: TRUSTEDKEY_CYGWIN has been updated, maybe. But sometimes it may has been cracked. Be careful !!!
at : /usr/bin/apt-cyg: fetch_trustedkeys: 848
Cache directory is /var/cache/apt/packages
Mirror is https://cygwin.mirror.constant.com
--2024-03-13 17:33:11-- https://cygwin.com/key/pubring.asc
Resolving cygwin.com (cygwin.com)... 8.43.85.97, 2620:52:3:1:0:246e:9693:128c
Connecting to cygwin.com (cygwin.com)|8.43.85.97|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3122 (3.0K) [text/plain]
Saving to: ‘/tmp/apt-cyg.1602.65ec1390’
0K ... 100% 53.4M=0s
2024-03-13 17:33:12 (53.4 MB/s) - ‘/tmp/apt-cyg.1602.65ec1390’ saved [3122/3122]
TRUSTEDKEY_CYGWIN: FAILED: Hash does not match https://cygwin.com/key/pubring.asc.
Error: TRUSTEDKEY_CYGWIN has been updated, maybe. But sometimes it may has been cracked. Be careful !!!
at : /usr/bin/apt-cyg: fetch_trustedkeys: 848
Cache directory is /var/cache/apt/packages
Mirror is https://cygwin.mirror.constant.com
--2024-03-13 17:33:13-- https://cygwin.com/key/pubring.asc
Resolving cygwin.com (cygwin.com)... 8.43.85.97, 2620:52:3:1:0:246e:9693:128c
Connecting to cygwin.com (cygwin.com)|8.43.85.97|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3122 (3.0K) [text/plain]
Saving to: ‘/tmp/apt-cyg.1623.7e017cda’
0K ... 100% 49.9M=0s
2024-03-13 17:33:14 (49.9 MB/s) - ‘/tmp/apt-cyg.1623.7e017cda’ saved [3122/3122]
TRUSTEDKEY_CYGWIN: FAILED: Hash does not match https://cygwin.com/key/pubring.asc.
Error: TRUSTEDKEY_CYGWIN has been updated, maybe. But sometimes it may has been cracked. Be careful !!!
at : /usr/bin/apt-cyg: fetch_trustedkeys: 848
./background_installer.sh: line 261: lynx: command not found
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
./background_installer.sh: line 265: /home/ben/OpenPLC_v3/.venv/bin/python3: No such file or directory
./background_installer.sh: line 266: /home/ben/OpenPLC_v3/.venv/bin/python3: No such file or directory
Hi! Same problem here, but on Win 10.
Reply 0 0
Jean-Pierre Fortin
And I get this upon trying to start the runtime:
 
Verifying Runtime Installation...
C:\Users\newji\OpenPLC_Runtime\start_runtime.cmd: line 25: ./start_openplc.sh: No such file or directory
Press [Enter] key to close...
 
It cannot seem to find this   ./ start_openplc.sh
Reply 0 0
Jean-Pierre Fortin
Here is what I get actually, telling  me Runtime was not installed:
 

TRUSTEDKEY_CYGWIN: FAILED: Hash does not match https://cygwin.com/key/pubring.asc.
Error: TRUSTEDKEY_CYGWIN has been updated, maybe. But sometimes it may has been cracked. Be careful !!!
at : /usr/bin/apt-cyg: fetch_trustedkeys: 848
Cache directory is /var/cache/apt/packages
Mirror is https://cygwin.mirror.constant.com
--2024-03-13 11:35:39-- https://cygwin.com/key/pubring.asc
Resolving cygwin.com (cygwin.com)... 8.43.85.97, 2620:52:3:1:0:246e:9693:128c
Connecting to cygwin.com (cygwin.com)|8.43.85.97|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3122 (3.0K) [text/plain]
Saving to: ‘/tmp/apt-cyg.837.6b875083’
0K ... 100% 17.7M=0s
2024-03-13 11:35:39 (17.7 MB/s) - ‘/tmp/apt-cyg.837.6b875083’ saved [3122/3122]
TRUSTEDKEY_CYGWIN: FAILED: Hash does not match https://cygwin.com/key/pubring.asc.
Error: TRUSTEDKEY_CYGWIN has been updated, maybe. But sometimes it may has been cracked. Be careful !!!
at : /usr/bin/apt-cyg: fetch_trustedkeys: 848
./background_installer.sh: line 261: lynx: command not found
./background_installer.sh: line 264: /cygdrive/c/Users/newji/AppData/Local/Microsoft/WindowsApps/python3: Permission denied
./background_installer.sh: line 265: /home/newji/OpenPLC_v3/.venv/bin/python3: No such file or directory
./background_installer.sh: line 266: /home/newji/OpenPLC_v3/.venv/bin/python3: No such file or directory
[MATIEC COMPILER]
[ST OPTIMIZER]
./background_installer.sh: line 130: g++: command not found
Error compiling ST Optimizer
OpenPLC was NOT installed!
Press [Enter] key to close...
 
 
It seems to be about this cryptic message: TRUSTEDKEY_CYGWIN: FAILED: Hash does not match https://cygwin.com/key/pubring.asc.
 
Can you help me !!! 🙂
 
 
Reply 0 0
ben_white
i dont believe it has anything to do with the trusted key as the other programs in the installer seem to install with the error message 
 
looks to me like a problem with the backgrond installer to not install the lynx text based web browser and also has issue with python 3
aslo there is no .venv folder created to reference from
 
im about to try on a friends pc to see if it has the same outcome, ill let you know if it worked
Reply 0 0
ben_white
exact same issue on the other pc 
the runtime installer is broken
Reply 0 0
thiagoralves
I’ll take a look at that. Maybe something broke on the Cygwin side and it is rejecting the keys. The key error is what is preventing all dependencies from being installed. 
Reply 0 0
thiagoralves
Reply 0 0
Jean-Pierre Fortin
Super!  I shall try it ASAP.  Regards to all.
Reply 0 0
ben_white
many thanks thiago, i will tyr when i getv home from work
Reply 1 0
Jean-Pierre Fortin
Great! It worked:
 
Verifying Runtime Installation...
* Serving Flask app 'webserver'
* Debug mode: off
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:8080
* Running on http://10.0.0.4:8080
Press CTRL+C to quit
127.0.0.1 - - [14/Mar/2024 20:14:16] "GET / HTTP/1.1" 302 -
127.0.0.1 - - [14/Mar/2024 20:14:17] "GET /login HTTP/1.1" 200 -
127.0.0.1 - - [14/Mar/2024 20:14:17] "GET /static/logo-openplc.png HTTP/1.1" 304 -
127.0.0.1 - - [14/Mar/2024 20:14:17] "GET /favicon.ico HTTP/1.1" 404 -
127.0.0.1 - - [14/Mar/2024 20:14:26] "POST /login HTTP/1.1" 302 -
127.0.0.1 - - [14/Mar/2024 20:14:26] "GET /dashboard HTTP/1.1" 200 -
127.0.0.1 - - [14/Mar/2024 20:14:27] "GET /static/logout-icon-64x64.png HTTP/1.1" 304 -
127.0.0.1 - - [14/Mar/2024 20:14:27] "GET /static/hardware-icon-980x974.png HTTP/1.1" 304 -
127.0.0.1 - - [14/Mar/2024 20:14:27] "GET /static/users-icon-64x64.png HTTP/1.1" 304 -
127.0.0.1 - - [14/Mar/2024 20:14:27] "GET /static/monitoring-icon-64x64.png HTTP/1.1" 304 -
127.0.0.1 - - [14/Mar/2024 20:14:27] "GET /static/settings-icon-64x64.png HTTP/1.1" 304 -
127.0.0.1 - - [14/Mar/2024 20:14:27] "GET /static/logo-openplc.png HTTP/1.1" 304 -
127.0.0.1 - - [14/Mar/2024 20:14:27] "GET /static/default-user.png HTTP/1.1" 304 -
127.0.0.1 - - [14/Mar/2024 20:14:27] "GET /static/home-icon-64x64.png HTTP/1.1" 304 -
127.0.0.1 - - [14/Mar/2024 20:14:27] "GET /static/arrow.png HTTP/1.1" 304 -
127.0.0.1 - - [14/Mar/2024 20:14:27] "GET /static/modbus-icon-512x512.png HTTP/1.1" 304 -
127.0.0.1 - - [14/Mar/2024 20:14:27] "GET /static/programs-icon-64x64.png HTTP/1.1" 304
Reply 1 0
Jean-Pierre Fortin
many thanks thiago, i will tyr when i getv home from work
Same here, it worked for me as well, many thanks!  
Reply 1 0
Reply