nazihahz
dear @thiagoralves, i have faced this problem for a long time, can i know why when i launch all the file .st include the blank diagram in the OpenPLC runtime it will display like this Screenshot 2024-12-02 093849.pngScreenshot 2024-12-02 093901.pngScreenshot 2024-12-02 093913.png
Reply 0 0
nazihahz
can i know what can i do to solve this problem @thiagoralves
Reply 0 0
thiagoralves
I need more information on your hardware. What hardware is this runtime installed on? What hardware layer are you using?
Reply 0 0
nazihahz
I need more information on your hardware. What hardware is this runtime installed on? What hardware layer are you using?
i am using Raspberry Pi. I already fix that problem by delete my old runtime and reinstall it again but the next day, it happen again... all this problem happen after i update my openplc editor to the latest version. So can i truly fix this problem without need to delete and reinstall it everyday?


Thank you for helping me.
Reply 0 0
fg71
You need to use the latest version of OpenPLC Editor and OpenPLC Runtime version 3.
I also use Raspberry Pi OS Raspbian GNU/Linux 12 (bookworm) aarch64
 
Follow the guide how to install and I do not think you will have any problem.
Reply 0 0
thiagoralves
There was a problem with the runtime that has just been fixed. Since I can't see the full compilation logs from the screenshot, I don't know exactly what is causing your issue. But maybe this fix will fix your issues as well.
Reply 0 0
nazihahz
@thiagoralves @fg71 thank you for helping me in solving this problem..
Reply 0 0
Mange
Im affraid I have the same problem. Just reinstalled my PI4B with latest PiOS (bookworm) . Then installed latest Runtime. I think it crashed, I think this is the log and it seemed to stuck? [203128%2F9246758%2Fmceclip0]
 
Content of the file "installed.db" :
INSTALLED.DB 3
_autorebase _autorebase-001007-1.tar.bz2 1
alternatives alternatives-1.3.30c-10.tar.bz2 1
base-cygwin base-cygwin-3.8-1.tar.bz2 1
base-files base-files-4.3-2.tar.bz2 1
bash bash-4.4.12-3.tar.bz2 1
binutils binutils-2.35.2-1.tar.bz2 0
bzip2 bzip2-1.0.8-1.tar.bz2 0
ca-certificates ca-certificates-2.40-1.tar.bz2 1
coreutils coreutils-8.26-2.tar.bz2 1
crypto-policies crypto-policies-20190218-1.tar.bz2 1
csih csih-0.9.11-1.tar.bz2 0
cygrunsrv cygrunsrv-1.62-1.tar.bz2 0
cygutils cygutils-1.4.16-2.tar.bz2 1
cygwin cygwin-3.1.7-1.tar.bz2 1
cygwin-devel cygwin-devel-3.1.7-1.tar.bz2 0
diffutils diffutils-3.5-2.tar.bz2 1
file file-5.39-1.tar.xz 0
git git-2.30.0-1.tar.bz2 1
ipc-utils ipc-utils-1.0-2.tar.bz2 1
libargp libargp-20110921-3.tar.bz2 0
libassuan0 libassuan0-2.5.3-1.tar.bz2 0
libatomic1 libatomic1-10.2.0-1.tar.bz2 0
libattr1 libattr1-2.4.48-2.tar.bz2 0
libblkid1 libblkid1-2.33.1-2.tar.bz2 0
libbrotlicommon1 libbrotlicommon1-1.0.9-1.tar.bz2 0
libbrotlidec1 libbrotlidec1-1.0.9-1.tar.bz2 0
libbz2_1 libbz2_1-1.0.8-1.tar.bz2 0
libcares2 libcares2-1.14.0-1.tar.bz2 0
libcbor libcbor-0.5.0-1.tar.bz2 0
libcom_err2 libcom_err2-1.44.5-1.tar.bz2 0
libcrypt2 libcrypt2-4.4.4-1.tar.bz2 0
libcurl4 libcurl4-7.75.0-1.tar.bz2 0
libdb5.3 libdb5.3-5.3.28-2.tar.bz2 0
libedit0 libedit0-20130712-1.tar.bz2 0
libexpat1 libexpat1-2.2.6-1.tar.bz2 0
libfdisk1 libfdisk1-2.33.1-2.tar.bz2 0
libffi6 libffi6-3.2.1-2.tar.bz2 0
libfido2 libfido2-1.5.0-1.tar.bz2 0
libgc1 libgc1-8.0.4-1.tar.bz2 0
libgcc1 libgcc1-10.2.0-1.tar.bz2 0
libgdbm6 libgdbm6-1.18.1-1.tar.bz2 0
libgdbm_compat4 libgdbm_compat4-1.18.1-1.tar.bz2 0
libgmp10 libgmp10-6.2.1-1.tar.bz2 0
libgnutls30 libgnutls30-3.6.9-1.tar.bz2 0
libgomp1 libgomp1-10.2.0-1.tar.bz2 0
libgpg-error0 libgpg-error0-1.37-1.tar.bz2 0
libgpgme11 libgpgme11-1.9.0-1.tar.bz2 0
libgssapi_krb5_2 libgssapi_krb5_2-1.15.2-2.tar.bz2 0
libguile2.2_1 libguile2.2_1-2.2.7-1.tar.bz2 0
libhogweed4 libhogweed4-3.4.1-1.tar.bz2 0
libiconv2 libiconv2-1.16-2.tar.bz2 0
libidn2_0 libidn2_0-2.2.0-1.tar.bz2 0
libintl8 libintl8-0.19.8.1-2.tar.bz2 0
libisl22 libisl22-0.22.1-2.tar.bz2 0
libk5crypto3 libk5crypto3-1.15.2-2.tar.bz2 0
libkrb5_3 libkrb5_3-1.15.2-2.tar.bz2 0
libkrb5support0 libkrb5support0-1.15.2-2.tar.bz2 0
libltdl7 libltdl7-2.4.6-7.tar.bz2 0
liblz4_1 liblz4_1-1.7.5-1.tar.bz2 0
liblzma5 liblzma5-5.2.4-1.tar.bz2 0
libmetalink3 libmetalink3-0.1.2-1.tar.bz2 0
libmpc3 libmpc3-1.2.1-1.tar.bz2 0
libmpfr6 libmpfr6-4.1.0-1.tar.bz2 0
libncursesw10 libncursesw10-6.1-1.20190727.tar.bz2 0
libnettle6 libnettle6-3.4.1-1.tar.bz2 0
libnghttp2_14 libnghttp2_14-1.37.0-1.tar.bz2 0
libopenldap2_4_2 libopenldap2_4_2-2.4.57-1.tar.bz2 0
libopenssl100 libopenssl100-1.0.2t-1.tar.xz 0
libp11-kit0 libp11-kit0-0.23.20-1.tar.bz2 0
libpcre1 libpcre1-8.44-2.tar.bz2 0
libpcre2_8_0 libpcre2_8_0-10.36-1.tar.bz2 0
libpipeline1 libpipeline1-1.5.3-1.tar.bz2 0
libpkgconf3 libpkgconf3-1.6.3-1.tar.bz2 0
libpopt-common libpopt-common-1.18-1.tar.bz2 0
libpopt0 libpopt0-1.18-1.tar.bz2 0
libpsl5 libpsl5-0.21.0-1.tar.bz2 0
libquadmath0 libquadmath0-10.2.0-1.tar.bz2 0
libreadline7 libreadline7-7.0.3-3.tar.bz2 1
libsasl2_3 libsasl2_3-2.1.27-1.tar.bz2 0
libsigsegv2 libsigsegv2-2.10-2.tar.bz2 0
libsmartcols1 libsmartcols1-2.33.1-2.tar.bz2 0
libsqlite3_0 libsqlite3_0-3.34.0-1.tar.bz2 0
libssh2_1 libssh2_1-1.7.0-1.tar.bz2 0
libssl1.0 libssl1.0-1.0.2t-1.tar.bz2 0
libssl1.1 libssl1.1-1.1.1f-1.tar.bz2 1
libstdc++6 libstdc++6-10.2.0-1.tar.bz2 0
libtasn1_6 libtasn1_6-4.14-1.tar.bz2 0
libtool libtool-2.4.6-7.tar.bz2 1
libunistring2 libunistring2-0.9.10-1.tar.bz2 0
libusb0 libusb0-1.2.6.0-2.tar.bz2 0
libuuid-devel libuuid-devel-2.33.1-2.tar.bz2 0
libuuid1 libuuid1-2.33.1-2.tar.bz2 0
libxxhash0 libxxhash0-0.8.0-1.tar.bz2 0
libzstd1 libzstd1-1.4.8-1.tar.bz2 0
login login-1.13-1.tar.bz2 1
w32api-headers w32api-headers-8.0.0-1.tar.bz2 0
w32api-runtime w32api-runtime-8.0.0-1.tar.bz2 0
which which-2.20-2.tar.bz2 1
windows-default-manifest windows-default-manifest-6.4-1.tar.bz2 0
xz xz-5.2.4-1.tar.bz2 0
zlib0 zlib0-1.2.11-1.tar.bz2 0
zstd zstd-1.4.8-1.tar.bz2 0
 
I installed WiringPI afterwards, should I have done it before?
How can I find the problem here?
Reply 0 0
thiagoralves
Make sure you have a good and stable internet connection on your Pi. It seems to be stuck while trying to download dependencies
Reply 0 0
Mange
Hmm strange, its on LAN and no issues I think. But OK will try to reinstall now then.
 
End of the installation:
 
[FINALIZING]
Activating Blank driver
Setting Platform
Generating C files...
POUS.c
POUS.h
LOCATED_VARIABLES.h
VARIABLES.csv
Config0.c
Config0.h
Res0.c
Including Siemens S7 Protocol via snap7
Moving Files...
Compiling for Linux
Generating object files...
Generating glueVars...
Compiling main program...
Compilation finished successfully!
 
Everything seems fine and now rebooted.
 
Webpage works, but now its bad credentials. RealVNC works fine, should it be the same credentials for OpenPLC?
Reply 0 0
Mange
How can I change credentials for the OpenPLC webserver?
Reply 0 0
thiagoralves
Credentials are openplc openplc after installation. Try using chrome to log in
Reply 1 0
Mange
Credentials are openplc openplc after installation. Try using chrome to log in
Right, now it all comes back! Can I delete the OpenPLC user?
Reply 0 0
thiagoralves
Might be easier to just rename the openplc user and set your own password. I think it is ok to delete it if you’ve created another user, otherwise you will be locked out
Reply 1 0
Mange
Might be easier to just rename the openplc user and set your own password. I think it is ok to delete it if you’ve created another user, otherwise you will be locked out
OK. I deleted it and use my new user, works fine now. Thanks, Thiago!
Reply 1 0
Reply