1 / 12
Jul 2021

Hi, I’m sorry, but I cannot write in german. I found this thread (only in german) but I don’t understand how do you resolve this issue. I have the same problem with this installation.
Debian 10
eGroupware 21.1
Rocket.Chat Version: 3.14.5
NodeJS Version: 12.22.1 - x64
MongoDB Version: 4.0.25
MongoDB Engine: mmapv1

I try to resolve the issue with this workaround https://github.com/RocketChat/Rocket.Chat/issues/1872910, so I can login with the admin user, but at the second step (page 2 of the wizard) the page blink ever and it’s impossible to write.

rocketchat_blink

Danke.

  • created

    Jul '21
  • last reply

    Aug '21
  • 11

    replies

  • 2.9k

    views

  • 2

    users

  • 17

    links

Hi O.

We have seen this before. But I don’t know now if/how the problem could be solved.

Here is also a topic in German about it:

Questions I asked there:
What do the logfiles of the reverse proxy, EGroupware-nginx, RC mean?
I like to install dockly for this…:

Is there anything in the web browser console?

Stefan

Link to the old thread where I originally reply: Rocketchat nur wild blinkendes Bild

Thank you for reply.

I read also the german thread: yesterday I removed (apt purge) rocketchat, delete the folders created in /etc e /var/lib, delete the volume created by rocket chat (docker volume rm egroupware-rocketchat_mongo) and also did a “docker system prune” and a “docker volume rm $(docker volume ls -qf dangling=true)”.
With a clean installation (apt install egroupware-docker + HTTP_HOST=myhost /etc/egroupware-rocketchat/install.sh) https://mydomain/rocketchat is active (in lan and in internet) but the problem reappears (with any browser firefox chrome and any SO Linux, Android, Windows).

The database of eGroupware is not in a container, but seems the installation logs don’t report error with this configuration.

Here the active container:
docker container ls
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
2487d76be4d9 quay.io/egroupware/rocket.chat:stable “docker-entrypoint.s…” 18 hours ago Up 39 seconds 127.0.0.1:3000->3000/tcp rocketchat
1b5e9a5a8c99 mongo:4.0 “docker-entrypoint.s…” 18 hours ago Up 42 seconds 27017/tcp rocketchat-mongo
9217d1961a30 collabora/code:latest “/bin/sh -c 'bash st…” 37 hours ago Up 21 hours 127.0.0.1:9980->9980/tcp collabora-key
df84c33c55bb nginx:stable-alpine “/docker-entrypoint.…” 5 days ago Up 21 hours 127.0.0.1:8080->80/tcp egroupware-nginx
e5ccb5e9fe24 phpswoole/swoole:4.6-php7.4-alpine “docker-php-entrypoi…” 5 days ago Up 21 hours egroupware-push
503caa74a300 containrrr/watchtower “/watchtower --sched…” 5 days ago Up 21 hours 8080/tcp egroupware-watchtower
a83fd812a898 egroupware/egroupware:21.1 “/entrypoint.sh php-…” 5 days ago Up 21 hours 9000/tcp egroupware

Later I send the requested logs.

The configuration log

rocketchat.txt2 (72,1 KB)

where there are a couple of warnings:

  • LocalStore: cannot set store permissions 0744 (EPERM: operation not permitted, chmod ‘/app/uploads’)
  • (node:10) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.

I upgrade RC to the 3.15.3 revision
https://hub.docker.com/r/rocketchat/rocket.chat/tags?page=1&ordering=last_updated4

with this instructions

and the page don’t flash. As soon as I completed the setup I’ll send another reply.

I always write these instructions in German and English:

I had followed up on the topic here and we also tried Rocket.Chat’s latest container (3.16.2).
But the other one now has authentication problems.

Because Rocket.Chat releases updates very often, we decided to offer the containers ourselves some time ago. This way we wanted to have a bit more control. We (all) often had problems with updates and try to keep stable versions longer.

Which versions have you tried?

Stefan

I tested the 3.15.3 versions and the installation, admin login and setup wizzard gone all right.
The admin user login regulary with username and password.
I also setup all the option requested here:


and here

but I still have an issue when direct login the RC link in eGroupware, with the oauth autenticated users: it open the iframe of RC, but can’t login (the page continuously reload).

I find this error message in the RC log:
I20210709-17:32:02.523(0) Exception while invoking method ‘login’ Error: Failed to complete OAuth handshake with egroupware at https://myurl/egroupware/openid/endpoint.php/access_token. failed [401] {“error”:“invalid_client”,“error_description”:“Client authentication failed”,“message”:“Client authentication failed”} at CustomOAuth.getAccessToken (app/custom-oauth/server/custom_oauth_server.js:148:18) at Object.handleOauthRequest (app/custom-oauth/server/custom_oauth_server.js:205:26) at OAuth._requestHandlers. (packages/oauth2/oauth2_server.js:10:33) at middleware (packages/oauth/oauth_server.js:170:5) at /app/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40

Maybe the setup of oAuth is different in this version (there is some additional information in the module setup): maybe I find a solution tomorrow.

Thank you very much Stefan and thanks to all the developers for the fantastic project.

21 days later

Unfortunately I did not found the solution. The setup gone all right with the default options (just copy the Egroupware oAuth secret and users accounts get loaded), but when a user try to open the Rocket Chat tab in eGroupware, he can’t login: the frame continous reload. iframe setting are correctly setted.
Only the admin user can login, but only using the external url https://mydomain/rocketchat/ and manualy insert user credentials.

I tried with Firefox and Chrome, either in windows, linux (only firefox) and android. The users was automaticaly added as user in rocketchat, we have a green dot in the right users bar, but if you try to send a message to another user, you cannot open the frame (iframe options are setted up). There is a login problem in open-id. See the below log.
We use a TWO FACTOR login, maybe it’s helpful.

We have identical configuration.

Here attached some log from open-id:

  • EGroupware version: 21.1.20210723 docker setup
  • RocketChat version: 3.15.3 docker setup

rocketchat_log.txt1 (6,0 KB)

Thank you.