Hi I try to run HADashboard and I see the home page in which I made dashboard. When I open this I got this error:
“500 Internal Server Error Server got itself in trouble”
and the log shows,I’ve looked at the permissions but they seem ok, the user ‘homeassistant’ is owner of the directories:
2017-09-29 11:35:27.830954 INFO AppDaemon Version 2.1.9 starting
2017-09-29 11:35:27.831461 INFO Configuration read from: /home/homeassistant/.homeassistant/conf/appdaemon.yaml
2017-09-29 11:35:28.233392 INFO Starting Apps
2017-09-29 11:35:28.512756 INFO Got initial state
2017-09-29 11:35:28.514068 INFO Loading Module: /home/homeassistant/.homeassistant/conf/apps/hello.py
2017-09-29 11:35:28.517321 INFO Loading Object hello_world using class HelloWorld from module hello
2017-09-29 11:35:28.678466 INFO hello_world: Hallo vanui AppDaemon
2017-09-29 11:35:28.681856 INFO hello_world: Je ben gereed om Apps te draaien!
2017-09-29 11:35:28.682653 INFO App initialization complete
2017-09-29 11:35:28.683646 INFO Starting dashboard
2017-09-29 11:35:28.698791 INFO API is disabled
2017-09-29 11:35:28.821147 INFO Connected to Home Assistant 0.53.1
2017-09-29 11:36:00.689543 INFO Compiling dashboard ‘beeklust’
2017-09-29 11:36:01.702828 WARNING ------------------------------------------------------------
2017-09-29 11:36:01.703457 WARNING Unexpected error during DASH creation
2017-09-29 11:36:01.703822 WARNING ------------------------------------------------------------
2017-09-29 11:36:01.708712 WARNING Traceback (most recent call last):
File “/usr/local/lib/python3.4/dist-packages/appdaemon/dashboard.py”, line 788, in get_dashboard
dash = self._conditional_compile(name, skin, recompile)
File “/usr/local/lib/python3.4/dist-packages/appdaemon/dashboard.py”, line 731, in _conditional_compile
dash = self._get_dash(name, skin, skindir)
File “/usr/local/lib/python3.4/dist-packages/appdaemon/dashboard.py”, line 604, in _get_dash
with open(css_path, “w”) as css_file:
PermissionError: [Errno 13] Permission denied: ‘/home/homeassistant/.homeassistant/conf/compiled/css/default/beeklust_application.css’
2017-09-29 11:36:01.709343 WARNING ------------------------------------------------------------
2017-09-29 11:36:01.710122 INFO function [get_dashboard] finished in 1059 ms
Error handling request
Traceback (most recent call last):
File “/usr/local/lib/python3.4/dist-packages/aiohttp/web_protocol.py”, line 422, in start
resp = yield from self._request_handler(request)
File “/usr/local/lib/python3.4/dist-packages/aiohttp/web.py”, line 306, in _handle
resp = yield from handler(request)
File “/usr/lib/python3.4/asyncio/coroutines.py”, line 143, in coro
res = yield from res
File “/usr/local/lib/python3.4/dist-packages/appdaemon/rundash.py”, line 129, in load_dash
return web.Response(text=response, content_type=“text/html”)
File “/usr/local/lib/python3.4/dist-packages/aiohttp/web_response.py”, line 464, in init
type(text))
TypeError: text argument must be str (<class ‘dict’>)