1 / 24
Nov 2023

Hello,

I have installed Egroupware through with this :
egroupware-docker-23.1.20231110.tar.gz

I have it up and running on hxxps://myegroupwaredomain/egroupware

I have installed rocketchat with docker following this tutorial hxxps://docs.rocket.chat/deploy/deploy-rocket.chat/deploy-with-docker-and-docker-compose
It is up and running on hxxps://myrocketchatdomain/

I want to integrate rocket.chat in egroupware.
I followed both those tutorials :
hxxps://github.com/EGroupware/egroupware/wiki/Rocket.Chat
hxxps://github.com/EGroupware/egroupware/wiki/Rocket.Chat-Integration

I see this message on the rocketchat app of egroupware!
Status:Successful connected, Rcket.Chat version: .

When I try
HTTP_HOST=myegroupwaredomain /etc/egroupware-rocketchat/install-rocketchat.sh
I get :
Error response from daemon: No such container: egroupware

So, back to the rocket.chat app in egroupware, in chrome console I see errors like -->

Failed to read a named property ‘document’ from ‘Window’: Blocked a frame with origin

What should I do?

  • created

    Nov '23
  • last reply

    Nov '23
  • 23

    replies

  • 2.2k

    views

  • 3

    users

  • 18

    links

Why did you install EGroupware with a tar file and Rocket.Chat via container?

Follow the default installation and install both via container.

Ralf

why is it written “docker” in the tar file if it’s not the docker installation? :confused:

If you could just give the link to the right instructions page I need to follow it would be helpful.

Sorry but I need more help.
I have done :
sudo apt install egroupware-docker

Now I have all those containers running :
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
55c0cabf60ab nginx:stable-alpine “/docker-entrypoint.…” 3 hours ago Up 3 hours 127.0.0.1:8080->80/tcp egroupware-nginx
5b271b964b69 phpswoole/swoole:5.0-php8.1-alpine “docker-php-entrypoi…” 3 hours ago Up 3 hours egroupware-push
7315e44b8194 containrrr/watchtower:latest “/watchtower --sched…” 3 hours ago Up 3 hours (healthy) 8080/tcp egroupware-watchtower
70283454efe0 egroupware/egroupware:23.1 “/entrypoint.sh php-…” 3 hours ago Up 3 hours 9000/tcp egroupware
a2e1b9ca10fd mariadb:10.6 “docker-entrypoint.s…” 3 hours ago Up 3 hours 3306/tcp egroupware-db
532a647fe29d quay.io/egroupware/collabora-key:stable “/start-collabora-on…” 3 hours ago Up 3 hours 127.0.0.1:9980->9980/tcp collabora-key
cb4164764167 registry.rocket.chat/rocketchat/rocket.chat:6.4.7 “docker-entrypoint.s…” 2 days ago Up 2 days 0.0.0.0:3000->3000/tcp rocketchat-rocketchat-1
ec06bd65e380 bitnami/mongodb:5.0 “/opt/bitnami/script…” 2 days ago Up 2 days 27017/tcp rocketchat-mongodb-1

And now, how do I access it through a browser?
When I navigate to http(s)://your.host-or-ip/egroupware/setup/ (replacing “your.host-or-ip”) I get a 404

when I looked at the logs for the egroupware container (using docker logs 70283454efe0) this is my I got :

You can log into EGroupware by pointing your browser to http://localhost/egroupware/
Please replace localhost with the appropriate hostname, if you connect remote.

But I when I navigate to it with my server’s IP address, I also get a 404

or

Why /setup ?


Firewall?
Other websites/Reverse proxy on your server?

Please provide more Information about your serve (installation).

Stefan

yes, indeed, on the same server. Everybody is using it at the moment so I don’t want to take it down.

I am using Plesk to manage my domains.

I have one domain name mydomain.com, so my current egroupware installation is here :
/var/www/vhosts/mydomain.com/httpdocs/egroupware

ls -la
total 1324
drwxr-xr-x 41 eg_user psacln 4096 nov. 24 14:24 .
drwxr-x— 3 eg_user psaserv 4096 nov. 22 18:23 …
-rw-r–r-- 1 eg_user psacln 659 nov. 22 18:23 about.php
drwxr-xr-x 6 eg_user psacln 4096 nov. 22 18:23 activesync
drwxr-xr-x 9 eg_user psacln 4096 nov. 22 18:23 addressbook
drwxr-xr-x 9 eg_user psacln 4096 nov. 22 18:23 admin
drwxr-xr-x 10 eg_user psacln 4096 nov. 22 18:23 api
drwxr-xr-x 8 eg_user psacln 4096 nov. 22 18:23 bookmarks
drwxr-xr-x 9 eg_user psacln 4096 nov. 22 18:23 calendar
drwxr-xr-x 2 eg_user psacln 4096 nov. 22 18:23 chunks
drwxr-xr-x 8 eg_user psacln 4096 nov. 22 18:23 collabora
-rw-r–r-- 1 eg_user psacln 4670 nov. 22 18:23 composer.json
-rw-r–r-- 1 eg_user psacln 447731 nov. 22 18:23 composer.lock
drwxr-xr-x 9 eg_user psacln 4096 nov. 22 18:23 doc
-rw-r–r-- 1 eg_user psacln 16 nov. 22 18:23 egwgestion_2023-11-17_17-11-43.sql
drwxr-xr-x 3 eg_user psacln 4096 nov. 22 18:23 emailadmin
drwxr-xr-x 8 eg_user psacln 4096 nov. 22 18:23 filemanager
drwxr-xr-x 2 eg_user psacln 4096 nov. 22 18:23 files
-rwxr-xr-x 1 eg_user psacln 1242 nov. 22 18:23 groupdav.htaccess
-rw-r–r-- 1 eg_user psacln 1839 nov. 22 18:23 groupdav.php
-rw-r–r-- 1 eg_user psacln 4411 nov. 22 18:23 Gruntfile.js
-rw-r–r-- 1 eg_user psacln 3578 nov. 22 18:28 header.inc.php
-rw-r–r-- 1 eg_user psacln 3536 nov. 22 18:23 header.inc.php.template
drwxr-xr-x 8 eg_user psacln 4096 nov. 22 18:23 home
-rw-r–r-- 1 eg_user psacln 1508 nov. 22 18:48 .htaccess
drwxr-xr-x 4 eg_user psacln 4096 nov. 22 18:23 .idea
drwxr-xr-x 8 eg_user psacln 4096 nov. 22 18:23 importexport
-rwxr-xr-x 1 eg_user psacln 4540 nov. 22 18:23 index.php
drwxr-xr-x 8 eg_user psacln 4096 nov. 22 18:23 infolog
-rwxr-xr-x 1 eg_user psacln 12602 nov. 22 18:23 install-cli.php
drwxr-xr-x 3 eg_user psacln 4096 nov. 22 18:23 jdots
-rw-r–r-- 1 eg_user psacln 5248 nov. 22 18:23 json.php
-rw-r–r-- 1 eg_user psacln 15333 nov. 22 18:23 LICENSE.md
-rwxr-xr-x 1 eg_user psacln 11692 nov. 22 18:23 login.php
-rwxr-xr-x 1 eg_user psacln 2888 nov. 22 18:23 logout.php
drwxr-xr-x 8 eg_user psacln 4096 nov. 22 18:23 mail
-rw-r–r-- 1 eg_user psacln 769 nov. 22 18:23 manifest.json
-rwxr-xr-x 1 eg_user psacln 727 nov. 22 18:23 move-images
drwxr-xr-x 10 eg_user psacln 4096 nov. 22 18:23 news_admin
drwxr-xr-x 390 eg_user psacln 12288 nov. 22 18:23 node_modules
drwxr-xr-x 8 eg_user psacln 4096 nov. 22 18:23 notifications
drwxr-xr-x 6 eg_user psacln 4096 nov. 22 18:23 openid
-rw-r–r-- 1 eg_user psacln 2177 nov. 22 18:23 package.json
-rw-r–r-- 1 eg_user psacln 547869 nov. 22 18:23 package-lock.json
drwxr-xr-x 9 eg_user psacln 4096 nov. 22 18:23 phpbrain
drwxr-xr-x 12 eg_user psacln 4096 nov. 22 18:23 phpgwapi
drwxr-xr-x 11 eg_user psacln 4096 nov. 22 18:23 pixelegg
drwxr-xr-x 9 eg_user psacln 4096 nov. 22 18:23 preferences
drwxr-xr-x 7 eg_user psacln 4096 nov. 22 18:23 projectmanager
-rw-r–r-- 1 eg_user psacln 3165 nov. 22 18:23 README.md
-rw-r–r-- 1 eg_user psacln 2244 nov. 22 18:23 redirect.php
drwxr-xr-x 8 eg_user psacln 4096 nov. 22 18:23 registration
-rw-r–r-- 1 eg_user psacln 3311 nov. 22 18:23 remote.php
drwxr-xr-x 8 eg_user psacln 4096 nov. 22 18:23 resources
drwxr-xr-x 6 eg_user psacln 4096 nov. 24 14:40 rocket.chat
drwxr-xr-x 9 eg_user psacln 4096 nov. 24 15:23 rocketchat
-rw-r–r-- 1 eg_user psacln 6914 nov. 22 18:23 rollup.config.js
drwxr-xr-x 7 eg_user psacln 4096 nov. 22 18:23 saml
-rw-r–r-- 1 eg_user psacln 336 nov. 22 18:23 SECURITY.md
-rw-r–r-- 1 eg_user psacln 442 nov. 22 18:23 service-worker.js
drwxr-xr-x 6 eg_user psacln 4096 nov. 22 18:23 setup
-rw-r–r-- 1 eg_user psacln 1031 nov. 22 18:23 share.php
drwxr-xr-x 9 eg_user psacln 4096 nov. 22 18:23 smallpart
drwxr-xr-x 8 eg_user psacln 4096 nov. 22 18:23 status
-rw-r–r-- 1 eg_user psacln 994 nov. 22 18:23 status.php
drwxr-xr-x 6 eg_user psacln 4096 nov. 22 18:23 swoolepush
drwxr-xr-x 8 eg_user psacln 4096 nov. 22 18:23 timesheet
drwxr-xr-x 8 eg_user psacln 4096 nov. 22 18:23 tracker
-rw-r–r-- 1 eg_user psacln 3816 nov. 22 18:23 .travis.yml
-rw-r–r-- 1 eg_user psacln 548 nov. 22 18:23 tsconfig.json
-rwxr-xr-x 1 eg_user psacln 4020 nov. 22 18:23 updateGruntfile.php
drwxr-xr-x 46 eg_user psacln 4096 nov. 22 18:23 vendor
-rw-r–r-- 1 eg_user psacln 2918 nov. 22 18:23 webdav.php
-rw-r–r-- 1 eg_user psacln 1581 nov. 22 18:23 web-test-runner.config.mjs

Do I need to delete all this and replace it by the folder egroupware-docker/ ?

Mit Plesk hast Du Dir die mit Abstand komplizierteste Installation ausgesucht :wink:

EGroupware läuft ja im Container, d.h. es gibt keine Verzeichnis mit den PHP Dateien wie bei Deiner ersten Installation. Statt dessen musst Du Plesk dazu bringen, die ausgewählte Domain in die (Mehrzahl!) Container zu proxyen. EGroupware liefert dazu für Apache und Nginx entsprechende vHost / Konfig-Files mit, die musst Du “nur” bei Plesk einbinden. Ich verweise mal auf einen anderen Thread:

Ralf

oh my God I don’t speak German I’m sorry x)
I don’t understand anything

well everything was working fine before trying to re-install it in a container…

Is there really no way to integrate rocket.chat if egroupware is not running in a container?

Hello! I don’t what happened during the night, now I have this message :

api/src/Egw.php (117)
Database error
Connection with ADOdb::PConnect(db:3306, egroupware, $Password, egroupware) failed.

Maybe you not created a database for EGroupware yet. (999)

Run setup to install or configure EGroupware.

But my database name was always (from header.inc.php):
‘db_host’ => ‘localhost’,
‘db_port’ => ‘3306’,
‘db_name’ => ‘egwgestion2’,

So what is going on here???