EDIT: I copied over all the additional global variables (15) to the working rule file and I could NOT get it up and running again. I believe it MAY have to do with the number of global variables in a rule file for me. 453 global variables work for auto starting the rules engine and 468 global variables does NOT get the rules engine to auto start.
I just had this happen, luckily, I had an older version of the rule file to go back to and it came up just fine. I upgrade to 4.3.0 in January, this has never happened until today.
Someone mentioned they thought it was the number of rules, I have 349 in a single file so that shouldnât be it.
I did do a mass change creating lots of global variables to reduce duplicate local values across the rule file yesterday using Notepad++ over an SMB on a Pi4, like I have always.
Iâm now comparing the files (WinMerge) and applying these mass changes again to the working rule file to see if it breaks again. My services.cfg looks like this, hasnât changed since OH2.5.
folder:items=items
folder:sitemaps=sitemap
folder:rules=rules
folder:scripts=script
folder:persistence=persist
folder:things=things
# Thread increases from OH3 used
threadpool:thingHandler=50
threadpool:discovery=20
threadpool:safeCall=50
threadpool:ruleEngine=50
# Start level definitions
startlevel:20=dsl:items,managed:item,dsl:things,managed:thing,managed:itemchannellink,dsl:persist,managed:metadata
startlevel:30=persistence:services,persistence:restore,automation:scriptEngineFactories
startlevel:40=dsl:rules,managed:rule,rules:refresh,rules:dslprovider
startlevel:50=ruleengine:start
startlevel:70=dsl:sitemap
startlevel:80=things:handler
# Auto-update event behavior
org.openhab.autoupdate:sendOptimisticUpdates=true