Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Trouble access docker image command line. #3

Open
divx118 opened this issue Jun 2, 2019 · 5 comments
Open

Trouble access docker image command line. #3

divx118 opened this issue Jun 2, 2019 · 5 comments

Comments

@divx118
Copy link

divx118 commented Jun 2, 2019

I am having some problems with my audio. I am running it on a synology NAS (DS918+) So I thought, see if I can access the image through the command line so I would have a shell to troubleshoot the audio.
However docker run -it robwolff3/ga-webserver /bin/sh results in an error [Error] You need initialize GoogleAssistant with a client secret json!

BTW not relevant to this issue, but log when starting normally is it seems it can't find the soundcard.:

2019-06-02 08:32:57,stderr,[FATAL:audio_input_stream.cc(47)] Input device could not be opened: default
2019-06-02 08:32:57,stderr,ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM default
2019-06-02 08:32:57,stderr,ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
2019-06-02 08:32:57,stderr,ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
2019-06-02 08:32:57,stderr,ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
2019-06-02 08:32:57,stderr,ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
2019-06-02 08:32:57,stderr,ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
2019-06-02 08:32:57,stderr,ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
2019-06-02 08:32:57,stderr,ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
2019-06-02 08:32:50,stderr,[FATAL:audio_input_stream.cc(47)] Input device could not be opened: default
2019-06-02 08:32:50,stderr,ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM default
2019-06-02 08:32:50,stderr,ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
2019-06-02 08:32:50,stderr,ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
2019-06-02 08:32:50,stderr,ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
2019-06-02 08:32:50,stderr,ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
2019-06-02 08:32:50,stderr,ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
2019-06-02 08:32:50,stderr,ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
2019-06-02 08:32:50,stderr,ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
@jsj0318
Copy link

jsj0318 commented Jul 15, 2019

You need a sound card
When a USB type sound card is installed, the error is corrected.

@divx118
Copy link
Author

divx118 commented Jul 15, 2019

@jsj0318 yeah noticed that it couldn't find the card, but you still should be able to get a shell in the docker image.

@mrjackyliang
Copy link

mrjackyliang commented Jul 18, 2019

Synology devices don't have a sound card, which is why the container errors out and restarts. Still trying to find a workaround.

Although, the shell should be able to use. Just make sure you delete the access token that was created in the folder.

@jsj0318
Copy link

jsj0318 commented Jul 19, 2019

I inserted a USB type sound card into my synology
I have mapped / dev / snd to the docker.
It recognizes the sound card without abnormality and I use it well in my DS918 +.

@mrjackyliang
Copy link

@jsj0318 Just purchased a USB Headphone Adapter from Amazon. Hope this one works out well.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants