Jump to content

PmoshBR

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by PmoshBR

  1. Hello, I'm getting this e

    On 6/21/2019 at 6:41 AM, mhlnstdt25 said:

    I got it!

    1. Create folder mongodb in /mnt/user/appdata/
    2. add mongod.conf in that folder:
      1. 
        # mongod.conf
        
        # for documentation of all options, see:
        #   http://docs.mongodb.org/manual/reference/configuration-options/
        
        # Where and how to store data.
        storage:
          dbPath: /data/db
          journal:
            enabled: true
        #  engine:
        #  mmapv1:
        #  wiredTiger:
        
        # network interfaces
        net:
          port: 27017
          bindIp: 127.0.0.1
        
        # how the process runs
        processManagement:
          timeZoneInfo: /usr/share/zoneinfo
        
        #security:
        
        #operationProfiling:
        
        replication:
          replSetName: "rs01"
        
        #sharding:
        
        ## Enterprise-Only Options:
        
        #auditLog:
        
        #snmp:

         

    3. Install MongoDB via communityapps. With added postargument "-f /data/db/mongod.conf"
    4. watch the log of mongodb if it start correctly.
    5. Install rocket.chat from communityapp
      1. Set Mono DB to your mongoDB, in my case it is "mongodb://10.0.0.4:27017/rocketchat"
      2. Set RocketChat URL to yor ip, in my case: "http://10.0.0.4:3000"
      3. Add another variable (plus icon)
      4. image.png.4c6d96d9e8d066fa9a15986692707373.png
    6. Start RocketChat watch the log and after a few minutes it should start up and you can connect.

    I tried this instructions, but it show this error when I try to start RocketChat:

     

    Quote

    Error: $MONGO_OPLOG_URL must be set to the 'local' database of a Mongo replica set

     

    Could please somebody help me??

×
×
  • Create New...