openhab-core icon indicating copy to clipboard operation
openhab-core copied to clipboard

Unable to create new rules after migration

Open bergvandenp opened this issue 4 years ago • 2 comments

Steps to reproduce:

Installation: apt-get install openhab on raspberry pi

Migrate to OH 3 with some existing rules. Save a new rule using the default UI.

Expected result: a new rule is created Actual result: Bad request response with message "Creation of the rule is refused: null"

workaround: sudo /bin/systemctl stop openhab.service sudo openhab-cli clean-cache clear the file automation_rules.json sudo /bin/systemctl start openhab.service After these steps new rules can be created again

community references: https://community.openhab.org/t/solved-oh3-issue-unable-to-create-rules-scripts-schedules/111325 https://community.openhab.org/t/openhab-3-error-creating-rules-or-scripts-using-blocky/111422

bergvandenp avatar Jan 02 '21 14:01 bergvandenp

Is this only an issue when transitioning from OH 2.5 to OH 3?

J-N-K avatar Apr 25 '22 16:04 J-N-K

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 24 '22 16:06 stale[bot]