Getting errors with the snips 0.60.12, analytics server and audio servers are not running after installing the assistant


#21

Thank you for the information. I have updated the node version. But the Snips-Audio-server is not running.


#22

Use sam init and then check it. If you still get error after that

use sam service log snips-audio-server for a detailed log of the error and post it here


#23

When I checked the Snips-audio-server log it was showing like this.

(Snips) pi@raspberrypi:~ $ sam service log snips-audio-server

– Logs begin at Fri 2019-02-22 10:41:07 EST. –
Feb 22 13:17:58 raspberrypi snips-audio-server[12395]: ALSA lib pcm.c:2495:(snd_ pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
Feb 22 13:17:58 raspberrypi snips-audio-server[12395]: ALSA lib confmisc.c:1281: (snd_func_refer) Unable to find definition ‘defaults.bluealsa.device’
Feb 22 13:17:58 raspberrypi snips-audio-server[12395]: ALSA lib conf.c:4528:(sn d_config_evaluate) function snd_func_refer returned error: No such file or direc tory
Feb 22 13:17:58 raspberrypi snips-audio-server[12395]: ALSA lib conf.c:4996:(snd config_expand) Args evaluate error: No such file or directory
Feb 22 13:17:58 raspberrypi snips-audio-server[12395]: ALSA lib pcm.c:2495:(snd
pcm_open_noupdate) Unknown PCM bluealsa
Feb 22 13:17:58 raspberrypi snips-audio-server[12395]: ALSA lib confmisc.c:1281: (snd_func_refer) Unable to find definition ‘defaults.bluealsa.device’
Feb 22 13:17:58 raspberrypi snips-audio-server[12395]: ALSA lib conf.c:4528:(sn d_config_evaluate) function snd_func_refer returned error: No such file or direc tory
Feb 22 13:17:58 raspberrypi systemd[1]: snips-audio-server.service: Main process exited, code=exited, status=1/FAILURE
Feb 22 13:17:58 raspberrypi systemd[1]: snips-audio-server.service: Unit entered failed state.
Feb 22 13:17:58 raspberrypi systemd[1]: snips-audio-server.service: Failed with result ‘exit-code’.
Feb 22 13:18:03 raspberrypi systemd[1]: snips-audio-server.service: Service hold -off time over, scheduling restart.
Feb 22 13:18:03 raspberrypi systemd[1]: Stopped Snips Audio Server.
Feb 22 13:18:03 raspberrypi systemd[1]: Started Snips Audio Server.
Feb 22 13:18:03 raspberrypi snips-audio-server[12415]: INFO:snips_audio_server: Starting audio server on mqtt for site default
Feb 22 13:18:03 raspberrypi snips-audio-server[12415]: INFO:snips_audio_server: Capture enabled: true, Playback enabled: true
Feb 22 13:18:03 raspberrypi snips-audio-server[12415]: INFO:snips_broadcast_mqtt server: Starting broadcasting audio on hermes as site “default”
Feb 22 13:18:03 raspberrypi snips-audio-server[12415]: ALSA lib pcm.c:2495:(snd
pcm_open_noupdate) Unknown PCM cards.pcm.front
Feb 22 13:18:03 raspberrypi snips-audio-server[12415]: ALSA lib pcm.c:2495:(snd
pcm_open_noupdate) Unknown PCM cards.pcm.rear
Feb 22 13:18:03 raspberrypi snips-audio-server[12415]: ALSA lib pcm.c:2495:(snd
pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
Feb 22 13:18:03 raspberrypi snips-audio-server[12415]: ALSA lib pcm.c:2495:(snd_ pcm_open_noupdate) Unknown PCM cards.pcm.side
Feb 22 13:18:03 raspberrypi snips-audio-server[12415]: ALSA lib pcm.c:2495:(snd_ pcm_open_noupdate) Unknown PCM cards.pcm.surround21
Feb 22 13:18:03 raspberrypi snips-audio-server[12415]: ALSA lib pcm.c:2495:(snd_ pcm_open_noupdate) Unknown PCM cards.pcm.surround40
Feb 22 13:18:03 raspberrypi snips-audio-server[12415]: ALSA lib pcm.c:2495:(snd_ pcm_open_noupdate) Unknown PCM cards.pcm.surround41
Feb 22 13:18:03 raspberrypi snips-audio-server[12415]: ALSA lib pcm.c:2495:(snd_ pcm_open_noupdate) Unknown PCM cards.pcm.surround50
Feb 22 13:18:03 raspberrypi snips-audio-server[12415]: ALSA lib pcm.c:2495:(snd_ pcm_open_noupdate) Unknown PCM cards.pcm.surround51
Feb 22 13:18:03 raspberrypi snips-audio-server[12415]: ALSA lib pcm.c:2495:(snd_ pcm_open_noupdate) Unknown PCM cards.pcm.surround71
Feb 22 13:18:03 raspberrypi snips-audio-server[12415]: ALSA lib pcm.c:2495:(snd_ pcm_open_noupdate) Unknown PCM cards.pcm.iec958
Feb 22 13:18:03 raspberrypi snips-audio-server[12415]: ALSA lib pcm.c:2495:(snd_ pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
Feb 22 13:18:03 raspberrypi snips-audio-server[12415]: ALSA lib pcm.c:2495:(snd_ pcm_open_noupdate) Unknown PCM cards.pcm.modem
Feb 22 13:18:03 raspberrypi snips-audio-server[12415]: ALSA lib pcm.c:2495:(snd_ pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
Feb 22 13:18:03 raspberrypi snips-audio-server[12415]: ALSA lib confmisc.c:1281: (snd_func_refer) Unable to find definition ‘defaults.bluealsa.device’
Feb 22 13:18:03 raspberrypi snips-audio-server[12415]: ALSA lib conf.c:4528:(_sn d_config_evaluate) function snd_func_refer returned error: No such file or direc tory
Feb 22 13:18:03 raspberrypi snips-audio-server[12415]: ALSA lib conf.c:4996:(snd config_expand) Args evaluate error: No such file or directory
Feb 22 13:18:03 raspberrypi snips-audio-server[12415]: ALSA lib pcm.c:2495:(snd
pcm_open_noupdate) Unknown PCM bluealsa
Feb 22 13:18:03 raspberrypi snips-audio-server[12415]: ALSA lib confmisc.c:1281: (snd_func_refer) Unable to find definition ‘defaults.bluealsa.device’
Feb 22 13:18:03 raspberrypi snips-audio-server[12415]: ALSA lib conf.c:4528:(_sn d_config_evaluate) function snd_func_refer returned error: No such file or direc tory
Feb 22 13:18:03 raspberrypi snips-audio-server[12415]: ALSA lib conf.c:4996:(snd config_expand) Args evaluate error: No such file or directory
Feb 22 13:18:03 raspberrypi snips-audio-server[12415]: ALSA lib pcm.c:2495:(snd
pcm_open_noupdate) Unknown PCM bluealsa
Feb 22 13:18:03 raspberrypi systemd[1]: snips-audio-server.service: Main process exited, code=exited, status=1/FAILURE
Feb 22 13:18:03 raspberrypi systemd[1]: snips-audio-server.service: Unit entered failed state.
Feb 22 13:18:03 raspberrypi systemd[1]: snips-audio-server.service: Failed with result ‘exit-code’.
Feb 22 13:18:08 raspberrypi systemd[1]: snips-audio-server.service: Service hold-off time over, scheduling restart.
Feb 22 13:18:08 raspberrypi systemd[1]: Stopped Snips Audio Server.
Feb 22 13:18:08 raspberrypi systemd[1]: Started Snips Audio Server.
Feb 22 13:18:08 raspberrypi snips-audio-server[12419]: INFO:snips_audio_server: Starting audio server on mqtt for site default
Feb 22 13:18:08 raspberrypi snips-audio-server[12419]: INFO:snips_audio_server: Capture enabled: true, Playback enabled: true
Feb 22 13:18:08 raspberrypi snips-audio-server[12419]: INFO:snips_broadcast_mqtt_server: Starting broadcasting audio on hermes as site “default”
Feb 22 13:18:08 raspberrypi snips-audio-server[12419]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front
Feb 22 13:18:08 raspberrypi snips-audio-server[12419]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
Feb 22 13:18:08 raspberrypi snips-audio-server[12419]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
Feb 22 13:18:08 raspberrypi snips-audio-server[12419]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
Feb 22 13:18:08 raspberrypi snips-audio-server[12419]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
Feb 22 13:18:08 raspberrypi snips-audio-server[12419]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround40
Feb 22 13:18:08 raspberrypi snips-audio-server[12419]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround41
Feb 22 13:18:08 raspberrypi snips-audio-server[12419]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround50
Feb 22 13:18:08 raspberrypi snips-audio-server[12419]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51
Feb 22 13:18:08 raspberrypi snips-audio-server[12419]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71
Feb 22 13:18:08 raspberrypi snips-audio-server[12419]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
Feb 22 13:18:08 raspberrypi snips-audio-server[12419]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
Feb 22 13:18:08 raspberrypi snips-audio-server[12419]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
Feb 22 13:18:08 raspberrypi snips-audio-server[12419]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
Feb 22 13:18:08 raspberrypi snips-audio-server[12419]: ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition ‘defaults.bluealsa.device’
Feb 22 13:18:08 raspberrypi snips-audio-server[12419]: ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
Feb 22 13:18:08 raspberrypi snips-audio-server[12419]: ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory
Feb 22 13:18:08 raspberrypi snips-audio-server[12419]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa
Feb 22 13:18:08 raspberrypi snips-audio-server[12419]: ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition ‘defaults.bluealsa.device’
Feb 22 13:18:08 raspberrypi snips-audio-server[12419]: ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
Feb 22 13:18:08 raspberrypi snips-audio-server[12419]: ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory
Feb 22 13:18:08 raspberrypi snips-audio-server[12419]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa
Feb 22 13:18:08 raspberrypi systemd[1]: snips-audio-server.service: Main process exited, code=exited, status=1/FAILURE
Feb 22 13:18:09 raspberrypi systemd[1]: snips-audio-server.service: Unit entered failed state.
Feb 22 13:18:09 raspberrypi systemd[1]: snips-audio-server.service: Failed with result ‘exit-code’.
Feb 22 13:18:14 raspberrypi systemd[1]: snips-audio-server.service: Service hold-off time over, scheduling restart.