Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hello, I Downloaded The Docker-Compose For Windows But When Starting It Up I'M Getting The Following Error For Mongo:

Hello, I downloaded the docker-compose for windows but when starting it up I'm getting the following error for mongo:
2020-11-29T18:37:45.794+0000 I CONTROL [initandlisten] MongoDB starting : pid=1 port=27017 dbpath=/data/db 64-bit host=634c4b9bce56 2020-11-29T18:37:45.795+0000 I CONTROL [initandlisten] db version v3.6.5 2020-11-29T18:37:45.795+0000 I CONTROL [initandlisten] git version: a20ecd3e3a174162052ff99913bc2ca9a839d618 2020-11-29T18:37:45.795+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.1t 3 May 2016 2020-11-29T18:37:45.795+0000 I CONTROL [initandlisten] allocator: tcmalloc 2020-11-29T18:37:45.795+0000 I CONTROL [initandlisten] modules: none 2020-11-29T18:37:45.795+0000 I CONTROL [initandlisten] build environment: 2020-11-29T18:37:45.795+0000 I CONTROL [initandlisten] distmod: debian81 2020-11-29T18:37:45.795+0000 I CONTROL [initandlisten] distarch: x86_64 2020-11-29T18:37:45.795+0000 I CONTROL [initandlisten] target_arch: x86_64 2020-11-29T18:37:45.795+0000 I CONTROL [initandlisten] options: { net: { bindIpAll: true }, setParameter: { internalQueryExecMaxBlockingSortBytes: "196100200" } } 2020-11-29T18:37:45.801+0000 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=1446M,session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),cache_cursors=false,log=(enabled=true,archive=true,path=journal,comp ressor=snappy),file_manager=(close_idle_time=100000),statistics_log=(wait=0),verbose=(recovery_progress), 2020-11-29T18:37:46.223+0000 E STORAGE [initandlisten] WiredTiger error (17) [1606675066:223876][1:0x7f4247ac1a00], connection: /data/db/WiredTiger.wt: handle-open: open: File exists 2020-11-29T18:37:46.229+0000 I STORAGE [initandlisten] WiredTiger message unexpected file WiredTiger.wt found, renamed to WiredTiger.wt.10 2020-11-29T18:37:46.231+0000 E STORAGE [initandlisten] WiredTiger error (1) [1606675066:231116][1:0x7f4247ac1a00], connection: /data/db/WiredTiger.wt: handle-open: open: Operation not permitted 2020-11-29T18:37:46.232+0000 E - [initandlisten] Assertion: 28595:1: Operation not permitted src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp 416 2020-11-29T18:37:46.232+0000 I STORAGE [initandlisten] exception in initAndListen: Location28595: 1: Operation not permitted, terminating 2020-11-29T18:37:46.232+0000 I NETWORK [initandlisten] shutdown: going to close listening sockets... 2020-11-29T18:37:46.232+0000 I NETWORK [initandlisten] removing socket file: /tmp/mongodb-27017.sock 2020-11-29T18:37:46.232+0000 I CONTROL [initandlisten] now exiting 2020-11-29T18:37:46.232+0000 I CONTROL [initandlisten] shutting down with code:100The previous version I had was 14.3 or something like that and it worked fine...
From searching the internet I've found that creating the mongo folders manually supposed to work it out, it didn't.

  
  
Posted 3 years ago
Votes Newest

Answers 3


SuccessfulKoala55 That indeed solved it. You can add it to your win10 docker-compose yaml to avoid similar issues in the future. Thanks!

  
  
Posted 3 years ago

Hi SmoothSheep78 ,
You might need to use volumes, as shown here:
https://stackoverflow.com/questions/54911021/unable-to-start-docker-mongo-image-on-windows

  
  
Posted 3 years ago

Hi SmoothSheep78
Do you need to import the previous state of the trains-server, or are you starting from scratch ?

  
  
Posted 3 years ago