Alex.W
Hi all,

i run into a little problem. I wanted to install OpenPLC runtime with this guide. 

https://openplcproject.com/docs/installing-openplc-runtime-on-windows/

The Issue i have is after i installed cygwin and want to do step 5 (running cygwin Terminal and get OpenPLC with the command git clone...)

It shows this error: 
[/CODE]nbsp;git clone https://github.com/thiagoralves/OpenPLC_v3.git
Cloning into 'OpenPLC_v3'...
error: chmod on /home/XXXXX/OpenPLC_v3/.git/config.lock failed: Invalid argument
fatal: could not set 'core.filemode' to 'false'



I run cygwin already as admin.
Working on a Windows 10 machine

Would be happy if somebody can help.

Greetings
Alex
Reply 0 0
jcramer
You shouldn’t need to run Cygwin as admin.  I would delete the OpenPLC_v3 directory and try to run it again as a normal non-admin user.
Reply 0 0
Alex.W
Thanks for the input! I got sadly now a new error :/
[/CODE]nbsp;git clone https://github.com/thiagoralves/OpenPLC_v3.git
Cloning into 'OpenPLC_v3'...
fatal: unable to access 'https://github.com/thiagoralves/OpenPLC_v3.git/': error setting certificate verify locations:  CAfile: /etc/pki/tls/certs/ca-bundle.crt CApath: none

 
Reply 0 0
jcramer
Did you install Cygwin as admin?  If so, delete c:/cygwin64 and reinstall Cygwin as a non-admin user.
Reply 0 0
Alex.W
Thanks!!! it worked on my private Laptop. Sadly not on my business laptop...but that has now something to do with the company and not with open PLC. Thanks again for the quick and good answer! 
Reply 0 0
Alex.W
Small add on! It does finally work with the business laptop. I just needed to alter the command in the PowerShell when installing cygwin! By adding the --no-admin!

 .\setup-x86_64.exe --no-admin -q -P ca-certificates,wget,gcc-core,gcc-g++,git,pkg-config,automake,autoconf,libtool,make,python2,python2-pip,sqlite3

Thanks again for the help! 
Reply 1 0
thiagoralves
Good catch! I'll update the instructions with that. Also, there is a new Windows installer that you can try as well.
Reply 1 0
OUSS7MA
I installed openplc runtime on my pc after installing cygwin it shows me this error "cygwin is not installed please restart openplc installer " can someone please help me??
Reply 0 0
thiagoralves
Something is failing while installing Cygwin. OpenPLC runtime installer installs its own Cygwin. It won’t use Cygwin installed somewhere else on your computer. Try to install again or run the manual install through Cygwin as per instructions
Reply 0 0
Alto
Hi guys, I'm new to Open PLC and having a problem when trying to download Cygwin to Windows. when I try to manually download Cygwin and type the command as per the manual instruction, I'm getting the below red message. Why and how to correct it.
 
Thanks
 
Al[203128%2F8768519%2Fmceclip0]
Reply 0 0
thiagoralves
You need to be in the folder where you saved the Cygwin setup file. For example, if you saved it in your Downloads folder, a simple
cd Downloads
 
before the command is enough
Reply 0 0
Alto
You need to be in the folder where you saved the Cygwin setup file. For example, if you saved it in your Downloads folder, a simple
  1. cd Downloads
 
before the command is enough
Thanks for replying to my post. I did as you instructed, but is not working .please, see below
[203128%2F8768550%2Fmceclip0]
Reply 0 0
Alto
After I followed your instructions. I entered the required commands see below, and I got the following screenshots.
 
 
 
[203128%2F8768576%2Fmceclip0]
 
[203128%2F8768579%2Fmceclip0]
[203128%2F8768580%2Fmceclip0]
 
[203128%2F8768581%2Fmceclip0]
 
 
[203128%2F8768583%2Fmceclip0]
Reply 0 0
thiagoralves
Your git clone command failed because you typed it incorrectly. Then it looks like you downloaded it and placed it inside Cygwin folder and tried to clone it again. This time it failed because the OpenPLC_v3 folder already exists. Remove the OpenPLC_v3 folder either from terminal with
rm -Rf OpenPLC_v3
 
or from File Explorer. Then on Cygwin terminal clone OpenPLC again (preferably instead of typing the commands, just copy and paste from the documentation) and install
Reply 0 0
Alto
Hello sir,
 
I followed your instructions (see below), but I'm still getting a message "OpenPLC was not installed". what am I doing wrong? I'm sorry for the inconvenience.
 
[203128%2F8774937%2Fmceclip0]
[203128%2F8774938%2Fmceclip0]
[203128%2F8774939%2Fmceclip0]
[203128%2F8774945%2Fmceclip0]
Reply 0 0
Reply