Topic: iRedMail-1.3.2 fresh install SOGo currently broken for Debian?
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.3.2
- Deployed with iRedMail Easy or the downloadable installer? Downloadable installer
- Linux/BSD distribution name and version: Debian 10.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx):Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Just ran bash iRedMail.sh and selected various options including in particular SOGo.
The install proceeds until it tries to start the sogo service. At this point if fails and quits the install. Looking at the sogo.log:
...
Jan 01 23:19:16 sogod [26078]: <0x0x55cf67cb1740[WOWatchDog]> child spawned with pid 26087
Jan 01 23:19:16 sogod [26087]: [ERROR] |SOGo| No value specified for 'SOGoProfileURL'
Jan 01 23:19:16 sogod [26087]: <0x0x55cf67eb95f0[WOHttpAdaptor]> notified the watchdog that we are ready
...
The /etc/sogo/sogo.conf file exists but everything appears commented with // and at package default values.
Is the new SOGo from 1 January 20201 causing a problem requiring an iRedMail installer fix?
Install fails with:
...
Running sa-compile (may take a long time)
Setting up sogo:amd64 (5.0.1.20210101-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/SOGoInstalla … _upgrading
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 Fri 2021-01-01 23:19:16 GMT; 4ms ago
Docs: man:systemd-sysv-generator(8)
Process: 26007 ExecStart=/etc/init.d/sogo start (code=exited, status=1/FAILURE )
Tasks: 1 (limit: 4701)
Memory: 10.7M
CGroup: /system.slice/sogo.service
`-26078 /usr/sbin/sogod -WOWorkersCount 3 -WOPidFile /var/run/sogo/so go.pid -WOLogFile /var/log/sogo/sogo.log
Jan 01 23:19:16 mail systemd[1]: Starting LSB: SOGo server...
Jan 01 23:19:16 mail sogo[26007]: Starting SOGo: sogochown: cannot access '/var/ run/sogo/sogo.pid': No such file or directory
Jan 01 23:19:16 mail systemd[1]: sogo.service: Control process exited, code=exit ed, status=1/FAILURE
Jan 01 23:19:16 mail systemd[1]: sogo.service: Failed with result 'exit-code'.
Jan 01 23:19:16 mail systemd[1]: Failed to start LSB: SOGo server.
dpkg: error processing package sogo:amd64 (--configure):
installed sogo:amd64 package post-installation script subprocess returned error exit status 1
Setting up amavisd-new (1:2.11.0-6.1) ...
Creating/updating amavis user account...
dpkg: dependency problems prevent configuration of sogo-activesync:
sogo-activesync depends on sogo (= 5.0.1.20210101-1); however:
Package sogo:amd64 is not configured yet.
dpkg: error processing package sogo-activesync (--configure):
dependency problems - leaving unconfigured
Setting up liblwp-protocol-https-perl (6.07-2) ...
Setting up libwww-perl (6.36-2) ...
Processing triggers for libc-bin (2.28-10) ...
Processing triggers for rsyslog (8.1901.0-1) ...
Processing triggers for systemd (241-7~deb10u5) ...
Processing triggers for mime-support (3.62) ...
Processing triggers for dovecot-core (1:2.3.4.1-5+deb10u4) ...
Errors were encountered while processing:
sogo:amd64
sogo-activesync
E: Sub-process /usr/bin/dpkg returned an error code (1)
<< ERROR >> Installation failed, please check the terminal output.
<< ERROR >> If you're not sure what the problem is, try to get help in iRedMail
<< ERROR >> forum: https://forum.iredmail.org/
root@mail:~/iRedMail-1.3.2#
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.