Comments (17)
Hi @vallard
Thanks for making this cool project
You're welcome 👍
This error is not related to the Docker images itself, it's more related to Mycroft which is trying to download the md5sum
file.
I tried to download the file manually and it worked, I compared the checksum between the the tar.gz
and the the md5sum
file and they are identical.
A weird thing is that it tries to download an older version of Precise Engine (0.2.0) which should be 0.3.0
. I poked some guys on Mycroft chat, I'll keep you posted with update.
from docker-mycroft.
After some discussion, 0.3.0
is the default for aarch64
architecture because there is no 0.2.0
version for it. So you are using the correct version.
Does your RPi still have access to Internet? If you try to run this command from your RPi, does it work?
$ wget https://github.com/MycroftAI/mycroft-precise/releases/download/v0.2.0/precise-engine_0.2.0_armv7l.tar.gz.md5
Try to restart the mycroft_voice
container:
$ sudo docker restart mycroft_voice
from docker-mycroft.
from docker-mycroft.
logging into the container I get the following:
$ docker exec -it dfb /bin/bash
mycroft@mycroft_voice:~/core$ curl -O https://github.com/MycroftAI/mycroft-precise/releases/download/v0.2.0/precise-engine_0.2.0_armv7l.tar.gz.md5
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.haxx.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
from docker-mycroft.
Try the -k
option with curl
, an other solution could be to run c_rehash
as root
inside the mycroft_voice
container.
from docker-mycroft.
from docker-mycroft.
Did you try the c_rehash
command as root
within the container?
from docker-mycroft.
from docker-mycroft.
You will have nothing to install, c_rehash
is part of the openssl
package already install within the image.
http://manpages.ubuntu.com/manpages/trusty/man1/c_rehash.1ssl.html
If it solves your issue, I will add the command to the Dockerfile
.
from docker-mycroft.
To connect as root
inside a container, you don't need to run sudo
inside the container itself (-u 0
).
$ sudo docker exec -ti -u 0 mycroft_voice bash
root@mycroft_voice:/home/mycroft/core# c_rehash
Output:
Doing /usr/lib/ssl/certs
WARNING: Skipping duplicate certificate ca-certificates.crt
WARNING: Skipping duplicate certificate ca-certificates.crt
Then restart the container.
from docker-mycroft.
I think that may have worked! Thank you, seeing this now, but wake word is being detected. Prob something else I have wrong on my end.
2021-02-23 05:33:40.873 | ERROR | 1 | mycroft.client.speech.hotword_factory:update_precise:240 | Precise could not be downloaded(PermissionError(13, 'Permission denied'))
2021-02-23 05:33:43.998 | INFO | 1 | mycroft.client.speech.hotword_factory:during_download:301 | Still downloading executable...
2021-02-23 05:33:44.733 | INFO | 1 | mycroft.client.speech.hotword_factory:during_download:301 | Still downloading executable...
2021-02-23 05:33:45.368 | INFO | 1 | mycroft.client.speech.hotword_factory:during_download:301 | Still downloading executable...
2021-02-23 05:33:45.872 | INFO | 1 | mycroft.client.speech.hotword_factory:during_download:301 | Still downloading executable...
2021-02-23 05:34:14.002 | INFO | 1 | mycroft.client.speech.hotword_factory:during_download:301 | Still downloading executable...
2021-02-23 05:34:14.736 | INFO | 1 | mycroft.client.speech.hotword_factory:during_download:301 | Still downloading executable...
2021-02-23 05:34:15.381 | INFO | 1 | mycroft.client.speech.hotword_factory:during_download:301 | Still downloading executable...
2021-02-23 05:34:15.877 | INFO | 1 | mycroft.client.speech.hotword_factory:during_download:301 | Still downloading executable...
2021-02-23 05:34:41.368 | INFO | 1 | mycroft.client.speech.hotword_factory:on_download:289 | Downloading Precise executable...
2021-02-23 05:34:41.373 | ERROR | 1 | mycroft.client.speech.hotword_factory:update_precise:240 | Precise could not be downloaded(PermissionError(13, 'Permission denied'))
from docker-mycroft.
I think that may have worked!
Great, I'll add this to the Dockerfile
.
2021-02-23 05:33:40.873 | ERROR | 1 | mycroft.client.speech.hotword_factory:update_precise:240 | Precise could not be downloaded(PermissionError(13, 'Permission denied')) 2021-02-23 05:33:43.998 | INFO | 1 | mycroft.client.speech.hotword_factory:during_download:301 | Still downloading executable... 2021-02-23 05:33:44.733 | INFO | 1 | mycroft.client.speech.hotword_factory:during_download:301 | Still downloading executable... 2021-02-23 05:33:45.368 | INFO | 1 | mycroft.client.speech.hotword_factory:during_download:301 | Still downloading executable... 2021-02-23 05:33:45.872 | INFO | 1 | mycroft.client.speech.hotword_factory:during_download:301 | Still downloading executable... 2021-02-23 05:34:14.002 | INFO | 1 | mycroft.client.speech.hotword_factory:during_download:301 | Still downloading executable... 2021-02-23 05:34:14.736 | INFO | 1 | mycroft.client.speech.hotword_factory:during_download:301 | Still downloading executable... 2021-02-23 05:34:15.381 | INFO | 1 | mycroft.client.speech.hotword_factory:during_download:301 | Still downloading executable... 2021-02-23 05:34:15.877 | INFO | 1 | mycroft.client.speech.hotword_factory:during_download:301 | Still downloading executable... 2021-02-23 05:34:41.368 | INFO | 1 | mycroft.client.speech.hotword_factory:on_download:289 | Downloading Precise executable... 2021-02-23 05:34:41.373 | ERROR | 1 | mycroft.client.speech.hotword_factory:update_precise:240 | Precise could not be downloaded(PermissionError(13, 'Permission denied'))
I think you have created the mycroft-config
as root
which means that mycroft_voice
container which is running as mycroft
user cannot right into it (Precise is downloaded and installed into .mycroft/precise
directory).
Adjust the permissions on this directory to make it writable within the container.
from docker-mycroft.
I pushed two commits, one for the c_rehash
command and the other about the Permission denied
.
3ee8fd1
c0099ca
from docker-mycroft.
I just build new images with the fix for the stable
tag.
from docker-mycroft.
@vallard does everything is fixed for you?
from docker-mycroft.
Yes, fixing the directory permissions helped like you said and the system registered. Thank you so much for your help!
from docker-mycroft.
Yes, fixing the directory permissions helped like you said and the system registered. Thank you so much for your help!
Yeah!
Thanks for reporting the issue 👍
from docker-mycroft.
Related Issues (20)
- Implement precise-lite listener HOT 1
- [Errno 13] Permission denied: '/home/mycroft/.config/mycroft/skills HOT 1
- error: can't find Rust compiler HOT 1
- Make /tmp/mycroft/ipc a bind mount HOT 1
- run.sh syntax errors HOT 1
- No such file or directory when playing sound
- FileNotFoundError: [Errno 2] No such file or directory: 'arecord': 'arecord'
- FileNotFoundError(2, "No such file or directory: 'paplay'"
- Add timezone support HOT 1
- Allow pi user to use OpenGL HOT 1
- web_cache.json path changed
- /opt/mycroft/preloaded_cache/Mimic2 is missing HOT 1
- Add documentation about IPTables
- Use --ipc=host for Docker HOT 1
- Failed to create: /opt/mycroft/voices
- Mimic3 Error HOT 6
- Persistency required for Mimic3 voices
- Getting Mimic3 working with these containers HOT 4
- Permissions denied /tmp HOT 3
- No ability to customize the local volume folders except editing the files manually
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-mycroft.