Jump to content

Recommended Posts

Posted

I've freshly installed HexOS and added the home assistant application. -- I've left everything default. 

Home Assistant's log is full of errors, and it doesn't retain any configuration between reboots.

It looks like HexOS/TrueNAS isn't installing Home Assistant correctly, and there are some permissions problems.

I'm out of my depth here. I've uninstalled, deleted the left-over datasets and reinstalled a few times, always with the same result.

Should I reinstall HexOS at this point? why does this even happen

2025-10-10 11:55:09.957 ERROR (SyncWorker_6) [homeassistant.util.file] Saving file failed: /config/.storage/http.auth
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/util/file.py", line 62, in write_utf8_file
    os.fchmod(fdesc.fileno(), 0o644)
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 1] Operation not permitted
2025-10-10 11:55:09.958 ERROR (MainThread) [homeassistant.helpers.storage] Error writing config for http.auth: [Errno 1] Operation not permitted
2025-10-10 11:55:11.433 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/blueprint/models.py", line 386, in async_populate
    await self.hass.async_add_executor_job(populate)
  File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/components/blueprint/models.py", line 381, in populate
    shutil.copytree(
    ~~~~~~~~~~~~~~~^
        integration.file_path / BLUEPRINT_FOLDER,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        self.blueprint_folder / HOMEASSISTANT_DOMAIN,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/local/lib/python3.13/shutil.py", line 593, in copytree
    return _copytree(entries=entries, src=src, dst=dst, symlinks=symlinks,
                     ignore=ignore, copy_function=copy_function,
                     ignore_dangling_symlinks=ignore_dangling_symlinks,
                     dirs_exist_ok=dirs_exist_ok)
  File "/usr/local/lib/python3.13/shutil.py", line 547, in _copytree
    raise Error(errors)
shutil.Error: [('/usr/src/homeassistant/homeassistant/components/automation/blueprints/notify_leaving_zone.yaml', '/config/blueprints/automation/homeassistant/notify_leaving_zone.yaml', "[Errno 1] Operation not permitted: '/config/blueprints/automation/homeassistant/notify_leaving_zone.yaml'"), ('/usr/src/homeassistant/homeassistant/components/automation/blueprints/motion_light.yaml', '/config/blueprints/automation/homeassistant/motion_light.yaml', "[Errno 1] Operation not permitted: '/config/blueprints/automation/homeassistant/motion_light.yaml'"), (PosixPath('/usr/src/homeassistant/homeassistant/components/automation/blueprints'), PosixPath('/config/blueprints/automation/homeassistant'), "[Errno 1] Operation not permitted: '/config/blueprints/automation/homeassistant'")]
2025-10-10 11:55:11.436 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/blueprint/models.py", line 386, in async_populate
    await self.hass.async_add_executor_job(populate)
  File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/components/blueprint/models.py", line 381, in populate
    shutil.copytree(
    ~~~~~~~~~~~~~~~^
        integration.file_path / BLUEPRINT_FOLDER,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        self.blueprint_folder / HOMEASSISTANT_DOMAIN,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/local/lib/python3.13/shutil.py", line 593, in copytree
    return _copytree(entries=entries, src=src, dst=dst, symlinks=symlinks,
                     ignore=ignore, copy_function=copy_function,
                     ignore_dangling_symlinks=ignore_dangling_symlinks,
                     dirs_exist_ok=dirs_exist_ok)
  File "/usr/local/lib/python3.13/shutil.py", line 547, in _copytree
    raise Error(errors)
shutil.Error: [('/usr/src/homeassistant/homeassistant/components/script/blueprints/confirmable_notification.yaml', '/config/blueprints/script/homeassistant/confirmable_notification.yaml', "[Errno 1] Operation not permitted: '/config/blueprints/script/homeassistant/confirmable_notification.yaml'"), (PosixPath('/usr/src/homeassistant/homeassistant/components/script/blueprints'), PosixPath('/config/blueprints/script/homeassistant'), "[Errno 1] Operation not permitted: '/config/blueprints/script/homeassistant'")]
2025-10-10 11:55:11.671 ERROR (SyncWorker_6) [homeassistant.util.file] Saving file failed: /config/.storage/core.restore_state
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/util/file.py", line 62, in write_utf8_file
    os.fchmod(fdesc.fileno(), 0o644)
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 1] Operation not permitted
2025-10-10 11:55:11.672 ERROR (MainThread) [homeassistant.helpers.storage] Error writing config for core.restore_state: [Errno 1] Operation not permitted
2025-10-10 11:55:12.803 ERROR (SyncWorker_7) [homeassistant.util.file] Saving file failed: /config/.storage/core.config_entries
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/util/file.py", line 62, in write_utf8_file
    os.fchmod(fdesc.fileno(), 0o644)
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 1] Operation not permitted
2025-10-10 11:55:12.804 ERROR (MainThread) [homeassistant.helpers.storage] Error writing config for core.config_entries: [Errno 1] Operation not permitted
2025-10-10 11:55:21.050 ERROR (SyncWorker_3) [homeassistant.util.file] Saving file failed: /config/.storage/assist_pipeline.pipelines
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/util/file.py", line 62, in write_utf8_file
    os.fchmod(fdesc.fileno(), 0o644)
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 1] Operation not permitted
2025-10-10 11:55:21.053 ERROR (MainThread) [homeassistant.helpers.storage] Error writing config for assist_pipeline.pipelines: [Errno 1] Operation not permitted
2025-10-10 11:55:21.674 ERROR (SyncWorker_6) [homeassistant.util.file] Saving file failed: /config/.storage/homeassistant.exposed_entities
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/util/file.py", line 62, in write_utf8_file
    os.fchmod(fdesc.fileno(), 0o644)
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 1] Operation not permitted
2025-10-10 11:55:21.675 ERROR (MainThread) [homeassistant.helpers.storage] Error writing config for homeassistant.exposed_entities: [Errno 1] Operation not permitted
2025-10-10 11:55:21.803 ERROR (SyncWorker_1) [homeassistant.util.file] Saving file failed: /config/.storage/core.device_registry
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/util/file.py", line 38, in write_utf8_file_atomic
    os.fchmod(fdesc.fileno(), 0o644)
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 1] Operation not permitted
2025-10-10 11:55:21.805 ERROR (MainThread) [homeassistant.helpers.storage] Error writing config for core.device_registry: [Errno 1] Operation not permitted
2025-10-10 11:55:21.806 ERROR (SyncWorker_8) [homeassistant.util.file] Saving file failed: /config/.storage/core.entity_registry
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/util/file.py", line 38, in write_utf8_file_atomic
    os.fchmod(fdesc.fileno(), 0o644)
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 1] Operation not permitted
2025-10-10 11:55:21.807 ERROR (MainThread) [homeassistant.helpers.storage] Error writing config for core.entity_registry: [Errno 1] Operation not permitted
2025-10-10 11:58:09.925 ERROR (SyncWorker_2) [homeassistant.util.file] Saving file failed: /config/.storage/repairs.issue_registry
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/util/file.py", line 38, in write_utf8_file_atomic
    os.fchmod(fdesc.fileno(), 0o644)
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 1] Operation not permitted
2025-10-10 11:58:09.926 ERROR (MainThread) [homeassistant.helpers.storage] Error writing config for repairs.issue_registry: [Errno 1] Operation not permitted
2025-10-10 11:58:10.001 ERROR (SyncWorker_0) [homeassistant.util.file] Saving file failed: /config/.storage/http
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/util/file.py", line 62, in write_utf8_file
    os.fchmod(fdesc.fileno(), 0o644)
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 1] Operation not permitted
2025-10-10 11:58:10.002 ERROR (MainThread) [homeassistant.helpers.storage] Error writing config for http: [Errno 1] Operation not permitted
2025-10-10 12:10:11.006 ERROR (SyncWorker_7) [homeassistant.util.file] Saving file failed: /config/.storage/bluetooth.passive_update_processor
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/util/file.py", line 62, in write_utf8_file
    os.fchmod(fdesc.fileno(), 0o644)
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 1] Operation not permitted
2025-10-10 12:10:11.007 ERROR (MainThread) [homeassistant.helpers.storage] Error writing config for bluetooth.passive_update_processor: [Errno 1] Operation not permitted
2025-10-10 12:10:11.673 ERROR (SyncWorker_5) [homeassistant.util.file] Saving file failed: /config/.storage/core.restore_state
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/util/file.py", line 62, in write_utf8_file
    os.fchmod(fdesc.fileno(), 0o644)
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 1] Operation not permitted
2025-10-10 12:10:11.675 ERROR (MainThread) [homeassistant.helpers.storage] Error writing config for core.restore_state: [Errno 1] Operation not permitted
2025-10-10 12:25:11.006 ERROR (SyncWorker_3) [homeassistant.util.file] Saving file failed: /config/.storage/bluetooth.passive_update_processor
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/util/file.py", line 62, in write_utf8_file
    os.fchmod(fdesc.fileno(), 0o644)
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 1] Operation not permitted
2025-10-10 12:25:11.009 ERROR (MainThread) [homeassistant.helpers.storage] Error writing config for bluetooth.passive_update_processor: [Errno 1] Operation not permitted
2025-10-10 12:25:11.673 ERROR (SyncWorker_6) [homeassistant.util.file] Saving file failed: /config/.storage/core.restore_state
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/util/file.py", line 62, in write_utf8_file
    os.fchmod(fdesc.fileno(), 0o644)
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 1] Operation not permitted
2025-10-10 12:25:11.675 ERROR (MainThread) [homeassistant.helpers.storage] Error writing config for core.restore_state: [Errno 1] Operation not permitted
2025-10-10 12:27:02.148 ERROR (SyncWorker_1) [homeassistant.util.file] Saving file failed: /config/.storage/person
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/util/file.py", line 62, in write_utf8_file
    os.fchmod(fdesc.fileno(), 0o644)
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 1] Operation not permitted
2025-10-10 12:27:02.151 ERROR (MainThread) [homeassistant.helpers.storage] Error writing config for person: [Errno 1] Operation not permitted
2025-10-10 12:27:02.151 ERROR (SyncWorker_4) [homeassistant.util.file] Saving file failed: /config/.storage/core.area_registry
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/util/file.py", line 38, in write_utf8_file_atomic
    os.fchmod(fdesc.fileno(), 0o644)
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 1] Operation not permitted
2025-10-10 12:27:02.153 ERROR (SyncWorker_7) [homeassistant.util.file] Saving file failed: /config/.storage/core.entity_registry
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/util/file.py", line 38, in write_utf8_file_atomic
    os.fchmod(fdesc.fileno(), 0o644)
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 1] Operation not permitted
2025-10-10 12:27:02.155 ERROR (MainThread) [homeassistant.helpers.storage] Error writing config for core.area_registry: [Errno 1] Operation not permitted
2025-10-10 12:27:02.155 ERROR (MainThread) [homeassistant.helpers.storage] Error writing config for core.entity_registry: [Errno 1] Operation not permitted
2025-10-10 12:27:10.152 WARNING (MainThread) [homeassistant.helpers.translation] Failed to load integration for translation: Invalid domain sun.sensor
2025-10-10 12:27:10.152 WARNING (MainThread) [homeassistant.helpers.translation] Failed to load integration for translation: Invalid domain energy.sensor
2025-10-10 12:27:10.152 WARNING (MainThread) [homeassistant.helpers.translation] Failed to load integration for translation: Invalid domain backup.event
2025-10-10 12:27:10.152 WARNING (MainThread) [homeassistant.helpers.translation] Failed to load integration for translation: Invalid domain mobile_app.notify
2025-10-10 12:27:10.152 WARNING (MainThread) [homeassistant.helpers.translation] Failed to load integration for translation: Invalid domain backup.sensor
2025-10-10 12:27:10.152 WARNING (MainThread) [homeassistant.helpers.translation] Failed to load integration for translation: Invalid domain homeassistant.scene
2025-10-10 12:27:10.152 WARNING (MainThread) [homeassistant.helpers.translation] Failed to load integration for translation: Invalid domain cloud.tts
2025-10-10 12:27:10.153 WARNING (MainThread) [homeassistant.helpers.translation] Failed to load integration for translation: Invalid domain google_translate.tts
2025-10-10 12:27:10.153 WARNING (MainThread) [homeassistant.helpers.translation] Failed to load integration for translation: Invalid domain sun.binary_sensor
2025-10-10 12:27:11.248 ERROR (SyncWorker_5) [homeassistant.util.file] Saving file failed: /config/.storage/core.analytics
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/util/file.py", line 62, in write_utf8_file
    os.fchmod(fdesc.fileno(), 0o644)
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 1] Operation not permitted
2025-10-10 12:27:11.251 ERROR (MainThread) [homeassistant.helpers.storage] Error writing config for core.analytics: [Errno 1] Operation not permitted
2025-10-10 12:27:11.505 ERROR (SyncWorker_2) [homeassistant.util.file] Saving file failed: /config/.storage/core.config_entries
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/util/file.py", line 62, in write_utf8_file
    os.fchmod(fdesc.fileno(), 0o644)
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 1] Operation not permitted
2025-10-10 12:27:11.507 ERROR (MainThread) [homeassistant.helpers.storage] Error writing config for core.config_entries: [Errno 1] Operation not permitted
2025-10-10 12:27:12.310 ERROR (SyncWorker_1) [homeassistant.util.file] Saving file failed: /config/.storage/lovelace.map
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/util/file.py", line 62, in write_utf8_file
    os.fchmod(fdesc.fileno(), 0o644)
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 1] Operation not permitted
2025-10-10 12:27:12.322 ERROR (MainThread) [homeassistant.helpers.storage] Error writing config for lovelace.map: [Errno 1] Operation not permitted
2025-10-10 12:27:20.157 ERROR (SyncWorker_2) [homeassistant.util.file] Saving file failed: /config/.storage/repairs.issue_registry
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/util/file.py", line 38, in write_utf8_file_atomic
    os.fchmod(fdesc.fileno(), 0o644)
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 1] Operation not permitted
2025-10-10 12:27:20.159 ERROR (MainThread) [homeassistant.helpers.storage] Error writing config for repairs.issue_registry: [Errno 1] Operation not permitted
2025-10-10 12:27:20.460 ERROR (SyncWorker_4) [homeassistant.util.file] Saving file failed: /config/.storage/core.entity_registry
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/util/file.py", line 38, in write_utf8_file_atomic
    os.fchmod(fdesc.fileno(), 0o644)
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 1] Operation not permitted
2025-10-10 12:27:20.461 ERROR (SyncWorker_8) [homeassistant.util.file] Saving file failed: /config/.storage/core.device_registry
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/util/file.py", line 38, in write_utf8_file_atomic
    os.fchmod(fdesc.fileno(), 0o644)
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 1] Operation not permitted
2025-10-10 12:27:20.464 ERROR (MainThread) [homeassistant.helpers.storage] Error writing config for core.entity_registry: [Errno 1] Operation not permitted
2025-10-10 12:27:20.464 ERROR (MainThread) [homeassistant.helpers.storage] Error writing config for core.device_registry: [Errno 1] Operation not permitted
2025-10-10 12:27:22.306 ERROR (SyncWorker_7) [homeassistant.util.file] Saving file failed: /config/.storage/lovelace_dashboards
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/util/file.py", line 62, in write_utf8_file
    os.fchmod(fdesc.fileno(), 0o644)
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 1] Operation not permitted
2025-10-10 12:27:22.309 ERROR (MainThread) [homeassistant.helpers.storage] Error writing config for lovelace_dashboards: [Errno 1] Operation not permitted

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...