Error starting from nvme on rpi5

I first installed hass on the rpi5 via ssd and it worked fine, when I switch to boot from a nvme ssd, I get some errors that some configuration files are empty, see logs.


24-02-12 11:06:10 ERROR (MainThread) [supervisor.store.git] Integrity check on /data/addons/git/5c53de3b failed: Cmd('git') failed due to: exit code(128)
  cmdline: git fsck
  stderr: 'fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).'.
24-02-12 11:06:10 ERROR (MainThread) [supervisor.store] Can't load data from repository https://github.com/esphome/home-assistant-addon due to 
24-02-12 11:06:10 INFO (MainThread) [supervisor.resolution.module] Create new suggestion execute_reset - store / 5c53de3b
24-02-12 11:06:10 INFO (MainThread) [supervisor.resolution.module] Create new issue fatal_error - store / 5c53de3b
24-02-12 11:06:10 ERROR (MainThread) [supervisor.store.git] Integrity check on /data/addons/git/a0d7b954 failed: Cmd('git') failed due to: exit code(128)
  cmdline: git fsck
  stderr: 'error: refs/heads/master: invalid sha1 pointer 0000000000000000000000000000000000000000
error: refs/remotes/origin/HEAD: invalid sha1 pointer 0000000000000000000000000000000000000000
error: invalid HEAD
error: bad ref for .git/logs/HEAD
error: bad ref for .git/logs/refs/heads/master
error: bad ref for .git/logs/refs/remotes/origin/HEAD
notice: No default references
fatal: .git/index: index file smaller than expected'.
24-02-12 11:06:10 ERROR (MainThread) [supervisor.store] Can't load data from repository https://github.com/hassio-addons/repository due to 
24-02-12 11:06:10 INFO (MainThread) [supervisor.resolution.module] Create new suggestion execute_reset - store / a0d7b954
24-02-12 11:06:10 INFO (MainThread) [supervisor.resolution.module] Create new issue fatal_error - store / a0d7b954
24-02-12 11:06:10 ERROR (MainThread) [supervisor.store.git] Integrity check on /data/addons/core failed: Cmd('git') failed due to: exit code(128)
  cmdline: git fsck
  stderr: 'error: refs/heads/master: invalid sha1 pointer 0000000000000000000000000000000000000000
error: refs/remotes/origin/HEAD: invalid sha1 pointer 0000000000000000000000000000000000000000
error: invalid HEAD
error: bad ref for .git/logs/HEAD
error: bad ref for .git/logs/refs/heads/master
error: bad ref for .git/logs/refs/remotes/origin/HEAD
notice: No default references
fatal: .git/index: index file smaller than expected'.
24-02-12 11:06:10 ERROR (MainThread) [supervisor.store] Can't load data from repository core due to 
24-02-12 11:06:10 INFO (MainThread) [supervisor.resolution.module] Create new suggestion execute_reset - store / core

24-02-12 11:07:44 WARNING (SyncWorker_1) [supervisor.store.data] Can't read /data/addons/core/silabs-multiprotocol/config.yaml: Invalid Add-on config!. Got {}
24-02-12 11:07:44 ERROR (SyncWorker_0) [supervisor.utils.json] Can't read json from /data/addons/git/a0d7b954/repository.json: Input is a zero-length, empty document: line 1 column 1 (char 0)
24-02-12 11:07:44 WARNING (SyncWorker_0) [supervisor.store.data] Can't read repository information from /data/addons/git/a0d7b954/repository.json
24-02-12 11:07:44 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/a0d7b954 repository
24-02-12 11:07:44 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/core repository
24-02-12 11:07:44 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/5c53de3b repository
24-02-12 11:07:44 ERROR (MainThread) [supervisor.store.git] Integrity check on /data/addons/git/a0d7b954 failed: Cmd('git') failed due to: exit code(128)
  cmdline: git fsck
  stderr: 'error: refs/heads/master: invalid sha1 pointer 0000000000000000000000000000000000000000
error: refs/remotes/origin/HEAD: invalid sha1 pointer 0000000000000000000000000000000000000000
error: invalid HEAD
error: bad ref for .git/logs/HEAD
error: bad ref for .git/logs/refs/heads/master
error: bad ref for .git/logs/refs/remotes/origin/HEAD
notice: No default references
fatal: .git/index: index file smaller than expected'.
24-02-12 11:07:44 ERROR (MainThread) [supervisor.store] Can't load data from repository https://github.com/hassio-addons/repository due to 
24-02-12 11:07:44 INFO (MainThread) [supervisor.resolution.module] Create new suggestion execute_reset - store / a0d7b954
24-02-12 11:07:44 INFO (MainThread) [supervisor.resolution.module] Create new issue fatal_error - store / a0d7b954
24-02-12 11:07:44 ERROR (MainThread) [supervisor.store.git] Integrity check on /data/addons/core failed: Cmd('git') failed due to: exit code(128)
  cmdline: git fsck
  stderr: 'error: refs/heads/master: invalid sha1 pointer 0000000000000000000000000000000000000000
error: refs/remotes/origin/HEAD: invalid sha1 pointer 0000000000000000000000000000000000000000
error: invalid HEAD
error: bad ref for .git/logs/HEAD
error: bad ref for .git/logs/refs/heads/master
error: bad ref for .git/logs/refs/remotes/origin/HEAD
notice: No default references
fatal: .git/index: index file smaller than expected'.
24-02-12 11:07:44 ERROR (MainThread) [supervisor.store] Can't load data from repository core due to 
24-02-12 11:07:44 INFO (MainThread) [supervisor.resolution.module] Create new suggestion execute_reset - store / core
24-02-12 11:07:44 INFO (MainThread) [supervisor.resolution.module] Create new issue fatal_error - store / core
24-02-12 11:07:44 WARNING (SyncWorker_1) [supervisor.store.data] Can't read /data/addons/core/google_assistant/config.yaml: Invalid Add-on config!. Got {}
24-02-12 11:07:44 WARNING (SyncWorker_1) [supervisor.store.data] Can't read /data/addons/core/samba/config.yaml: Invalid Add-on config!. Got {}
24-02-12 11:07:44 WARNING (SyncWorker_1) [supervisor.store.data] Can't read /data/addons/core/dnsmasq/config.yaml: Invalid Add-on config!. Got {}
24-02-12 11:07:44 WARNING (SyncWorker_1) [supervisor.store.data] Can't read /data/addons/core/matter_server/config.yaml: Invalid Add-on config!. Got {}
24-02-12 11:07:44 WARNING (SyncWorker_1) [supervisor.store.data] Can't read /data/addons/core/vlc/config.yaml: Invalid Add-on config!. Got {}
24-02-12 11:07:44 WARNING (SyncWorker_1) [supervisor.store.data] Can't read /data/addons/core/letsencrypt/config.yaml: Invalid Add-on config!. Got {}
24-02-12 11:07:44 WARNING (SyncWorker_1) [supervisor.store.data] Can't read /data/addons/core/duckdns/config.yaml: Invalid Add-on config!. Got {}
24-02-12 11:07:44 WARNING (SyncWorker_1) [supervisor.store.data] Can't read /data/addons/core/tellstick/config.yaml: Invalid Add-on config!. Got {}
24-02-12 11:07:44 WARNING (SyncWorker_1) [supervisor.store.data] Can't read /data/addons/core/git_pull/config.yaml: Invalid Add-on config!. Got {}
24-02-12 11:07:44 WARNING (SyncWorker_1) [supervisor.store.data] Can't read /data/addons/core/cec_scan/config.yaml: Invalid Add-on config!. Got {}
24-02-12 11:07:44 WARNING (SyncWorker_1) [supervisor.store.data] Can't read /data/addons/core/piper/config.yaml: Invalid Add-on config!. Got {}
24-02-12 11:07:44 WARNING (SyncWorker_1) [supervisor.store.data] Can't read /data/addons/core/deconz/config.yaml: Invalid Add-on config!. Got {}
24-02-12 11:07:44 WARNING (SyncWorker_1) [supervisor.store.data] Can't read /data/addons/core/whisper/config.yaml: Invalid Add-on config!. Got {}
24-02-12 11:07:44 WARNING (SyncWorker_1) [supervisor.store.data] Can't read /data/addons/core/silabs_flasher/config.yaml: Invalid Add-on config!. Got {}
24-02-12 11:07:44 WARNING (SyncWorker_1) [supervisor.store.data] Can't read /data/addons/core/assist_microphone/config.yaml: Invalid Add-on config!. Got {}
24-02-12 11:07:44 WARNING (SyncWorker_1) [supervisor.store.data] Can't read /data/addons/core/zwave_js/config.yaml: Invalid Add-on config!. Got {}
24-02-12 11:07:44 WARNING (SyncWorker_1) [supervisor.store.data] Can't read /data/addons/core/mariadb/config.yaml: Invalid Add-on config!. Got {}
24-02-12 11:07:44 WARNING (SyncWorker_1) [supervisor.store.data] Can't read /data/addons/core/ssh/config.yaml: Invalid Add-on config!. Got {}
24-02-12 11:07:44 WARNING (SyncWorker_1) [supervisor.store.data] Can't read /data/addons/core/rpc_shutdown/config.yaml: Invalid Add-on config!. Got {}
24-02-12 11:07:44 WARNING (SyncWorker_1) [supervisor.store.data] Can't read /data/addons/core/dhcp_server/config.yaml: Invalid Add-on config!. Got {}
24-02-12 11:07:44 WARNING (SyncWorker_1) [supervisor.store.data] Can't read /data/addons/core/openthread_border_router/config.yaml: Invalid Add-on config!. Got {}
24-02-12 11:07:44 WARNING (SyncWorker_1) [supervisor.store.data] Can't read /data/addons/core/configurator/config.yaml: Invalid Add-on config!. Got {}
24-02-12 11:07:44 WARNING (SyncWorker_1) [supervisor.store.data] Can't read /data/addons/core/openwakeword/config.yaml: Invalid Add-on config!. Got {}
24-02-12 11:07:44 WARNING (SyncWorker_1) [supervisor.store.data] Can't read /data/addons/core/nginx_proxy/config.yaml: Invalid Add-on config!. Got {}
24-02-12 11:07:44 WARNING (SyncWorker_1) [supervisor.store.data] Can't read /data/addons/core/mosquitto/config.yaml: Invalid Add-on config!. Got {}
24-02-12 11:07:44 WARNING (SyncWorker_1) [supervisor.store.data] Can't read /data/addons/core/silabs-multiprotocol/config.yaml: Invalid Add-on config!. Got {}
24-02-12 11:07:44 ERROR (SyncWorker_2) [supervisor.utils.json] Can't read json from /data/addons/git/a0d7b954/repository.json: Input is a zero-length, empty document: line 1 column 1 (char 0)
24-02-12 11:07:44 WARNING (SyncWorker_2) [supervisor.store.data] Can't read repository information from /data/addons/git/a0d7b954/repository.json