Following this guideline for getting HADashboard running wiht Docker on a RPI 3
Getting this in the docker logs repeated over and over. Double check appdaemon.cfg , any ideas.
TypeError: int() argument must be a string, a bytes-like object or a number, not ‘NoneType’
/usr/bin/entry.sh: line 93: fg: job has terminated
Traceback (most recent call last):
File “/usr/local/bin/appdaemon”, line 11, in
load_entry_point(‘appdaemon===2.0.0beta3.5’, ‘console_scripts’, ‘appdaemon’)()
File “/usr/src/app/appdaemon/appdaemon.py”, line 1450, in main
conf.threads = int(config[‘AppDaemon’].get(‘threads’))
TypeError: int() argument must be a string, a bytes-like object or a number, not ‘NoneType’
/usr/bin/entry.sh: line 93: fg: job has terminated
Terminated
The build seems fine. You want to use /conf in the container, per your -v command, the stuff on the left is what it is on your host and the stuff on the right is that same location inside the container. So /conf/apps would be needed from the perspective of the inside
The Appdaemon startup inside Docker always points to /conf so you don’t need to override the behavior.
It’s revelant if you want to write apps that for some reason need to touch the file system, which wouldn’t be relevant for dashboards.