Skip to content

Distribution specific instructions

StefanU edited this page Jun 21, 2023 · 11 revisions

Please read the general Installation instructions first, they are not repeated here again!

How to install EGroupware GmbH's EPL version

If you update or install EPL, you have to install the Community Edition first!

The update described below will remove the EPL packages, of cause leaving your data intact. To install the EPL source / run the EPL container you need your download.egroupware.org credentials and run the following command:

/etc/egroupware-docker/use-epl.sh

It will ask your EPL repo credentials, add them and the EPL image to your docker-compose.yml file and start the EPL container.

Ubuntu 22.04, 20.04, 18.04 & 16.04 or Debian 10/11/12

For new installations or updating from EPL you need to add our server:eGroupWare repo first:

echo 'deb http://download.opensuse.org/repositories/server:/eGroupWare/xUbuntu_20.04/ /' | sudo tee /etc/apt/sources.list.d/server:eGroupWare.list
sudo apt install gnupg # required, but not installed by apt-key add for Debian 10/11/12
wget -nv https://download.opensuse.org/repositories/server:eGroupWare/xUbuntu_20.04/Release.key -O - | sudo apt-key add - | sudo tee /etc/apt/trusted.gpg.d/server:eGroupWare.asc
sudo apt update

For Ubuntu 18.04 the docker.service must be enable manually to automatic start at system start: sudo systemctl enable docker.service

For Ubuntu 20.04, 18.04 or 16.04 please replace in the above instructions "xUbuntu_22.04" with "xUbuntu_20.04", "xUbuntu_18.04" or "xUbuntu_16.04", for Debian use "Debian_10", "Debian_11" or "Debian_12".

Then you need to run for new installations as well as upgrades from before 19.1 explicitly (apt upgrade alone is not sufficient!):

sudo apt-get install egroupware-docker

If you prefer to use Apache on the host for a new installation, you can do so by adding apache2 to the install command above. This is not supported for an upgrade!

Our Ubuntu package recommends Collabora Online Office, which mean they will be installed by default, unless you opt out by using --no-install-recommends in the above apt-get command. Of cause you can always deinstall them after testing, if you prefer to use something else.

Ubuntu 16.04 does not provide a docker-compose package/command, therefore we provide one in our repository.

Debian 9

Debian 9 does NOT contain a docker.io package. You can use Docker CE by following this instructions, or the short version here:

apt update
apt install apt-transport-https ca-certificates curl gnupg2 software-properties-common
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
apt update
apt install docker-ce
# due to known bug docker-ce wont start unless you reboot the maschine
reboot

Please verify that docker is running, after the reboot, our installation will not run without:

systemctl status docker

Now you can follow the Ubuntu/Debian instructions above using "Debian_9.0" instead of "xUbuntu_18.04".

Even as Debian 9 does not provide a docker package, it provides a too old docker-compose package/command, therefore we provide a current one in our repository.

openSUSE 15.4, 15.3, 15.2, 15.1 & 15.0 or SLES 15 & 12

If you have automatic updates enabled or run zypper update manually update to 20.1 will happen automatic!

For new installations or updating from EPL you need to add our server:eGroupWare repo first:

zypper addrepo https://download.opensuse.org/repositories/server:eGroupWare/openSUSE_Leap_15.4/server:eGroupWare.repo

For openSUSE 15.0, 15.1, 15.2 or 15.3 please replace in the above instructions "openSUSE_Leap_15.4" with "openSUSE_Leap_15.3", "openSUSE_Leap_15.2", "openSUSE_Leap_15.1" or "openSUSE_Leap_15.0", for SLES use "SLE_15" or "SLE_12".

Then you need to run for new installations or updating EPL:

zypper refresh
zypper install egroupware-docker

or to update an existing installation

zypper update

Our SUSE packages recommends Collabora Online Office, which mean they will be installed by default, unless you opt out by using --no-recommends in the above zypper command. Of cause you can always deinstall them after testing, if you prefer to use something else.

SLES does not provide a docker-compose package/command, therefore we provide one in our repository.

RHEL or CentOS 7

While existing RHEL/CentOS installations continue to work, we are NO LONGER RECOMMENDING RHEL/CentOS for EGroupware, due to the complex installation!

If you have automatic updates enabled or run yum update manually, the update to 21.1 will happen automatic!

RHEL/CentOS 7 have SELinux enabled by default, which stops Watchtower and/or MariaDB/MySQL socket bind-mounted into the container from working. You currently need to switch SELinux off in order to use EGroupware! To do so temporary run setenforce 0 to permanently switch it off edit /etc/sysconfig/selinux, set SELINUX=permissive and reboot (default CentOS 7 docker does NOT work, if setting it to disabled!).

RHEL/CentOS 7 has a firewall enabled by default which do NOT allow to access the webserver!

To enable http(s) access in the default firewall run the following commands:

firewall-cmd --add-service=http --permanent
firewall-cmd --add-service=https --permanent
firewall-cmd --reload

For new installations or updating from EPL you need to add our server:eGroupWare repo first:

cd /etc/yum.repos.d/
wget https://download.opensuse.org/repositories/server:eGroupWare/RHEL_7/server:eGroupWare.repo

Then you need to run for a new installations:

yum install docker egroupware-docker egroupware-collabora-key

or updating EPL from before 19.1:

yum install docker egroupware-docker

or to update an existing (non-EPL) installation:

yum install docker
yum update

RHEL/CentOS does not provide a docker-compose package/command, therefore we provide one in our repository.

RHEL/CentOS 7 only has a VirtualHost for SSL/https, therefore you need to use https:/// to access your new installation AND you can not use Chrome before installing a valid certificate!

RHEL or CentOS 8 / Rocky Linux 8

RHEL/CentOS 8/Rocky Linux 8 uses nftables instead of iptables, which does not work with current docker-ce. You need to configure firewalld to use iptables by editing /etc/firewalld/firewalld.conf:

#FirewallBackend=nftables
FirewallBackend=iptables
systemctl restart firewalld

RHEL/CentOS 8/Rocky Linux 8 has no docker package (it uses it's own replacement podman instead). To install docker-CE run the following commands

curl  https://download.docker.com/linux/centos/docker-ce.repo -o /etc/yum.repos.d/docker-ce.repo
yum install --nobest docker-ce
systemctl enable --now docker

Then you need to run for a new installations:

yum install egroupware-docker egroupware-collabora-key

Univention

EGroupware 20.1 is available via the Unvention App Center, thought there are a couple of requirements

  • UCS 4.4-2 is required
  • if the server was installed before UCS 4.3 and updated, you have to manually enable the memberOf overlay
  • if you use EGroupware on a slave, you need to use the ldap from the master (is set automatic for new installations)

PostgreSQL

EGroupware does NOT (yet) support PostgreSQL 12, you have to use version 11 or below!

Keep in mind, that you can NOT use localhost to address a service eg. PostgreSQL inside the container, as it does NOT refer to the host, but the container itself. You have to use the IP address of the host or the docker0 bridge AND make sure the service is not just bound to localhost!

While an update of a PostgreSQL instance works similar to MariaDB/MySQL, a new installation does not happen automatic!

  1. Edit /etc/egroupware-docker/docker-compose.override.yml, uncomment the environment section and add the following:
- EGW_SKIP_INSTALL=true
  1. remove the header.inc.php, so EGW_SKIP_INSTALL takes effect
rm -f /var/lib/egroupware/header.inc.php
  1. start the containers as usual with: docker-compose up -d
  2. Go to http://example.org/egroupware/setup/ and do a manual installation
Clone this wiki locally