OpenPLC_Editor icon indicating copy to clipboard operation
OpenPLC_Editor copied to clipboard

Check for updates (Windows) failing

Open JohnnyOpcode opened this issue 3 years ago • 8 comments
trafficstars

The current version downloaded from the website detects a new version, but fails to download (?) and install (?) in Windows (10).

ANy ideas where to patch?

JohnnyOpcode avatar Aug 04 '22 15:08 JohnnyOpcode

It is working for me. What is the error message you're getting?

On Thu, Aug 4, 2022 at 11:35 AM Johnny Opcode @.***> wrote:

The current version downloaded from the website detects a new version, but fails to download (?) and install (?) in Windows (10).

ANy ideas where to patch?

— Reply to this email directly, view it on GitHub https://github.com/thiagoralves/OpenPLC_Editor/issues/53, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB63XPDD6QSGNPDEFEQSRILVXPPNHANCNFSM55TAC6MA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

thiagoralves avatar Aug 04 '22 15:08 thiagoralves

It hangs shortly after the download is my best interpretation. image

JohnnyOpcode avatar Aug 05 '22 14:08 JohnnyOpcode

Check your internet connection. There could be something blocking access to github servers. Make sure there aren't any firewall or antivirus blocking OpenPLC Editor traffic.

On Fri, Aug 5, 2022 at 10:07 AM Johnny Opcode @.***> wrote:

It hangs shortly after the download is my best interpretation. [image: image] https://user-images.githubusercontent.com/1428214/183094151-23660058-f017-416b-9fc5-5405e759bbd7.png

— Reply to this email directly, view it on GitHub https://github.com/thiagoralves/OpenPLC_Editor/issues/53#issuecomment-1206498160, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB63XPAZRSI4YAM7PQBP7S3VXUN3LANCNFSM55TAC6MA . You are receiving this because you commented.Message ID: @.***>

thiagoralves avatar Aug 05 '22 14:08 thiagoralves

Do you mean I need to add a firewall rule (manually) for the application under Windows 10? I am browsing GitHub without issue as can be seen here.

JohnnyOpcode avatar Aug 05 '22 14:08 JohnnyOpcode

No add a firewall rule, but make sure there isn't any rule blocking it. Firewall rules are per application, so your browser could browse github normally, but it could be possible that there is a rule blocking OpenPLC Editor external communications

On Fri, Aug 5, 2022 at 10:29 AM Johnny Opcode @.***> wrote:

Do you mean I need to add a firewall rule (manually) for the application under Windows 10? I am browsing GitHub without issue as can be seen here.

— Reply to this email directly, view it on GitHub https://github.com/thiagoralves/OpenPLC_Editor/issues/53#issuecomment-1206521508, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB63XPALLLU4KQ3C7VA65BTVXUQNFANCNFSM55TAC6MA . You are receiving this because you commented.Message ID: @.***>

thiagoralves avatar Aug 05 '22 15:08 thiagoralves

C:\Users\DEV\OpenPLC_Editor>if exist .\new_editor\ rmdir /s /Q new_editor

C:\Users\DEV\OpenPLC_Editor>if exist .\OpenPLC_Editor\ rmdir /s /Q OpenPLC_Editor

C:\Users\DEV\OpenPLC_Editor>git clone https://github.com/thiagoralves/OpenPLC_Editor Cloning into 'OpenPLC_Editor'... fatal: unable to access 'https://github.com/thiagoralves/OpenPLC_Editor/': error setting certificate verify locations: CAfile: C:\Program Files\Git\mingw64\ssl\certs\ca-bundle.crt CApath: none

C:\Users\DEV\OpenPLC_Editor>if exist .\OpenPLC_Editor\editor\ ( move .\OpenPLC_Editor\editor .\new_editor copy /y .\OpenPLC_Editor\revision .
rmdir /s /Q OpenPLC_Editor echo "Update applied successfully" ) else (echo "Error cloning from repository!" ) "Error cloning from repository!"

C:\Users\DEV\OpenPLC_Editor>

JohnnyOpcode avatar Aug 09 '22 18:08 JohnnyOpcode

The updater is trying to use Git from your machine but apparently it is broken (missing certificates). OpenPLC Editor includes its own Git. Try reinstalling Git on your machine, or removing it altogether, so that the updater will use the bundled Git.

On Tue, Aug 9, 2022 at 2:31 PM Johnny Opcode @.***> wrote:

C:\Users\DEV\OpenPLC_Editor>if exist .\new_editor\ rmdir /s /Q new_editor

C:\Users\DEV\OpenPLC_Editor>if exist .\OpenPLC_Editor\ rmdir /s /Q OpenPLC_Editor

C:\Users\DEV\OpenPLC_Editor>git clone https://github.com/thiagoralves/OpenPLC_Editor Cloning into 'OpenPLC_Editor'... fatal: unable to access 'https://github.com/thiagoralves/OpenPLC_Editor/': error setting certificate verify locations: CAfile: C:\Program Files\Git\mingw64\ssl\certs\ca-bundle.crt CApath: none

C:\Users\DEV\OpenPLC_Editor>if exist .\OpenPLC_Editor\editor\ ( move .\OpenPLC_Editor\editor .\new_editor copy /y .\OpenPLC_Editor\revision . rmdir /s /Q OpenPLC_Editor echo "Update applied successfully" ) else (echo "Error cloning from repository!" ) "Error cloning from repository!"

C:\Users\DEV\OpenPLC_Editor>

— Reply to this email directly, view it on GitHub https://github.com/thiagoralves/OpenPLC_Editor/issues/53#issuecomment-1209738055, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB63XPDCDTYM6VJESKN6K4DVYKPYZANCNFSM55TAC6MA . You are receiving this because you commented.Message ID: @.***>

thiagoralves avatar Aug 09 '22 19:08 thiagoralves

I have no Git installed or on my path. I do have GitHub Desktop however.

This directory does not exist on my PC nor the .crt file as well. C:\Program Files\Git\mingw64\ssl\certs\ca-bundle.crt

I will keep debugging the problem..

JohnnyOpcode avatar Aug 09 '22 22:08 JohnnyOpcode