Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-running ./install.sh after deleting blank_program.st breaks webserver #231

Open
Chrismettal opened this issue Mar 20, 2024 · 0 comments

Comments

@Chrismettal
Copy link
Contributor

Description

It seems that ./install.sh always enforces the blank project to be started, but it doesn't ensure that this project is actually still present. After deleting the blank project and running ./install.sh again will result in the webserver not starting up anymore.

Restoring openplc.db with git checkout HEAD -- webserver/openplc.db will make the system run again, though this will reset the user's settings, which is a pain when you have to enter slave device information again.

Steps to reproduce

Have a working OpenPLC install running a sample project:

image

Delete the unused Blank project:

image

Re-run ./install.sh (for example after git pull to update your runtime)

image

Attempt to start runtime (after rebooting):

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant