• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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