Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to to call /os/datadisk/move - Can't move data partition to ... #4220

Closed
tabacha opened this issue Mar 31, 2023 · 21 comments
Closed

Failed to to call /os/datadisk/move - Can't move data partition to ... #4220

tabacha opened this issue Mar 31, 2023 · 21 comments
Assignees
Labels

Comments

@tabacha
Copy link

tabacha commented Mar 31, 2023

Describe the issue you are experiencing

I have just recived my Home Assistant yellow. So i tried to set it up.

I have follwed the guide, created a ha account and tried to move the storage under: Settings -> System -> Storage.

I selected the NVME and got an error, which i can also find in the logfile:

2023-03-30 20:11:59.126 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /os/datadisk/move - Can't move data partition to WD-Blue-SN570-500GB-22411Y464211: 

I tried again, and then a window appears:
Screenshot_20230331_082136

But after a while the window disapeer and the storage is not moved.

There is no new message in the log file.

I have waited 5 h but the storage is not moved.

When i try a third time the errror message changed to

Fehler beim Verschieben der Datenträger
Another job is running

Another job is running

What type of installation are you running?

Home Assistant OS

Which operating system are you running on?

Home Assistant Operating System

Steps to reproduce the issue

  1. Setup an HA Yellow with an NVME with the guide
  2. System -> Setting -> Storage -> Move Storage

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

2023-03-30 20:11:59.126 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /os/datadisk/move - Can't move data partition to WD-Blue-SN570-500GB-22411Y464211:

System Health information

System Information

version core-2023.3.6
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.10.10
os_name Linux
os_version 5.15.84-v8
arch aarch64
timezone Europe/Berlin
config_dir /config
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 9.5
update_channel stable
supervisor_version supervisor-2023.03.3
agent_version 1.4.1
docker_version 20.10.22
disk_total 6.4 GB
disk_used 2.4 GB
healthy true
supported true
board yellow
supervisor_api ok
version_api ok
installed_addons
Dashboards
dashboards 1
resources 0
mode auto-gen
Recorder
oldest_recorder_run 30. März 2023 um 18:09
current_recorder_run 30. März 2023 um 20:09
estimated_db_size 4.01 MiB
database_engine sqlite
database_version 3.38.5

Supervisor diagnostics

{
"home_assistant": {
"installation_type": "Home Assistant OS",
"version": "2023.3.6",
"dev": false,
"hassio": true,
"virtualenv": false,
"python_version": "3.10.10",
"docker": true,
"arch": "aarch64",
"timezone": "Europe/Berlin",
"os_name": "Linux",
"os_version": "5.15.84-v8",
"supervisor": "2023.03.3",
"host_os": "Home Assistant OS 9.5",
"docker_version": "20.10.22",
"chassis": "embedded",
"run_as_root": true
},
"custom_components": {},
"integration_manifest": {
"domain": "hassio",
"name": "Home Assistant Supervisor",
"codeowners": [
"@home-assistant/supervisor"
],
"dependencies": [
"http"
],
"documentation": "https://www.home-assistant.io/integrations/hassio",
"iot_class": "local_polling",
"quality_scale": "internal",
"is_built_in": true
},
"data": {
"coordinator_data": {
"addons": {},
"os": {
"version": "9.5",
"version_latest": "9.5",
"update_available": false,
"board": "yellow",
"boot": "A",
"data_disk": "/dev/mmcblk0p8"
},
"core": {
"version": "2023.3.6",
"version_latest": "2023.3.6",
"update_available": false,
"machine": "yellow",
"ip_address": "172.30.32.1",
"arch": "aarch64",
"image": "ghcr.io/home-assistant/yellow-homeassistant",
"boot": true,
"port": 8123,
"ssl": false,
"watchdog": true,
"audio_input": null,
"audio_output": null
},
"supervisor": {
"version": "2023.03.3",
"version_latest": "2023.03.3",
"update_available": false,
"channel": "stable",
"arch": "aarch64",
"supported": true,
"healthy": true,
"ip_address": "172.30.32.2",
"wait_boot": 5,
"timezone": "Europe/Berlin",
"logging": "info",
"debug": false,
"debug_block": false,
"diagnostics": true,
"auto_update": true,
"addons": [],
"addons_repositories": [
{
"name": "Local add-ons",
"slug": "local"
},
{
"name": "ESPHome",
"slug": "5c53de3b"
},
{
"name": "Home Assistant Community Add-ons",
"slug": "a0d7b954"
},
{
"name": "Official add-ons",
"slug": "core"
}
]
}
},
"devices": [
{
"device": {
"area_id": null,
"config_entries": [
"b889a9e5b5ef8685dce9aa1533baa98a"
],
"configuration_url": null,
"connections": [],
"disabled_by": null,
"entry_type": "service",
"hw_version": null,
"id": "57392a9e97804354d47b529da328ffba",
"identifiers": [
[
"hassio",
"core"
]
],
"manufacturer": "Home Assistant",
"model": "Home Assistant Core",
"name_by_user": null,
"name": "Home Assistant Core",
"suggested_area": null,
"sw_version": "2023.3.6",
"via_device_id": null,
"is_new": false,
"_json_repr": "{"area_id":null,"configuration_url":null,"config_entries":["b889a9e5b5ef8685dce9aa1533baa98a"],"connections":[],"disabled_by":null,"entry_type":"service","hw_version":null,"id":"57392a9e97804354d47b529da328ffba","identifiers":[["hassio","core"]],"manufacturer":"Home Assistant","model":"Home Assistant Core","name_by_user":null,"name":"Home Assistant Core","sw_version":"2023.3.6","via_device_id":null}"
},
"entities": [
{
"entry": {
"entity_id": "update.home_assistant_core_update",
"unique_id": "home_assistant_core_version_latest",
"platform": "hassio",
"aliases": [],
"area_id": null,
"capabilities": null,
"config_entry_id": "b889a9e5b5ef8685dce9aa1533baa98a",
"device_class": null,
"device_id": "57392a9e97804354d47b529da328ffba",
"domain": "update",
"disabled_by": null,
"entity_category": "config",
"hidden_by": null,
"icon": null,
"id": "2cda04b95ace984b642fbdee48174110",
"has_entity_name": true,
"name": null,
"options": {},
"original_device_class": null,
"original_icon": null,
"original_name": "Update",
"supported_features": 11,
"translation_key": null,
"unit_of_measurement": null,
"_partial_repr": "{"area_id":null,"config_entry_id":"b889a9e5b5ef8685dce9aa1533baa98a","device_id":"57392a9e97804354d47b529da328ffba","disabled_by":null,"entity_category":"config","entity_id":"update.home_assistant_core_update","has_entity_name":true,"hidden_by":null,"icon":null,"id":"2cda04b95ace984b642fbdee48174110","name":null,"options":{},"original_name":"Update","platform":"hassio","translation_key":null,"unique_id":"home_assistant_core_version_latest"}",
"_display_repr": "{"ei":"update.home_assistant_core_update","pl":"hassio","di":"57392a9e97804354d47b529da328ffba","ec":0,"en":"Update"}"
},
"state": {
"entity_id": "update.home_assistant_core_update",
"state": "off",
"attributes": {
"auto_update": false,
"installed_version": "2023.3.6",
"in_progress": false,
"latest_version": "2023.3.6",
"release_summary": null,
"release_url": "https://www.home-assistant.io/latest-release-notes/",
"skipped_version": null,
"title": "Home Assistant Core",
"entity_picture": "https://brands.home-assistant.io/homeassistant/icon.png",
"friendly_name": "Home Assistant Core Update",
"supported_features": 11
},
"last_changed": "2023-03-30T18:09:26.826547+00:00",
"last_updated": "2023-03-30T18:09:26.826547+00:00"
}
}
]
},
{
"device": {
"area_id": null,
"config_entries": [
"b889a9e5b5ef8685dce9aa1533baa98a"
],
"configuration_url": null,
"connections": [],
"disabled_by": null,
"entry_type": "service",
"hw_version": null,
"id": "869fe80721bca1f42e2dd399e0b5c060",
"identifiers": [
[
"hassio",
"supervisor"
]
],
"manufacturer": "Home Assistant",
"model": "Home Assistant Supervisor",
"name_by_user": null,
"name": "Home Assistant Supervisor",
"suggested_area": null,
"sw_version": "2023.03.3",
"via_device_id": null,
"is_new": false,
"_json_repr": "{"area_id":null,"configuration_url":null,"config_entries":["b889a9e5b5ef8685dce9aa1533baa98a"],"connections":[],"disabled_by":null,"entry_type":"service","hw_version":null,"id":"869fe80721bca1f42e2dd399e0b5c060","identifiers":[["hassio","supervisor"]],"manufacturer":"Home Assistant","model":"Home Assistant Supervisor","name_by_user":null,"name":"Home Assistant Supervisor","sw_version":"2023.03.3","via_device_id":null}"
},
"entities": [
{
"entry": {
"entity_id": "update.home_assistant_supervisor_update",
"unique_id": "home_assistant_supervisor_version_latest",
"platform": "hassio",
"aliases": [],
"area_id": null,
"capabilities": null,
"config_entry_id": "b889a9e5b5ef8685dce9aa1533baa98a",
"device_class": null,
"device_id": "869fe80721bca1f42e2dd399e0b5c060",
"domain": "update",
"disabled_by": null,
"entity_category": "config",
"hidden_by": null,
"icon": null,
"id": "3597792780abee3cd3480642449a2175",
"has_entity_name": true,
"name": null,
"options": {},
"original_device_class": null,
"original_icon": null,
"original_name": "Update",
"supported_features": 1,
"translation_key": null,
"unit_of_measurement": null,
"_partial_repr": "{"area_id":null,"config_entry_id":"b889a9e5b5ef8685dce9aa1533baa98a","device_id":"869fe80721bca1f42e2dd399e0b5c060","disabled_by":null,"entity_category":"config","entity_id":"update.home_assistant_supervisor_update","has_entity_name":true,"hidden_by":null,"icon":null,"id":"3597792780abee3cd3480642449a2175","name":null,"options":{},"original_name":"Update","platform":"hassio","translation_key":null,"unique_id":"home_assistant_supervisor_version_latest"}",
"_display_repr": "{"ei":"update.home_assistant_supervisor_update","pl":"hassio","di":"869fe80721bca1f42e2dd399e0b5c060","ec":0,"en":"Update"}"
},
"state": {
"entity_id": "update.home_assistant_supervisor_update",
"state": "off",
"attributes": {
"auto_update": true,
"installed_version": "2023.03.3",
"in_progress": false,
"latest_version": "2023.03.3",
"release_summary": null,
"release_url": "https://github.com/home-assistant/supervisor/releases/tag/2023.03.3",
"skipped_version": null,
"title": "Home Assistant Supervisor",
"entity_picture": "https://brands.home-assistant.io/hassio/icon.png",
"friendly_name": "Home Assistant Supervisor Update",
"supported_features": 1
},
"last_changed": "2023-03-30T18:09:26.824918+00:00",
"last_updated": "2023-03-30T18:09:26.824918+00:00"
}
}
]
},
{
"device": {
"area_id": null,
"config_entries": [
"b889a9e5b5ef8685dce9aa1533baa98a"
],
"configuration_url": null,
"connections": [],
"disabled_by": null,
"entry_type": "service",
"hw_version": null,
"id": "470b19b682d6fca8c627262637ee96a7",
"identifiers": [
[
"hassio",
"OS"
]
],
"manufacturer": "Home Assistant",
"model": "Home Assistant Operating System",
"name_by_user": null,
"name": "Home Assistant Operating System",
"suggested_area": null,
"sw_version": "9.5",
"via_device_id": null,
"is_new": false,
"_json_repr": "{"area_id":null,"configuration_url":null,"config_entries":["b889a9e5b5ef8685dce9aa1533baa98a"],"connections":[],"disabled_by":null,"entry_type":"service","hw_version":null,"id":"470b19b682d6fca8c627262637ee96a7","identifiers":[["hassio","OS"]],"manufacturer":"Home Assistant","model":"Home Assistant Operating System","name_by_user":null,"name":"Home Assistant Operating System","sw_version":"9.5","via_device_id":null}"
},
"entities": [
{
"entry": {
"entity_id": "update.home_assistant_operating_system_update",
"unique_id": "home_assistant_os_version_latest",
"platform": "hassio",
"aliases": [],
"area_id": null,
"capabilities": null,
"config_entry_id": "b889a9e5b5ef8685dce9aa1533baa98a",
"device_class": null,
"device_id": "470b19b682d6fca8c627262637ee96a7",
"domain": "update",
"disabled_by": null,
"entity_category": "config",
"hidden_by": null,
"icon": null,
"id": "7a1e9686b588d05ef7453018f5f5232b",
"has_entity_name": true,
"name": null,
"options": {},
"original_device_class": null,
"original_icon": null,
"original_name": "Update",
"supported_features": 3,
"translation_key": null,
"unit_of_measurement": null,
"_partial_repr": "{"area_id":null,"config_entry_id":"b889a9e5b5ef8685dce9aa1533baa98a","device_id":"470b19b682d6fca8c627262637ee96a7","disabled_by":null,"entity_category":"config","entity_id":"update.home_assistant_operating_system_update","has_entity_name":true,"hidden_by":null,"icon":null,"id":"7a1e9686b588d05ef7453018f5f5232b","name":null,"options":{},"original_name":"Update","platform":"hassio","translation_key":null,"unique_id":"home_assistant_os_version_latest"}",
"_display_repr": "{"ei":"update.home_assistant_operating_system_update","pl":"hassio","di":"470b19b682d6fca8c627262637ee96a7","ec":0,"en":"Update"}"
},
"state": {
"entity_id": "update.home_assistant_operating_system_update",
"state": "off",
"attributes": {
"auto_update": false,
"installed_version": "9.5",
"in_progress": false,
"latest_version": "9.5",
"release_summary": null,
"release_url": "https://github.com/home-assistant/operating-system/releases/tag/9.5",
"skipped_version": null,
"title": "Home Assistant Operating System",
"entity_picture": "https://brands.home-assistant.io/homeassistant/icon.png",
"friendly_name": "Home Assistant Operating System Update",
"supported_features": 3
},
"last_changed": "2023-03-30T18:09:26.827152+00:00",
"last_updated": "2023-03-30T18:09:26.827152+00:00"
}
},
{
"entry": {
"entity_id": "sensor.home_assistant_operating_system_version",
"unique_id": "home_assistant_os_version",
"platform": "hassio",
"aliases": [],
"area_id": null,
"capabilities": null,
"config_entry_id": "b889a9e5b5ef8685dce9aa1533baa98a",
"device_class": null,
"device_id": "470b19b682d6fca8c627262637ee96a7",
"domain": "sensor",
"disabled_by": "integration",
"entity_category": null,
"hidden_by": null,
"icon": null,
"id": "e218a363a170fb15ad26e8e9bce9af42",
"has_entity_name": true,
"name": null,
"options": {},
"original_device_class": null,
"original_icon": null,
"original_name": "Version",
"supported_features": 0,
"translation_key": null,
"unit_of_measurement": null,
"_partial_repr": "{"area_id":null,"config_entry_id":"b889a9e5b5ef8685dce9aa1533baa98a","device_id":"470b19b682d6fca8c627262637ee96a7","disabled_by":"integration","entity_category":null,"entity_id":"sensor.home_assistant_operating_system_version","has_entity_name":true,"hidden_by":null,"icon":null,"id":"e218a363a170fb15ad26e8e9bce9af42","name":null,"options":{},"original_name":"Version","platform":"hassio","translation_key":null,"unique_id":"home_assistant_os_version"}",
"_display_repr": {
"__type": "<enum 'UndefinedType'>",
"repr": "<UndefinedType._singleton: 0>"
}
},
"state": null
},
{
"entry": {
"entity_id": "sensor.home_assistant_operating_system_newest_version",
"unique_id": "home_assistant_os_version_latest",
"platform": "hassio",
"aliases": [],
"area_id": null,
"capabilities": null,
"config_entry_id": "b889a9e5b5ef8685dce9aa1533baa98a",
"device_class": null,
"device_id": "470b19b682d6fca8c627262637ee96a7",
"domain": "sensor",
"disabled_by": "integration",
"entity_category": null,
"hidden_by": null,
"icon": null,
"id": "08585ebb2aa26ecb68bd448844a4ace6",
"has_entity_name": true,
"name": null,
"options": {},
"original_device_class": null,
"original_icon": null,
"original_name": "Newest version",
"supported_features": 0,
"translation_key": null,
"unit_of_measurement": null,
"_partial_repr": "{"area_id":null,"config_entry_id":"b889a9e5b5ef8685dce9aa1533baa98a","device_id":"470b19b682d6fca8c627262637ee96a7","disabled_by":"integration","entity_category":null,"entity_id":"sensor.home_assistant_operating_system_newest_version","has_entity_name":true,"hidden_by":null,"icon":null,"id":"08585ebb2aa26ecb68bd448844a4ace6","name":null,"options":{},"original_name":"Newest version","platform":"hassio","translation_key":null,"unique_id":"home_assistant_os_version_latest"}",
"_display_repr": {
"__type": "<enum 'UndefinedType'>",
"repr": "<UndefinedType._singleton: 0>"
}
},
"state": null
}
]
}
]
}
}

Additional information

No response

@binarin
Copy link

binarin commented Mar 31, 2023

When you call gdbus call --system --dest io.hass.os --object-path /io/hass/os/DataDisk --method io.hass.os.DataDisk.ChangeDevice "/dev/nvme0n1" directly from debug SSH, then reboot it manually, everything works.

This code should do the same (but it doesn't):

await self.sys_dbus.agent.datadisk.change_device(

One suspicious thing I've noticed is that dev_path has a trailing NULL-character in ha os datadisk list output, e.g.:

devices:
- JetFlash-Transcend-8GB-2330171278
disks:
- dev_path: "/dev/sda\0"
  id: JetFlash-Transcend-8GB-2330171278
...

@tabacha
Copy link
Author

tabacha commented Mar 31, 2023

I can confirm the gdbus calll gdbus call --system --dest io.hass.os --object-path /io/hass/os/DataDisk --method io.hass.os.DataDisk.ChangeDevice "/dev/nvme0n1" works. Also in my os datadisk list output is a null byte.

@jstebbins
Copy link

One suspicious thing I've noticed is that dev_path has a trailing NULL-character in ha os datadisk list output, e.g.:

Perhaps related to this? #4215

@patrickkaag
Copy link

I have just received the HA yellow and I have the same issue. Failed to to call /os/datadisk/move - Another job is running ?
with a Samsung-SSD-970-EVO-Plus-250GB-S4EUNM0TB09223L

@DurgNomis-drol
Copy link

I can also confirm call this gdbus call --system --dest io.hass.os --object-path /io/hass/os/DataDisk --method io.hass.os.DataDisk.ChangeDevice "/dev/nvme0n1" works on Yellow with a Samsung_SSD_970_EVO_Plus_250GB_S4EUNMFTC00301Y. When trying either through commandline or the frontend, it tells me invalid disk, also tried with a WD Green 240 GB, where I get the same error.

@VIMVa
Copy link

VIMVa commented Apr 1, 2023

Same here. Have tried everything, even installing a fresh HA. Not possible to use /dev/sda to move data to. Looks like the \0 should not be there.
Screenshot_2023-04-01-18-32-21-59_c3a231c25ed346e59462e84656a70e50

@Ragetti13
Copy link

I am also receiving the same issue. I've tried to move data disk via UI and CLI but both fail.

@Ragetti13
Copy link

I can also confirm that after running gdbus call --system --dest io.hass.os --object-path /io/hass/os/DataDisk --method io.hass.os.DataDisk.ChangeDevice "/dev/nvme0n1" this also worked for me once I rebooted the host.

@VIMVa
Copy link

VIMVa commented Apr 2, 2023

That's all very nice, but what about us who are not keen, willing or able to go into the development environment? I had our data moved to an external drive but am now unable to do that again after a backup restore. The SD card is now suffering from the thousands of writes to the database and we all know that it is not suited for the task.

@dzedler
Copy link

dzedler commented Apr 2, 2023

I have the same issue. Just installed on my new HA Yellow from scratch, imported the backup and know want to move the data to the NVMe flash. I did not use it before because my previous board refused to detect it.

Running it from the CLI over the console with ha os datadisk move /dev/nvme0n1 I got the following error message after some time:

Post "http://supervisor/os/datadisk/move": context deadline exceeded (Client.Timeout exceeded while awaiting headers)

The beaviour is quite inconsistent. Sometime it starts, sometimes it only starts from the GUI, it is never showing progress. Right now I get the following:

# ha os data move /dev/nvme0n1
Error: '/dev/nvme0n1' not a valid data disk target!

Just tried it again to reproduce it, this time to command is accepted eith the other error message after a few seconds:

# ha os data move /dev/nvme0n1
Post "http://supervisor/os/datadisk/move": context deadline exceeded (Client.Timeout exceeded while awaiting headers)

For me, rebooting the device is the only option to clear the "Another job is running" message.

# ha os datadisk list
devices:
- WD-Blue-SN570-500GB-220767800990
disks:
- dev_path: "/dev/nvme0n1\0"
  id: WD-Blue-SN570-500GB-220767800990
  model: WD Blue SN570 500GB
  name: WD Blue SN570 500GB (220767800990)
  serial: "220767800990"
  size: 500107862016
  vendor: ""

I am also irritated about the \0 at the end of the dev_path

Supervisor log:

23-04-02 23:21:24 ERROR (MainThread) [supervisor.os.data_disk] '/dev/nvme0n1' not a valid data disk target!
23-04-02 23:21:58 ERROR (MainThread) [supervisor.os.data_disk] '/dev/nvme0n1' not a valid data disk target!
23-04-02 23:23:04 ERROR (MainThread) [supervisor.os.data_disk] '/dev/nvme0n1' not a valid data disk target!
23-04-02 23:23:17 ERROR (MainThread) [supervisor.os.data_disk] '/dev/nvme0n1' not a valid data disk target!
23-04-02 23:23:44 ERROR (MainThread) [supervisor.os.data_disk] Can't move data partition to WD-Blue-SN570-500GB-220767800990:

I am not going to run gdbus call --system --dest io.hass.os --object-path /io/hass/os/DataDisk --method io.hass.os.DataDisk.ChangeDevice "/dev/nvme0n1" for now to be able to test if someone found a fix.

@custa1200
Copy link

How can this get escalated to the core team to rectify?

@mdegat01
Copy link
Contributor

mdegat01 commented Apr 3, 2023

Right, those null characters. Should be fixed by #4215 . Will get a new release with that out soon.

@mdegat01
Copy link
Contributor

mdegat01 commented Apr 3, 2023

Ok I just published 2022.04.0. That will go to beta soon (takes a bit to build and publish the image). You can switch to the beta channel by doing ha supervisor options --channel beta in the CLI or by switching to the beta channel in the Home Assistant UI by going to Settings -> System -> Updates and then selecting the beta channel in the 3 dot menu in the top right. It should work in 2022.04.0 of supervisor.

If you don't want to do that then you'll have to wait for a new stable release. Since supervisor auto-updates that's usually a day or two after the beta comes out assuming there's no issues identified.

@dzedler
Copy link

dzedler commented Apr 4, 2023

The beta is not installing for me, stuck saying "Installing" for hours. Already tried the second time. Where and how can I report that? Do I need to update HA core first?

@mdegat01
Copy link
Contributor

mdegat01 commented Apr 4, 2023

@dzedler to clarify you're saying you switched to the beta channel, saw an update for supervisor, tried to install and are stuck, is that right? If so can you share your supervisor logs around the time you clicked install? Go to Settings -> System -> Logs and switch to "Supervisor" in the top right.

@frlequ
Copy link

frlequ commented Apr 4, 2023

The same is happening to me. Fresh install:

23-04-04 21:06:26 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
23-04-04 21:26:48 WARNING (MainThread) [supervisor.jobs] 'StoreManager.reload' blocked from execution, supervisor needs to be updated first
23-04-04 21:26:48 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/beta.json
23-04-04 21:29:27 INFO (SyncWorker_3) [supervisor.docker.interface] Restarting ghcr.io/home-assistant/raspberrypi4-64-homeassistant
23-04-04 21:29:36 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
23-04-04 21:29:43 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
23-04-04 21:29:43 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
23-04-04 21:29:44 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/beta.json
23-04-04 21:29:44 WARNING (MainThread) [supervisor.jobs] 'StoreManager.reload' blocked from execution, supervisor needs to be updated first
23-04-04 21:29:46 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instance
23-04-04 21:34:25 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.RUNNING
23-04-04 21:34:25 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.IPV4_CONNECTION_PROBLEM/ContextType.SYSTEM
23-04-04 21:34:25 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.SUPERVISOR
23-04-04 21:34:25 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.DNS_SERVER_IPV6_ERROR/ContextType.DNS_SERVER
23-04-04 21:34:25 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.FREE_SPACE/ContextType.SYSTEM
23-04-04 21:34:25 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.SECURITY/ContextType.CORE
23-04-04 21:34:25 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.NO_CURRENT_BACKUP/ContextType.SYSTEM
23-04-04 21:34:25 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.DNS_SERVER_FAILED/ContextType.DNS_SERVER
23-04-04 21:34:25 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.PWNED/ContextType.ADDON

@dzedler
Copy link

dzedler commented Apr 4, 2023

Correct. My log looked pretty much the same, especially the line
WARNING (MainThread) [supervisor.jobs] 'StoreManager.reload' blocked from execution, supervisor needs to be updated first
looks familiar. As my last update started 11 hours ago I did no longer have logs from the time the update started. I just rebooted the devices itself to give it another try. I had to unplug power as it would not come back.

Last time I just restartet Home Assistant to be able to restart the update. This time with the reboot it took quite long, and seems to have updated some components (observer?). Am I reading this correct from the supervisor log?

23-04-04 22:18:52 INFO (SyncWorker_0) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/aarch64-hassio-cli with tag 2023.01.0.
23-04-04 22:19:07 INFO (SyncWorker_0) [supervisor.docker.interface] Stopping hassio_cli application
23-04-04 22:19:07 INFO (SyncWorker_0) [supervisor.docker.interface] Stopping hassio_cli application
23-04-04 22:19:12 INFO (SyncWorker_0) [supervisor.docker.interface] Cleaning hassio_cli application
23-04-04 22:19:12 INFO (SyncWorker_2) [supervisor.docker.interface] Cleanup images: ['ghcr.io/home-assistant/aarch64-hassio-cli:2022.11.0']
23-04-04 22:19:12 INFO (MainThread) [supervisor.plugins.cli] Starting CLI plugin
23-04-04 22:19:13 INFO (SyncWorker_0) [supervisor.docker.cli] Starting CLI ghcr.io/home-assistant/aarch64-hassio-cli with version 2023.01.0 - 172.30.32.5
23-04-04 22:19:13 INFO (MainThread) [supervisor.plugins.manager] observer does not have the latest version 2022.10.0, updating
23-04-04 22:19:13 INFO (SyncWorker_2) [supervisor.docker.interface] Updating image ghcr.io/home-assistant/aarch64-hassio-observer:2021.10.0 to ghcr.io/home-assistant/aarch64-hassio-observer:2022.10.0
23-04-04 22:19:13 INFO (SyncWorker_2) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/aarch64-hassio-observer with tag 2022.10.0.
23-04-04 22:19:16 INFO (SyncWorker_2) [supervisor.docker.interface] Stopping hassio_observer application
23-04-04 22:19:20 INFO (SyncWorker_2) [supervisor.docker.interface] Cleaning hassio_observer application
23-04-04 22:19:20 INFO (SyncWorker_1) [supervisor.docker.interface] Cleanup images: ['ghcr.io/home-assistant/aarch64-hassio-observer:2021.10.0']
23-04-04 22:19:20 INFO (MainThread) [supervisor.plugins.observer] Starting observer plugin
23-04-04 22:19:21 INFO (SyncWorker_2) [supervisor.docker.observer] Starting Observer ghcr.io/home-assistant/aarch64-hassio-observer with version 2022.10.0 - 172.30.32.6
23-04-04 22:19:21 INFO (MainThread) [supervisor.homeassistant.secrets] Loaded 3 Home Assistant secrets
23-04-04 22:19:21 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/yellow-homeassistant with version 2023.3.6
23-04-04 22:19:21 INFO (MainThread) [supervisor.os.manager] Detect Home Assistant Operating System 9.5 / BootSlot A
23-04-04 22:19:22 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/core repository
23-04-04 22:19:22 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/5c53de3b repository
23-04-04 22:19:22 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/de838cd8 repository
23-04-04 22:19:22 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/a0d7b954 repository
23-04-04 22:19:27 INFO (MainThread) [supervisor.store] Loading add-ons from store: 71 all - 71 new - 0 remove
23-04-04 22:19:27 INFO (MainThread) [supervisor.addons] Found 8 installed add-ons
23-04-04 22:19:27 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to ghcr.io/hassio-addons/vscode/aarch64 with version 5.5.6
23-04-04 22:19:27 INFO (SyncWorker_1) [supervisor.docker.interface] Attaching to ghcr.io/hassio-addons/grafana/aarch64 with version 8.2.1
23-04-04 22:19:27 INFO (SyncWorker_4) [supervisor.docker.interface] Attaching to ghcr.io/hassio-addons/influxdb/aarch64 with version 4.6.0
23-04-04 22:19:27 INFO (SyncWorker_2) [supervisor.docker.interface] Attaching to ghcr.io/hassio-addons/ssh/aarch64 with version 13.1.0
23-04-04 22:19:27 INFO (SyncWorker_3) [supervisor.docker.interface] Attaching to homeassistant/aarch64-addon-duckdns with version 1.15.0
23-04-04 22:19:27 INFO (SyncWorker_5) [supervisor.docker.interface] Attaching to ghcr.io/hassio-addons/glances/aarch64 with version 0.18.1
23-04-04 22:19:27 INFO (SyncWorker_7) [supervisor.docker.interface] Attaching to ghcr.io/hassio-addons/emqx/aarch64 with version 0.2.6
23-04-04 22:19:27 INFO (SyncWorker_6) [supervisor.docker.interface] Attaching to ghcr.io/jens-maus/raspberrymatic with version 3.67.10.20230225
23-04-04 22:19:27 INFO (MainThread) [supervisor.backups.manager] Found 2 backup files
23-04-04 22:19:27 INFO (MainThread) [supervisor.discovery] Loaded 0 messages
23-04-04 22:19:27 INFO (MainThread) [supervisor.ingress] Loaded 8 ingress sessions
23-04-04 22:19:27 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.SETUP
23-04-04 22:19:27 INFO (MainThread) [supervisor.resolution.check] System checks complete
23-04-04 22:19:27 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.SETUP
23-04-04 22:19:27 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
23-04-04 22:19:27 INFO (MainThread) [supervisor.jobs] 'ResolutionFixup.run_autofix' blocked from execution, system is not running - CoreState.SETUP
23-04-04 22:19:27 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.SETUP
23-04-04 22:19:27 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
23-04-04 22:19:27 INFO (MainThread) [__main__] Running Supervisor
23-04-04 22:19:27 INFO (MainThread) [supervisor.os.manager] Rauc: A - marked slot kernel.0 as good
23-04-04 22:19:27 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.INITIALIZE' starting 0 add-ons
23-04-04 22:19:27 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.SYSTEM' starting 0 add-ons
23-04-04 22:19:27 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.SERVICES' starting 8 add-ons
23-04-04 22:19:28 INFO (SyncWorker_6) [supervisor.docker.addon] Starting Docker add-on ghcr.io/jens-maus/raspberrymatic with version 3.67.10.20230225
23-04-04 22:19:29 INFO (SyncWorker_7) [supervisor.docker.addon] Starting Docker add-on ghcr.io/hassio-addons/ssh/aarch64 with version 13.1.0
23-04-04 22:19:31 INFO (SyncWorker_3) [supervisor.docker.addon] Starting Docker add-on ghcr.io/hassio-addons/vscode/aarch64 with version 5.5.6
23-04-04 22:19:33 INFO (SyncWorker_2) [supervisor.docker.addon] Starting Docker add-on ghcr.io/hassio-addons/influxdb/aarch64 with version 4.6.0
23-04-04 22:19:36 INFO (SyncWorker_3) [supervisor.docker.addon] Starting Docker add-on ghcr.io/hassio-addons/grafana/aarch64 with version 8.2.1
23-04-04 22:19:39 INFO (SyncWorker_0) [supervisor.docker.addon] Starting Docker add-on homeassistant/aarch64-addon-duckdns with version 1.15.0
23-04-04 22:19:39 INFO (MainThread) [supervisor.api.middleware.security] /dns/info access from a0d7b954_influxdb
23-04-04 22:19:39 WARNING (SyncWorker_2) [supervisor.docker.addon] Glances running with disabled protected mode!
23-04-04 22:19:41 INFO (SyncWorker_2) [supervisor.docker.addon] Starting Docker add-on ghcr.io/hassio-addons/glances/aarch64 with version 0.18.1
23-04-04 22:19:42 INFO (SyncWorker_0) [supervisor.docker.addon] Starting Docker add-on ghcr.io/hassio-addons/emqx/aarch64 with version 0.2.6
23-04-04 22:19:44 INFO (MainThread) [supervisor.hardware.monitor] Detecting HardwareAction.ADD hardware /dev/eq3loop - None
23-04-04 22:19:45 INFO (MainThread) [supervisor.docker.addon] Added cgroup permissions 'c 235:0 rwm' for device /dev/eq3loop to addon_de838cd8_raspberrymatic
23-04-04 22:19:47 INFO (MainThread) [supervisor.core] Start Home Assistant Core
23-04-04 22:19:47 INFO (SyncWorker_2) [supervisor.docker.interface] Starting homeassistant
23-04-04 22:19:48 INFO (MainThread) [supervisor.hardware.monitor] Detecting HardwareAction.ADD hardware /dev/mmd_hmip - None
23-04-04 22:19:48 INFO (MainThread) [supervisor.hardware.monitor] Detecting HardwareAction.ADD hardware /dev/mmd_bidcos - None
23-04-04 22:19:48 INFO (MainThread) [supervisor.docker.addon] Added cgroup permissions 'c 235:1 rwm' for device /dev/mmd_hmip to addon_de838cd8_raspberrymatic
23-04-04 22:19:48 INFO (MainThread) [supervisor.docker.addon] Added cgroup permissions 'c 235:2 rwm' for device /dev/mmd_bidcos to addon_de838cd8_raspberrymatic
23-04-04 22:19:48 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
23-04-04 22:20:12 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.STARTUP
23-04-04 22:20:12 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
23-04-04 22:20:15 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
23-04-04 22:20:16 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/beta.json
23-04-04 22:20:16 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/jens-maus/RaspberryMatic repository
23-04-04 22:20:16 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/esphome/home-assistant-addon repository
23-04-04 22:20:16 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
23-04-04 22:20:16 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/addons repository
23-04-04 22:20:23 INFO (MainThread) [supervisor.store] Loading add-ons from store: 71 all - 0 new - 0 remove
23-04-04 22:20:23 INFO (MainThread) [supervisor.store] Loading add-ons from store: 71 all - 0 new - 0 remove
23-04-04 22:22:01 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instance
23-04-04 22:22:01 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.APPLICATION' starting 0 add-ons
23-04-04 22:22:01 INFO (MainThread) [supervisor.misc.tasks] All core tasks are scheduled
23-04-04 22:22:01 INFO (MainThread) [supervisor.core] Supervisor is up and running
23-04-04 22:22:01 INFO (MainThread) [supervisor.host.info] Updating local host information
23-04-04 22:22:01 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/beta.json
23-04-04 22:22:01 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.RUNNING
23-04-04 22:22:01 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.MULTIPLE_DATA_DISKS/ContextType.SYSTEM
23-04-04 22:22:01 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.NO_CURRENT_BACKUP/ContextType.SYSTEM
23-04-04 22:22:01 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.FREE_SPACE/ContextType.SYSTEM
23-04-04 22:22:01 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.PWNED/ContextType.ADDON
23-04-04 22:22:01 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.IPV4_CONNECTION_PROBLEM/ContextType.SYSTEM
23-04-04 22:22:01 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.SUPERVISOR
23-04-04 22:22:01 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.DNS_SERVER_IPV6_ERROR/ContextType.DNS_SERVER
23-04-04 22:22:01 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.DNS_SERVER_FAILED/ContextType.DNS_SERVER
23-04-04 22:22:01 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.SECURITY/ContextType.CORE
23-04-04 22:22:01 INFO (MainThread) [supervisor.resolution.check] System checks complete
23-04-04 22:22:01 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
23-04-04 22:22:02 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
23-04-04 22:22:02 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state CoreState.RUNNING
23-04-04 22:22:02 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
23-04-04 22:22:02 INFO (MainThread) [supervisor.host.services] Updating service information
23-04-04 22:22:02 INFO (MainThread) [supervisor.host.network] Updating local network information
23-04-04 22:22:03 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
23-04-04 22:22:03 INFO (MainThread) [supervisor.host.manager] Host information reload completed

HA core is still on 2023.3.6
HA OS is still on 9.5

@frlequ
Copy link

frlequ commented Apr 4, 2023

@dzedler I got it updated, but I'm not sure what it was. After failed update I made a backup recovery, start from zero, and forgot to set Advanced mode. The update options was missing "Supervisor" update, so i went with "Core". After that no issues.

@mdegat01
After update, I can confirm that Move datadisk from UI went smoothly, but is there any way to confirm data transfer? Is the OS using new disk?

EDIT:
ID_FS_LABEL shows: hassos-data-old ...so I guess this means it's ok.

/devices/platform/emmc2bus/fe340000.mmc/mmc_host/mmc0/mmc0:0001/block/mmcblk0/mmcblk0p8
DEVTYPE: partition
DISKSEQ: '28'
ID_DRIVE_FLASH_SD: '1'
ID_DRIVE_MEDIA_FLASH_SD: '1'
ID_FS_LABEL: hassos-data-old
ID_FS_LABEL_ENC: hassos-data-old

@dzedler
Copy link

dzedler commented Apr 4, 2023

@mdegat01 I can also confirm that the datadisk can be moved now.

@quartstudio If you go to Open your Home Assistant instance and show storage information. you should see the new low percentage. The reference the the eMMC is gone. No lifetime prediction anymore. There should also be no option to move to another datadisk unless there is addittional mass storage available.

@mdegat01
Copy link
Contributor

mdegat01 commented Apr 5, 2023

@dzedler ok so supervisor did update to the beta version then and everything went well? I was going to say I was very confused. There was no error in the logs you were showing about update. In addition every API call is logged, like this one from your log above:

23-04-04 22:19:39 INFO (MainThread) [supervisor.api.middleware.security] /dns/info access from a0d7b954_influxdb

So if the update of supervisor was failing we'd see a call to the /supervisor/update API followed by some sort of error. That just looked like a successful startup, perhaps after an update.

Anyway glad to hear it worked. I am planning to migrate it to stable soon. Thanks for confirmation on this issue 👍

@jfroy
Copy link

jfroy commented Apr 5, 2023

I also had an issue updating to the new supervisor. Like the other reports, I initiated the update and after it made no progress for over 2 hours I restarted my Yellow. It never came back alive after another 2 hours, after which I wiped it (hold red button) and restored from backup. Interestingly, after the backup finished restoring, the Yellow came back up with the new supervisor! I guess the red button only wipes the data partition, not the OS or supervisor. In any case, after all that, I was able to migrate the data to the M2 SSD installed on the Yellow.

@pvizeli pvizeli closed this as completed Apr 11, 2023
@github-actions github-actions bot locked and limited conversation to collaborators May 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests