• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question Error starting rocket chat docker

fferraro87

Basic Pleskian
Hi,
i'm trying to install rocket chat using docker on my plesk onyx on a centos 7.
i've installed mongodb using that guide How to install MongoDB database server in Plesk? and it correctly works and liste on port 27017 on localhost

that's log of mongo container
Code:
2019-05-15T08:05:09.080+0000 I CONTROL  [initandlisten]
2019-05-15T08:05:09.080+0000 I CONTROL  [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/enabled is 'always'.
2019-05-15T08:05:09.080+0000 I CONTROL  [initandlisten] **        We suggest setting it to 'never'
2019-05-15T08:05:09.080+0000 I CONTROL  [initandlisten]
2019-05-15T08:05:09.080+0000 I CONTROL  [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/defrag is 'always'.
2019-05-15T08:05:09.080+0000 I CONTROL  [initandlisten] **        We suggest setting it to 'never'
2019-05-15T08:05:09.080+0000 I CONTROL  [initandlisten]
2019-05-15T08:05:09.106+0000 I FTDC     [initandlisten] Initializing full-time diagnostic data capture with directory '/data/db/diagnostic.data'
2019-05-15T08:05:09.172+0000 I NETWORK  [initandlisten] waiting for connections on port 27017

but if i try to start rocket chat container, it doesn't connect to mongodb, that's my rocket container settings :
GEqyX50.png


and when i start rocket container i've that error :

Code:
MongoNetworkError: failed to connect to server [127.0.0.1:27017] on first connect [MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017]
    at Pool.<anonymous> (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb-core/lib/topologies/server.js:564:11)
    at emitOne (events.js:116:13)
    at Pool.emit (events.js:211:7)
    at Connection.<anonymous> (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb-core/lib/connection/pool.js:317:12)
    at Object.onceWrapper (events.js:317:30)
    at emitTwo (events.js:126:13)
    at Connection.emit (events.js:214:7)
    at Socket.<anonymous> (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb-core/lib/connection/connection.js:246:50)
    at Object.onceWrapper (events.js:315:30)
    at emitOne (events.js:116:13)
    at Socket.emit (events.js:211:7)
    at emitErrorNT (internal/streams/destroy.js:64:8)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)

why rocket container doesn't connect to mongodb ?
 
Back
Top