Jdbc Changed, after Reboot the old Connection is back

Good Morning Guys.

I have a serial Problem.
A few Day ago i changed my Database from a MariaDB to an Postgresql.

But now, every Time i reboot Openhab ( openHAB 4.2.2) my old Database Connection is back and no Data where stored.

Here are the Steps i´ll made:

  1. Remove the MariaDB Binding
  2. install the Postgresql Binding
  3. Change the Config in the UI
  4. renamed the mysql.persist to postgresql.persist

The old Database with the old Server is deleted.

Is there any File or something left i have to delete???

Thanks for your Help.

MATZ

The possibility is remote but when running on an SD card, files yuo’ve deleted suddenly reappearing on a reboot can be a sign of a failing SD card.

Also, with a standard openHABian install with zram configured, how you restart matters. Any changes you’ve made to the config only exist in RAM. You must shutdown the machine normally for any changes you’ve made to get saved out to the SD card. If you just pull the power all your chages get lost.

It is an VM on an VMWare Sphere. No SD Card.

I remember in OH 2 there was an Service Folder.

Is in OH4 still there???

Could this bin there since OH2 (have upgraded the Machine or Backup the Config and restored)

Thanks

Do you mean $OH_CONF/services which has files to config things like installed bindings and such? Yes that folder is still there and config files in there are still used. And any config files in there will take precedence over anything you do through the UI. You should use one or the other, not both.

addons.cfg is the file to look at in that folder if you suspect you ahve an old version of this file hanging around.

Thanks. I found the config File. There was the old Config.

Thanks a Lot.