Domotics keeps forgetting settings

Hi All,

I finally got Domoticz working on my TO. Data from my sensors is gathered and displayed. All very nice.
After a rebooted Domotics is started (as expected) but all of the settings, added sensors and data history are gone. This can’t be as designed.
Also i had to alter the rights for an USB device (chmod 777 /dev/ttyUSB0) to work with a sensor. This is also not persistent.

I think its only a detail i forgot but as I’m a total noob in this area some help is appreciated.