1

Topic: Can not login in SOGO

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): latest stable (pro)
- Deployed with iRedMail Easy or the downloadable installer? (download)
- Linux/BSD distribution name and version: ubuntu 20.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql
- Web server (Apache or Nginx): nginx
- Manage mail accounts with iRedAdmin-Pro? yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====


we can not login in sogo since last iredmail pro update that we did. the error that I found:

Feb 03 18:02:45 sogod [3185158]: <0x0x55b0efa23160[SOGoCache]> Using host(s) 'localhost' as server(s)
Feb 03 18:02:45 sogod [3185158]: [WARN] <0x0x7f1daaff0f60[WOxElemBuilder]> could not locate builders: WOxExtElemBuilder,WOxExtElemBuilder
Feb 03 18:02:45 sogod [3185158]: [ERROR] <0x0x55b0efdbd0f0[SOGoUserManager]> No authentication sources defined - nobody will be able to login. Check your defaults.
Feb 03 18:02:45 sogod [3185158]: [ERROR] <0x0x55b0efdb9b40[SOGoSQLUserProfile]> failed to acquire channel for URL: (null)
Feb 03 18:02:45 sogod [3185158]: [ERROR] <0x0x55b0efdb9b40[SOGoSQLUserProfile]> failed to acquire channel for URL: (null)
Feb 03 18:02:45 sogod [3185158]: [ERROR] <0x0x55b0efdb9b40[SOGoSQLUserProfile]> failed to acquire channel for URL: (null)

Checking the sogo.conf and old sogo.conf, both have everything commented with \\ and the unique difference is that the newest on has:

  //NGImap4AuthMechanism = "plain";

also commented.

I tried to follow this:
docs.iredmail.org/upgrade.sogo.combined.sql.tables.html

but it ends in an error:

ERROR: Failed to parse value of OCSFolderInfoURL in /etc/sogo/sogo.conf

Seems because sofo.conf basically has nothing configured.

So, how to make sogo.conf file using iredmail settings? We never touched in sogo.conf file since we installed and eventually did iredmail pro update.

----

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

2

Re: Can not login in SOGO

Seems file /etc/sogo/sogo.conf was overwritten during upgrading SOGo packages. You should be able to find a working copy under /etc/sogo/, please copy it to /etc/sogo/sogo.conf then restart SOGo service. It should work.