1 / 9
Dec 2019

Hello to all,
This is a new server installation with Ubuntu server 18.04.3 and Egrooupware 19.1. After several failed attempts, I followed the recommendation to make a fresh install of Ubuntu, and used “sudo apt-get install egroupware-docker”

Installation went well and now I can login into egroupware using the sysop user and password. However, Rocketchat is not working. Here is a screenshot of the error:

Here is the output from sudo docker ps -a.

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
14d874c80a03 nginx:stable-alpine “nginx -g 'daemon of…” 4 hours ago Up 4 hours 127.0.0.1:8080->80/tcp egroupware-nginx
68a37460bca5 egroupware/egroupware:latest “/entrypoint.sh php-…” 4 hours ago Up 4 hours 9000/tcp egroupware
caa3ee26c9e9 containrrr/watchtower “/watchtower --sched…” 31 hours ago Up 23 hours egroupware-watchtower
5423d765b778 rocketchat/rocket.chat:latest “bash -c 'for i in `…” 31 hours ago Up 23 hours 127.0.0.1:3000->3000/tcp rocketchat
8724dbcc484e mongo:4.0 “docker-entrypoint.s…” 31 hours ago Exited (0) 31 hours ago egroupwarerocketchat_mongo-init-replica_1
b270d51eb14b mongo:4.0 “docker-entrypoint.s…” 31 hours ago Up 23 hours 27017/tcp rocketchat-mongo
e6539421d5dc quay.io/egroupware/collabora-key:stable “/bin/sh -c 'bash st…” 31 hours ago Up 23 hours 127.0.0.1:9980->9980/tcp collabora-key

Apparently a problem with egroupwarerocketchat_mongo-init-replica_1 (status Exited (0)).

Although I have some experience with Linux, I am a noobie dealing with docker and egroupware. I appreciate any help.

Regards,
Jaime Leon

  • created

    Dec '19
  • last reply

    Jan '20
  • 8

    replies

  • 4.0k

    views

  • 3

    users

  • 12

    links

Hi Jaime.

Looks good.

Please read:

and look at
/Admin/Applications/Rocket.Chat/Install Information

That is normal an OK.

And very important:

Docker/ the containers runs, EGroupware runs, you can login… All without deeper Linux/Docker-Know-How :slight_smile:

Stefan

Hello Stefan,
I still can’t get rocketchat to work, much less be able to configure the admin and general settings. I cannot access rocketchat either through eGroupware, or serverip/rocketchat or serverip:3000.

Here is the screenshot for serverip/rocketchat

image

Here is the screenshot for serverip:3000

image

I have tried restarting the container with sudo docker restart rocketchat, which does not apppear to do anything.

Here is the log from sudo docker logs rocketchat where I see there are some errors being reported for Mongo, but I don’t know if this is expected or how to resolve them. The logs also report the rocketchat server as “running”.

/app/bundle/programs/server/node_modules/fibers/future.js:313
throw(ex);
^

MongoNetworkError: failed to connect to server [mongo:27017] on first connect [MongoNetworkError: connect ECONNREFUSED 172.19.0.2:27017]
at Pool. (/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. (/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. (/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:73:8)
at _combinedTickCallback (internal/process/next_tick.js:139:11)
at process._tickCallback (internal/process/next_tick.js:181:9)
Tried 1 times. Waiting 5 secs…
/app/bundle/programs/server/node_modules/fibers/future.js:313
throw(ex);
^

MongoNetworkError: failed to connect to server [mongo:27017] on first connect [MongoNetworkError: connect ECONNREFUSED 172.19.0.2:27017]
at Pool. (/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. (/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. (/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:73:8)
at _combinedTickCallback (internal/process/next_tick.js:139:11)
at process._tickCallback (internal/process/next_tick.js:181:9)
Tried 2 times. Waiting 5 secs…
/app/bundle/programs/server/node_modules/fibers/future.js:313
throw(ex);
^

MongoNetworkError: failed to connect to server [mongo:27017] on first connect [MongoNetworkError: connect ECONNREFUSED 172.19.0.2:27017]
at Pool. (/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. (/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. (/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:73:8)
at _combinedTickCallback (internal/process/next_tick.js:139:11)
at process._tickCallback (internal/process/next_tick.js:181:9)
Tried 3 times. Waiting 5 secs…
/app/bundle/programs/server/node_modules/fibers/future.js:313
throw(ex);
^

MongoNetworkError: failed to connect to server [mongo:27017] on first connect [MongoNetworkError: connect ECONNREFUSED 172.19.0.2:27017]
at Pool. (/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. (/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. (/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:73:8)
at _combinedTickCallback (internal/process/next_tick.js:139:11)
at process._tickCallback (internal/process/next_tick.js:181:9)
Tried 4 times. Waiting 5 secs…
/app/bundle/programs/server/node_modules/fibers/future.js:313
throw(ex);
^

MongoNetworkError: failed to connect to server [mongo:27017] on first connect [MongoNetworkError: connect ECONNREFUSED 172.19.0.2:27017]
at Pool. (/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. (/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. (/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:73:8)
at _combinedTickCallback (internal/process/next_tick.js:139:11)
at process._tickCallback (internal/process/next_tick.js:181:9)
Tried 5 times. Waiting 5 secs…
/app/bundle/programs/server/node_modules/fibers/future.js:280
throw(ex);
^

Error: $MONGO_OPLOG_URL must be set to the ‘local’ database of a Mongo replica set
at OplogHandle._startTailing (packages/mongo/oplog_tailing.js:226:13)
at new OplogHandle (packages/mongo/oplog_tailing.js:85:8)
at new MongoConnection (packages/mongo/mongo_driver.js:225:25)
at new MongoInternals.RemoteCollectionDriver (packages/mongo/remote_collection_driver.js:4:16)
at Object. (packages/mongo/remote_collection_driver.js:38:10)
at Object.defaultRemoteCollectionDriver (packages/underscore.js:784:19)
at new Collection (packages/mongo/collection.js:97:40)
at new AccountsCommon (packages/accounts-base/accounts_common.js:23:18)
at new AccountsServer (packages/accounts-base/accounts_server.js:23:5)
at server_main.js (packages/accounts-base/server_main.js:7:12)
at fileEvaluate (packages/modules-runtime.js:336:7)
at Module.require (packages/modules-runtime.js:238:14)
at require (packages/modules-runtime.js:258:21)
at /app/bundle/programs/server/packages/accounts-base.js:1995:15
at /app/bundle/programs/server/packages/accounts-base.js:2002:3
at /app/bundle/programs/server/boot.js:419:36
Tried 6 times. Waiting 5 secs…
LocalStore: store created at
LocalStore: store created at
LocalStore: store created at
Setting default file store to GridFS
The publication “livechat:visitorInfo” is deprecated and will be removed after version v3.0.0
The publication “personalAccessTokens” is deprecated and will be removed after version v3.0.0
ufs: temp directory created at “/tmp/ufs"
Loaded the Apps Framework and loaded a total of 0 Apps!
Updating process.env.MAIL_URL
Using GridFS for custom sounds storage
Using GridFS for custom emoji storage
➔ System ➔ startup
➔ ±--------------------------------------------------------+
➔ | SERVER RUNNING |
➔ ±--------------------------------------------------------+
➔ | |
➔ | Rocket.Chat Version: 2.3.2 |
➔ | NodeJS Version: 8.16.2 - x64 |
➔ | MongoDB Version: 4.0.14 |
➔ | MongoDB Engine: mmapv1 |
➔ | Platform: linux |
➔ | Process Port: 3000 |
➔ | Site URL: http://192.168.10.253/rocketchat1 |
➔ | ReplicaSet OpLog: Enabled |
➔ | Commit Hash: ffb478f88f |
➔ | Commit Branch: HEAD |
➔ | |
➔ ±--------------------------------------------------------+
Exception in setInterval callback: { MongoError: not master
at /app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb-core/lib/connection/pool.js:581:63
at authenticateStragglers (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb-core/lib/connection/pool.js:504:16)
at Connection.messageHandler (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb-core/lib/connection/pool.js:540:5)
at emitMessageHandler (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb-core/lib/connection/connection.js:310:10)
at Socket. (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb-core/lib/connection/connection.js:453:17)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
at readableAddChunk (stream_readable.js:250:11)
at Socket.Readable.push (stream_readable.js:208:10)
at TCP.onread (net.js:601:20)
operationTime: Timestamp { bsontype: ‘Timestamp’, low: 1, high
: 1576786658 },
ok: 0,
errmsg: ‘not master’,
code: 10107,
codeName: ‘NotMaster’,
’$clusterTime’:
{ clusterTime: Timestamp { bsontype: ‘Timestamp’, low: 1, high
: 1576786658 },
signature: { hash: [Object], keyId: 0 } },
name: ‘MongoError’,
[Symbol(mongoErrorContextSymbol)]: {} }
LocalStore: store created at
LocalStore: store created at
LocalStore: store created at
LocalStore: store created at
LocalStore: store created at
LocalStore: store created at
Setting default file store to GridFS
The publication “livechat:visitorInfo” is deprecated and will be removed after version v3.0.0
The publication “personalAccessTokens” is deprecated and will be removed after version v3.0.0
{“line”:“120”,“file”:“migrations.js”,“message”:“Migrations: Not migrating, already at version 169”,“time”:{”$date":1576787029958},“level”:“info”}
Loaded the Apps Framework and loaded a total of 0 Apps!
Using GridFS for custom sounds storage
Updating process.env.MAIL_URL
Using GridFS for custom emoji storage
➔ System ➔ startup
➔ ±--------------------------------------------------------+
➔ | SERVER RUNNING |
➔ ±--------------------------------------------------------+
➔ | |
➔ | Rocket.Chat Version: 2.3.2 |
➔ | NodeJS Version: 8.16.2 - x64 |
➔ | MongoDB Version: 4.0.14 |
➔ | MongoDB Engine: mmapv1 |
➔ | Platform: linux |
➔ | Process Port: 3000 |
➔ | Site URL: http://192.168.10.253/rocketchat1 |
➔ | ReplicaSet OpLog: Enabled |
➔ | Commit Hash: ffb478f88f |
➔ | Commit Branch: HEAD |
➔ | |
➔ ±--------------------------------------------------------+
Exception in setInterval callback: { MongoError: not master
at /app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb-core/lib/connection/pool.js:581:63
at authenticateStragglers (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb-core/lib/connection/pool.js:504:16)
at Connection.messageHandler (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb-core/lib/connection/pool.js:540:5)
at emitMessageHandler (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb-core/lib/connection/connection.js:310:10)
at Socket. (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb-core/lib/connection/connection.js:453:17)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
at readableAddChunk (stream_readable.js:250:11)
at Socket.Readable.push (stream_readable.js:208:10)
at TCP.onread (net.js:601:20)
operationTime: Timestamp { bsontype: ‘Timestamp’, low: 1, high
: 1576792857 },
ok: 0,
errmsg: ‘not master’,
code: 10107,
codeName: ‘NotMaster’,
’$clusterTime’:
{ clusterTime: Timestamp { bsontype: ‘Timestamp’, low: 1, high
: 1576792857 },
signature: { hash: [Object], keyId: 0 } },
name: ‘MongoError’,
[Symbol(mongoErrorContextSymbol)]: {} }
/app/bundle/programs/server/node_modules/fibers/future.js:313
Tried 1 times. Waiting 5 secs…
throw(ex);
^

MongoNetworkError: failed to connect to server [mongo:27017] on first connect [MongoNetworkError: connect ECONNREFUSED 172.19.0.3:27017]
at Pool. (/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. (/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. (/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:73:8)
at _combinedTickCallback (internal/process/next_tick.js:139:11)
at process._tickCallback (internal/process/next_tick.js:181:9)
LocalStore: store created at
LocalStore: store created at
LocalStore: store created at
LocalStore: store created at
LocalStore: store created at
LocalStore: store created at
Setting default file store to GridFS
The publication “livechat:visitorInfo” is deprecated and will be removed after version v3.0.0
The publication “personalAccessTokens” is deprecated and will be removed after version v3.0.0
{“line”:“120”,“file”:“migrations.js”,“message”:“Migrations: Not migrating, already at version 169”,“time”:{"$date":1576793067719},“level”:“info”}
Loaded the Apps Framework and loaded a total of 0 Apps!
Using GridFS for custom sounds storage
Using GridFS for custom emoji storage
Updating process.env.MAIL_URL
➔ System ➔ startup
➔ ±--------------------------------------------------------+
➔ | SERVER RUNNING |
➔ ±--------------------------------------------------------+
➔ | |
➔ | Rocket.Chat Version: 2.3.2 |
➔ | NodeJS Version: 8.16.2 - x64 |
➔ | MongoDB Version: 4.0.14 |
➔ | MongoDB Engine: mmapv1 |
➔ | Platform: linux |
➔ | Process Port: 3000 |
➔ | Site URL: http://192.168.10.253/rocketchat1 |
➔ | ReplicaSet OpLog: Enabled |
➔ | Commit Hash: ffb478f88f |
➔ | Commit Branch: HEAD |
➔ | |
➔ ±--------------------------------------------------------+
Exception in setInterval callback: { MongoError: not master
at /app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb-core/lib/connection/pool.js:581:63
at authenticateStragglers (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb-core/lib/connection/pool.js:504:16)
at Connection.messageHandler (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb-core/lib/connection/pool.js:540:5)
at emitMessageHandler (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb-core/lib/connection/connection.js:310:10)
at Socket. (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb-core/lib/connection/connection.js:453:17)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
at readableAddChunk (stream_readable.js:250:11)
at Socket.Readable.push (stream_readable.js:208:10)
at TCP.onread (net.js:601:20)
operationTime: Timestamp { bsontype: ‘Timestamp’, low: 1, high
: 1576796095 },
ok: 0,
errmsg: ‘not master’,
code: 10107,
codeName: ‘NotMaster’,
’$clusterTime’:
{ clusterTime: Timestamp { bsontype: ‘Timestamp’, low: 1, high
: 1576796095 },
signature: { hash: [Object], keyId: 0 } },
name: ‘MongoError’,
[Symbol(mongoErrorContextSymbol)]: {} }
LocalStore: store created at
LocalStore: store created at
LocalStore: store created at
LocalStore: store created at
LocalStore: store created at
LocalStore: store created at
Setting default file store to GridFS
The publication “livechat:visitorInfo” is deprecated and will be removed after version v3.0.0
The publication “personalAccessTokens” is deprecated and will be removed after version v3.0.0
{“line”:“120”,“file”:“migrations.js”,“message”:“Migrations: Not migrating, already at version 169”,“time”:{"$date":1576796398927},“level”:“info”}
Loaded the Apps Framework and loaded a total of 0 Apps!
Updating process.env.MAIL_URL
Using GridFS for custom sounds storage
Using GridFS for custom emoji storage
➔ System ➔ startup
➔ ±--------------------------------------------------------+
➔ | SERVER RUNNING |
➔ ±--------------------------------------------------------+
➔ | |
➔ | Rocket.Chat Version: 2.3.2 |
➔ | NodeJS Version: 8.16.2 - x64 |
➔ | MongoDB Version: 4.0.14 |
➔ | MongoDB Engine: mmapv1 |
➔ | Platform: linux |
➔ | Process Port: 3000 |
➔ | Site URL: http://192.168.10.253/rocketchat1 |
➔ | ReplicaSet OpLog: Enabled |
➔ | Commit Hash: ffb478f88f |
➔ | Commit Branch: HEAD |
➔ | |
➔ ±--------------------------------------------------------+
LocalStore: store created at
LocalStore: store created at
LocalStore: store created at
LocalStore: store created at
LocalStore: store created at
LocalStore: store created at
Setting default file store to GridFS
The publication “livechat:visitorInfo” is deprecated and will be removed after version v3.0.0
The publication “personalAccessTokens” is deprecated and will be removed after version v3.0.0
{“line”:“120”,“file”:“migrations.js”,“message”:“Migrations: Not migrating, already at version 169”,“time”:{"$date":1576880259449},“level”:“info”}
Loaded the Apps Framework and loaded a total of 0 Apps!
Updating process.env.MAIL_URL
Using GridFS for custom sounds storage
Using GridFS for custom emoji storage
➔ System ➔ startup
➔ ±--------------------------------------------------------+
➔ | SERVER RUNNING |
➔ ±--------------------------------------------------------+
➔ | |
➔ | Rocket.Chat Version: 2.3.2 |
➔ | NodeJS Version: 8.16.2 - x64 |
➔ | MongoDB Version: 4.0.14 |
➔ | MongoDB Engine: mmapv1 |
➔ | Platform: linux |
➔ | Process Port: 3000 |
➔ | Site URL: http://192.168.10.253/rocketchat1 |
➔ | ReplicaSet OpLog: Enabled |
➔ | Commit Hash: ffb478f88f |
➔ | Commit Branch: HEAD |
➔ | |
➔ ±--------------------------------------------------------+

Thank you for your support and I wish you a Merry Christmas!!!

Jaime Leon

9 days later

Hello Ralf
Happty New Year 2020 to all!!! Thanks for your help.

I was finally able to log into rocketchat from outside of egroupware following your recommendation to use the trailing slash. However, I still cannot access from inside egroupware. Here is the screenshot:

When I press the link button next to the rocketchat URL (in the egroupware rocketchat window) it does open a new window to rocketchat working normally. Inside egroupware there is no access. What should I do?

Regards,
Jaime Leon

Stefan,
Following up on my Egroupware/Rocketchat issues, I can access Rocketchat directly from the server at serverip/rocketchat, but I cannot access from within Egroupware. Following your recommendations, I have tried to go through the procedures listed in the Rocketchat integration page.

  1. I established the egroupware OpenID client for Rocketchat

image

  1. I created the oAuth custom configuration for Egroupware in the Rocketchat adminstration>oAuth

I do note that when trying our on my browser:
http://192.168.10.253/egroupware/openid/endpoint.php

I get a Page Not Found error:

  1. Also, when trying to enable Iframe integration in Rocketchat administration>General>Iframe integration, whenever I click on the enable button, the window just goes blank and nothing else happens. When I reload the page, the Iframe integration remains disabled.

Thanks for your help.

Jaime Leon

Ein paar Punkte zu Rocket.Chat:

  1. EGroupware antwortet von außen auf https://example.org/egroupware/
  2. Rocket.Chat antwortet von außen auf https://example.org/rocketchat/api/info4
  3. Rocket.Chat antwortet aus dem EGroupware Container
docker exec -it egroupware bash
apt update && apt install -y curl
curl -i  https://example.org/rocketchat/api/info
  1. EGroupware antwortet aus dem Rocket.Chat Container
docker exec -it egroupware-rocketchat bash
curl -i https://example.org/egroupware/openid/composer.json

https://example.org/egroupware/openid/endpoint.php gibt immer einen 404, da dahinter der entsprechende Endpoint z.B. “/access_token” fehlt!

Falls curl keine Antwort bekommt, liegt es an der Einstellung Deines Routers (Nat-Reflektion), das die externe Domain nicht von innen erreichbar ist. Das kann man entweder auf dem Route lösen, oder in der jeweiligen docker-compose.yml die docker0 IP für die externe Domain eintragen.

Falls curl einen SSL Fehler meldet, liegt es daran, das Dein Zertifikat im Container nicht akzeptiert wird. Dazu steht im jeweiligen docker-compose.yml, was man machen muss um z.B. ein self-signed Zertifikat in den Container einzubinden.

  1. Die EGroupware Konfiguration für Rocket.Chat sollte nach eintragen der URL keinen Fehler mehr melden und die Rocket.Chat App innerhalb EGroupware sollte Rocket.Chat bzw. dessen Installation anzeigen

  2. Jetzt kannst Du die Rocket.Chat Einrichtung beginnen und OAuth über EGroupware einrichten

Ralf

Just seen this reply is to the english forum, so my answer again in English:

A couple of point about Rocket.Chat:

  1. EGroupware answers external to https://example.org/egroupware/1
  2. Rocket.Chat answers external to https://example.org/rocketchat/api/info4
  3. Rocket.Chat answers to the EGroupware container
docker exec -it egroupware bash
apt update && apt install -y curl
curl -i  https://example.org/rocketchat/api/info
  1. EGroupware answers to the Rocket.Chat container
docker exec -it egroupware-rocketchat bash
curl -i https://example.org/egroupware/openid/composer.json

https://example.org/egroupware/openid/endpoint.php always gives a 404, as the endpoint e.g. “/access_token” is missing!

If curl gets no answer, it has usually to do with your router (Nat-Reflection), not allowing to access the external domain from inside. That can be solved either on the router, or in the docker-compose.yml by adding the docker0 IP for the external domain.

If curl reports an SSL error, the problem is your certificate not being accepted inside the container. The docker-compose.yml allows to set the CA of a self-signed certificate.

  1. The EGroupware config for Rocket.Chat should report no more error after adding the correct URL and the Rocket.Chat App inside EGroupware should display Rocket.Chat or it’s installation

  2. Now you can finish the Rocket.Chat setup and add OAuth authentication via EGroupware

Ralf