Open-Building-Management / emoncms

emoncms home-assistant addon
MIT License
4 stars 1 forks source link

home assistant backup 2 #15

Open alexandrecuer opened 5 months ago

alexandrecuer commented 5 months ago

seems the solution is to run mariadb as root, in order for be able to use the HA restore with no problem : cf https://github.com/home-assistant/addons/blob/master/mariadb/rootfs/etc/s6-overlay/s6-rc.d/mariadb-core/run this is only minor fix

investigating other solutions :

https://mariadb.com/kb/en/docker-official-image-frequently-asked-questions/#why-does-the-mariadb-container-start-as-root

https://github.com/MariaDB/mariadb-docker/blob/d7a950d41e9347ac94ad2d2f28469bff74858db7/10.11/docker-entrypoint.sh#L196