The installation and reboot was a dream.
i wrote my program uploaded the file and tested successfully
then i rebooted the Pi to check everything worked correctly.
now i have no dashboard on port 8080 and my terminal shows the following
pi@raspberrypi:~ $ service openplc start
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentication is required to start 'openplc.service'.
Multiple identities can be used for authentication:
1. ,,, (pi)
2. root
Choose identity to authenticate as (1-2): 1
Password:
==== AUTHENTICATION COMPLETE ===
pi@raspberrypi:~ $ service openplc status
● openplc.service - OpenPLC Service
Loaded: loaded (/lib/systemd/system/openplc.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2020-06-08 18:17:09 EDT; 29ms ago
Main PID: 903 (start_openplc.s)
Tasks: 2 (limit: 2200)
Memory: 480.0K
CGroup: /system.slice/openplc.service
├─903 /bin/bash /home/pi/OpenPLC_v3/ start_openplc.sh
└─905 python2 webserver.py
Jun 08 18:17:09 raspberrypi systemd[1]: Started OpenPLC Service.
pi@raspberrypi:~ $ service openplc status
● openplc.service - OpenPLC Service
Loaded: loaded (/lib/systemd/system/openplc.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2020-06-08 18:17:14 EDT; 3s ago
Process: 908 ExecStart=/home/pi/OpenPLC_v3/ start_openplc.sh (code=exited, status=1/FAILURE)
Main PID: 908 (code=exited, status=1/FAILURE)
Jun 08 18:17:14 raspberrypi systemd[1]: openplc.service: Service RestartSec=1s expired, scheduling restart.
Jun 08 18:17:14 raspberrypi systemd[1]: openplc.service: Scheduled restart job, restart counter is at 5.
Jun 08 18:17:14 raspberrypi systemd[1]: Stopped OpenPLC Service.
Jun 08 18:17:14 raspberrypi systemd[1]: openplc.service: Start request repeated too quickly.
Jun 08 18:17:14 raspberrypi systemd[1]: openplc.service: Failed with result 'exit-code'.
Jun 08 18:17:14 raspberrypi systemd[1]: Failed to start OpenPLC Service.
is there a log ?