View Issue Details

IDProjectCategoryView StatusLast Update
0005689SOGowith SOGopublic2023-09-20 13:00
Reporterx09 Assigned Tosebastien  
PriorityhighSeverityblockReproducibilityalways
Status closedResolutionunable to reproduce 
Product Version5.8.0 
Summary0005689: sogod not started with below errors
Description

Tried to start 5.8.0 (previous versions work fine) and get strange errors.
<code>
Jan 30 09:05:55 sogod [4674]: version 5.8.0 (build builder@localhost.localdomain 202212130807) -- starting
Jan 30 09:05:55 sogod [4674]: vmem size check enabled: shutting down app when vmem > 384 MB. Currently at 78 MB
Jan 30 09:05:55 sogod [4674]: <0x0x55a1a0d70780[SOGoProductLoader]> SOGo products loaded from '/usr/lib64/GNUstep/SOGo':
Jan 30 09:05:55 sogod [4674]: <0x0x55a1a0d70780[SOGoProductLoader]> Appointments.SOGo, Mailer.SOGo, MailerUI.SOGo, Contacts.SOGo, MailPartViewers.SOGo, SchedulerUI.SOGo, ActiveSync.SOGo, CommonUI.SOGo, ContactsUI.SOGo, AdministrationUI.SOGo, MainUI.SOGo, PreferencesUI.SOGo
Jan 30 09:05:55 sogod [4674]: All products loaded - current memory usage at 87 MB
Jan 30 09:05:55 sogod [4674]: <0x0x55a1a0da54c0[WOWatchDog]> listening on 127.0.0.1:20000
Jan 30 09:05:55 sogod [4674]: <0x0x55a1a0da54c0[WOWatchDog]> watchdog process pid: 4674
Jan 30 09:05:55 sogod [4674]: <0x0x7fe8101023a0[WOWatchDogChild]> watchdog request timeout set to 10 minutes
Jan 30 09:05:55 sogod [4674]: <0x0x55a1a0da54c0[WOWatchDog]> preparing 3 children
Jan 30 09:05:55 sogod [4674]: <0x0x55a1a0da54c0[WOWatchDog]> child spawned with pid 4675
Jan 30 09:05:55 sogod [4674]: <0x0x55a1a0da54c0[WOWatchDog]> child spawned with pid 4676
Jan 30 09:05:55 sogod [4674]: <0x0x55a1a0da54c0[WOWatchDog]> child spawned with pid 4677
Jan 30 09:05:55 sogod [4676]: [ERROR] <0x0x55a1a0da54c0[WOWatchDog]> an exception occured in runloop <NSException: 0x55a1a1c8d4e0> NAME:NSInvalidArgumentException REASON:Can not determine type information for -[NSArrayEnumerator copyWithZone:] INFO:(null)Jan 30 09:05:55 sogod [4677]: [ERROR] <0x0x55a1a0da54c0[WOWatchDog]> an exception occured in runloop <NSException: 0x55a1a1c8d3f0> NAME:NSInvalidArgumentException REASON:Can not determine type information for -[NSArrayEnumerator copyWithZone:] INFO:(null)

Jan 30 09:05:55 sogod [4675]: [ERROR] <0x0x55a1a0da54c0[WOWatchDog]> an exception occured in runloop <NSException: 0x55a1a1c8d460> NAME:NSInvalidArgumentException REASON:Can not determine type information for -[NSArrayEnumerator copyWithZone:] INFO:(null)
Jan 30 09:05:55 sogod [4674]: <0x0x55a1a0e71640[WOWatchDogChild]> child 4675 exited
Jan 30 09:05:55 sogod [4674]: <0x0x55a1a0e8b830[WOWatchDogChild]> child 4676 exited
Jan 30 09:05:55 sogod [4674]: <0x0x55a1a0f069b0[WOWatchDogChild]> child 4677 exited
Jan 30 09:05:55 sogod [4674]: <0x0x55a1a0f069b0[WOWatchDogChild]> avoiding to respawn child before 2023-01-30 09:06:00 +0300
Jan 30 09:05:55 sogod [4674]: <0x0x55a1a0e8b830[WOWatchDogChild]> avoiding to respawn child before 2023-01-30 09:06:00 +0300
Jan 30 09:05:55 sogod [4674]: <0x0x55a1a0e71640[WOWatchDogChild]> avoiding to respawn child before 2023-01-30 09:06:00 +0300
</code>

I get sogo.conf from previous version sogo
<code>
{
SOGoProfileURL = "postgresql://sogo@/sogo/sogo_user_profile";
OCSFolderInfoURL = "postgresql://sogo@/sogo/sogo_folder_info";
OCSSessionsFolderURL = "postgresql://sogo@/sogo/sogo_sessions_folder";
OCSEMailAlarmsFolderURL = "postgresql://sogo@/sogo/sogo_alarms_folder";
SOGoEnableEMailAlarms = YES;
SOGoDraftsFolderName = Drafts;
SOGoSentFolderName = Sent;
SOGoTrashFolderName = Trash;
SOGoIMAPServer = "imaps://localhost:993/?tlsVerifyMode=allowInsecureLocalhost";
SOGoMailingMechanism = sendmail;
SOGoForceExternalLoginWithEmail = NO;
NGImap4ConnectionStringSeparator = "/";
SOGoUserSources = (
{
id = sambaLogin;
displayName = "SambaLogin";
canAuthenticate = YES;
type = ldap;
CNFieldName = cn;
IDFieldName = cn;
UIDFieldName = sAMAccountName;
hostname = "ldaps://dc.test.alt";
baseDN = "DC=test,DC=alt";
bindDN = "CN=sogo,CN=Users,DC=test,DC=alt";
bindPassword = "Qwerty1";
bindFields = (sAMAccountName);
},
{
id = sambaShared;
displayName = "Общая адресная книга";
canAuthenticate = NO;
isAddressBook = YES;
type = ldap;
CNFieldName = cn;
IDFieldName = mail;
UIDFieldName = mail;
hostname = "ldaps://dc.test.alt";
baseDN = "DC=test,DC=alt";
bindDN = "CN=sogo,CN=Users,DC=test,DC=alt";
bindPassword = "Qwerty1";
filter = "((NOT isCriticalSystemObject='TRUE') AND (mail='') AND (NOT objectClass=contact))";
},
{
id = sambaContacts;
displayName = "Shared Contacts";
canAuthenticate = NO;
isAddressBook = YES;
type = ldap;
CNFieldName = cn;
IDFieldName = mail;
UIDFieldName = mail;
hostname = "ldaps://dc.test.alt";
baseDN = "DC=test,DC=alt";
bindDN = "CN=sogo,CN=Users,DC=test,DC=alt";
bindPassword = "Qwerty1";
filter = "(mail='
')";

    mapping = {
        displayname = (&quot;cn&quot;);
    };
}

);

SOGoSieveScriptsEnabled = No;
SOGoLanguage = Russian;
SOGoTimeZone = Europe/Moscow;
SOGoFirstDayOfWeek = 1;
}
</code>

Steps To Reproduce

just install rpm for my distro, put config and tried start

TagsNo tags attached.

Activities

x09

x09

2023-01-30 06:28

reporter   ~0016618

/var/log/httpd2/error_log

[Mon Jan 30 11:21:00.492776 2023] [proxy_http:error] [pid 4459:tid 139831465989696] (104)Connection reset by peer: [client 192.168.150.10:48124] AH01102: error reading status line from remote server 127.0.0.1:20000
[Mon Jan 30 11:21:00.492929 2023] [proxy:error] [pid 4459:tid 139831465989696] [client 192.168.150.10:48124] AH00898: Error reading from remote server returned by /SOGo
[Mon Jan 30 11:26:14.852335 2023] [mpm_worker:notice] [pid 3224:tid 139831525997888] AH00296: caught SIGWINCH, shutting down gracefully

x09

x09

2023-01-30 06:35

reporter   ~0016619

client side

изображение.png (38,797 bytes)   
изображение.png (38,797 bytes)   
x09

x09

2023-01-30 06:39

reporter   ~0016620

SOGo.conf for httpd2 bellow

ServerName sogo.test.alt

Alias /SOGo.woa/WebServerResources/ \
/usr/lib64/GNUstep/SOGo/WebServerResources/
Alias /SOGo/WebServerResources/ \
/usr/lib64/GNUstep/SOGo/WebServerResources/

<Directory /usr/lib64/GNUstep/SOGo/>
AllowOverride None
<IfVersion < 2.4>
Order deny,allow
Allow from all
</IfVersion>
<IfVersion >= 2.4>
Require all granted
</IfVersion>
<IfModule expires_module>
ExpiresActive On
ExpiresDefault "access plus 1 year"
</IfModule>
</Directory>
Header always set Referrer-Policy "same-origin"

<Location /SOGo>
Header set Cache-Control "max-age=0, no-cache, no-store"
</Location>

ProxyRequests Off
ProxyPreserveHost On
ProxyPass /SOGo http://127.0.0.1:20000/SOGo retry=0 nocanon
<Proxy http://127.0.0.1:20000/SOGo>
<IfModule headers_module>
RequestHeader set "x-webobjects-server-port" "443"
SetEnvIf Host (.*) HTTP_HOST=$1
RequestHeader set "x-webobjects-server-name" "%{HTTP_HOST}e" env=HTTP_HOST
RequestHeader unset "x-webobjects-remote-user"
RequestHeader set "x-webobjects-server-protocol" "HTTP/1.0"
</IfModule>
AddDefaultCharset UTF-8
Order allow,deny
Allow from all
</Proxy>
<IfModule rewrite_module>
RewriteEngine On
RewriteRule ^/.well-known/caldav/?$ /SOGo/dav [R=301]
RewriteRule ^/.well-known/carddav/?$ /SOGo/dav [R=301]
</IfModule>

sebastien

sebastien

2023-01-30 07:58

administrator   ~0016621

Last edited: 2023-01-30 08:44

You have to break in NSException to check what's wrong with an array : https://www.sogo.nu/support/faq/how-do-i-debug-sogo.html

And provide a backtrace

sebastien

sebastien

2023-09-20 13:00

administrator   ~0017273

No activity

Issue History

Date Modified Username Field Change
2023-01-30 06:14 x09 New Issue
2023-01-30 06:28 x09 Note Added: 0016618
2023-01-30 06:35 x09 Note Added: 0016619
2023-01-30 06:35 x09 File Added: изображение.png
2023-01-30 06:39 x09 Note Added: 0016620
2023-01-30 07:58 sebastien Note Added: 0016621
2023-01-30 08:44 sebastien Note Edited: 0016621
2023-01-30 08:47 sebastien Assigned To => sebastien
2023-01-30 08:47 sebastien Status new => feedback
2023-09-20 13:00 sebastien Status feedback => closed
2023-09-20 13:00 sebastien Resolution open => unable to reproduce
2023-09-20 13:00 sebastien Note Added: 0017273