HADashboard does not work HA

Hey i am running Hassiban and used the common command for installation.

I have added the missing folders , changed owner to pi and gave 755 permission.

I cannot access the dashboard- this is the log for the running command.

2018-08-24 12:04:24.302925 INFO AppDaemon Version 3.0.1 starting
2018-08-24 12:04:24.304233 INFO Configuration read from: /home/homeassistant/app daemon/appdaemon.yaml
2018-08-24 12:04:24.308375 WARNING config_file: /home/homeassistant/appdaemon/ap pdaemon.yaml is owned by homeassistant but appdaemon is running as pi
2018-08-24 12:04:24.311777 INFO AppDaemon: Starting Apps
2018-08-24 12:04:24.314107 WARNING config_dir: /home exists, but is not writeabl e, owner: root
2018-08-24 12:04:24.322972 INFO AppDaemon: Loading Plugin HASS using class HassP lugin from module hassplugin
2018-08-24 12:04:24.375826 INFO AppDaemon: HASS: HASS Plugin Initializing
2018-08-24 12:04:24.378393 INFO AppDaemon: HASS: HASS Plugin initialization comp lete
2018-08-24 12:04:24.380082 INFO Dashboards are disabled
2018-08-24 12:04:24.381039 INFO API is disabled
2018-08-24 12:04:24.397902 INFO AppDaemon: HASS: Connected to Home Assistant 0.7 5.1
2018-08-24 12:04:24.480586 INFO AppDaemon: Got initial state from namespace defa ult
2018-08-24 12:04:26.655667 INFO AppDaemon: Reading config
2018-08-24 12:04:26.657413 WARNING AppDaemon: File ‘/home/homeassistant/appdaemon/apps/apps.yaml’ invalid structure - ignoring
2018-08-24 12:04:26.657950 INFO AppDaemon: /home/homeassistant/appdaemon/apps/apps.yaml added or modified
2018-08-24 12:04:26.658358 INFO AppDaemon: /home/homeassistant/appdaemon/apps/apps.yaml added or modified
2018-08-24 12:04:26.658960 INFO AppDaemon: Adding /home/homeassistant/appdaemon/apps to module import path
2018-08-24 12:04:26.660964 INFO AppDaemon: App initialization complete

appdaemon.yaml
appdaemon:
threads: 10
logfile: STDOUT
errorfile: STDERR
plugins:
HASS:
type: hass
ha_url: http://192.168.10.201:8123
ha_key:
HADashboard:
dash_url: http://192.168.10.201:5050
dash_dir: /home/homeassistant/appdaemon/dashboards

please when you post code or logs use the codeblocks to present it as stated on top of the forum. or else we have a hard time reading it and finding out your trouble.

but in this case the first lines in your log make it clear:

2018-08-24 12:04:24.308375 WARNING config_file: /home/homeassistant/appdaemon/ap pdaemon.yaml is owned by homeassistant but appdaemon is running as pi

you startup appdaemon as user PI, but the files have the filerights for user homeassistant.

so 2 options:

  1. run appdaemon as user homeassistant or change the filerights.

second thing i notice is that your appdaemon.yaml is (at least partly) created for AD 2.0 while you are running 3.01
so please read the docs to rewrite your appdaemon.yaml
https://appdaemon.readthedocs.io/en/latest/DASHBOARD_INSTALL.html

at least HADashboard should be hadashboard

and third thing. change your pasword and dont expose it on the forum next time :wink:

Thanks …

I changed the user into pi and now it is working
seems that the virtual environment is not fully clear for my side

1 Like