Comments (8)
I’ll be able to test again later this week when I’m back home.
from docker-mycroft.
Hey @geerzo
This should not be an issue, I tested the docker-compose
file without any trouble.
mycroft@mycroft_skills:~/.config/mycroft$ ls -l
total 20
drwxr-xr-x 2 mycroft mycroft 4096 Aug 10 21:07 identity
-rw-r--r-- 1 mycroft mycroft 474 Aug 11 19:22 mycroft.conf
-rw-r--r-- 1 mycroft mycroft 146 Aug 13 02:39 mycroft_cli.conf
-rw-r--r-- 1 mycroft mycroft 2 Aug 11 20:03 schedule.json
drwxr-xr-x 62 mycroft mycroft 4096 Aug 10 21:33 skills
from docker-mycroft.
When I run the docker-compose I get this error immediately: ERROR: Duplicate mount points:
Was the intent to use the skills volume to store the skills folder inside config? Should it be mounted to that skills sub directory?
from docker-mycroft.
This is the default behavior according to the Mycroft default configuration: https://github.com/forslund/mycroft-core/blob/dev/mycroft/configuration/mycroft.conf#L110
I'm not able to reproduce your issue, I just wiped everything and redeployed using the latest commit and everything went well. Did you create the mycroft-config
and mycroft-web-cache
directories?
Here are some version information about my setup:
$ docker system info
Client:
Context: default
Debug Mode: false
Plugins:
app: Docker App (Docker Inc., v0.9.1-beta3)
buildx: Build with BuildKit (Docker Inc., v0.6.1-docker)
Server:
Containers: 1
Running: 1
Paused: 0
Stopped: 0
Images: 7
Server Version: 20.10.8
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
userxattr: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Cgroup Version: 1
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: io.containerd.runtime.v1.linux runc io.containerd.runc.v2
Default Runtime: runc
Init Binary: docker-init
containerd version: e25210fe30a0a703442421b0f60afac609f950a3
runc version: v1.0.1-0-g4144b63
init version: de40ad0
Security Options:
seccomp
Profile: default
Kernel Version: 5.10.52-v8+
Operating System: Debian GNU/Linux 10 (buster)
OSType: linux
Architecture: aarch64
CPUs: 4
Total Memory: 7.63GiB
Name: smartgic-pi4b8-13
ID: UPNF:GVPV:AP7R:QH4S:LVMO:PCZB:3OY4:FO4O:RH6P:POQH:RQDV:UFYR
Docker Root Dir: /var/lib/docker
Debug Mode: false
Username: goldyfruit
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
WARNING: No memory limit support
WARNING: No swap limit support
WARNING: No kernel memory TCP limit support
WARNING: No oom kill disable support
$ pip3 freeze | grep docker
docker==5.0.0
docker-compose==1.29.2
docker-pycreds==0.4.0
dockerpty==0.4.1
$ COMPOSE_HTTP_TIMEOUT=120 XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR VERSION=dev docker-compose up -d
Creating volume "mycroft_ipc" with local driver
Creating volume "mycroft_cache" with local driver
Creating volume "mycroft_skills" with local driver
Creating volume "mycroft_skills_repo" with local driver
Creating volume "mycroft_skills_config" with local driver
Creating volume "mycroft_venv" with local driver
Creating mycroft_bus ... done
Creating mycroft_cli ... done
Creating mycroft_audio ... done
Creating mycroft_skills ... done
Creating mycroft_enclosure ... done
Creating mycroft_voice ... done
from docker-mycroft.
The link you posted for the default behavior points to "~/.mycroft/skills" which currently would be on the local container file system. Was the intent to mount the volume there and not to "~/mycroft/.config/mycroft"?
If you mount two volumes to the same directory in the container it would only write to one of them so I'm just trying to understand what the goal is. Sorry for my confusion.
from docker-mycroft.
mycroft_skills_config
should not be useful anymore. All skill settings.json
files will be stored into mycroft-config
local directory (as it should be).
Try to git pull
and redeploy and keep me posted :)
from docker-mycroft.
@geerzo do you still having the issue?
from docker-mycroft.
@geerzo I'll close the issue for now, fill free to reopen it if you still have 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.