-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mimic3 Docker Image on Podman: PermissionError: [Errno 13] Permission denied: '/home/mimic3/.local/share/mycroft/mimic3/voices' #8
Comments
Had the same issue - thanks @georgmangold for the workaround. |
I've added this to the README. Before running for the first time, you need to: mkdir -p "${HOME}/.local/share/mycroft/mimic3"
chmod a+rwx "${HOME}/.local/share/mycroft/mimic3" The docker container runs as a different user, so it can't write to the |
Unfortunately that did not work for me. Maybe the problem is still that I'm trying it with Podman instead of Docker? If someone can verify that it works for them too.
(You may also want to change the "-p 59125:59125" part to "-p 127.0.0.1:59125:59125" so that really only localhost can access it by default.) |
Same exact issue, but with docker on Ubuntu. The fix? https://github.com/jtabet/mimic3/tree/docker-run-out-of-the-box My working docker configuration:
|
Describe the bug
When using the Docker image with Podman, I get a permisson error when opening the local web page an site is not working.
To Reproduce
Follow the instructions https://mycroft-ai.gitbook.io/docs/mycroft-technologies/mimic-tts/mimic-3#docker-image but with Podman
Launch container with Podman from CLI
2a .With local mount option
$ podman run -it -p 127.0.0.1:59125:59125 -v /home/user/.local/share/mycroft/mimic3:/home/mimic3/.local/share/mycroft/mimic3 mycroftai/mimic3
2b. OR without local mount
$ podman run -it -p 127.0.0.1:59125:59125 mycroftai/mimic3
Go to the local web page at http://localhost:59125/ and see the error message in the CLI
Expected behavior
No Error Message
Log files
Environment:
Additional context/ Workaround/ Fix:
I was able to fix the error by logging into the container as root, creating the directories, and setting the owner and group to mimic3
podman exec -u 0 -it sad_lalande bash
mkdir -p /home/mimic3/.local/share/mycroft/mimic3
chown -R mimic3:mimic3 .local
The text was updated successfully, but these errors were encountered: