Open Barsonax opened 1 month ago
In the meantime, my workaround is to specify all manual configuration via environment variables, and let it write to configuration.yaml
Another workaround would be using an init container to copy the config file to its destination so it's not readonly anymore.
Well, that would be suboptimal since if z2m writes anything to the file it's lost on pod restart.
True but z2m shouldn't write anything to the config file in the situation I described though.
What happened?
Whenever I try to rename or change a setting of a device I get:
EROFS: read-only file system, open '/app/data/configuration.yaml'
even though I have these in the config:Even though I get the error I do see devices.yml get updated when I for instance rename a device. However the device is not properly renamed in homeassistant
What did you expect to happen?
I would not expect any writes to configuration.yaml and the homeassistant device name to be updated (if the
Update Home Assistant entity ID
switch is on)How to reproduce it (minimal and precise)
devices: devices.yml
is in your configZigbee2MQTT version
1.39.1
Adapter firmware version
20210708
Adapter
zStack3x0
Setup
kubernetes, x86
Debug log