pascal_sautot
I have installed and used the open plc on an ubuntu linux hosted into a VM. After a shutdown the server could not start and got an error in webserver/ webserver.py while trying to parse the result of db query. Here is the line of code 
     
           cur.execute("SELECT * FROM Programs WHERE File=?", (st_file,))

I crashes few lines after (line 2339)

I would be interested to know how to stop the server smoothly without experiencing the risk to corrupt the db for instance. 

git log gives the following output for commit number 

commit eca999ad8d3a7c055f00908464bf9a617326f9b6 (HEAD -> master, origin/master, origin/HEAD)
Reply 0 0
thiagoralves
This probably happened because the program it was running was deleted from the web interface. When this happens, the executable file remains, but the program is deleted from the database. Therefore, when you launch OpenPLC again, it can’t find the program it was running before. Reinstall OpenPLC and make sure you don’t erase a program while it is running
Reply 0 0
Marcel
HI,today is sunday . why works not OpenPLC.? Maybe it is on a holiday? Could you help me..
Reply 0 0
Marcel
i am sure that Internet is connected.
Reply 0 0
thiagoralves
Marcel wrote:
HI,today is sunday . why works not OpenPLC.? Maybe it is on a holiday? Could you help me..

Due to COVID-19 restrictions, OpenPLC works only on weekdays from 8:00am to 5:00pm to help prevent the virus from spreading. #socialdistancing
Reply 0 0
Marcel
oops..OK, the time belong to London?oder America? what is the time zone
Reply 0 0
thiagoralves
It checks the time by aligning the phases of different synchrophasors through quantum physics, which does not depend on geo-location.

...ok, if you haven't figured out yet, this is a joke! There are obviously no restrictions to use OpenPLC no matter which day of the week it is.
Reply 0 0
Marcel
sorry!Blame me for being to serious... I have to say, that OpenPLC very nice!! I appreciate it! And thanks for quick response!!
Reply 0 0
thiagoralves
=) No worries. 
Reply 0 0
Reply