Author Topic: Problem when install Sogo [ Zentyal 7 Comercial Edition ]  (Read 276 times)

Gilberto Ferreira

  • Zen Hero
  • *****
  • Posts: 515
  • Karma: +12/-1
    • View Profile
Problem when install Sogo [ Zentyal 7 Comercial Edition ]
« on: August 09, 2021, 07:11:33 pm »
Hi there

I had a problem here, when install Sogo.
After installed all modules, I notice a message indicate that was need to run dpkg --configure -a in Linux console.
So I opned a ssh session and ran the above command.
But I get a lot o errors such as:
sudo  dpkg --configure -a
[sudo] password for administrador:
Configurando sogo:amd64 (5.0.1.20201214-1) ...
======= Important SOGo post-installation note =======

SOGo database schemas are _not_ automatically upgraded by
the packaging system.

Please check the list of database schema upgrade scripts
inside /usr/share/doc/sogo/ and apply them if needed.

More details can be found in the Upgrading section:
https://sogo.nu/files/docs/SOGoInstallationGuide.html#_upgrading

apache2_invoke: Enable configuration SOGo
apache2_reload: Your configuration is broken. Not reloading Apache 2
apache2_reload: AH00526: Syntax error on line 47 of /etc/apache2/conf-enabled/SOGo.conf:
apache2_reload: Invalid command 'ProxyRequests', perhaps misspelled or defined by a module not included in the server configuration
Job for sogo.service failed because the control process exited with error code.
See "systemctl status sogo.service" and "journalctl -xe" for details.
invoke-rc.d: initscript sogo, action "start" failed.
● sogo.service - LSB: SOGo server
     Loaded: loaded (/etc/init.d/sogo; generated)
     Active: failed (Result: exit-code) since Mon 2021-08-09 13:41:49 -03; 27ms ago
       Docs: man:systemd-sysv-generator(8)
    Process: 69909 ExecStart=/etc/init.d/sogo start (code=exited, status=1/FAILURE)

ago 09 13:41:48 srv01 systemd[1]: Starting LSB: SOGo server...
ago 09 13:41:49 srv01 sogo[69909]:  * Starting SOGo sogo
ago 09 13:41:49 srv01 sogo[69989]: /usr/sbin/sogod: Uncaught exception NSInvalidArgumentException, reason: Tried to add nil to array
ago 09 13:41:49 srv01 sogo[69990]: chown: cannot access '/var/run/sogo/sogo.pid': No such file or directory
ago 09 13:41:49 srv01 systemd[1]: sogo.service: Control process exited, code=exited, status=1/FAILURE
ago 09 13:41:49 srv01 systemd[1]: sogo.service: Failed with result 'exit-code'.
ago 09 13:41:49 srv01 systemd[1]: Failed to start LSB: SOGo server.
dpkg: erro ao processar o pacote sogo:amd64 (--configure):
 o subprocesso instalado, do pacote sogo:amd64, o script post-installation retornou erro do status de saída 1
dpkg: problemas com dependências impedem a configuração de zentyal-sogo:
 zentyal-sogo depende de sogo (>= 5.0.1); porém:
  Pacote sogo:amd64 não está configurado ainda.

dpkg: erro ao processar o pacote zentyal-sogo (--configure):
 problemas de dependência - deixando desconfigurado
dpkg: problemas com dependências impedem a configuração de zentyal-groupware:
 zentyal-groupware depende de zentyal-sogo; porém:
  Pacote zentyal-sogo não está configurado ainda.

dpkg: erro ao processar o pacote zentyal-groupware (--configure):
 problemas de dependência - deixando desconfigurado
dpkg: problemas com dependências impedem a configuração de sogo-activesync:
 sogo-activesync depende de sogo (= 5.0.1.20201214-1); porém:
  Pacote sogo:amd64 não está configurado ainda.

dpkg: erro ao processar o pacote sogo-activesync (--configure):
 problemas de dependência - deixando desconfigurado
A processar 'triggers' para libc-bin (2.31-0ubuntu9.2) ...
Erros foram encontrados durante o processamento de:
 sogo:amd64
 zentyal-sogo
 zentyal-groupware
 sogo-activesync

And Yes! My Linux box is in PT-BR.

But after some strogle I figure out that need to trigger two steps:

Step 1 - touch /var/run/sogo/sogo.pid

After this I was to apply apt -f install but Apache2 configuration was in error.

Step 2 - in order to finish the installation I was indeed need to activate the proxy Apache module using:

a2enmod proxy

Then, after this apache2conf configtest ran smootlhy.

Just wanna report this problem.


Thanks.


« Last Edit: August 09, 2021, 07:28:12 pm by Gilberto Ferreira »

Daniel Joven

  • Zentyal Staff
  • Zen Apprentice
  • *****
  • Posts: 31
  • Karma: +19/-0
    • View Profile
Re: Problem when install Sogo [ Zentyal 7 Comercial Edition ]
« Reply #1 on: August 12, 2021, 01:00:33 pm »
Hi Gilberto,

I did a few tests in my lab and I couldn't reproduce those errors, probably it was an isolated issue.

As an additional note, when you install all the modules but you skip their configuration in the wizard, it is normal to get the following messages in the log file 'syslog':

Code: [Select]
Your configuration is broken. Not reloading Apache 2
AH00526: Syntax error on line 47 of /etc/apache2/conf-enabled/SOGo.conf:
Invalid command 'ProxyRequests', perhaps misspelled or defined by a module not included in the server configuration

This is because Webmail module isn't enabled yet.

Best regards, Daniel Joven.