13 / 13
Sep 2019

We have running egw 1.8 sites need to migrate to 19.1.

first trying to install latest egw 19.1 for centos 7 (64 bit) vm, but getting following dependancy errors, tried to install the same packages still not getting resolved. Please help.


Error: Package: docker-compose-1.24.0-1.1.x86_64 (server_eGroupWare)
Requires: docker >= 18.06.1
Error: Package: egroupware-docker-19.1.20190822-1.1.noarch (server_eGroupWare)
Requires: docker >= 1.12

That error means the docker version available on CentOS 7 (1.13.1 at the moment) is older then the one required by our docker-compose package (>= 18.06.1).

I need to look into our docker-compose package, if we need >=18.06.1 - probably, as I think I did not make up the number ;). Maybe we can provide an older docker-compose, which supports the docker version in CentOS and the features (docker-compose file-format v3) we need.

One thing you can try right away is to install Docker-CE:

If (!) that provides “docker”, you should be able to continue with our installation.

I will look into CentOS 7 again, for our next maintenance release expected for this week.

Ralf

Tried to install docker, but somehow not able to resolve dependancy issues.


yum list installed | grep docker
containerd.io.x86_64 1.2.6-3.3.el7 @docker-ce-stable
docker-ce.x86_64 18.06.1.ce-3.el7 @docker-ce-stable

yum install egroupware-docker

Error: docker-ce-cli conflicts with 2:docker-1.13.1-102.git7f2769b.el7.centos.x86_64
Error: docker-ce conflicts with 2:docker-1.13.1-102.git7f2769b.el7.centos.x86_64


Thank you.

That’s not a dependency issue!

You can only install one docker package: either docker or docker-ce, not both.

Either remove (regular) docker before, or use yum shell to replace docker with docker-ce, without removing depending packages:

yum shell
remove docker
install docker-ce
run

Ralf

Exactly do not know how but i did following things to install egroupware-docker

1-removed docker
2-enabled centos-extra repo
3-tried to install egroupware again

Installed:
egroupware-docker.noarch 0:19.1.20190822-1.1

Dependency Installed:
atomic-registries.x86_64 1:1.22.1-26.gitb507039.el7.centos
container-storage-setup.noarch 0:0.11.0-2.git5eaf76c.el7
containers-common.x86_64 1:0.1.37-1.el7.centos
docker.x86_64 2:1.13.1-102.git7f2769b.el7.centos
docker-client.x86_64 2:1.13.1-102.git7f2769b.el7.centos
docker-common.x86_64 2:1.13.1-102.git7f2769b.el7.centos
docker-compose.x86_64 0:1.24.0-1.1
oci-register-machine.x86_64 1:0-6.git2b44233.el7
oci-systemd-hook.x86_64 1:0.2.0-1.git05e6923.el7_6
oci-umount.x86_64 2:2.5-1.el7_6
python-backports.x86_64 0:1.0-8.el7
python-backports-ssl_match_hostname.noarch 0:3.5.0.1-1.el7
python-ipaddress.noarch 0:1.0.16-2.el7
python-pytoml.noarch 0:0.1.14-1.git7dea353.el7
python-setuptools.noarch 0:0.9.8-7.el7
subscription-manager-rhsm-certificates.x86_64 0:1.21.10-3.el7.centos

Complete!

useful link:https://docs.docker.com/install/linux/docker-ce/centos/3

Many thanks.

Hi shri,

I tested it, too. The centos-extra repo is activated in a standard installation from a CentOS-7-x86_64-Minimal-1810.iso. I was able to install egroupware-docker this way.

Stefan

But now finding it difficult to continue,

is there any step by step guidelines for egw 19.1 community setup?

I am new to docker, please guide.

There can be no step-by-step instructions. It always depends on what you need to do.

Can you log on to your newly installed EGroupware?

If egroupware is running, you have nothing to do with Docker for now.

Have you read this?:
https://help.egroupware.org/t/de-uk-zwei-anleitungen-zur-installation-und-konfiguration-two-howtos-for-installation-and-configuration/73840/2

Stefan

Understood , i thought there might be a steep learning curve due to docker.

Yes i am able to login, its same egroupware.

Trying to migrate old db.

Many Many Thanks.

may be a silly question, but can you please guide what is the usage of egroupware-nginx docker container?

i am confused, because i am using apache server , how this egw-nginx container is working with the current setup?

I fixed the requirements of our docker-compose package to be able to install under CentOS/RHEL 7.

So no more extra Docker-CE installation necessary - thought it does not hurt if you done it :wink:

Ralf

Thanks alot,

but could docker was not my cup of tea, could not continue with it instead i used git and composer, egroupware installation was smooth as always.

Hi shri.

I have testet the installation with actually 19.1.29190917 (standard: apache as reverse-proxy, MariaDB) on CentOS 7.1810 minimal. Works perfect.
But it is absolutely necessary to follow the (installation) instructions:


CentOS is a bit more complicated than for example Debian (my favorite).


I have simplified this in the graphics a bit, so that it is generally better to understand:

EGroupware runs in the Docker-install on an Nginx-server (as described in the text). That’s why the Nginx container. Your Apache is configured as reverse-proxy.

I understand that. I also have to learn something new in Docker. It’s also not my world yet (My cup of coffee :slight_smile: )
The installation should now also work on CentOS. Unfortunately nobody agreed to test the installation under CentOS after our call for the beta test. And we don’t manage to test everything in detail. CentOS/RHEL are only used by a few and that is a bit special. But you don’t have to fight with EPEL/PHP anymore for that with Docker :slight_smile:

But that’s the way to distibute applications today. You will hardly be able to avoid it in the long run.
But you need very little Docker know-how for the EGw-Docker installation. We will (have to) document even more.

Regards
Stefan