Author Topic: Upgrade Zentyal 4.2 to 5 SOGo not working "object not found: SOGo => index"  (Read 1704 times)

2Psycho

  • Zen Apprentice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Dear Reader,
After trying to upgrade the server from Zentyal 4.2 to 5 SOGo is not working any more  :'(.
At the moment the webmail client is called is indicates "object not found: SOGo => index"

The only thing I can retrieve from the log file are several statements like:
Code: [Select]
Mar 26 21:12:27 sogod [29380]: version 3.2.1 (build @shiva.inverse 201611220841) -- starting
Mar 26 21:12:27 sogod [29380]: vmem size check enabled: shutting down app when vmem > 384 MB
Mar 26 21:12:27 sogod [29380]: <0x0x564ad0ca7170[SOGoProductLoader]> SOGo products loaded from '/usr/lib/GNUstep/SOGo':
Mar 26 21:12:27 sogod [29380]: <0x0x564ad0ca7170[SOGoProductLoader]>   Appointments.SOGo, AdministrationUI.SOGo, Mailer.SOGo, PreferencesUI.SOGo, Contacts.SOGo, CommonUI.SOGo, MainUI.SOGo, MailerUI.SOGo, MailPartViewers.SOGo, ContactsUI.SOGo, SchedulerUI.SOGo, ActiveSync.SOGo
Mar 26 21:12:27 sogod [29380]: [ERROR] [so-product-registry] failed to load product Appointments required by ActiveSync.
Mar 26 21:12:27 sogod [29380]: [so-product-registry] could not load product: ActiveSync
Mar 26 21:12:27 sogod [29380]: <0x0x564ad0cf4a30[WOWatchDog]> listening on 127.0.0.1:20000
Mar 26 21:12:27 sogod [29380]: <0x0x564ad0cf4a30[WOWatchDog]> watchdog process pid: 29380
Mar 26 21:12:27 sogod [29380]: <0x0x7fef0da22a00[WOWatchDogChild]> watchdog request timeout set to 10 minutes
Mar 26 21:12:27 sogod [29380]: <0x0x564ad0cf4a30[WOWatchDog]> preparing 3 children
Mar 26 21:12:27 sogod [29380]: <0x0x564ad0cf4a30[WOWatchDog]> child spawned with pid 29405
Mar 26 21:12:27 sogod [29380]: <0x0x564ad0cf4a30[WOWatchDog]> child spawned with pid 29406
Mar 26 21:12:27 sogod [29380]: <0x0x564ad0cf4a30[WOWatchDog]> child spawned with pid 29407
Mar 26 21:12:28 sogod [29406]: [ERROR] [so-product-registry] failed to load product Appointments required by ActiveSync.Mar 26 21:12:28 sogod [29405]: [ERROR] [so-product-registry] failed to load product Appointments required by ActiveSync.Mar 26 21:12:28 sogod [29407]: [ERROR] [so-product-registry] failed to load product Appointments required by ActiveSync.


Mar 26 21:12:28 sogod [29406]: [so-product-registry] could not load product: ActiveSyncMar 26 21:12:28 sogod [29405]: [so-product-registry] could not load product: ActiveSync
Mar 26 21:12:28 sogod [29407]: [so-product-registry] could not load product: ActiveSync

Mar 26 21:12:33 sogod [29407]: <0x0x564ad0eb2760[SOGoCache]> Cache cleanup interval set every 300.000000 seconds
Mar 26 21:12:33 sogod [29407]: <0x0x564ad0eb2760[SOGoCache]> Using host(s) 'localhost' as server(s)
Mar 26 21:12:33 sogod [29407]: [ERROR] [we-rm] did not find MainUIProduct class!
Mar 26 21:12:33 sogod [29407]: [ERROR] [we-rm] did not find locale for language: Dutch
Mar 26 21:12:33 sogod [29407]: [ERROR] [we-rm] did not find MainUIProduct class!
Mar 26 21:12:33 sogod [29407]: [ERROR] [we-rm] did not find locale for language: English

What am I missing or do I need to do? I am stuck here

2Psycho

  • Zen Apprentice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
It seems that the upgrade from 4.2 to 5 isn't that smooth.
After reinstalling SOGo by
Code: [Select]
apt-get install sogo --reinstall
and then restarting the SOGo services the webinterface is working again.
However still no mail. The webinterface shows proxy error and the log file:
Code: [Select]
EXCEPTION: <NSException: 0x55fc064fb370> NAME:NSInvalidArgumentException REASON:NGImap4Connection(instance) does not recognize allFoldersMetadataForURL:onlySubscribedFolders: INFO:(null)
Mar 26 23:12:33 sogod [3317]: <0x0x55fc0639b2b0[WOWatchDogChild]> child 6894 exited
Mar 26 23:12:33 sogod [3317]: <0x0x55fc0639b2b0[WOWatchDogChild]>  (terminated due to signal 6, coredump)
Mar 26 23:12:33 sogod [3317]: <0x0x55fc0639b2b0[WOWatchDogChild]> avoiding to respawn child before 2017-03-26 23:12:37 +0200
Mar 26 23:12:33 sogod [3317]: [ERROR] <0x0x55fc06099310[WOWatchDog]> No child available to handle incoming request!
Mar 26 23:12:34 sogod [3317]: [ERROR] <0x0x55fc06099310[WOWatchDog]> No child available to handle incoming request!
Mar 26 23:12:35 sogod [3317]: [ERROR] <0x0x55fc06099310[WOWatchDog]> No child available to handle incoming request!
Mar 26 23:12:36 sogod [3317]: <0x0x55fc06099310[WOWatchDog]> child spawned with pid 6898
Mar 26 23:12:36 sogod [6898]: <0x0x55fc062c4190[SOGoCache]> Cache cleanup interval set every 300.000000 seconds
Mar 26 23:12:36 sogod [6898]: <0x0x55fc062c4190[SOGoCache]> Using host(s) 'localhost' as server(s)

Active sync seems to work  ???

2Psycho

  • Zen Apprentice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Additional in the Apache error log file the following is listed:
Code: [Select]
[Sun Mar 26 23:33:47.129114 2017] [proxy_http:error] [pid 4034] (20014)Internal error (specific information not available): [client xx.xx.xx.xx:64572] AH01102: error reading status line from remote server 127.0.0.1:20000, referer: https://DOMAIN/SOGo/so/USER/Mail/view
[Sun Mar 26 23:33:47.129142 2017] [proxy:error] [pid 4034] [client xx.xx.xx.xx:64572] AH00898: Error reading from remote server returned by /SOGo/so/USER/Mail/0/view, referer: https://DOMAIN/SOGo/so/USER/Mail/view


2Psycho

  • Zen Apprentice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
I noticed that by editing the browser link directy to the agenda or contacts this is working  ???
Like:
https://DOMAIN/SOGo/so/USER/Contacts/view#/addressbooks/personal
or
https://DOMAIN/SOGo/so/USER/Calendar/view#/calendar

2Psycho

  • Zen Apprentice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
It seems something to be with the connection to the IMAP server.
At the moment I stop the "Mail retrieval services" (IMAP, POP etc) from the zentyal webGUI.
The SOGo portal loads.

Any clue how to check this?
I tried to connect by normal mail client and this is also not working  :-\.

tomasz89

  • Zen Apprentice
  • *
  • Posts: 3
  • Karma: +1/-0
    • View Profile
I had the same problem and found that libsope didn't deploy as on a "fresh" system.

I noticed that I had a package that a new system did not, so:
# aptitude purge libsope1

Then, revealed missing libraries:
# ldd /usr/sbin/sogod

I had to reinstall the following packages by:
aptitude reinstall libsope-appserver4.9 libsope-core4.9 libsope-gdl1-4.9 libsope-ldap4.9 libsope-mime4.9 libsope-xml4.9 sope4.9-gdl1-mysql sope4.9-libxmlsaxdriver

Now I'm all good.