Code Monkey home page Code Monkey logo

Comments (6)

exceptionplayer avatar exceptionplayer commented on July 24, 2024 3

Ping...

The same problem occurred to me

from docker.official.image.

jpjohnso avatar jpjohnso commented on July 24, 2024 3

This happened to me, too.

from docker.official.image.

Neftedollar avatar Neftedollar commented on July 24, 2024

Same

from docker.official.image.

zitn avatar zitn commented on July 24, 2024
/app/bundle/programs/server/node_modules/fibers/future.js:280
                                                throw(ex);
                                                ^

Error: Error: Unable to find Mongodb Oplog. You must run the server with oplog enabled. Try the following:

                                1. Start your mongodb in a replicaset mode: mongod --smallfiles --oplogSize 128 --replSet rs0

                                2. Start the replicaset via mongodb shell: mongo mongo/meteor --eval "rs.initiate({ _id: ''rs0'', members: [ { _id: 0, host: ''localhost:27017'' } ]})"

                                3. Start your instance with OPLOG configuration: export MONGO_OPLOG_URL=mongodb://localhost:27017/local MONGO_URL=mongodb://localhost:27017/meteor node main.js

    at BaseDb.handleListener (app/models/server/models/_BaseDb.js:51:11)
    at emitTwo (events.js:126:13)
    at BaseDb.emit (events.js:214:7)
    at _addListener (events.js:249:14)
    at BaseDb.addListener (events.js:297:10)
    at emitter.js (app/authorization/server/publications/permissions/emitter.js:4:13)
    at fileEvaluate (packages/modules-runtime.js:336:7)
    at Module.require (packages/modules-runtime.js:238:14)
    at Module.moduleLink [as link] (/app/bundle/programs/server/npm/node_modules/meteor/modules/node_modules/reify/lib/runtime/index.js:38:38)
    at index.js (app/authorization/server/publications/permissions/index.js:1:178)
    at fileEvaluate (packages/modules-runtime.js:336:7)
    at Module.require (packages/modules-runtime.js:238:14)
    at Module.moduleLink [as link] (/app/bundle/programs/server/npm/node_modules/meteor/modules/node_modules/reify/lib/runtime/index.js:38:38)
    at index.js (app/authorization/server/index.js:1:1746)
    at fileEvaluate (packages/modules-runtime.js:336:7)
    at Module.require (packages/modules-runtime.js:238:14)

same

dcoker version:

Client: Docker Engine - Community
 Version:           19.03.1
 API version:       1.40
 Go version:        go1.12.5
 Git commit:        74b1e89
 Built:             Thu Jul 25 21:22:03 2019
 OS/Arch:           linux/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          19.03.1
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.12.5
  Git commit:       74b1e89
  Built:            Thu Jul 25 21:20:35 2019
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.2.6
  GitCommit:        894b81a4b802e4eb2a91d1ce216b8817763c29fb
 runc:
  Version:          1.0.0-rc8
  GitCommit:        425e105d5a03fabd737a126ad93d62a9eeede87f
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683

from docker.official.image.

cinlloc avatar cinlloc commented on July 24, 2024

Same problem, does anyone has a workaround?

from docker.official.image.

cinlloc avatar cinlloc commented on July 24, 2024

For your information, it works doing this:

docker run -d --name db --hostname db mongo:4.0 mongod --smallfiles --oplogSize 128 --replSet rs01
docker run --link db mongo:4.0 mongo db/rocketchat --eval "rs.initiate({ _id: 'rs01', members: [ { _id: 0, host: 'db:27017' } ]})"
docker run -d --link db --env "MONGO_URL=mongodb://db:27017/rocketchat?replicaSet=rs01" --env "MONGO_OPLOG_URL=mongodb://db:27017/local?replicaSet=rs01" rocket.chat

Haven't found less verbose.

from docker.official.image.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.