Meraji
When i start Open PLC runtime this error massege get:

Verifying Runtime Installation...
Starting OpenPLC Runtime
/start_runtime.sh: line 8: ./start_openplc.sh: No such file or directory
Press [Enter] key to close...

what can i do ?

Reply 0 0
thiagoralves
Rebase your installation - there is a rebase shortcut in the windows start menu inside the OpenPLC Runtime group.
Reply 0 0
Meraji
same have error
Reply 0 0
Meraji
Installing git...
:: Synchronizing package databases...
clangarm64 is up to date
mingw32 is up to date
mingw64 is up to date
ucrt64 is up to date
clang32 is up to date
clang64 is up to date
msys is up to date
:: Starting core system upgrade...
there is nothing to do
:: Starting full system upgrade...
there is nothing to do
warning: git-2.46.0-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) git-2.46.0-1
Total Installed Size: 37.47 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [###############################] 100%
(1/1) checking package integrity [###############################] 100%
(1/1) loading package files [###############################] 100%
(1/1) checking for file conflicts [###############################] 100%
(1/1) checking available disk space [###############################] 100%
:: Processing package changes...
(1/1) reinstalling git [#########################################################################################################################################] 100%
Verifying Runtime Installation...
Cloning into 'OpenPLC_v3'...
warning: redirecting to https://github.com/thiagoralves/OpenPLC_v3.git/
remote: Enumerating objects: 6402, done.
remote: Counting objects: 100% (1424/1424), done.
remote: Compressing objects: 100% (672/672), done.
remote: Total 6402 (delta 863), reused 1162 (delta 709), pack-reused 4978 (from 1)
Receiving objects: 100% (6402/6402), 16.23 MiB | 8.90 MiB/s, done.
Resolving deltas: 100% (3550/3550), done.
Updating files: 100% (2787/2787), done.
Installing OpenPLC on Windows
:: Synchronizing package databases...
clangarm64 downloading...
mingw32 downloading...
mingw64 downloading...
ucrt64 downloading...
clang32 downloading...
clang64 downloading...
msys downloading...
:: Starting core system upgrade...
there is nothing to do
:: Starting full system upgrade...
there is nothing to do
warning: gcc-13.3.0-1 is up to date -- reinstalling
warning: git-2.46.0-1 is up to date -- reinstalling
warning: pkgconf-2.3.0-1 is up to date -- reinstalling
warning: automake-wrapper-20240607-1 is up to date -- reinstalling
warning: autoconf-wrapper-20240607-1 is up to date -- reinstalling
warning: libtool-2.4.7-4 is up to date -- reinstalling
warning: make-4.4.1-2 is up to date -- reinstalling
warning: sqlite-3.46.1-1 is up to date -- reinstalling
warning: python-3.12.6-1 is up to date -- reinstalling
warning: lynx-2.9.2-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (10) autoconf-wrapper-20240607-1 automake-wrapper-20240607-1 gcc-13.3.0-1 git-2.46.0-1 libtool-2.4.7-4 lynx-2.9.2-1 make-4.4.1-2 pkgconf-2.3.0-1 python-3.12.6-1 sqlite-3.46.1-1
Total Installed Size: 413.75 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
reinstalling gcc...
reinstalling git...
reinstalling pkgconf...
reinstalling automake-wrapper...
reinstalling autoconf-wrapper...
reinstalling libtool...
reinstalling make...
reinstalling sqlite...
reinstalling python...
reinstalling lynx...
:: Running post-transaction hooks...
(1/1) Updating the info directory file...
Error: [Errno 2] No such file or directory: 'lib' -> '/home/Méraji/OpenPLC_v3/.venv/lib64'
./background_installer.sh: line 300: /home/Méraji/OpenPLC_v3/.venv/bin/python3: No such file or directory
./background_installer.sh: line 301: /home/Méraji/OpenPLC_v3/.venv/bin/python3: No such file or directory
[MATIEC COMPILER]
[ST OPTIMIZER]
[GLUE GENERATOR]
[OPEN DNP3]
[LIBMODBUS]
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: linking file 'build-aux/ltmain.sh'
Reply 0 0
thiagoralves
This is odd.. it seems that python is having trouble creating your venv environment:
Error: [Errno 2] No such file or directory: 'lib' -> '/home/Méraji/OpenPLC_v3/.venv/lib64'
./background_installer.sh: line 300: /home/Méraji/OpenPLC_v3/.venv/bin/python3: No such file or directory
./background_installer.sh: line 301: /home/Méraji/OpenPLC_v3/.venv/bin/python3: No such file or directory
 
Did you try the manual installation?
Reply 0 0
thiagoralves
I'm wondering if the issue is related to your username having non-english characters (é), of if there is any protection software blocking MSYS2 from writing files or something like that.
Reply 0 0
OTsecman
Hii, Meraji

1)if you using window and Download the .exe file, in some case 2 runtime folder is generate in openplc runtime folder Do one thing delete one runtime folder(illegal) or only transfer the other file like bin, cygwin and many more in that runtime folder
2) may be this also occurs that your runtime port is already used by other services.

I hope this can work
Reply 0 0
Reply