home-assistant / operating-system

:beginner: Home Assistant Operating System
Apache License 2.0
4.57k stars 940 forks source link

Data partition data is not persistent. #3410

Closed mmaura closed 1 month ago

mmaura commented 1 month ago

Describe the issue you are experiencing

Hello,

Since I wanted to update HAOS 12.3, all the updates I make are canceled each time I restart and the system still offers all available updates. The "/mnt/data" partition returns to its previous state and changes to the file system are lost. With each reboot (every day), I have to manually replicate the configuration changes and the new database address of the "recorder ". How to manually persist the partition ?

What operating system image do you use?

generic-x86-64 (Generic UEFI capable x86-64 systems)

What version of Home Assistant Operating System is installed?

12.2

Did you upgrade the Operating System.

Yes

Steps to reproduce the issue

1. 2. 3. ...

Anything in the Supervisor logs that might be useful for us?

2024-06-12 06:03:03.933 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state running
2024-06-12 06:03:03.933 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_failed/dns_server
2024-06-12 06:03:04.006 INFO (MainThread) [supervisor.resolution.checks.base] Run check for security/core
2024-06-12 06:03:04.006 INFO (MainThread) [supervisor.resolution.checks.base] Run check for docker_config/system
2024-06-12 06:03:04.006 INFO (MainThread) [supervisor.resolution.checks.base] Run check for disabled_data_disk/system
2024-06-12 06:03:04.007 INFO (MainThread) [supervisor.resolution.checks.base] Run check for ipv4_connection_problem/system
2024-06-12 06:03:04.007 INFO (MainThread) [supervisor.resolution.checks.base] Run check for multiple_data_disks/system
2024-06-12 06:03:04.007 INFO (MainThread) [supervisor.resolution.checks.base] Run check for trust/supervisor
2024-06-12 06:03:04.012 INFO (MainThread) [supervisor.resolution.checks.base] Run check for free_space/system
2024-06-12 06:03:04.012 INFO (MainThread) [supervisor.resolution.checks.base] Run check for pwned/addon
2024-06-12 06:03:04.012 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_ipv6_error/dns_server
2024-06-12 06:03:04.012 INFO (MainThread) [supervisor.resolution.check] System checks complete
2024-06-12 06:03:04.012 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
2024-06-12 06:03:04.106 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2024-06-12 06:03:04.106 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state running
2024-06-12 06:03:04.106 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
2024-06-12 06:05:32.117 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
2024-06-12 06:05:32.774 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
2024-06-12 06:12:12.117 INFO (MainThread) [supervisor.host.info] Updating local host information
2024-06-12 06:12:12.557 INFO (MainThread) [supervisor.host.services] Updating service information
2024-06-12 06:12:12.561 INFO (MainThread) [supervisor.host.network] Updating local network information
2024-06-12 06:12:12.642 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
2024-06-12 06:12:12.645 INFO (MainThread) [supervisor.host.manager] Host information reload completed
2024-06-12 06:35:32.997 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
2024-06-12 07:03:04.114 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state running
2024-06-12 07:03:04.114 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_failed/dns_server
2024-06-12 07:03:04.186 INFO (MainThread) [supervisor.resolution.checks.base] Run check for security/core
2024-06-12 07:03:04.186 INFO (MainThread) [supervisor.resolution.checks.base] Run check for docker_config/system
2024-06-12 07:03:04.186 INFO (MainThread) [supervisor.resolution.checks.base] Run check for disabled_data_disk/system
2024-06-12 07:03:04.186 INFO (MainThread) [supervisor.resolution.checks.base] Run check for ipv4_connection_problem/system
2024-06-12 07:03:04.186 INFO (MainThread) [supervisor.resolution.checks.base] Run check for multiple_data_disks/system
2024-06-12 07:03:04.186 INFO (MainThread) [supervisor.resolution.checks.base] Run check for trust/supervisor
2024-06-12 07:03:04.190 INFO (MainThread) [supervisor.resolution.checks.base] Run check for free_space/system
2024-06-12 07:03:04.191 INFO (MainThread) [supervisor.resolution.checks.base] Run check for pwned/addon
2024-06-12 07:03:04.191 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_ipv6_error/dns_server
2024-06-12 07:03:04.191 INFO (MainThread) [supervisor.resolution.check] System checks complete
2024-06-12 07:03:04.191 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
2024-06-12 07:03:04.276 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2024-06-12 07:03:04.277 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state running
2024-06-12 07:03:04.277 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
2024-06-12 07:05:32.153 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/Expaso/hassos-addons repository
2024-06-12 07:05:32.155 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/mmaura/hassio-addons repository
2024-06-12 07:05:32.157 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/zigbee2mqtt/hassio-zigbee2mqtt repository
2024-06-12 07:05:32.159 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/rhasspy/hassio-addons repository
2024-06-12 07:05:32.162 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/esphome/home-assistant-addon repository
2024-06-12 07:05:32.164 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
2024-06-12 07:05:32.165 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/addons repository
2024-06-12 07:05:32.170 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/alexbelgium/hassio-addons repository
2024-06-12 07:05:33.187 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
2024-06-12 07:05:33.628 INFO (MainThread) [supervisor.store] Loading add-ons from store: 183 all - 0 new - 0 remove
2024-06-12 07:05:33.628 INFO (MainThread) [supervisor.store] Loading add-ons from store: 183 all - 0 new - 0 remove
2024-06-12 07:35:33.395 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
2024-06-12 08:03:04.282 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state running
2024-06-12 08:03:04.282 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_failed/dns_server
2024-06-12 08:03:04.355 INFO (MainThread) [supervisor.resolution.checks.base] Run check for security/core
2024-06-12 08:03:04.355 INFO (MainThread) [supervisor.resolution.checks.base] Run check for docker_config/system
2024-06-12 08:03:04.355 INFO (MainThread) [supervisor.resolution.checks.base] Run check for disabled_data_disk/system
2024-06-12 08:03:04.355 INFO (MainThread) [supervisor.resolution.checks.base] Run check for ipv4_connection_problem/system
2024-06-12 08:03:04.356 INFO (MainThread) [supervisor.resolution.checks.base] Run check for multiple_data_disks/system
2024-06-12 08:03:04.356 INFO (MainThread) [supervisor.resolution.checks.base] Run check for trust/supervisor
2024-06-12 08:03:04.360 INFO (MainThread) [supervisor.resolution.checks.base] Run check for free_space/system
2024-06-12 08:03:04.360 INFO (MainThread) [supervisor.resolution.checks.base] Run check for pwned/addon
2024-06-12 08:03:04.360 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_ipv6_error/dns_server
2024-06-12 08:03:04.360 INFO (MainThread) [supervisor.resolution.check] System checks complete
2024-06-12 08:03:04.360 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
2024-06-12 08:03:04.442 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2024-06-12 08:03:04.442 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state running
2024-06-12 08:03:04.442 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
2024-06-12 08:05:32.243 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
2024-06-12 08:05:33.622 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
2024-06-12 08:18:52.662 INFO (MainThread) [supervisor.host.info] Updating local host information
2024-06-12 08:18:53.091 INFO (MainThread) [supervisor.host.services] Updating service information
2024-06-12 08:18:53.094 INFO (MainThread) [supervisor.host.network] Updating local network information
2024-06-12 08:18:53.187 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
2024-06-12 08:18:53.190 INFO (MainThread) [supervisor.host.manager] Host information reload completed
2024-06-12 08:24:24.657 INFO (SyncWorker_1) [supervisor.docker.manager] Restarting homeassistant
2024-06-12 08:25:36.720 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
2024-06-12 08:25:39.236 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
2024-06-12 08:25:39.381 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2024-06-12 08:25:41.760 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant Core state changed to NOT_RUNNING
2024-06-12 08:25:51.779 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant Core state changed to STARTING
2024-06-12 08:25:56.799 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant Core state changed to RUNNING
2024-06-12 08:25:56.799 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instance
2024-06-12 08:26:53.736 INFO (SyncWorker_2) [supervisor.docker.manager] Stopping addon_77b2833f_timescaledb application
2024-06-12 08:26:56.958 INFO (SyncWorker_2) [supervisor.docker.manager] Cleaning addon_77b2833f_timescaledb application
2024-06-12 08:26:59.154 INFO (SyncWorker_6) [supervisor.docker.manager] Removing image husselhans/hassos-addon-timescaledb-amd64 with latest
2024-06-12 08:26:59.162 INFO (SyncWorker_6) [supervisor.docker.manager] Removing image husselhans/hassos-addon-timescaledb-amd64 with 4.0.1
2024-06-12 08:26:59.956 INFO (MainThread) [supervisor.addons.addon] Removing add-on data folder /data/addons/data/77b2833f_timescaledb
2024-06-12 08:27:00.380 INFO (MainThread) [supervisor.addons.manager] Add-on '77b2833f_timescaledb' successfully removed
2024-06-12 08:27:15.560 INFO (SyncWorker_1) [supervisor.docker.manager] Stopping addon_a0d7b954_bitwarden application
2024-06-12 08:27:18.789 INFO (SyncWorker_1) [supervisor.docker.manager] Cleaning addon_a0d7b954_bitwarden application
2024-06-12 08:27:18.803 INFO (SyncWorker_5) [supervisor.docker.manager] Removing image ghcr.io/hassio-addons/bitwarden/amd64 with latest
2024-06-12 08:27:18.805 INFO (SyncWorker_5) [supervisor.docker.manager] Removing image ghcr.io/hassio-addons/bitwarden/amd64 with 0.21.2
2024-06-12 08:27:19.243 INFO (MainThread) [supervisor.addons.addon] Removing add-on data folder /data/addons/data/a0d7b954_bitwarden
2024-06-12 08:27:19.280 INFO (MainThread) [supervisor.addons.manager] Add-on 'a0d7b954_bitwarden' successfully removed
2024-06-12 08:27:25.697 INFO (SyncWorker_0) [supervisor.docker.manager] Stopping addon_77b2833f_pgadmin4 application
2024-06-12 08:27:28.867 INFO (SyncWorker_0) [supervisor.docker.manager] Cleaning addon_77b2833f_pgadmin4 application
2024-06-12 08:27:28.881 INFO (SyncWorker_3) [supervisor.docker.manager] Removing image husselhans/hassos-addon-pgadmin4-amd64 with latest
2024-06-12 08:27:28.883 INFO (SyncWorker_3) [supervisor.docker.manager] Removing image husselhans/hassos-addon-pgadmin4-amd64 with 3.0.1
2024-06-12 08:27:30.893 INFO (MainThread) [supervisor.addons.addon] Removing add-on data folder /data/addons/data/77b2833f_pgadmin4
2024-06-12 08:27:30.949 INFO (MainThread) [supervisor.addons.manager] Add-on '77b2833f_pgadmin4' successfully removed

Anything in the Host logs that might be useful for us?

2024-06-12 06:18:52.890 homeassistant kernel: audit: type=1334 audit(1718173132.888:910): prog-id=195 op=LOAD
2024-06-12 06:18:52.890 homeassistant kernel: audit: type=1334 audit(1718173132.888:911): prog-id=196 op=LOAD
2024-06-12 06:18:52.900 homeassistant systemd[1]: Starting Time & Date Service...
2024-06-12 06:18:53.079 homeassistant systemd[1]: Started Time & Date Service.
2024-06-12 06:19:22.897 homeassistant systemd[1]: systemd-hostnamed.service: Deactivated successfully.
2024-06-12 06:19:22.933 homeassistant kernel: audit: type=1334 audit(1718173162.931:912): prog-id=193 op=UNLOAD
2024-06-12 06:19:22.933 homeassistant kernel: audit: type=1334 audit(1718173162.931:913): prog-id=192 op=UNLOAD
2024-06-12 06:19:22.933 homeassistant kernel: audit: type=1334 audit(1718173162.931:914): prog-id=191 op=UNLOAD
2024-06-12 06:19:23.112 homeassistant systemd[1]: systemd-timedated.service: Deactivated successfully.
2024-06-12 06:19:23.121 homeassistant kernel: audit: type=1334 audit(1718173163.119:915): prog-id=196 op=UNLOAD
2024-06-12 06:19:23.121 homeassistant kernel: audit: type=1334 audit(1718173163.119:916): prog-id=195 op=UNLOAD
2024-06-12 06:19:23.121 homeassistant kernel: audit: type=1334 audit(1718173163.119:917): prog-id=194 op=UNLOAD
2024-06-12 06:22:35.294 homeassistant dropbear[198631]: [198631] Jun 12 06:22:35 Child connection from 192.168.1.32:47958
2024-06-12 06:22:43.035 homeassistant dropbear[198631]: [198631] Jun 12 06:22:43 Pubkey auth succeeded for 'root' with ssh-ed25519 key SHA256:E62/4fEdHTPvjdlxf6IbPiErO/lo9+rLIff5vjQmZQs from 192.168.1.32:47958
2024-06-12 06:25:36.621 homeassistant systemd[1]: docker-30d2cd9cc52a0f953f8172c9bf168634ec42f0ac5ba4c1cdcc8bcb594fd6f686.scope: Deactivated successfully.
2024-06-12 06:25:36.621 homeassistant systemd[1]: docker-30d2cd9cc52a0f953f8172c9bf168634ec42f0ac5ba4c1cdcc8bcb594fd6f686.scope: Consumed 3min 8.283s CPU time.
2024-06-12 06:25:36.630 homeassistant dockerd[552]: time="2024-06-12T06:25:36.629795205Z" level=info msg="ignoring event" container=30d2cd9cc52a0f953f8172c9bf168634ec42f0ac5ba4c1cdcc8bcb594fd6f686 module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"
2024-06-12 06:25:36.697 homeassistant systemd[1]: Started libcontainer container 30d2cd9cc52a0f953f8172c9bf168634ec42f0ac5ba4c1cdcc8bcb594fd6f686.
2024-06-12 06:25:36.705 homeassistant kernel: audit: type=1334 audit(1718173536.703:918): prog-id=197 op=LOAD
2024-06-12 06:25:36.705 homeassistant kernel: audit: type=1300 audit(1718173536.703:918): arch=c000003e syscall=321 success=yes exit=15 a0=5 a1=c00016f928 a2=78 a3=0 items=0 ppid=200790 pid=200799 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="runc" exe="/usr/bin/runc" subj=unconfined key=(null)
2024-06-12 06:25:36.705 homeassistant kernel: audit: type=1327 audit(1718173536.703:918): proctitle=72756E63002D2D726F6F74002F7661722F72756E2F646F636B65722F72756E74696D652D72756E632F6D6F6279002D2D6C6F67002F72756E2F636F6E7461696E6572642F696F2E636F6E7461696E6572642E72756E74696D652E76322E7461736B2F6D6F62792F33306432636439636335326130663935336638313732633962
2024-06-12 06:25:36.705 homeassistant kernel: audit: type=1334 audit(1718173536.703:919): prog-id=198 op=LOAD
2024-06-12 06:25:36.705 homeassistant kernel: audit: type=1300 audit(1718173536.703:919): arch=c000003e syscall=321 success=yes exit=17 a0=5 a1=c00016f6c0 a2=78 a3=0 items=0 ppid=200790 pid=200799 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="runc" exe="/usr/bin/runc" subj=unconfined key=(null)
2024-06-12 06:25:36.705 homeassistant kernel: audit: type=1327 audit(1718173536.703:919): proctitle=72756E63002D2D726F6F74002F7661722F72756E2F646F636B65722F72756E74696D652D72756E632F6D6F6279002D2D6C6F67002F72756E2F636F6E7461696E6572642F696F2E636F6E7461696E6572642E72756E74696D652E76322E7461736B2F6D6F62792F33306432636439636335326130663935336638313732633962
2024-06-12 06:25:36.705 homeassistant kernel: audit: type=1334 audit(1718173536.703:920): prog-id=198 op=UNLOAD
2024-06-12 06:25:36.705 homeassistant kernel: audit: type=1300 audit(1718173536.703:920): arch=c000003e syscall=3 success=yes exit=0 a0=11 a1=0 a2=0 a3=0 items=0 ppid=200790 pid=200799 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="runc" exe="/usr/bin/runc" subj=unconfined key=(null)
2024-06-12 06:25:36.705 homeassistant kernel: audit: type=1327 audit(1718173536.703:920): proctitle=72756E63002D2D726F6F74002F7661722F72756E2F646F636B65722F72756E74696D652D72756E632F6D6F6279002D2D6C6F67002F72756E2F636F6E7461696E6572642F696F2E636F6E7461696E6572642E72756E74696D652E76322E7461736B2F6D6F62792F33306432636439636335326130663935336638313732633962
2024-06-12 06:25:36.705 homeassistant kernel: audit: type=1334 audit(1718173536.703:921): prog-id=197 op=UNLOAD
2024-06-12 06:26:56.810 homeassistant systemd[1]: docker-a54a4edaef46809ba05cc85a18b6352e3b69eaeeef450d704a35a932d9699b41.scope: Deactivated successfully.
2024-06-12 06:26:56.811 homeassistant kernel: kauditd_printk_skb: 5 callbacks suppressed
2024-06-12 06:26:56.811 homeassistant kernel: audit: type=1334 audit(1718173616.810:923): prog-id=63 op=UNLOAD
2024-06-12 06:26:56.811 homeassistant systemd[1]: docker-a54a4edaef46809ba05cc85a18b6352e3b69eaeeef450d704a35a932d9699b41.scope: Consumed 4h 34min 3.499s CPU time.
2024-06-12 06:26:56.820 homeassistant dockerd[552]: time="2024-06-12T06:26:56.820903400Z" level=info msg="ignoring event" container=a54a4edaef46809ba05cc85a18b6352e3b69eaeeef450d704a35a932d9699b41 module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"
2024-06-12 06:26:56.838 homeassistant kernel: audit: type=1325 audit(1718173616.837:924): table=nat:264 family=2 entries=1 op=nft_unregister_rule pid=201984 subj=unconfined comm="iptables"
2024-06-12 06:26:56.838 homeassistant kernel: audit: type=1300 audit(1718173616.837:924): arch=c000003e syscall=46 success=yes exit=512 a0=3 a1=7fff8dedec20 a2=0 a3=7fff8dedec0c items=0 ppid=552 pid=201984 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="iptables" exe="/usr/sbin/xtables-nft-multi" subj=unconfined key=(null)
2024-06-12 06:26:56.838 homeassistant kernel: audit: type=1327 audit(1718173616.837:924): proctitle=2F7573722F7362696E2F69707461626C6573002D2D77616974002D74006E6174002D4400444F434B4552002D7000746370002D6400302F30002D2D64706F72740035343332002D6A00444E4154002D2D746F2D64657374696E6174696F6E003137322E33302E33332E333A353433320000002D690068617373696F
2024-06-12 06:26:56.854 homeassistant kernel: audit: type=1325 audit(1718173616.853:925): table=filter:265 family=2 entries=1 op=nft_unregister_rule pid=201986 subj=unconfined comm="iptables"
2024-06-12 06:26:56.854 homeassistant kernel: audit: type=1300 audit(1718173616.853:925): arch=c000003e syscall=46 success=yes exit=652 a0=3 a1=7fff663a0090 a2=0 a3=7fff663a007c items=0 ppid=552 pid=201986 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="iptables" exe="/usr/sbin/xtables-nft-multi" subj=unconfined key=(null)
2024-06-12 06:26:56.854 homeassistant kernel: audit: type=1327 audit(1718173616.853:925): proctitle=2F7573722F7362696E2F69707461626C6573002D2D77616974002D740066696C746572002D4400444F434B45520000002D690068617373696F002D6F0068617373696F002D7000746370002D64003137322E33302E33332E33002D2D64706F72740035343332002D6A00414343455054
2024-06-12 06:26:56.856 homeassistant kernel: audit: type=1325 audit(1718173616.855:926): table=nat:266 family=2 entries=1 op=nft_unregister_rule pid=201988 subj=unconfined comm="iptables"
2024-06-12 06:26:56.856 homeassistant kernel: audit: type=1300 audit(1718173616.855:926): arch=c000003e syscall=46 success=yes exit=604 a0=3 a1=7ffcdf7f1ee0 a2=0 a3=7ffcdf7f1ecc items=0 ppid=552 pid=201988 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="iptables" exe="/usr/sbin/xtables-nft-multi" subj=unconfined key=(null)
2024-06-12 06:26:56.856 homeassistant kernel: audit: type=1327 audit(1718173616.855:926): proctitle=2F7573722F7362696E2F69707461626C6573002D2D77616974002D74006E6174002D4400504F5354524F5554494E47002D7000746370002D73003137322E33302E33332E33002D64003137322E33302E33332E33002D2D64706F72740035343332002D6A004D415351554552414445
2024-06-12 06:26:56.885 homeassistant kernel: veth2e05888: renamed from eth0
2024-06-12 06:26:56.893 homeassistant kernel: hassio: port 9(veth971002c) entered disabled state
2024-06-12 06:26:56.909 homeassistant NetworkManager[440]: <info>  [1718173616.9090] manager: (veth2e05888): new Veth device (/org/freedesktop/NetworkManager/Devices/91)
2024-06-12 06:26:56.911 homeassistant kernel: hassio: port 9(veth971002c) entered disabled state
2024-06-12 06:26:56.911 homeassistant kernel: veth971002c (unregistering): left allmulticast mode
2024-06-12 06:26:56.911 homeassistant kernel: veth971002c (unregistering): left promiscuous mode
2024-06-12 06:26:56.911 homeassistant kernel: hassio: port 9(veth971002c) entered disabled state
2024-06-12 06:26:56.939 homeassistant systemd[1]: run-docker-netns-45b5b253251b.mount: Deactivated successfully.
2024-06-12 06:26:56.945 homeassistant systemd[1]: var-lib-docker-overlay2-6ed0ff65eaf907b730e4958d669f5c6dbceafb4c8cbcc3011223a5b0b432e198-merged.mount: Deactivated successfully.
2024-06-12 06:26:56.945 homeassistant systemd[1]: mnt-data-docker-overlay2-6ed0ff65eaf907b730e4958d669f5c6dbceafb4c8cbcc3011223a5b0b432e198-merged.mount: Deactivated successfully.
2024-06-12 06:27:04.804 homeassistant dockerd[552]: time="2024-06-12T06:27:04.803747897Z" level=error msg="[resolver] failed to query DNS server: 172.30.32.3:53, query: ;77b2833f-timescaledb.\tIN\t A" error="read udp 172.30.33.9:41264->172.30.32.3:53: i/o timeout"
2024-06-12 06:27:18.630 homeassistant systemd[1]: docker-0f980d3e7a6d3e155126caef5a3cec59aa45bc3476b8c210580843d47030cf76.scope: Deactivated successfully.
2024-06-12 06:27:18.631 homeassistant systemd[1]: docker-0f980d3e7a6d3e155126caef5a3cec59aa45bc3476b8c210580843d47030cf76.scope: Consumed 2.647s CPU time.
2024-06-12 06:27:18.632 homeassistant kernel: kauditd_printk_skb: 4 callbacks suppressed
2024-06-12 06:27:18.632 homeassistant kernel: audit: type=1334 audit(1718173638.630:929): prog-id=134 op=UNLOAD
2024-06-12 06:27:18.640 homeassistant dockerd[552]: time="2024-06-12T06:27:18.640592023Z" level=info msg="ignoring event" container=0f980d3e7a6d3e155126caef5a3cec59aa45bc3476b8c210580843d47030cf76 module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"
2024-06-12 06:27:18.656 homeassistant kernel: audit: type=1325 audit(1718173638.654:930): table=nat:267 family=2 entries=1 op=nft_unregister_rule pid=202281 subj=unconfined comm="iptables"
2024-06-12 06:27:18.656 homeassistant kernel: audit: type=1300 audit(1718173638.654:930): arch=c000003e syscall=46 success=yes exit=512 a0=3 a1=7fff725c4610 a2=0 a3=7fff725c45fc items=0 ppid=552 pid=202281 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="iptables" exe="/usr/sbin/xtables-nft-multi" subj=unconfined key=(null)
2024-06-12 06:27:18.656 homeassistant kernel: audit: type=1327 audit(1718173638.654:930): proctitle=2F7573722F7362696E2F69707461626C6573002D2D77616974002D74006E6174002D4400444F434B4552002D7000746370002D6400302F30002D2D64706F72740037323737002D6A00444E4154002D2D746F2D64657374696E6174696F6E003137322E33302E33332E31373A373237370000002D690068617373696F
2024-06-12 06:27:18.665 homeassistant kernel: audit: type=1325 audit(1718173638.663:931): table=filter:268 family=2 entries=1 op=nft_unregister_rule pid=202283 subj=unconfined comm="iptables"
2024-06-12 06:27:18.665 homeassistant kernel: audit: type=1300 audit(1718173638.663:931): arch=c000003e syscall=46 success=yes exit=652 a0=3 a1=7ffcc0df8f30 a2=0 a3=7ffcc0df8f1c items=0 ppid=552 pid=202283 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="iptables" exe="/usr/sbin/xtables-nft-multi" subj=unconfined key=(null)
2024-06-12 06:27:18.665 homeassistant kernel: audit: type=1327 audit(1718173638.663:931): proctitle=2F7573722F7362696E2F69707461626C6573002D2D77616974002D740066696C746572002D4400444F434B45520000002D690068617373696F002D6F0068617373696F002D7000746370002D64003137322E33302E33332E3137002D2D64706F72740037323737002D6A00414343455054
2024-06-12 06:27:18.667 homeassistant kernel: audit: type=1325 audit(1718173638.665:932): table=nat:269 family=2 entries=1 op=nft_unregister_rule pid=202285 subj=unconfined comm="iptables"
2024-06-12 06:27:18.667 homeassistant kernel: audit: type=1300 audit(1718173638.665:932): arch=c000003e syscall=46 success=yes exit=604 a0=3 a1=7ffc696c94f0 a2=0 a3=7ffc696c94dc items=0 ppid=552 pid=202285 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="iptables" exe="/usr/sbin/xtables-nft-multi" subj=unconfined key=(null)
2024-06-12 06:27:18.667 homeassistant kernel: audit: type=1327 audit(1718173638.665:932): proctitle=2F7573722F7362696E2F69707461626C6573002D2D77616974002D74006E6174002D4400504F5354524F5554494E47002D7000746370002D73003137322E33302E33332E3137002D64003137322E33302E33332E3137002D2D64706F72740037323737002D6A004D415351554552414445
2024-06-12 06:27:18.689 homeassistant kernel: veth64d5302: renamed from eth0
2024-06-12 06:27:18.699 homeassistant kernel: hassio: port 23(veth3a2bc1b) entered disabled state
2024-06-12 06:27:18.710 homeassistant NetworkManager[440]: <info>  [1718173638.7100] manager: (veth64d5302): new Veth device (/org/freedesktop/NetworkManager/Devices/92)
2024-06-12 06:27:18.711 homeassistant kernel: hassio: port 23(veth3a2bc1b) entered disabled state
2024-06-12 06:27:18.713 homeassistant kernel: veth3a2bc1b (unregistering): left allmulticast mode
2024-06-12 06:27:18.713 homeassistant kernel: veth3a2bc1b (unregistering): left promiscuous mode
2024-06-12 06:27:18.713 homeassistant kernel: hassio: port 23(veth3a2bc1b) entered disabled state
2024-06-12 06:27:18.734 homeassistant systemd[1]: run-docker-netns-6566f1e6e658.mount: Deactivated successfully.
2024-06-12 06:27:18.734 homeassistant systemd[1]: var-lib-docker-overlay2-eebb371eafb8715ef25a7a6a5f2f2eac1b59aa0b131ceb96e74941c1cc7b320b-merged.mount: Deactivated successfully.
2024-06-12 06:27:18.734 homeassistant systemd[1]: mnt-data-docker-overlay2-eebb371eafb8715ef25a7a6a5f2f2eac1b59aa0b131ceb96e74941c1cc7b320b-merged.mount: Deactivated successfully.
2024-06-12 06:27:27.953 homeassistant kernel: kauditd_printk_skb: 4 callbacks suppressed
2024-06-12 06:27:27.953 homeassistant kernel: audit: type=1334 audit(1718173647.951:935): prog-id=97 op=UNLOAD
2024-06-12 06:27:28.746 homeassistant systemd[1]: docker-c10d121b14ad34d6d2012d264befb32bb7d16baac815a3db75a11fb60a35b910.scope: Deactivated successfully.
2024-06-12 06:27:28.746 homeassistant systemd[1]: docker-c10d121b14ad34d6d2012d264befb32bb7d16baac815a3db75a11fb60a35b910.scope: Consumed 16.568s CPU time.
2024-06-12 06:27:28.747 homeassistant kernel: audit: type=1334 audit(1718173648.745:936): prog-id=91 op=UNLOAD
2024-06-12 06:27:28.756 homeassistant dockerd[552]: time="2024-06-12T06:27:28.756414578Z" level=info msg="ignoring event" container=c10d121b14ad34d6d2012d264befb32bb7d16baac815a3db75a11fb60a35b910 module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"
2024-06-12 06:27:28.774 homeassistant kernel: veth8345c42: renamed from eth0
2024-06-12 06:27:28.793 homeassistant kernel: hassio: port 13(veth0c39b00) entered disabled state
2024-06-12 06:27:28.794 homeassistant NetworkManager[440]: <info>  [1718173648.7941] manager: (veth8345c42): new Veth device (/org/freedesktop/NetworkManager/Devices/93)
2024-06-12 06:27:28.797 homeassistant kernel: hassio: port 13(veth0c39b00) entered disabled state
2024-06-12 06:27:28.797 homeassistant kernel: veth0c39b00 (unregistering): left allmulticast mode
2024-06-12 06:27:28.797 homeassistant kernel: veth0c39b00 (unregistering): left promiscuous mode
2024-06-12 06:27:28.797 homeassistant kernel: hassio: port 13(veth0c39b00) entered disabled state
2024-06-12 06:27:28.797 homeassistant kernel: audit: type=1700 audit(1718173648.794:937): dev=veth0c39b00 prom=0 old_prom=256 auid=4294967295 uid=0 gid=0 ses=4294967295
2024-06-12 06:27:28.819 homeassistant kernel: audit: type=1300 audit(1718173648.794:937): arch=c000003e syscall=44 success=yes exit=32 a0=c a1=c00289c600 a2=20 a3=0 items=0 ppid=1 pid=552 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="dockerd" exe="/usr/bin/dockerd" subj=unconfined key=(null)
2024-06-12 06:27:28.819 homeassistant kernel: audit: type=1327 audit(1718173648.794:937): proctitle=2F7573722F62696E2F646F636B657264002D480066643A2F2F002D2D636F6E7461696E6572643D2F72756E2F636F6E7461696E6572642F636F6E7461696E6572642E736F636B
2024-06-12 06:27:28.825 homeassistant systemd[1]: run-docker-netns-4ddcdb657047.mount: Deactivated successfully.
2024-06-12 06:27:28.833 homeassistant systemd[1]: var-lib-docker-overlay2-af30ead5c171dfad315d3ed631296f29f498dfc81e856532c126d7bbadb4c230-merged.mount: Deactivated successfully.
2024-06-12 06:27:28.833 homeassistant systemd[1]: mnt-data-docker-overlay2-af30ead5c171dfad315d3ed631296f29f498dfc81e856532c126d7bbadb4c230-merged.mount: Deactivated successfully.
2024-06-12 06:27:28.860 homeassistant kernel: audit: type=1334 audit(1718173648.858:938): prog-id=94 op=UNLOAD
2024-06-12 06:31:37.786 homeassistant kernel: audit: type=1334 audit(1718173897.784:939): prog-id=200 op=LOAD
2024-06-12 06:31:37.788 homeassistant systemd-timesyncd[537]: Network configuration changed, trying to establish connection.
2024-06-12 06:31:37.792 homeassistant systemd[1]: Started Journal Gateway Service.
2024-06-12 06:31:37.807 homeassistant systemd-timesyncd[537]: Contacted time server 162.159.200.123:123 (time.cloudflare.com).

System information

System Information

version core-2024.5.0
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.2
os_name Linux
os_version 6.6.25-haos
arch x86_64
timezone Europe/Paris
config_dir /config
Home Assistant Community Store GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 4894 Installed Version | 1.34.0 Stage | running Available Repositories | 1453 Downloaded Repositories | 19
Home Assistant Cloud logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Home Assistant Supervisor host_os | Home Assistant OS 12.2 -- | -- update_channel | stable supervisor_version | supervisor-2024.06.0 agent_version | 1.6.0 docker_version | 25.0.5 disk_total | 116.7 GB disk_used | 26.5 GB healthy | true supported | failed to load: Unsupported board | generic-x86-64 supervisor_api | ok version_api | ok installed_addons | ESPHome (2024.4.2), AdGuard Home (5.0.7), Studio Code Server (5.15.0), Terminal & SSH (9.13.0), FTP (5.0.2), Mosquitto broker (6.4.0), Zigbee2MQTT (1.37.0-1), Z-Wave JS (0.5.0), Joplin Server (2.14.2), Nginx Proxy Manager (1.0.1), Portainer (2.20.1), Piper (1.5.0), Whisper (2.0.0), openWakeWord (1.10.0), Rhasspy 3 (en) (0.0.4), porcupine1 (1.2.0)
Dashboards dashboards | 5 -- | -- resources | 14 views | 16 mode | storage
Recorder oldest_recorder_run | 25 août 2023 à 04:02 -- | -- current_recorder_run | 12 juin 2024 à 08:25 estimated_db_size | 5757.04 MiB database_engine | postgresql database_version | 16.3

Additional information

The installation is marked unbearable because of Portainer which I use to run "mys2mqtt" to control MySensors.

sairon commented 1 month ago

This doesn't seem right - /mnt/data should be a writable ext4 partition with commit mount option set to 30 seconds - so even in case of an unexpected power loss, all data older than 30 should be written to the disk.

Can you elaborate a bit more about what are you trying to achieve, how you access HAOS (are you using direct host access or SSH at 22222) and what changes exactly are lost?

Anyway, please note that using direct access for any system modifications is discouraged - HAOS itself is designed as a special purpose OS with a limited features, if you want to leverage your HA instance for anything beyond that, you should look into how add-ons work.

mmaura commented 1 month ago

I noticed that the mini PC's fan was running at maximum speed constantly. So, I decided to offload some functions that are installed as add-ons to other systems. I accessed the system via SSH on port 22222 to retrieve the configuration of the add-ons using rsync, and then uninstalled nginxproxymanager, vaultwarden, timescaledb, and adguardhome. Since I moved the reverse proxy and the database, I also had to modify the configuration.yaml file. But every time I reboot the PC, everything goes back to the way it was before I did all this.

My first thought was that the M2 had reached its maximum write limit, but I don't see any kernel error messages in the dmesg file. And the smartctl tools are not available on hassos. I then thought about RAUC, but the data partition is not part of it. I wondered if there could be another caching system, but from reading your response, I understand that there isn't.

mmaura commented 1 month ago

I made a backup via NFS, changed the disk, reinstalled hassos, and restored the backup. Everything is working normally. Thank you for helping me.