Ralf,
thanks, your help is very appreciated.
To have a clear log, I rebooted the system, logged in (still exclamation mark), opened rocket-chat via sidebar, and logged out. That’s the output:
/# docker-compose logs -f nginx 2>&1 | sed 's/PHP message/\nPHP message/g'
<...>
egroupware-nginx | 2020/02/05 08:45:03 [error] 6#6: *3 FastCGI sent in stderr: "
PHP message: PHP Warning: session_id(): Cannot change session id when session is active in /usr/share/egroupware/api/src/Session.php on line 547
PHP message: #1 /usr/share/egroupware/api/src/Session.php(547): session_id('obfuscated...')
PHP message: #2 /usr/share/egroupware/api/src/Header/Authenticate.php(109): EGroupware\Api\Session->create('team', 'obfuscated..', 'text', true)
PHP message: #3 [internal function]: EGroupware\Api\Header\Authenticate::autocreate_session_callback(NULL)
PHP message: #4 /usr/share/egroupware/api/src/Egw.php(303): call_user_func_array('EGroupware\\Api\\...', Array)
PHP message: #5 /usr/share/egroupware/api/src/Egw.php(199): EGroupware\Api\Egw->verify_session()
PHP message: #6 /usr/share/egroupware/api/src/Egw.php(64): EGroupware\Api\Egw->setup(Array, true)
PHP message: #7 /usr/share/egroupware/api/src/loader.php(117): EGroupware\Api\Egw->__construct(Array)
PHP message: #8 /var/lib/egroupware/header.inc.php(81): require_once('/usr/share/egro...')
PHP message: #9 /usr/share/egroupware/groupdav.php(36): include('/var/lib/egroup...')
PHP message: #10 {main}
PHP message: # Instance=default, User=, Request=REPORT http://192.168.192.2/egroupware/groupdav.php/calendar/, User-agent=vdirsyncer/0.16.2" while reading response header from upstream, client: 172.20.0.1, server: _, request: "REPORT /egroupware/groupdav.php/calendar/ HTTP/1.0", upstream: "fastcgi://172.20.0.2:9000", host: "192.168.192.2"
older log entries (days ago) show some repeating errors, which may be irrelevant by now. This repeats many times:
PHP message: # Instance=default, User=mabus, Request=POST http://192.168.192.2/egroupware/json.php?menuaction=api.EGroupware\Api\Json\Tail.ajax_chunk, User-agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36
PHP message: Ein Fehler ist aufgetreten. (EGroupware\Api\Exception\WrongParameter): Not allowed to view 'openid/request.log'!
PHP message: #0 [internal function]: EGroupware\Api\Json\Tail->ajax_chunk('openid/request....', 0)
PHP message: #1 /usr/share/egroupware/api/src/Json/Request.php(192): call_user_func_array(Array, Array)
PHP message: #2 /usr/share/egroupware/api/src/Json/Request.php(104): EGroupware\Api\Json\Request->handleRequest('api.EGroupware\\...', Array)
PHP message: #3 /usr/share/egroupware/json.php(125): EGroupware\Api\Json\Request->parseRequest('api.EGroupware\\...', '{"request":{"pa...')
PHP message: #4 {main}
docker-compose exec -it egroupware bash
I think you meant (and I’m just correcting it for other users who want to try it)
docker exec -it egroupware bash
The output was:
/# sudo docker exec -it egroupware bash
root@1387aa613321:/# curl -i http://192.168.192.2/rocketchat/api/info
HTTP/1.1 200 OK
Server: nginx/1.14.0 (Ubuntu)
Date: Wed, 05 Feb 2020 09:56:47 GMT
Content-Type: application/json
Transfer-Encoding: chunked
Connection: keep-alive
X-XSS-Protection: 1
X-Instance-ID: ..youKnowIliketoObfuscateIDs:-)..
Cache-Control: no-store
Pragma: no-cache
Vary: Accept-Encoding
{"version":"2.4.2","success":true}
I was unable to derive anything Rocket.Chat related from these logs, I still hope you can find a hint on what’s going wrong. Thanks.