Configuration model 'sql.items' has errors, therefore ignoring it: [1,1]: missing EOF at 'Strategies'

Somebody an idea? There is no blanket before Strategies, and on the end lines;
im looking to use MariaDB

Strategies{
everySecond : “0 * * * * ?”
everyMinute : “0 * * * * ?”
every10Minutes : “0 */10 * ? * *”
every15Minutes : “0 */15 * ? * *”
everyHour : “0 0 * * * ?”
everyDay : “0 0 0 * * ?”
default = everyChange
}

Items {
Aktuell : strategy = everyChange, restoreOnStartup
Bezug : strategy = everyChange, restoreOnStartup
Lieferung : strategy = everyChange, restoreOnStartup
}

maybe put a space between Strategies and the curly bracket?

nil
in the original file is there a space

Is your filename really sql.items, as you have posted?

openHAB will treat that as an Items file … the contents are not Item definitions.

yes
/etc/openhab2/items/sql.items

oookay … that’s an Items file, for item definitions.

The content you have shown usually goes in a xxx.persist file.

The filenames matter.

1 Like

Thank you for helping.!

A description on the web has directed me in the wrong direction

I changed the directory and extencion and now ist no error messega in the loging

1 Like

If that is in the official documentation it needs to be changed.