Install Zentyal

Hi all,

I test to install Zentyal using Docker but dpkg displays an error message during the configuration of packets :

aptitude install zentyal
The following partially installed packages will be configured:
  zentyal zentyal-core zentyal-software 
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Setting up zentyal-core (4.1) ...        
Use of uninitialized value in pattern match (m//) at /usr/share/perl5/EBox/Service.pm line 81.
dpkg: error processing package zentyal-core (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of zentyal-software:
 zentyal-software depends on zentyal-core (>= 4.1); however:
  Package zentyal-core is not configured yet.
 zentyal-software depends on zentyal-core (<< 4.2); however:
  Package zentyal-core is not configured yet.

dpkg: error processing package zentyal-software (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of zentyal:
 zentyal depends on zentyal-core; however:
  Package zentyal-core is not configured yet.
 zentyal depends on zentyal-software; however:
  Package zentyal-software is not configured yet.

dpkg: error processing package zentyal (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          No apport report written because the error message indicates its a followup error from a previous failure.
 Errors were encountered while processing:
 zentyal-core
 zentyal-software
 zentyal
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up zentyal-core (4.1) ...
Use of uninitialized value in pattern match (m//) at /usr/share/perl5/EBox/Service.pm line 81.
dpkg: error processing package zentyal-core (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of zentyal-software:
 zentyal-software depends on zentyal-core (>= 4.1); however:
  Package zentyal-core is not configured yet.
 zentyal-software depends on zentyal-core (<< 4.2); however:
  Package zentyal-core is not configured yet.

dpkg: error processing package zentyal-software (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of zentyal:
 zentyal depends on zentyal-core; however:
  Package zentyal-core is not configured yet.
 zentyal depends on zentyal-software; however:
  Package zentyal-software is not configured yet.

dpkg: error processing package zentyal (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 zentyal-core
 zentyal-software
 zentyal

You can download the image of my experiment on Docker Hub drekorig/zentyal4.
To install Zentyal I followed this guide.

Do you have any suggestions of what can prevent the installation of Zentyal on Docker ?

Thank you in advance for your help and sorry for my English.

1 Like

Do you really want to have it dockerized? It’s a complete gateway solution with dozen different and complex services. It’s definitely not a Docker way (One service - one container).

Thank you for your reply.
Yes, I want to use a single service mails from Zentyal.
You always think this is a poor use of Docker?
Should I use something else like Vagrant?

You might try contacting the guys on this project: https://github.com/openchange/docker

They appear to have at least parts of Zentyal working under Docker.

Drekoring,

do you have any update about Dokenizing Zentyal?