Sogo 3.2.10 update failed

I did an update on my server from version 3.2.10 but sogo is not starting anymore:

[root@mail yum.repos.d]# service sogod start
Redirecting to /bin/systemctl start sogod.service
Job for sogod.service failed because a fatal signal was delivered to the control process. See "systemctl status sogod.service" and "journalctl -xe" for details.
[root@mail yum.repos.d]# systemctl status sogod.service
● sogod.service - SOGo is a groupware server
   Loaded: loaded (/usr/lib/systemd/system/sogod.service; enabled; vendor preset: disabled)
   Active: failed (Result: signal) since Fri 2022-01-21 22:32:18 CET; 13s ago
  Process: 15815 ExecStart=/usr/sbin/sogod -WOWorkersCount ${PREFORK} -WOPidFile /var/run/sogo/sogo.pid -WOLogFile /var/log/sogo/sogo.log (code=killed, signal=SEGV)

Jan 21 22:32:18 mail.xxxmail.eu systemd[1]: Starting SOGo is a groupware server...
Jan 21 22:32:18 mail.xxxmail.eu systemd[1]: sogod.service: control process exited, code=killed status=11
Jan 21 22:32:18 mail.xxxmail.eu systemd[1]: Failed to start SOGo is a groupware server.
Jan 21 22:32:18 mail.xxxmail.eu systemd[1]: Unit sogod.service entered failed state.
Jan 21 22:32:18 mail.xxxmail.eu systemd[1]: sogod.service failed.

The server runs under a subscription (in case this wil change the repositorys somewhere)
Here is a list of the packages and it’s version:

Installed Packages

sogo.x86_64                                                      5.4.0-1.ns7                                          @nethforge-testing
sogo-activesync.x86_64                                           5.4.0-1.ns7                                          @nethforge-testing
sogo-ealarms-notify.x86_64                                       5.4.0-1.ns7                                          @nethforge-testing
sogo-tool.x86_64                                                 5.4.0-1.ns7                                          @nethforge-testing
sope49-appserver.x86_64                                          1:4.9-5.4.0.1.ns7                                    @nethforge-testing
sope49-cards.x86_64                                              5.4.0-1.ns7                                          @nethforge-testing
sope49-core.x86_64                                               1:4.9-5.4.0.1.ns7                                    @nethforge-testing
sope49-gdl1.x86_64                                               1:4.9-5.4.0.1.ns7                                    @nethforge-testing
sope49-gdl1-contentstore.x86_64                                  5.4.0-1.ns7                                          @nethforge-testing
sope49-gdl1-mysql.x86_64                                         1:4.9-5.4.0.1.ns7                                    @nethforge-testing
sope49-ldap.x86_64                                               1:4.9-5.4.0.1.ns7                                    @nethforge-testing
sope49-mime.x86_64                                               1:4.9-5.4.0.1.ns7                                    @nethforge-testing
sope49-sbjson.x86_64                                             1:2.3.1-5.4.0.1.ns7                                  @nethforge-testing
sope49-xml.x86_64                                                1:4.9-5.4.0.1.ns7                                    @nethforge-testing
[root@mail etc]#

sogo was installed from nethforge testing, but is already in nethforge available, How can I install from nethforge?
I’m lost a bit. What can I do?

There may be issues updating from version 3 to 5. Do you have a backup?

You may check /var/log/sogo/sogo.log or /var/log/messages for errors.

yum install nethserver-sogo --enablerepo=nethforge

In your case a downgrade could work:

yum downgrade nethserver-sogo --enablerepo=nethforge

thanks I already found that I can remove the packages and do a fresh install
with yum install nethserver-sogo --enablerepo=nethforge now it looks like this:

Installed Packages
nethserver-sogo.noarch 1.8.5-1.ns7 @nethforge
sogo.x86_64 5.4.0-1.ns7 @nethforge
sogo-activesync.x86_64 5.4.0-1.ns7 @nethforge
sogo-ealarms-notify.x86_64 5.4.0-1.ns7 @nethforge
sogo-tool.x86_64 5.4.0-1.ns7 @nethforge
[root@mail etc]#

but this was cosmetic only same version and same problem - nothing changed

Maybe there’s an error in the logs?

Did you remove the database too? (Always be sure to have a backup)

Here’s an (older) uninstall guide.

EDIT:

If you created custom templates for sogo for example in /etc/e-smith/templates-custom/etc/sogo, move them away as they may cause issues.

Thanks a lot!! I could see that you had a similar problem in the past. The bazzoka methode from @stephdl did the trick. I’m back in production, everthing seems fine.

1 Like