Have this error when trying to start AppDaemon

After following all the steps in this tutorial up to and including the point of running appdaemon… But upon running it I get this error:

Traceback (most recent call last):
File “/usr/local/bin/appdaemon”, line 11, in
sys.exit(main())
File “/usr/local/lib/python3.5/dist-packages/appdaemon/admain.py”, line 198, in main
config.read_file(open(config_file_conf))
TypeError: invalid file: None

I am using a Pi B+ with Raspian also running the Home Assistant server and Homebridge.

AppDaemon can’t find your config directory - how are you starting it?

appdaemon -c /home/homeassistant/.homeassistant/conf (which is my config directory)

OK, more accurately, it is not finding appdaemon.yaml in that directory. What version are you running? I’m guessing 2.1.12 from the backtrace.

Yeah, I’m running 2.1.12

OK, pretty much the same, it’s looking for appdaemon.yaml or appdaemon.cfg in that directory and not finding it.

It is there though… I’ve attached an image of the directory and file in case there’s anything wrong.

Only thing I can think of is a permissions problem.

I tried running with sudo as well as copying the appdaemon.yaml to appdaemon.cfg and still no luck…

as which user do you run the command?
does that user have full sudo options?

I think you need to show the output of

ls -l /home/homeassistant/.homeassistant/conf

You might also mention which user you are trying to run appdaemon as.

Working now for some reason

what did you change? im in the exact same position with the described issue.
Thx.

sudo -u homeassistant appdaemon -c/home/homeassistant/.homeassistant/conf/