There is no queryable persistence service registered with the name 'my.openHAB'

Hello,

I have not used persistence before but as I do use my.openhab I wanted to use that one (based on what I read in the wiki).

To make use of the my.openhab persistence I added the following to the openhab.cfg:
persistence:default=my.openHAB

Yet if I try and use it, the following is logged:
There is no queryable persistence service registered with the name 'my.openHAB'

The persistence file:

Strategies {
    default = everyChange
}
Items {
    gMyOpenHAB* : strategy = everyChange
}

Items are added to the group and do indeed show up at e.g. IFTTT (as an indication that it works)
What am I missing here?

Comment that out, you don’t need that.
And make sure your persistence file is named myopenhab.persist (https://github.com/openhab/openhab/wiki/my.openHAB-Persistence#installation-and-registration)

I had added that openhab part because if I comment it out it says:

2016-02-13 20:45:50.648 [WARN ] [.o.c.p.e.PersistenceExtensions] - There is no queryable persistence service registered with the name 'rrd4j'

No where in my openhab,cfg is rrd4j mentioned…

   ls -al persistence/
    total 12
    drwxrwxr-x 2 root thuis   43 Feb  9 13:48 .
    drwxrwxr-x 9 root thuis 4096 Feb 13 20:49 ..
    -rwxrwxr-x 1 root thuis   92 Feb  9 13:48 myopenhab.persist
    -rw-rwxr-- 1 root thuis  241 Feb  8 10:48 README

Hmmm, did you really comment it out?

# persistence:default=rrd4j

If that does not work, comment it in, place a file rrd4j.persist in your persistence folder and just put to slashes in there:

rrd4j.persist:
//

Yes, I really did comment it out:

[root@fileserver configurations]# grep persistence:default openhab.cfg
# persistence:default=myopenhab

Created file:

[root@fileserver configurations]# ls -al persistence
total 16
drwxrwxr-x 2 root thuis   63 Feb 14 12:11 .
drwxrwxr-x 9 root thuis 4096 Feb 14 12:12 ..
-rwxrwxr-x 1 root thuis   92 Feb  9 13:48 myopenhab.persist
-rw-rwxr-- 1 root thuis  241 Feb  8 10:48 README
-rw-r--r-- 1 root root     3 Feb 14 12:11 rrd4j.persist

But still I get:

[root@fileserver logs]# tail openhab.log
2016-02-14 12:13:26.587 [INFO ] [.service.AbstractActiveService] - Hue Refresh Service has been started
2016-02-14 12:13:28.147 [INFO ] [.b.a.internal.job.JobScheduler] - Scheduled a daily job at midnight for astro calculation
2016-02-14 12:14:35.319 [WARN ] [.o.c.p.e.PersistenceExtensions] - There is no queryable persistence service registered with the name 'rrd4j'
2016-02-14 12:14:35.319 [WARN ] [.o.c.p.e.PersistenceExtensions] - There is no queryable persistence service registered with the name 'rrd4j'
2016-02-14 12:14:35.328 [WARN ] [.o.c.p.e.PersistenceExtensions] - There is no queryable persistence service registered with the name 'rrd4j'
2016-02-14 12:14:35.328 [WARN ] [.o.c.p.e.PersistenceExtensions] - There is no queryable persistence service registered with the name 'rrd4j'
2016-02-14 12:14:35.328 [WARN ] [.o.c.p.e.PersistenceExtensions] - There is no queryable persistence service registered with the name 'rrd4j'
2016-02-14 12:14:35.328 [WARN ] [.o.c.p.e.PersistenceExtensions] - There is no queryable persistence service registered with the name 'rrd4j'
2016-02-14 12:14:38.963 [WARN ] [.o.c.p.e.PersistenceExtensions] - There is no queryable persistence service registered with the name 'rrd4j'
2016-02-14 12:14:38.963 [WARN ] [.o.c.p.e.PersistenceExtensions] - There is no queryable persistence service registered with the name 'rrd4j'

So that’s not working either :frowning:

BTW: Thank you for your help on this sihui!

That is strange, this worked for me :joy:
Because your items show up in IFTTT it seems that (my.openhab) persistence is working.
Could it be a permission problem?
How did you install OH? Manually or via apt-get?
Because regarding to your posted user:groups, you can only have a manual install and start OH with sudo (user is root, group is thuis or root).
With an apt-get install all files should have user:group openhab:openhab …
Also make sure you have the correct bindings in your addons folder:
for my openhab:
org.openhab.io.myopenhab-1.x.x.jar

and for rrd4j (even for testing):
org.openhab.persistence.rrd4j-1.x.x.jar

Yes,

I have the myopenhab…jar in my addon folder, did not add rrd4j…
But have solved my problem by adding mysql as a persistence, it all works now…

But it might indeed by a permissions thing: openhab is running as a service, user root. And myopenhab works, I am online, I see the items in the web interface, I do see the items in IFTT but: IFTTT action do not have any real effect…