1

Topic: Sogo Install Problem

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
====

hello Im tryin to Install iredmail's latest version on centos 7.  It gave error about sogo installation , i have tried all what i have searched on net.. But still same error

All wrote about repo (sogo repo) but nothing happened I have tried all repos..Even EPEL
What could be problem?


Failed:
  sogo.x86_64 0:3.1.1-1.el7.centos

Running transaction
useradd: group sogo exists - if you want to add this user to that group, use -g.
error: %pre(sogo-3.1.1-1.el7.centos.x86_64) scriptlet failed, exit status 9
Error in PREIN scriptlet in rpm package sogo-3.1.1-1.el7.centos.x86_64
  Verifying  : sogo-3.1.1-1.el7.centos.x86_64                               1/1


when Im trying to install it myself yum install sogo
and thats happened

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Sogo Install Problem

It's SOGo packing issue, it's fixed in nightly build, but not in stable release. Try this:

Open file /etc/yum.repos.d/sogo.repo, replace 'rhel-v3' in 'baseurl =' by 'rhel-v3-nightly', then re-execute iRedMail installer.

3

Re: Sogo Install Problem

ZhangHuangbin wrote:

It's SOGo packing issue, it's fixed in nightly build, but not in stable release. Try this:

Open file /etc/yum.repos.d/sogo.repo, replace 'rhel-v3' in 'baseurl =' by 'rhel-v3-nightly', then re-execute iRedMail installer.


I have tried that but it didnt help me.
cause when I have edited sogo repo then re-execute installer and it finished with error

then I have opened again sogo repo and I saw that I turned original settings again when I run installer

what can I do ?

4

Re: Sogo Install Problem

You mean iRedMail overrides your repo? ok, try this:

*) Open file 'functions/packages.sh' in iRedMail-0.9.5-1.
*) Search 'rhel-v3', replace it by 'rhel-v3-nightly'.
*) Run iRedMail installer again.

5

Re: Sogo Install Problem

I have similar problem with sogo,
I'm trying to install iRedMail-0.9.7 on the fresh server Ubuntu 16.04.2 x64

I get this error:

Function: sogo_initialize_db.
-i used with no filenames on the command line, reading from STDIN.

My SOGO Version 3.2.10

6

Re: Sogo Install Problem

BTW:
Ubuntu 17.04. Ubuntu 16.10 is not supported anymore.
is it means that Ubuntu 16.04LTS is supported or not?

7

Re: Sogo Install Problem

If you try to install to Ubuntu 17.04,
Installation of SOGO is not offered at all.

Without choosing SOGO, there are no installation problems.

Is it only I meet problem with SOGO?

8

Re: Sogo Install Problem

Nucleardragon wrote:

I get this error:
Function: sogo_initialize_db.
-i used with no filenames on the command line, reading from STDIN.
My SOGO Version 3.2.10

Were you re-run iRedMail installer?
please show me the last few lines of file iRedMail-0.9.7/runtime/install.log?
Seems some file was missed.

9

Re: Sogo Install Problem

Nucleardragon wrote:

BTW:
Ubuntu 17.04. Ubuntu 16.10 is not supported anymore.
is it means that Ubuntu 16.04LTS is supported or not?

14.04 and 16.04 are supported. but not 16.10 - because it's not a LTS version.

Nucleardragon wrote:

If you try to install to Ubuntu 17.04,
Installation of SOGO is not offered at all.
Without choosing SOGO, there are no installation problems.
Is it only I meet problem with SOGO?

SOGo team doesn't offer binary packages for 17.04.

10 (edited by Nucleardragon 2017-07-10 10:47:20)

Re: Sogo Install Problem

ZhangHuangbin wrote:

Were you re-run iRedMail installer?

lsb_release -a
No LSB modules are available.
Distributor ID:    Ubuntu
Description:    Ubuntu 16.04.2 LTS
Release:    16.04
Codename:    xenial

uname -vr
4.4.0-81-generic #104-Ubuntu SMP Wed Jun 14 08:17:06 UTC 2017

apt-cache show sogo
Package: sogo
Version: 3.2.10.20170709-1
Architecture: amd64


ZhangHuangbin wrote:

please show me the last few lines of file iRedMail-0.9.7/runtime/install.log?
Seems some file was missed.

cat install.log |tail -15
+ < DEBUG > Configure general settings.
+ < DEBUG > Configure iredadmin database related settings.
+ < DEBUG > Configure SQL mail accounts related settings.
+ < DEBUG > Configure Amavisd related settings.
+ < DEBUG > Configure iRedAPD related settings.
[ INFO ] Configure Fail2ban (authentication failure monitor).
+ < DEBUG > Log into syslog instead of log file.
+ < DEBUG > Disable all default filters in /etc/fail2ban/jail.conf.
+ < DEBUG > Create Fail2ban config file: /etc/fail2ban/jail.local.
+ < DEBUG > Create Fail2ban directory: /etc/fail2ban/jail.d.
+ < DEBUG > Copy modular Fail2ban jail config files to /etc/fail2ban/jail.d.
+ < DEBUG > Copy sample Fail2ban filter config files.
[ INFO ] Configure SOGo Groupware (Webmail, Calendar, Address Book, ActiveSync).
+ < DEBUG > Initialize SOGo database.
+ < DEBUG > Service control: restart sogo.

11

Re: Sogo Install Problem

Did you re-run iRedMail installer on same server? This does not gonna work.

Is it possible for you to reinstall server OS, then install iRedMail?

12 (edited by Nucleardragon 2017-07-11 10:03:07)

Re: Sogo Install Problem

ZhangHuangbin wrote:

Did you re-run iRedMail installer on same server? This does not gonna work.

Is it possible for you to reinstall server OS, then install iRedMail?

I do not reinstall on same server, this is an installation on a new server OS.

I can clarify that this is a new droplet in the digitalocean (digitalocean.com)

I already tried 5 times to reinstall server OS and run iRedmail.sh.

13 (edited by Nucleardragon 2017-07-11 23:25:10)

Re: Sogo Install Problem

So, any ideas why happened this problem?

Is there a problem with this combination:
Ubuntu 16.04.2 LTS + kernel 4.4.0-81-generic + Sogo 3.2.10.20170709-1 + iRedmail 0.9.7?

Or you don't have any problems with such a combination and exclusively I have the problem?
In this case may be problem with Digitalocean's OS image....?

14

Re: Sogo Install Problem

Should be fine.
Is it possible for you to reinstall the OS, and give me ssh access (with root privilege) to install iRedMail? It seems like a programming bug in iRedMail, but i'm not so sure.

15

Re: Sogo Install Problem

ZhangHuangbin wrote:

Is it possible for you to reinstall the OS, and give me ssh access (with root privilege) to install iRedMail? It seems like a programming bug in iRedMail, but i'm not so sure.

done, just sent email to info@iredma...

16

Re: Sogo Install Problem

Fixed and repacked iRedMail-0.9.7, please download and try again:
http://www.iredmail.org/download.html

17

Re: Sogo Install Problem

ZhangHuangbin wrote:

Fixed and repacked iRedMail-0.9.7, please download and try again:
http://www.iredmail.org/download.html

Hurray, it all worked!!!