This is the thread about Windows 10 Pro Installation Guide. This guide is not officially supported by Rocket.Chat but feel free to contribute and discuss about the topic here.
I’m running rocket chat on windows. But when I make changes to Rocket.Chat files, the server never automatically rebuild. And I can’t see the changes in Rocket.Chat I made.
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)
then i am runed mongo db with this options
mongod --smallfiles --oplogSize 128 --replSet rs0
then i recived this error /app/bundle/programs/server/node_modules/fibers/future.js:313
throw(ex);
^
MongoError: not master
at queryCallback (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb-core/lib/cursor.js:248:25)
at /app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb-core/lib/connection/pool.js:532:18
at _combinedTickCallback (internal/process/next_tick.js:131:7)
at process._tickCallback (internal/process/next_tick.js:180:9)
Hi, I encountered the same error as the user above.
Error: Unable to find Mongodb Oplog. You must run the server with oplog enabled.
I tried to start replicaset via mongodb shell using the command given but that had another error as well.
Perhaps, this can be added into the installation guide? Considering that this seems to be a pretty common error that users are struggling with and there is little information available online to fix this.
ERROR: for docker_rocketchat_1 Cannot start service rocketchat: Cannot link to a non running container: /docker_db_1 AS /docker_rocketchat_1/db_1
ERROR: for rocketchat Cannot start service rocketchat: Cannot link to a non running container: /docker_db_1 AS /docker_rocketchat_1/db_1
ERROR: Encountered errors while bringing up the project.
ERROR: for docker_rocketchat_1 Cannot start service rocketchat: Cannot link to a non running container: /docker_db_1 AS /docker_rocketchat_1/db_1
ERROR: for rocketchat Cannot start service rocketchat: Cannot link to a non running container: /docker_db_1 AS /docker_rocketchat_1/db_1
ERROR: Encountered errors while bringing up the project.