I just upgraded to appdaemon addon 4, changed the appdaemon.yaml according to the breaking changes, started the addon and got these errors:
2020-01-16 15:22:29.825724 INFO AppDaemon: AppDaemon Version 4.0.0 starting
2020-01-16 15:22:29.827128 INFO AppDaemon: Python version is 3.8.1
2020-01-16 15:22:29.828290 INFO AppDaemon: Configuration read from: /config/appdaemon/appdaemon.yaml
2020-01-16 15:22:29.829532 INFO AppDaemon: Added log: AppDaemon
2020-01-16 15:22:29.830592 INFO AppDaemon: Added log: Error
2020-01-16 15:22:29.831784 INFO AppDaemon: Added log: Access
2020-01-16 15:22:29.832860 INFO AppDaemon: Added log: Diag
2020-01-16 15:22:30.108930 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin
2020-01-16 15:22:30.921020 INFO HASS: HASS Plugin Initializing
2020-01-16 15:22:30.923231 INFO HASS: HASS Plugin initialization complete
2020-01-16 15:22:30.928280 INFO AppDaemon: Initializing HTTP
2020-01-16 15:22:30.931853 INFO AppDaemon: Using 'ws' for event stream
2020-01-16 15:22:30.981361 INFO AppDaemon: Starting API
2020-01-16 15:22:31.001760 INFO AppDaemon: Starting Admin Interface
2020-01-16 15:22:31.003710 INFO AppDaemon: Starting Dashboards
2020-01-16 15:22:31.006380 WARNING AppDaemon: ------------------------------------------------------------
2020-01-16 15:22:31.007824 WARNING AppDaemon: Unexpected error during HADashboard initialization
2020-01-16 15:22:31.009200 WARNING AppDaemon: ------------------------------------------------------------
2020-01-16 15:22:31.015100 WARNING AppDaemon: Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/appdaemon/dashboard.py", line 77, in __init__
os.makedirs(self.compile_dir)
File "/usr/lib/python3.8/os.py", line 221, in makedirs
mkdir(name, mode)
FileExistsError: [Errno 17] File exists: '/config/appdaemon/compiled'
2020-01-16 15:22:31.016735 WARNING AppDaemon: ------------------------------------------------------------
2020-01-16 15:22:31.021889 WARNING AppDaemon: ------------------------------------------------------------
2020-01-16 15:22:31.023349 WARNING AppDaemon: Unexpected error in HTTP module
2020-01-16 15:22:31.024720 WARNING AppDaemon: ------------------------------------------------------------
2020-01-16 15:22:31.066033 WARNING AppDaemon: Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/aiohttp/web_urldispatcher.py", line 512, in __init__
raise ValueError('Not a directory')
ValueError: Not a directory
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/appdaemon/http.py", line 271, in __init__
self.setup_dashboard_routes()
File "/usr/lib/python3.8/site-packages/appdaemon/http.py", line 707, in setup_dashboard_routes
self.app.router.add_static('/compiled_javascript', self.dashboard_obj.compiled_javascript_dir)
File "/usr/lib/python3.8/site-packages/aiohttp/web_urldispatcher.py", line 1053, in add_static
resource = StaticResource(prefix, path,
File "/usr/lib/python3.8/site-packages/aiohttp/web_urldispatcher.py", line 514, in __init__
raise ValueError(
ValueError: No directory exists at '/data/compiled/javascript'
2020-01-16 15:22:31.068797 WARNING AppDaemon: ------------------------------------------------------------
2020-01-16 15:22:31.121833 INFO HASS: Connected to Home Assistant 0.103.6
2020-01-16 15:22:31.460918 INFO AppDaemon: App 'hello_world' added
2020-01-16 15:22:31.466991 INFO AppDaemon: Found 1 total apps
2020-01-16 15:22:31.469942 INFO AppDaemon: Starting Apps with 1 workers and 1 pins
2020-01-16 15:22:31.477319 INFO AppDaemon: Running on port 5050
2020-01-16 15:22:31.584336 INFO HASS: Evaluating startup conditions
2020-01-16 15:22:31.942420 INFO AppDaemon: Got initial state from namespace default
2020-01-16 15:22:33.503872 INFO AppDaemon: Scheduler running in realtime
2020-01-16 15:22:33.517782 INFO AppDaemon: Adding /config/appdaemon/apps to module import path
2020-01-16 15:22:33.519663 INFO AppDaemon: Adding /config/appdaemon/apps/illuminate_door to module import path
2020-01-16 15:22:33.529360 INFO AppDaemon: Loading App Module: /config/appdaemon/apps/hello.py
2020-01-16 15:22:33.567062 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/illuminate_door/illuminate_door.py - ignoring
2020-01-16 15:22:33.570680 INFO AppDaemon: Initializing app hello_world using class HelloWorld from module hello
2020-01-16 15:22:34.356781 INFO hello_world: Hello from AppDaemon
2020-01-16 15:22:34.361406 INFO hello_world: You are now ready to run Apps!
2020-01-16 15:22:34.370600 INFO AppDaemon: App initialization complete
2020-01-16 15:22:47.032423 INFO AppDaemon: Loading custom skin 'default'
2020-01-16 15:22:47.276784 INFO AppDaemon: Compiling dashboard 'Main'
2020-01-16 15:22:49.407093 WARNING AppDaemon: Variable definition not found in CSS Skin variables: $black
2020-01-16 15:22:55.239968 INFO AppDaemon: Previous message repeated 3 times
2020-01-16 15:22:55.241388 WARNING AppDaemon: ------------------------------------------------------------
2020-01-16 15:22:55.243215 WARNING AppDaemon: Unexpected error during DASH creation
2020-01-16 15:22:55.244585 WARNING AppDaemon: ------------------------------------------------------------
2020-01-16 15:22:55.247265 WARNING AppDaemon: Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/appdaemon/dashboard.py", line 829, in get_dashboard
dash = self._conditional_compile(name, skin, recompile)
File "/usr/lib/python3.8/site-packages/appdaemon/dashboard.py", line 780, in _conditional_compile
dash = self._get_dash(name, skin, skindir)
File "/usr/lib/python3.8/site-packages/appdaemon/dashboard.py", line 651, in _get_dash
os.makedirs(os.path.join(self.compiled_css_dir, skin))
File "/usr/lib/python3.8/os.py", line 211, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/usr/lib/python3.8/os.py", line 221, in makedirs
mkdir(name, mode)
FileNotFoundError: [Errno 2] No such file or directory: '/config/appdaemon/compiled/css'
2020-01-16 15:22:55.248753 WARNING AppDaemon: ------------------------------------------------------------
2020-01-16 15:22:55.285786 INFO AppDaemon: function [get_dashboard] finished in 8253 ms
I was able to go to the admin page and when going to the dashboard list i get correctly the list, but when choosing one of them i get those errorsā¦
Any help?