Updated Snips to the latest version... snips-audio-server won't play audio: NoDevice

I have Snips installed on a Rpi3 with Raspbian Stretch downloaded in the beginning of this year. It was working fine with no issues.
Today I decided to update everything: run apt update, apt upgrade, also did the same on my Debian VM where I have sam running (also updated via npm).

Unfortunately after the update I no longer can play any audio from snips as snips-audio-server now says: caused by: NoDevice
The microphone works fine, but I can’t hear the ding when I say “hey snips”. Through sam watch I can see a request to play audio but then a timeout and nothing plays.

If I disable the audio feedback (the ding), then my scripts work fine: I process the question and generate an answer that is supposed to be spoken, but again snips-audio-server fails to play the audio.

On /var/log/syslog I can find messages like this every time there is supposed to play some audio from snips:

ERROR:snips_audio_server_hermes  : could not play "8db20fba-f739-456a-ae6f-b2ac39182da3"
-> caused by: NoDevice

I ran sam test speaker, sam test microphone, sam setup audio and everything is fine. I am only using the default RPI HDMI output and the microphone is on an USB webcam. Playing any MP3 via mpg123 works fine, aplay and arecord work fine as well. alsamixer has all volumes at 100%

Here is some information from the system:

The file /etc/asound.conf has the following:

pcm.!default {
    type asym
    playback.pcm {
        type plug
        slave.pcm "hw:0,0"
    }
    capture.pcm {
        type plug
        slave.pcm "hw:1,0"
    }

The command aplay -l returns:

**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
  Subdevices: 6/7
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 IEC958/HDMI [bcm2835 IEC958/HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

The command arecord -l returns:

**** List of CAPTURE Hardware Devices ****
card 1: H2300 [HP Webcam HD 2300], device 0: USB Audio [USB Audio]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

My Linux version from uname -a:

Linux magicmirror1 4.19.57-v7+ #1244 SMP Thu Jul 4 18:45:25 BST 2019 armv7l GNU/Linux

Here is the result of sam status:

Connected to device magicmirror1.local

OS version ................... Raspbian GNU/Linux 9 (stretch)
Installed assistant .......... MagicMirror
Language ..................... en
Hotword ...................... hey_snips
ASR engine ................... snips
Status ....................... Live

Service status:

snips-analytics .............. (not running)
snips-asr .................... 0.63.3 (running)
snips-audio-server ........... 0.63.3 (running)
snips-dialogue ............... 0.63.3 (running)
snips-hotword ................ 0.63.3 (running)
snips-nlu .................... 0.63.3 (running)
snips-skill-server ........... 0.63.3 (not running)
snips-tts .................... 0.63.3 (running)

Here are the logs when I ask snips the time (with no feedback chime after hey snips):

# sam watch
[00:35:59] [Hotword] detected on site default, for model hey_snips
[00:35:59] [Asr] was asked to stop listening on site default
[00:35:59] [Hotword] was asked to toggle itself 'off' on site default
[00:35:59] [Dialogue] session with id '17fbf652-45b0-409f-865e-6dbbc654df2e' was started on site default
[00:35:59] [Asr] was asked to listen on site default
[00:36:03] [Asr] captured text "what time is it" in 3.0s
[00:36:03] [Asr] was asked to stop listening on site default
[00:36:03] [Nlu] was asked to parse input "what time is it"
[00:36:03] [Nlu] detected intent vascojdb:GetTime with confidence score 1.000 for input "what time is it"
[00:36:03] [Dialogue] New intent detected vascojdb:GetTime with confidence 1.000
[00:36:03] [Dialogue] was ask to end session with id 17fbf652-45b0-409f-865e-6dbbc654df2e by saying 'It is 12:36 AM.'
[00:36:03] [Tts] was asked to say "It is 12:36 AM."
[00:36:03] [AudioServer] was asked to play a wav of 75.8 kB with id 'bb6c89a6-2da3-4e6f-9e8f-a0abd656e69a' on site default
[00:36:18] [Dialogue] session with id '17fbf652-45b0-409f-865e-6dbbc654df2e' was ended on site default. The session was ended because one of the component didn't respond in a timely manner
[00:36:18] [Asr] was asked to stop listening on site default
[00:36:18] [Hotword] was asked to toggle itself 'on' on site default
# /var/log/syslog
Jul 26 00:35:59 magicmirror1 snips-hotword[2093]: INFO:snips_hotword_hermes        : Hotword detected: site_id:default model:hey_snips (124ms ago)
Jul 26 00:35:59 magicmirror1 snips-dialogue[2080]: INFO:snips_dialogue_lib::coordinator::coordinator: Site [default]: reset site -> turn off ASR and turn off Hotword
Jul 26 00:35:59 magicmirror1 snips-dialogue[2080]: INFO:snips_dialogue_lib::coordinator::coordinator: Session [17fbf652-45b0-409f-865e-6dbbc654df2e]: The session has been created because the site "default" is free
Jul 26 00:35:59 magicmirror1 snips-hotword[2093]: INFO:snips_hotword_lib::audio    : Audio thread for site default stopped.
Jul 26 00:35:59 magicmirror1 snips-asr[2088]: INFO:snips_asr_hermes::handler : Listening at site id default
Jul 26 00:35:59 magicmirror1 snips-asr[2088]: INFO:snips_asr_hermes::handler : Listening
Jul 26 00:35:59 magicmirror1 snips-asr[2088]: INFO:snips_asr_lib::asr        : T0       entered AsrRunner::run
Jul 26 00:35:59 magicmirror1 snips-asr[2088]: INFO:snips_asr_lib::asr        : T0+0.000 capture started
Jul 26 00:36:02 magicmirror1 snips-asr[2088]: INFO:snips_asr_lib::asr        : T0+3.103 endpoint detected (rule:4) frame:155 samples:39680 signal_time:2.48 rtf:1.107
Jul 26 00:36:02 magicmirror1 snips-asr[2088]: INFO:snips_asr_lib::asr        : Source thread stop on push: "Disconnected(..)"
Jul 26 00:36:02 magicmirror1 snips-asr[2088]: INFO:snips_asr_lib::asr        : T0+3.114 capture ended
Jul 26 00:36:02 magicmirror1 snips-asr[2088]: INFO:snips_asr_lib::asr        : T0+3.121 decoder finalized
Jul 26 00:36:02 magicmirror1 snips-asr[2088]: INFO:snips_asr_lib::asr        : T0+3.159 lookup and post-processing done
Jul 26 00:36:02 magicmirror1 snips-asr[2088]: INFO:snips_asr_lib::asr        : decoded: [Recognition { decoded_string: "what time is it", likelihood: 1.0, tokens: Some([Token { value: "what", confidence: 1.0, time: (0.0, 1.11), range: 0..4 }, Token { value: "time", confidence: 1.0, time: (1.11, 1.41), range: 5..9 }, Token { value: "is", confidence: 1.0, time: (1.41, 1.62), range: 10..12 }, Token { value: "it", confidence: 1.0, time: (1.62, 2.31), range: 13..15 }]) }]
Jul 26 00:36:03 magicmirror1 snips-asr[2088]: INFO:snips_asr_hermes::handler : Publishing the recognition
Jul 26 00:36:03 magicmirror1 snips-asr[2088]: INFO:snips_asr_hermes::handler : Preparing decoder
Jul 26 00:36:03 magicmirror1 snips-audio-server[2900]: ERROR:snips_audio_server_hermes  : could not play "bb6c89a6-2da3-4e6f-9e8f-a0abd656e69a"
Jul 26 00:36:03 magicmirror1 snips-audio-server[2900]:  -> caused by: NoDevice
Jul 26 00:36:18 magicmirror1 snips-dialogue[2080]: INFO:snips_dialogue_lib::coordinator::coordinator: Session [17fbf652-45b0-409f-865e-6dbbc654df2e]: closing session which was active: Timeout
Jul 26 00:36:18 magicmirror1 snips-dialogue[2080]: INFO:snips_dialogue_lib::coordinator::coordinator: Site [default]: reset site -> turn off ASR and turn on Hotword
Jul 26 00:36:18 magicmirror1 snips-hotword[2093]: INFO:snips_hotword_lib::audio    : Audio thread for site default started.

Finally, running the command tail -n500 /var/log/syslog | grep "snips-audio-server" gives me this:

...
Jul 25 23:41:59 magicmirror1 snips-audio-server[2079]: ERROR:snips_audio_server_hermes  : could not play "69a80fb5-eb7f-4841-a6d4-5c3b3e5122f8"
Jul 25 23:41:59 magicmirror1 snips-audio-server[2079]:  -> caused by: NoDevice
Jul 25 23:42:47 magicmirror1 snips-audio-server[2079]: ERROR:snips_audio_server_hermes  : could not play "8db20fba-f739-456a-ae6f-b2ac39182da3"
Jul 25 23:42:47 magicmirror1 snips-audio-server[2079]:  -> caused by: NoDevice
Jul 25 23:45:12 magicmirror1 snips-audio-server[2079]: ERROR:snips_audio_server_hermes  : could not play "2bf73b9b-16cc-48e7-9d7f-72a73ba567f6"
Jul 25 23:45:12 magicmirror1 snips-audio-server[2079]:  -> caused by: NoDevice
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: INFO:snips_audio_server_cli: Starting audio server on mqtt for site default
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: Expression 'alsa_snd_pcm_hw_params_set_period_size_near( pcm, hwParams, &alsaPeriodFrames, &dir )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 923
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: Expression 'alsa_snd_pcm_hw_params_set_period_size_near( pcm, hwParams, &alsaPeriodFrames, &dir )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 923
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.front.0:CARD=0'
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM front
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0'
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround21
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0'
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround21
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround40.0:CARD=0'
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround40
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0'
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround41
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0'
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround50
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0'
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround51
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround71.0:CARD=0'
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround71
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM iec958
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM spdif
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM spdif
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device'
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device'
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: Expression 'alsa_snd_pcm_hw_params_set_period_size_near( pcm, hwParams, &alsaPeriodFrames, &dir )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 923
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: INFO:snips_audio_portaudio : Use input device: "HP Webcam HD 2300: USB Audio (hw:1,0)"
Jul 25 23:48:02 magicmirror1 snips-audio-server[2555]: INFO:snips_broadcast_mqtt_server: Starting broadcasting audio on hermes for site "default"
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: INFO:snips_audio_server_cli: Starting audio server on mqtt for site default
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: Expression 'alsa_snd_pcm_hw_params_set_period_size_near( pcm, hwParams, &alsaPeriodFrames, &dir )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 923
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: Expression 'alsa_snd_pcm_hw_params_set_period_size_near( pcm, hwParams, &alsaPeriodFrames, &dir )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 923
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.front.0:CARD=0'
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM front
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0'
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround21
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0'
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround21
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround40.0:CARD=0'
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround40
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0'
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround41
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0'
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround50
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0'
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround51
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround71.0:CARD=0'
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround71
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM iec958
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM spdif
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM spdif
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device'
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device'
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: Expression 'alsa_snd_pcm_hw_params_set_period_size_near( pcm, hwParams, &alsaPeriodFrames, &dir )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 923
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: INFO:snips_audio_portaudio : Use input device: "HP Webcam HD 2300: USB Audio (hw:1,0)"
Jul 26 00:28:32 magicmirror1 snips-audio-server[2900]: INFO:snips_broadcast_mqtt_server: Starting broadcasting audio on hermes for site "default"
Jul 26 00:36:03 magicmirror1 snips-audio-server[2900]: ERROR:snips_audio_server_hermes  : could not play "bb6c89a6-2da3-4e6f-9e8f-a0abd656e69a"
Jul 26 00:36:03 magicmirror1 snips-audio-server[2900]:  -> caused by: NoDevice

I also tried to uninstall everything (twice) with the following and run a clean install using sam, no change and the same still happens :frowning:

sudo apt purge snips-*
sudo rm -rf /usr/share/snips
sudo rm -rf /var/lib/snips
sudo userdel _snips
sudo userdel _snips-skills
sudo apt clean

Any idea what could have caused this? And how to solve it?
I’m out of ideas and I can’t just format this card as it has other software and tools running on it.

Again I ask myself… Why did I update? If it was working, I should not have touched…

So, it seems this is caused by some bugs related to the latest kernel (4.19).
I figured out a workaround:

I edited the file /etc/asound.conf from:

pcm.!default {
    type asym
    playback.pcm {
        type plug
        slave.pcm "hw:0,0"
    }
    capture.pcm {
        type plug
        slave.pcm "hw:1,0"
    }
}

to this, adding the sampling rate of the audio:

pcm.!default {
    type asym
    playback.pcm {
        type plug
        slave {
          pcm "hw:0,0"
          rate 16000
        }
    }
    capture.pcm {
        type plug
        slave.pcm "hw:1,0"
    }
}

I have tried:

  • 16000 and 32000 works for snips, not for mpg123 (only if I force resample)
  • 22050 also works for snips, but not on mpg123 unless you use half sampling
  • 44100 and 48000 do not work for snips, work fine for mpg123

This is great and all… but it ruins my machine as the sound is really low quality (I am using Amazon text to voice) and it renders mpg123 and other music players unusable, first because of quality and then because most of them do not resample automatically…

This bug needs to be solved… It sucks you cant have snips and good quality music on the same Rpi…

Same issue here on brand new install of snips using Respeaker 4-mic hat…Sam test of spkr and mic fine, but system shuts after hotword recognized…

Tried the rate change, but then spkr test fails and I get an ALSA error stating Unknown Field Rate

My install was to first install drivers from SEEED for the 4-mic card prior to snips install (init), then saying no to Maker Kit? query for audio setup…Sam test spkr and mic fine…

This is first attempt with 4-mic…maybe I’ll try to go back and do same with my 2-mic, which has worked OK in past…I’ll report back…