HADashboard - Dashboards are disabled

I don’t get any distinct error except that dashboards are disabled. Its probably something extremely simple but I am not finding another post covering it.

(hadashboard) homeassistant@ubnt:/srv/hadashboard$ appdaemon -v
appdaemon 3.0.1

(hadashboard) homeassistant@ubnt:/srv/hadashboard$ python --version
Python 3.6.5rc1

(hadashboard) homeassistant@ubnt:/srv/hadashboard$ appdaemon -c /home/homeassistant/conf/
2018-04-30 00:14:44.619410 INFO AppDaemon Version 3.0.1 starting
2018-04-30 00:14:44.619662 INFO Configuration read from: /home/homeassistant/conf/appdaemon.yaml
2018-04-30 00:14:44.620812 INFO AppDaemon: Starting Apps
2018-04-30 00:14:44.621169 WARNING config_dir: /home exists, but is not writeable, owner: root
2018-04-30 00:14:44.623131 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin
2018-04-30 00:14:44.629756 INFO AppDaemon: HASS: HASS Plugin Initializing
2018-04-30 00:14:44.630058 INFO AppDaemon: HASS: HASS Plugin initialization complete
2018-04-30 00:14:44.630275 INFO Dashboards are disabled
2018-04-30 00:14:44.630418 INFO API is disabled
2018-04-30 00:14:44.634099 INFO AppDaemon: HASS: Connected to Home Assistant 0.67.1
2018-04-30 00:14:44.640848 INFO AppDaemon: Got initial state from namespace default
2018-04-30 00:14:46.666428 INFO AppDaemon: Reading config
2018-04-30 00:14:46.666880 WARNING AppDaemon: File '/home/homeassistant/conf/apps/apps.yaml' invalid structure - ignoring
2018-04-30 00:14:46.667026 INFO AppDaemon: /home/homeassistant/conf/apps/apps.yaml added or modified
2018-04-30 00:14:46.667163 INFO AppDaemon: /home/homeassistant/conf/apps/apps.yaml added or modified
2018-04-30 00:14:46.667378 INFO AppDaemon: Adding /home/homeassistant/conf/apps to module import path
2018-04-30 00:14:46.667900 INFO AppDaemon: App initialization complete

Config

appdaemon:
  logfile: STDOUT
  errorfile: STDERR
  threads: 10
  plugins:
    HASS:
      type: hass
      ha_url: http://127.0.0.1:8123
HADashboard:
  dash_url: http://127.0.0.1:5050
  dash_dir: /home/homeassistant/conf/dashboards
  dash_force_compile: 1

Test Dashboard

title: Main
widget_dimensions: [170, 180]
widget_margins: [15, 15]
columns: 11

clock:
  widget_type: clock

weather:
  widget_type: weather
  units: "°C"

reload:
  widget_type: reload

layout:
 - clock(4x2), weather(3xx)
 -
 -
 -
 - reload(1x1)

Directory Structure

homeassistant@ubnt:~/conf$ ls -lR
.:
total 16
-rw-r--r-- 1 homeassistant homeassistant  256 Apr 30 00:14 appdaemon.yaml
drwxr-xr-x 2 homeassistant homeassistant 4096 Apr 28 00:14 apps
drwxr-xr-x 4 homeassistant homeassistant 4096 Apr 28 00:12 compiled
drwxr-xr-x 2 homeassistant homeassistant 4096 Apr 28 00:22 dashboards

./apps:
total 0
-rw-r--r-- 1 homeassistant homeassistant 0 Apr 28 00:11 apps.yaml

./compiled:
total 8
drwxr-xr-x 2 homeassistant homeassistant 4096 Apr 28 00:12 css
drwxr-xr-x 2 homeassistant homeassistant 4096 Apr 28 00:12 javascript

./compiled/css:
total 0

./compiled/javascript:
total 0

./dashboards:
total 4
-rw-r--r-- 1 homeassistant homeassistant 253 Apr 28 00:22 main.dash

i think its indeed quite simple.
you dont have a section hadashboard: in your appdaemon.yaml (you named it HADashboard) and so appdaemon cant find the settings for your dashboardserver.

so change HADashboard to hadashboard. :wink:


there are some other warnings also.

WARNING config_dir: /home exists, but is not writeable, owner: root

its a new part from the debugging, (which i have not seen untill yet, introduced in 3.01) and i dont know if that warning tells that your config dir has the wrong filerights or that its accidental and it points to the base dir, which shouldnt influence anything. (maybe that @aimc can tell me more bout that warning)


WARNING AppDaemon: File ‘/home/homeassistant/conf/apps/apps.yaml’ invalid structure - ignoring

this is a warning i do understand.
apps.yaml has a failure. so anything inside that is ignored. if you have apps that you want to run inside it, you need to take care of that.

Hi,

Thanks for the quick reply. That fixed it up. Also thanks for the other advice, I am just getting started with this so I just basically want to validate the server is working first before I customize anything.

I checked the permissions and its just the /home directory that is owned by root, but that should be correct and ok.

1 Like