Persistance service is uninstalling on restart of OH

Hi,

I’m having a strange issue.
After I upgraded from OH2 beta 5 to the final release, I’m having problem with my MySQL persistence service. It won’t log data, and when restarting the service, I see the following in the log during startup:
07:21:12.834 [INFO ] [core.karaf.internal.FeatureInstaller] - Uninstalled 'openhab-persistence-jdbc-mysql’
07:21:12.835 [INFO ] [smarthome.event.ExtensionEvent ] - Extension ‘persistence-jdbc-mysql’ has been uninstalled.
Any ideas on what could be wrong?

//Kongsted

Are you using addons.cfg? If so, this file takes precedence over what is done in PaperUI. So if mysql isn’t listed in addons.cfg it will automatically be uninstalled.

You’re absolutely right! :smiley:
I forgot I had added persistance to addons.cfg
Thanks a lot for your help! :slight_smile:

Cheers,
Kongsted