I tried to install EGroupware (again) today on 5.0.7 but failed.
The installation from the appcenter ran without apparent errors, however the join script 50egroupware.inst produced an error.
Digging into tail -f /var/lib/egroupware/egroupware-docker-install.log showed:
/usr/bin/php8.2 -d memory_limit=-1 /usr/share/egroupware/setup/setup-cli.php --setup-cmd-database sub_command=create_db 'domain=default' 'db_type=mysqli' 'db_host=172.17.42.1' 'db_port=3306' 'db_name=egroupware' 'db_user=egroupware' 'db_pass=XXXXXXXXX' 'db_root=root' 'db_root_pw=' 'db_grant_host=localhost'
Kann nicht zur mysqli Datenbank mysql auf Rechner 172.17.42.1:3306 als Benutzer root verbinden! (ADOdb::Connect(172.17.42.1:3306, root, $Password, mysql) failed.) (100)
/usr/share/egroupware/setup/inc/class.setup_cmd_database.inc.php (158)
Installation failed --> exiting!
After severl retries using backup server role, updates, etc, I found the solution to be simple. For some reason, the mysql port 3306 is not opened on the host for network connections, so the docker container can not connect.
On the host I executed “ucr set security/packetfilter/tcp/3306/172.16.1.2=ACCEPT” to permit only the docker container IP to connect.
UPDATE: maybe I have some bigger problem that I can not understand so far. After the “successful” install, I can log in as admin, but the GUI does not load properly. Error in the gui:
Ein Fehler ist aufgetreten.
Attempt to assign property "client_debug" on null
/usr/share/egroupware/vendor/egroupware/imap-client/lib/Horde/Imap/Client/Socket.php (4386)
There is no other docker app installed on this server and the docker subnet is not the same as Lan, so I do NOT think this relates to UCS 4.4-3 errata 413 - EGroupware Proxy error
Also, I compared this new install with a test I have made before, installing EGroupware on a single (primary) univention (some 5.0.x version). The install worked there without any problem and without any firewall exceptions.
In the domain, there is a kopano installation currently running. EGroupware should replace kopano.
Any help would be very welcome.