You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am able to manually update the database and background install script to force OpenPLC into run mode and launch my structured text file.
# replace blank_program.st with overlord.st in background_installer.sh
sed -i 's/blank_program/overlord/g' /root/OpenPLC_v3/background_installer.sh
sqlite3 /root/OpenPLC_v3/webserver/openplc.db < /root/OpenPLC_v3/plc.sql
cd /root/OpenPLC_v3
chmod +x background_installer.sh
./install.sh linux
The text was updated successfully, but these errors were encountered:
mccrusader
changed the title
Program
Program Compilation Error from Web Interface
Jul 18, 2024
Hello,
Last week, I was able to upload structured text files to OpenPLC without any issues.
However, since the recent changes to the openplc.py file, all of my uploads via the compile-program interface fail.
Interestingly, the same structured text files can be compiled manually just fine.
Also, after restarting start_openplc.sh, I get an error relating OpenPLC not being able to fetch the active program from the database.
https://github.com/thiagoralves/OpenPLC_v3/blob/master/webserver/webserver.py#L2402-L2441
I am able to manually update the database and background install script to force OpenPLC into run mode and launch my structured text file.
The text was updated successfully, but these errors were encountered: