My DietPi install is up to date 6.31.2 on Odroid HC2/XU4
I installed Home Assistant through Dietpi-Software, the install did take some time as the instructions said, about half-hour on my system, and it finished saying the install was successful and needed to reboot.
After rebooting I continued with the instructions and checked htop, but there is no home-assistant process. I have rebooted again, not there. I ran ‘systemctl restart home-assistant’ (also tried start) while watching htop in another window, two ‘homeassis’ processes will appear for less than 1 second and then disappear leaving none. No home-assistant folder has been created in dietpi_userdata, and the web UI has never been accessible.
I uninstalled and reinstalled, everything went as expected with confirmation of completion at the end. Same exact results No processes, only appear for a second when systemctl restart or start.
yeah, still no /mnt/dietpi_userdata/homeassistant folder. I didn’t watch the entire install, it ran without further input and was on the blue screen when I returned saying install successful, reboot to complete.
hmm I did a new test installation again and watched it closely. The directory /mnt/dietpi_userdata/homeassistant is created short before installation finished. Means, if it’s missing on your system, something is wrong on your installation. And of course, without this directory, you are not able to start homeassistant service
Sorry to say but your issue is completely different than the other. Because you have the directory /mnt/dietpi_userdata/homeassistant available.
Your issues is related to following error message
Jul 31 14:09:05 DietPi homeassistant-start.sh[2114]: /srv/homeassistant/homeassistant-start.sh: line 5: hass: command not found
looks like you are missing the homeassistant python environment variable. Therefore hass command is not found. As well I’m wondering on your home-assistant.service output
Which DietPi version are you using? As the above command location has changed and the service file should have been changed. The have been a larger number of changes and updates done to the HA setup, so I cannot really support on an outdated version. Please update DietPi first.