1 (edited by stevewi 2016-05-03 21:48:30)

Topic: Unable to log into sogo

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

I installed iRedMail 0.9.5 today and it didn't give me the option to install SOGo. I had to do "apt-get install sogo" first, then I ran the install and then went into the config file afterwards and added the following line:

export USE_SOGO='YES'

I then re-ran the script and SOGo looks like it was running, since I could get to the web page. However, if I log into MariaDB, I don't see a SOGo database:

MariaDB [(none)]> show databases;
+--------------------+
| Database           |
+--------------------+
| amavisd            |
| information_schema |
| iredadmin          |
| iredapd            |
| mysql              |
| performance_schema |
| vmail              |
+--------------------+
7 rows in set (0.00 sec)

However, I can see that the /etc/sogo/sogo.conf file contains the correct settings for a database connection. I'm unable to find the .sql file to create and import the settings for SOGo, so I was just hoping for a push in the right direction. I've also linked the output of my /var/log/sogo/sogo.log as a Pastebin output, which happens each time I hit the login button.

Thanks!
Steve

----

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

2

Re: Unable to log into sogo

As clearly mentioned in iRedMail-0.9.5 release notes, SOGo is not available on Ubuntu 16.04 LTS due to SOGo team doesn't offer SOGo 3.x binary packages for Ubuntu 16.04 yet.

The sogo package in Ubuntu official apt repo is useless, don't try it.

We will repack iRedMail-0.9.5 when SOGo 3.x is available for Ubuntu 16.04. If you want to see it happen sooner, try to push SOGo team to build SOGo 3.x for Ubuntu 16.04:

- Mailing list: http://sogo.nu/support/index.html
- Bug tracker: http://sogo.nu/bugs/

3 (edited by stevewi 2016-05-03 22:12:09)

Re: Unable to log into sogo

Hi Zhang,

I've asked for SOGo 3.x to be built in the SOGo PPA here: (https://launchpad.net/ubuntu/+source/sogo). Since 16.04 has been released, I don't think they'll accept a major version change in an LTS release. It should still be easy enough to add the PPA in the script if v3.x becomes available.

If I don't hear about it or don't see it soon, I'll try submitting the changes myself within the next week or so.

Thanks for your help and your feedback!

p.s. Apologies for not reading the release notes <3

4

Re: Unable to log into sogo

As an end user, you can try it on your own, but iRedMail should use either Ubuntu repo or SOGo repo.

SOGo team offer nightly build for Ubuntu before, but it's not available now. I have no idea what happened:
http://inverse.ca/ubuntu-v3-nightly/

What we can do is just waiting for SOGo team releasing SOGo 3.0.3 and build packages for Ubuntu 16.04.