core icon indicating copy to clipboard operation
core copied to clipboard

SystemMonitor home directory

Open Noltari opened this issue 1 year ago • 2 comments

The problem

There's a warning when the integration is loaded: OS error for home, error [Errno 2] No such file or directory: 'home' In my docker compose I've got the debian /home mounted as /debian_home. I've tried mounting another empty /home directory to suppress the error but it doesn't work.

What version of Home Assistant Core has the issue?

core-2024.8.3

What was the last working version of Home Assistant Core?

I think it was working before systemmonitor config was migrated from YAML to UI.

What type of installation are you running?

Home Assistant Container

Integration causing the issue

systemmonitor

Link to integration documentation on our website

https://www.home-assistant.io/integrations/systemmonitor/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Registrador: homeassistant.components.systemmonitor.coordinator
Fuente: components/systemmonitor/coordinator.py:157
integración: System Monitor (documentación, problemas)
Ocurrió por primera vez: 11:58:48 (1 ocurrencias)
Último inicio de sesión: 11:58:48

OS error for home, error [Errno 2] No such file or directory: 'home'

Additional information

No response

Noltari avatar Sep 03 '24 10:09 Noltari

Hey there @gjohansson-st, mind taking a look at this issue as it has been labeled with an integration (systemmonitor) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of systemmonitor can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign systemmonitor Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


systemmonitor documentation systemmonitor source (message by IssueLinks)

home-assistant[bot] avatar Sep 03 '24 10:09 home-assistant[bot]

the integration does a discovery on startup so somehow it would think there is a /home directory which then is not then actually there. Maybe you can do df -h from within the container to see what it actually mounts?

gjohansson-ST avatar Oct 07 '24 17:10 gjohansson-ST

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

Logger: homeassistant.components.systemmonitor.coordinator Source: components/systemmonitor/coordinator.py:169 integration: System Monitor (documentation, issues) First occurred: November 12, 2024 at 7:25:27 PM (9196 occurrences) Last logged: 9:44:43 AM OS error for /config, error [Errno 2] No such file or directory: '/config'

Korpip avatar Nov 14 '24 14:11 Korpip

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.