Comments (5)
Update with other test which works.
user@virtubuntu:/etc/otrecorder$ docker run -it --rm -v /media/nas/docker/otr:/mnt busybox
/ # cd /mnt/
/mnt # ls -l
total 0
drwxr-xr-x 2 1000 1000 0 Dec 16 09:20 config
drwxr-xr-x 2 1000 1000 0 Dec 16 09:20 store
/mnt # mkdir test
/mnt # ls -l
total 0
drwxr-xr-x 2 1000 1000 0 Dec 16 09:20 config
drwxr-xr-x 2 1000 1000 0 Dec 16 09:20 store
drwxr-xr-x 2 1000 1000 0 Dec 16 09:41 test
/mnt # rm -R test/
/mnt # ls -l
total 0
drwxr-xr-x 2 1000 1000 0 Dec 16 09:20 config
drwxr-xr-x 2 1000 1000 0 Dec 16 09:20 store
/mnt #
from docker-recorder.
A quick search leaves me thinking few people use CIFS with docker and those who do don't have an easy time with it...
Have you tried having the host mount the CIFS FS before launching docker? This might help a bit.
(I have zero experience with CIFS under docker.)
from docker-recorder.
Thanks for the first hint. I'm using autofs and this mounts on demand. I'm using round about 10 dockers with micro services for private use and there is at the moment no other docker image with this type of problem. I will check your link and play with different settings. ;-)
from docker-recorder.
Something ocurred to me early this morning: the Recorder uses LMDB which in turn memory-maps (nmap) files. It is absolutely possible that memory mapping files through docker and CIFS is just not possible and the reason why some component crashes and we dump core.
I wouldn't expect it is us because we handle an error but maybe some other layer:
rc = mdb_env_create(&gc->env);
if (rc != 0) {
olog(LOG_ERR, "gcache_open: mdb_env_create: %s", mdb_strerror(rc))
;
free(gc);
return (NULL);
}
mdb_env_set_mapsize(gc->env, lmdb_size);
from docker-recorder.
Closing this as stale.
from docker-recorder.
Related Issues (20)
- http endpoint dead HOT 5
- Trouble getting opencage to work. HOT 8
- Latest pull request is forcing TLS. HOT 4
- Frontend stopped connecting to recorder (crosspost from owntracks/frontend) HOT 3
- Does not work from scratch HOT 7
- Error while deploying with rootless podman HOT 1
- Installed as per instructions - not accessible on port 8083 HOT 7
- Mounts are ignored in docker compose HOT 4
- Docker image expects MQTT topic(s) in OTR_TOPIC env var, but recorder docs describe OTR_TOPICS (plural) HOT 2
- Best practice: How to archive data older than 30 days? HOT 2
- Lua script causing container to not boot HOT 1
- Alternative registry HOT 3
- Docker-compose website doesn't get populated with data HOT 7
- docker linux/arm64 build HOT 11
- Cannot lmdb-open MainDB HOT 2
- ot-recorder silently fails on startup HOT 2
- Error: Address not available HOT 6
- make: *** [Makefile:137: install] Error 1 HOT 4
- API /last has no isolocal in docker HOT 3
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-recorder.