synesthesiam / rhasspy

Rhasspy voice assistant for offline home automation
https://rhasspy.readthedocs.io
MIT License
944 stars 101 forks source link

latest docker image does not work on raspberry pi zero #212

Open chrisdejager opened 4 years ago

chrisdejager commented 4 years ago

Nothing seems to happen when running the container with default command: docker run -p 12101:12101 \ --restart unless-stopped \ --name rhasspy \ -v "/home/pi/rhasspy/profiles:/profiles" \ --device /dev/snd:/dev/snd \ synesthesiam/rhasspy-server:latest \ --user-profiles /profiles \ --profile en

docker container ls output: a6932359d692 synesthesiam/rhasspy-server:latest "/run.sh --user-prof…" 26 seconds ago Restarting (132) 6 seconds ago

Seems to be restarting again and again. Some error happens but docker logs does not give any output, and I don't know how run a shell in this container to check what happens if I run run.sh manually.

maksim-pinguin commented 4 years ago

from the docs it's suggested that one should use the virtual environment with the pi zero. Plus set install kalid to false the install_dependencies.sh . One could guess from the error "khalid not supported for armv6l". I myself found out with the mentioning in the hardware segment that khalid is not supported so that's not belonging there for the install for a pi zero (would be nice the requirements.txt twerk would be mentioned in the hardware segment to or somewhere.)