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

Rule engine not yet started #4576

Open
jangerhart opened this issue Jan 25, 2025 · 1 comment
Open

Rule engine not yet started #4576

jangerhart opened this issue Jan 25, 2025 · 1 comment
Labels
bug An unexpected problem or unintended behavior of the Core

Comments

@jangerhart
Copy link

After upgrading to OH 4.3.2 rules are not working at all

Expected Behavior

Rules are working

Current Behavior

Rules are loaded to the OH, I can see them in the UI, but no rules working. In the openhab.log, you can see this:

`
2025-01-25 11:33:01.541 [DEBUG] [e.automation.internal.RuleEngineImpl] - The trigger '0' of rule 'test-1' is triggered.
2025-01-25 11:33:01.541 [DEBUG] [e.automation.internal.RuleEngineImpl] - Rule engine not yet started - not executing rule 'test-1',
2025-01-25 11:33:01.548 [TRACE] [dule.handler.ItemStateTriggerHandler] - Received Event: Source: null Topic: openhab/items/Switch45/statechanged Type: ItemStateChangedEvent Payload: {"type":"OnOff","value":"OFF","oldType":"UnDef","oldValue":"NULL"}

`
as a workaround I am starting rule engine by this console command:

bundle:restart org.openhab.core.automation
What next I found out, that all persistence data are gone after "systemctl restart openhab" and "restart org.openhab.core.automation".

Possible Reason

Dependency not satisfied

2025-01-25 11:32:26.672 [DEBUG] [e.automation.internal.RuleEngineImpl] - bundle org.openhab.core.automation:4.3.2 (163)[org.openhab.core.automation.internal.RuleEngineImpl(70)] : Dependency not satisfied: $000 2025-01-25 11:32:26.672 [DEBUG] [e.automation.internal.RuleEngineImpl] - bundle org.openhab.core.automation:4.3.2 (163)[org.openhab.core.automation.internal.RuleEngineImpl(70)] : Dependency not satisfied: $001 2025-01-25 11:32:26.672 [DEBUG] [e.automation.internal.RuleEngineImpl] - bundle org.openhab.core.automation:4.3.2 (163)[org.openhab.core.automation.internal.RuleEngineImpl(70)] : Dependency not satisfied: $002 2025-01-25 11:32:26.673 [DEBUG] [e.automation.internal.RuleEngineImpl] - bundle org.openhab.core.automation:4.3.2 (163)[org.openhab.core.automation.internal.RuleEngineImpl(70)] : Not all dependencies satisfied, cannot activate

openhab.log

Your Environment

OpenHAB 4.3.2
OS: Linux openhab 6.8.0-51-generic #52~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Dec 9 15:00:52 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

@jangerhart jangerhart added the bug An unexpected problem or unintended behavior of the Core label Jan 25, 2025
@openhab-bot
Copy link
Collaborator

This issue has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/rule-engine-not-running-although-bundle-active/161517/39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of the Core
Projects
None yet
Development

No branches or pull requests

2 participants