Skip to content

[3.7.0] OPLOG / REPLICASET IS REQUIRED #19064

@binboum

Description

@binboum

Description:

I tried an update on 3.7.0, the oplog is functional in 3.4.2, and when I go to 3.7.0 rocket does not launch anymore.

The database is working, the status is ok, I tried to rollback and it is functional.

Steps to reproduce:

Upgrade 3.4.2 to 3.7.0

Expected behavior:

Actual behavior:

Server Setup Information:

  • Version of Rocket.Chat Server: 3.7.0
  • Operating System: linux
  • Deployment Method: docker
  • Number of Running Instances: 1
  • DB Replicaset Oplog: 1
  • NodeJS Version: 12.18.4 - x64
  • MongoDB Version: 4.0

Client Setup Information

  • Desktop App or Browser Version:
  • Operating System:

Additional context

Relevant logs:

Change Stream is available for your installation, give admin permissions to your database user to use this improved version.
self signed certificate in certificate chain
LocalStore: store created at 
LocalStore: store created at 
LocalStore: store created at 
Setting default file store to GridFS
{"line":"120","file":"migrations.js","message":"Migrations: Migrating from version 197 -> 206","time":{"$date":1601421782427},"level":"info"}
{"line":"120","file":"migrations.js","message":"Migrations: Running up() on version 198","time":{"$date":1601421782429},"level":"info"}
{"line":"120","file":"migrations.js","message":"Migrations: Running up() on version 199","time":{"$date":1601421782493},"level":"info"}
Changing schema of User records, this may take a long time ...
Migrating 0/2
Changing schema of User records finished.
{"line":"120","file":"migrations.js","message":"Migrations: Running up() on version 200","time":{"$date":1601421782789},"level":"info"}
{"line":"120","file":"migrations.js","message":"Migrations: Running up() on version 201","time":{"$date":1601421782797},"level":"info"}
{"line":"120","file":"migrations.js","message":"Migrations: Running up() on version 202","time":{"$date":1601421782825},"level":"info"}
{"line":"120","file":"migrations.js","message":"Migrations: Running up() on version 203","time":{"$date":1601421782832},"level":"info"}
{"line":"120","file":"migrations.js","message":"Migrations: Running up() on version 204","time":{"$date":1601421782879},"level":"info"}
{"line":"120","file":"migrations.js","message":"Migrations: Running up() on version 205","time":{"$date":1601421782887},"level":"info"}
{"line":"120","file":"migrations.js","message":"Migrations: Running up() on version 206","time":{"$date":1601421782893},"level":"info"}
{"line":"120","file":"migrations.js","message":"Migrations: Finished migrating.","time":{"$date":1601421782905},"level":"info"}
Not migrating, control is locked. Attempt 1/30. Trying again in 10 seconds.
{"line":"120","file":"migrations.js","message":"Migrations: Not migrating, already at version 206","time":{"$date":1601421792914},"level":"info"}
ufs: temp directory created at "/tmp/ufs"
Using GridFS for custom sounds storage
Using GridFS for custom emoji storage
Updating process.env.MAIL_URL
Browserslist: caniuse-lite is outdated. Please run next command `npm update`
➔ server.js:204 System ➔ error
➔ +---------------------------------------------------------------------------+
➔ |                                SERVER ERROR                               |
➔ +---------------------------------------------------------------------------+
➔ |                                                                           |
➔ |  Rocket.Chat Version: 3.7.0                                               |
➔ |       NodeJS Version: 12.18.4 - x64                                       |
➔ |      MongoDB Version: 4.0.7                                               |
➔ |       MongoDB Engine: wiredTiger                                          |
➔ |             Platform: linux                                               |
➔ |         Process Port: 3000                                                |
➔ |             Site URL: xxxxxxxxxxxxxxxxxxxxxxxxx                    |
➔ |     ReplicaSet OpLog: Disabled                                            |
➔ |          Commit Hash: 2c82cd9cee                                          |
➔ |        Commit Branch: HEAD                                                |
➔ |                                                                           |
➔ |  OPLOG / REPLICASET IS REQUIRED TO RUN ROCKET.CHAT, MORE INFORMATION AT:  |
➔ |  https://go.rocket.chat/i/oplog-required                                  |
➔ |                                                                           |
➔ +---------------------------------------------------------------------------+


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions