AlexxIT / HassWP

Portable version of Home Assistant for Windows (no need to install)
https://github.com/AlexxIT/Blog
586 stars 76 forks source link

ERROR - Failed to start service #73

Open enterplasma opened 1 year ago

enterplasma commented 1 year ago

Hello! I'm not really a user of Github so apologies if my issue reporting is not formatted properly.

I was experiencing problems with starting the HassWP service after installation. The service would not start neither automatically nor manually. Launching HassWP from hass.cmd worked with no issues.

The reason for this turned out to be a typo in the service configuration /service/winsw.xml

Original file is looking for %BASE%..\python-3.9.10.amd64 However, the included Python version is "python-3.10.9.amd64"

I fixed it by uninstalling the service, fixing the Python version in winsw.xml, and re-installing the service.