Jones5112
Hi all, 

I am having trouble starting the PLC with the demo project from here  https://www.openplcproject.com/reference/basics/first-project.html


I have no error logs just "OpenPLC Runtime is not running" displayed in the Runtime logs
I have changed the setting to make it start in run mode and restarted the container but nothing has changed
Hardware is a Rpi 4B 4gb 
Docker with this image installed  https://hub.docker.com/r/ioexpert/netpi-openplc

Any Ideas?
Reply 0 0
thiagoralves
Try loading the blank project (built in OpenPLC) and see if it works. If your project has errors that you didn't fix, OpenPLC won't be able to start. Also, there is a known issue about OpenPLC not updating the UI correctly sometimes. After clicking on the big red "Start PLC" button, try clicking on another tab (like "Programs" for example) to force a UI refresh. Sometimes the Runtime is running, just the UI that is not reflecting it.
Reply 0 0
Jones5112
Thanks for your reply thiagoralves

I cannot run either my project or the default one. When I click the "Start PLC" button I can still click other tabs, so the UI isn't freezing. After a refresh it continues to say PLC Stopped.
The editor didn't report any compile errors when I downloaded the project.
See below the output from the compiler on the UI
Reply 0 0
thiagoralves
Possibly something is messed up with your docker container then. If you can login to the container, try launching OpenPLC binary by hand with sudo at ~/OpenPLC_v3/webserver/core/openplc 
Reply 1 0
Jones5112

For those wondering I think it was something wrong with the image 

I was using the ioexpert/armv7-openplc image from Docker hub 

But I have switched to this neat little package  https://github.com/schreinerman/rpi-openplc-nodered-dashboard-docker/tree/netPI instead and the PLC seems to run fine
Reply 1 0
Reply