Install 'homeassistant' failes

Hi.
At first: Thank you for this great piece of software! Works great for me the most part, but I’m not able to install the application “homeassistant”.

My YunoHost configuration

**Hardware:**raspberry pi 3
Internet access : ethernet at home
YunoHost version: 3.6.4.6 (stable)

Description of my problem #en

If I want to install “homeassistant” after few seconds the failure bar pops up with
The operation 'Install 'homeassistant' application' has failed! To get help, please [provide the full log of this operation by clicking here]

and here it is:

2019-09-16 13:11:33,111: DEBUG - + local legacy_args=adp
2019-09-16 13:11:33,112: DEBUG - + args_array=([a]=app= [d]=domain= [p]=path_url=)
2019-09-16 13:11:33,113: DEBUG - + declare -Ar args_array
2019-09-16 13:11:33,116: DEBUG - + local app
2019-09-16 13:11:33,121: DEBUG - + local domain
2019-09-16 13:11:33,122: DEBUG - + local path_url
2019-09-16 13:11:33,124: DEBUG - + ynh_handle_getopts_args homeassistant myfunnyname.nohost.me /
2019-09-16 13:11:33,125: DEBUG - + set +x
2019-09-16 13:11:33,126: DEBUG - + echo '! Helper used in legacy mode !'
2019-09-16 13:11:33,127: DEBUG - + set +x
2019-09-16 13:11:33,128: DEBUG - + sudo yunohost app register-url homeassistant myfunnyname.nohost.me /
2019-09-16 13:11:34,634: WARNING - This url is not available or conflicts with the already installed app(s):
2019-09-16 13:11:34,635: WARNING -  * myfunnyname.nohost.me/leed → Leed (leed)
2019-09-16 13:11:34,637: WARNING -  * myfunnyname.nohost.me/wallabag → Wallabag (wallabag2)
2019-09-16 13:11:34,639: WARNING -  * myfunnyname.nohost.me/searx → Searx (searx)
2019-09-16 13:11:34,641: WARNING -  * myfunnyname.nohost.me/owntracks → Owntracks (owntracks)
2019-09-16 13:11:34,643: WARNING -  * myfunnyname.nohost.me/nextcloud → Nextcloud (nextcloud)
2019-09-16 13:11:34,644: WARNING -  * myfunnyname.nohost.me/pihole → Pi-hole (pihole)
2019-09-16 13:11:34,646: WARNING -  * myfunnyname.nohost.me/rss-bridge → rss-bridge (rss-bridge)
2019-09-16 13:11:34,748: DEBUG - + ynh_exit_properly
2019-09-16 13:11:34,749: DEBUG - + local exit_code=1
2019-09-16 13:11:34,750: DEBUG - + '[' 1 -eq 0 ']'
2019-09-16 13:11:34,750: DEBUG - + trap '' EXIT
2019-09-16 13:11:34,751: DEBUG - + set +eu
2019-09-16 13:11:34,751: DEBUG - + sleep 0.5
2019-09-16 13:11:35,253: DEBUG - + ynh_print_err '--message=!!\n  homeassistant'\''s script has encountered an error. Its execution was cancelled.\n!!'
2019-09-16 13:11:35,255: WARNING - e[91me[1m[ERR]e[0m !!
2019-09-16 13:11:35,258: DEBUG - + local legacy_args=m
2019-09-16 13:11:35,259: WARNING -   homeassistant's script has encountered an error. Its execution was cancelled.
2019-09-16 13:11:35,262: DEBUG - + args_array=([m]=message=)
2019-09-16 13:11:35,263: WARNING - !!
2019-09-16 13:11:35,266: DEBUG - + declare -Ar args_array
2019-09-16 13:11:35,267: WARNING - 
2019-09-16 13:11:35,269: DEBUG - + local message
2019-09-16 13:11:35,271: DEBUG - + ynh_handle_getopts_args '--message=!!\n  homeassistant'\''s script has encountered an error. Its execution was cancelled.\n!!'
2019-09-16 13:11:35,272: DEBUG - + set +x
2019-09-16 13:11:35,273: DEBUG - + ynh_print_log '\e[91m\e[1m[ERR]\e[0m !!\n  homeassistant'\''s script has encountered an error. Its execution was cancelled.\n!!'
2019-09-16 13:11:35,274: DEBUG - + echo -e '\e[91m\e[1m[ERR]\e[0m !!\n  homeassistant'\''s script has encountered an error. Its execution was cancelled.\n!!'
2019-09-16 13:11:35,275: DEBUG - + '[' api == cli ']'
2019-09-16 13:11:35,277: DEBUG - + type -t ynh_clean_setup
2019-09-16 13:11:35,278: DEBUG - + ynh_die
2019-09-16 13:11:35,279: DEBUG - + local legacy_args=mc
2019-09-16 13:11:35,280: DEBUG - + args_array=([m]=message= [c]=ret_code=)
2019-09-16 13:11:35,281: DEBUG - + declare -Ar args_array
2019-09-16 13:11:35,283: DEBUG - + local message
2019-09-16 13:11:35,284: DEBUG - + local ret_code
2019-09-16 13:11:35,285: DEBUG - + ynh_handle_getopts_args
2019-09-16 13:11:35,286: DEBUG - + set +x
2019-09-16 13:11:35,287: DEBUG - + echo ''
2019-09-16 13:11:35,288: DEBUG - + exit 1

It sounds like this app requires a full domain and therefore can’t be installed on the domain you chose because there already are other apps installed on it … Possible solution is to create a subdomain dedicated to this app for example

1 Like

Can’t do anything about that :cry:
Homeassistant can’t be hosted on a path. You need a dedicated domain or subdomain for it (see https://github.com/home-assistant/architecture/issues/156#issuecomment-478183627)

1 Like

Thank you. This was the failure. But now I got another one. :slightly_frowning_face:


2019-09-16 22:21:20,457: WARNING - homeassistant requires Python ‘>=3.6.0’ but the running Python is 3.5.3

Should I wait until Python >3.6 is in Yunohost or is there another way?

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.