Closed astrandb closed 4 years ago
Make sure you have read the issue guidelines and that you filled out the entire template.
The error is clear, no premission.
Where should I look? The user homeassistant has rwx in all of custom-components To be more specific: directories are rwx and all files are rw
Should be the same as .storage
and the files in that
Cannot find anything odd with the permissions. It would be helpful if the error was logged with full path of the file. If you point me into the right direction I can do some digging myself..
The problem has to do with permissions in /tmp (I am running venv in Ubuntu).
This should not be a problem in normal cases but in my case I run an instance of HA as a service with username "homeassistant". Occasionally I test by invoking hass from command line and then my own name is used. This leads to permission problems in /tmp.
One way to avoid this collision could be to create temporary files in a subdirectory in /tmp named after the current user. Another way but perhaps more difficult is to ensure that all tmp files are removed even after errors.
Version of HACS
106.5
Describe the bug
Cannot upgrade to HACS 22.3. Get a red panel with "An error ocoured while processing [Errno 13] Permission denied: 'manifest.json'"
Have tried on 3 different installations of HA. Cannot see anything wrong with permissions. Had the same problem when upgrading to 22.2 but after a couple of restarts of HA and multiple complete reboots the upgrade was eventually accepted.
This time I pressed upgrade at 21:30:35+
Debug log
Logs
```text 2020-03-07 21:28:29 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant. 2020-03-07 21:28:29 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for shelly which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant. 2020-03-07 21:28:29 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for sentio which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant. 2020-03-07 21:28:29 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for modbus which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant. 2020-03-07 21:28:29 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for nibe which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant. 2020-03-07 21:28:29 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for favicon which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant. 2020-03-07 21:28:31 DEBUG (MainThread) [hacs] Configuration type: yaml 2020-03-07 21:28:31 INFO (MainThread) [hacs] ------------------------------------------------------------------- HACS (Home Assistant Community Store) Version: 0.22.2 This is a custom integration If you have any issues with this you need to open an issue here: https://github.com/hacs/integration/issues ------------------------------------------------------------------- 2020-03-07 21:28:31 DEBUG (MainThread) [hacs.repository.integration.hacs.integration] Checking repository. 2020-03-07 21:28:32 DEBUG (MainThread) [hacs.repository.integration.hacs.integration] Running checks against 0.22.3 2020-03-07 21:28:33 INFO (MainThread) [hacs.repository.integration.hacs.integration] Registration complete 2020-03-07 21:28:33 INFO (MainThread) [hacs.data] Restore started 2020-03-07 21:28:34 INFO (MainThread) [hacs.data] Restore done 2020-03-07 21:28:34 DEBUG (MainThread) [hacs.configuration] appdaemon_path: appdaemon/apps/ 2020-03-07 21:28:34 DEBUG (MainThread) [hacs.configuration] appdaemon: False 2020-03-07 21:28:34 DEBUG (MainThread) [hacs.configuration] config_type: yaml 2020-03-07 21:28:34 DEBUG (MainThread) [hacs.configuration] debug: False 2020-03-07 21:28:34 DEBUG (MainThread) [hacs.configuration] dev: False 2020-03-07 21:28:34 DEBUG (MainThread) [hacs.configuration] frontend_mode: Table 2020-03-07 21:28:34 DEBUG (MainThread) [hacs.configuration] frontend_compact: False 2020-03-07 21:28:34 DEBUG (MainThread) [hacs.configuration] onboarding_done: True 2020-03-07 21:28:34 DEBUG (MainThread) [hacs.configuration] plugin_path: www/community/ 2020-03-07 21:28:34 DEBUG (MainThread) [hacs.configuration] python_script_path: python_scripts/ 2020-03-07 21:28:34 DEBUG (MainThread) [hacs.configuration] python_script: False 2020-03-07 21:28:34 DEBUG (MainThread) [hacs.configuration] sidepanel_icon: mdi:alpha-c-box 2020-03-07 21:28:34 DEBUG (MainThread) [hacs.configuration] sidepanel_title: HACS 2020-03-07 21:28:34 DEBUG (MainThread) [hacs.configuration] theme_path: themes/ 2020-03-07 21:28:34 DEBUG (MainThread) [hacs.configuration] theme: False 2020-03-07 21:28:34 DEBUG (MainThread) [hacs.configuration] country: ALL 2020-03-07 21:28:34 DEBUG (MainThread) [hacs.configuration] experimental: False 2020-03-07 21:28:34 DEBUG (MainThread) [hacs.configuration] release_limit: 5 2020-03-07 21:29:00 DEBUG (MainThread) [hacs] None 2020-03-07 21:29:00 DEBUG (MainThread) [hacs] None 2020-03-07 21:29:00 INFO (MainThread) [hacs] Loading known repositories 2020-03-07 21:29:04 DEBUG (MainThread) [hacs] Running set_state for hacs/integration 2020-03-07 21:29:04 DEBUG (MainThread) [hacs] Running update for hacs/integration 2020-03-07 21:29:04 DEBUG (MainThread) [hacs.repository.integration.hacs.integration] Getting repository information 2020-03-07 21:29:05 DEBUG (MainThread) [hacs.repository.integration.hacs.integration] Running checks against 0.22.3 2020-03-07 21:29:08 DEBUG (MainThread) [hacs.factory] No tasks to execute 2020-03-07 21:29:08 INFO (MainThread) [hacs] Loading known repositories finished 2020-03-07 21:29:08 DEBUG (MainThread) [hacs] Starting recuring background task for installed repositories 2020-03-07 21:29:08 DEBUG (MainThread) [hacs] 4487 2020-03-07 21:29:08 DEBUG (MainThread) [hacs] 2020-03-07 20:46:27 2020-03-07 21:29:08 INFO (MainThread) [hacs.factory] Processing 6 tasks 2020-03-07 21:29:08 DEBUG (MainThread) [hacs.repository.integration.hacs.integration] Getting repository information 2020-03-07 21:29:08 DEBUG (MainThread) [hacs.repository.plugin.thomasloven.lovelace-auto-entities] Getting repository information 2020-03-07 21:29:08 DEBUG (MainThread) [hacs.repository.integration.StyraHem.ShellyForHASS] Getting repository information 2020-03-07 21:29:08 DEBUG (MainThread) [hacs.repository.integration.thomasloven.hass-favicon] Getting repository information 2020-03-07 21:29:08 DEBUG (MainThread) [hacs.repository.integration.astrandb.sentio] Getting repository information 2020-03-07 21:29:08 DEBUG (MainThread) [hacs.repository.integration.elupus.hass_nibe] Getting repository information 2020-03-07 21:29:08 DEBUG (MainThread) [hacs.repository.plugin.thomasloven.lovelace-auto-entities] Running checks against 16 2020-03-07 21:29:08 DEBUG (MainThread) [hacs.repository.integration.elupus.hass_nibe] Running checks against master 2020-03-07 21:29:08 DEBUG (MainThread) [hacs.repository.integration.astrandb.sentio] Running checks against 0.0.6 2020-03-07 21:29:08 DEBUG (MainThread) [hacs.repository.integration.thomasloven.hass-favicon] Running checks against 7 2020-03-07 21:29:08 DEBUG (MainThread) [hacs.repository.integration.StyraHem.ShellyForHASS] Running checks against 0.1.6 2020-03-07 21:29:08 DEBUG (MainThread) [hacs.repository.integration.hacs.integration] Running checks against 0.22.3 2020-03-07 21:29:10 DEBUG (MainThread) [hacs.template] 'states' is undefined 2020-03-07 21:29:16 INFO (MainThread) [hacs.factory] Task processing of 6 tasks completed in 8 seconds 2020-03-07 21:29:16 DEBUG (MainThread) [hacs.data] Saving data 2020-03-07 21:29:16 DEBUG (MainThread) [hacs] Recuring background task for installed repositories done 2020-03-07 21:29:16 DEBUG (MainThread) [hacs.data] Saving data 2020-03-07 21:30:27 DEBUG (MainThread) [hacs] Running set_state for hacs/integration 2020-03-07 21:30:27 DEBUG (MainThread) [hacs.data] Saving data 2020-03-07 21:30:27 DEBUG (MainThread) [hacs] Running install for hacs/integration 2020-03-07 21:30:27 DEBUG (MainThread) [hacs.repository.integration.hacs.integration] Getting repository information 2020-03-07 21:30:28 DEBUG (MainThread) [hacs.repository.integration.hacs.integration] Running checks against 0.22.3 2020-03-07 21:31:48 DEBUG (MainThread) [hacs] Running set_state for hacs/integration 2020-03-07 21:31:48 DEBUG (MainThread) [hacs.data] Saving data 2020-03-07 21:31:48 DEBUG (MainThread) [hacs] Running install for hacs/integration 2020-03-07 21:31:48 DEBUG (MainThread) [hacs.repository.integration.hacs.integration] Getting repository information 2020-03-07 21:31:49 DEBUG (MainThread) [hacs.repository.integration.hacs.integration] Running checks against 0.22.3 ```