charts icon indicating copy to clipboard operation
charts copied to clipboard

Domoticz - data not persistent

Open ronzelver opened this issue 9 months ago • 0 comments

chart Name

Domoticz

Operating System

TrueNAS SCALE 24.04.0

Deployment Method

TrueNAS SCALE charts

Chart Version

11.0.5

Kubernetes Events

Events:
  Type    Reason          Age    From               Message
  ----    ------          ----   ----               -------
  Normal  Scheduled       9m27s  default-scheduler  Successfully assigned ix-domoticz/domoticz-8d7cdfc8d-blf8h to ix-truenas
  Normal  AddedInterface  9m27s  multus             Add eth0 [172.16.0.99/16] from ix-net
  Normal  Pulled          9m26s  kubelet            Container image "domoticz/domoticz:2024.4@sha256:9d1c25634e4e10dea0f2649e91d6304965b18dbe342fbab64a2a4c4c47586c96" already present on machine
  Normal  Created         9m25s  kubelet            Created container domoticz
  Normal  Started         9m25s  kubelet            Started container domoticz

chartlication Logs

Could not find any

Chart Configuration

All default settings including PVC for persistent storage, except for Devices. I had to manually add one dummy USB device to enable all /dev/tty* devices to show in the container?!? I selected a dummy (/dev/ttyS0) because when I selected a real device I had no longer access to that specific device?!? I assume adding one USB device toggles the privileged access flag.

Describe the bug

After installation of this chart the application starts with an empty database/configuration. I restore my configuration and all my settings have been successfully restored. However, after a stopped and restarted the chart all settings are again reset to defaults (empty). Other charts don't have this problem (e.g. homebridge, octoprint).

To Reproduce

It's basically already described in the bug description.

Expected Behavior

Data stored persistent as expected

Screenshots

N/A

Additional Context

Openebs, prometheus-operator and cert-manager are correctly installed (as prerequisites), which proven by the other applications (homebridge, octoprint).

I've read and agree with the following

  • [X] I've checked all open and closed issues and my issue is not there.
  • [X] I've prefixed my issue title with [Chart-Name]

ronzelver avatar May 17 '24 09:05 ronzelver