General discussion on installation and configuration of SOGo

Text archives Help


[SOGo] Configuring Thunderbird to synchronize calendar with SOGo (Zentyal environment)


Chronological Thread 
  • From: "Daniel Bareiro" ( ) < >
  • To:
  • Subject: [SOGo] Configuring Thunderbird to synchronize calendar with SOGo (Zentyal environment)
  • Date: Mon, 31 Jul 2017 20:11:51 -0300
  • Dmarc-filter: OpenDMARC Filter v1.2.0 mail.inverse.ca CCAA3DCC2C4

Hi all!

I am trying to synchronize the Thunderbird calendar against a SOGo
installation made in a Zentyal environment.

I was checking the server configuration files:

-------------------------------------------------------------------------
In /etc/apache2/conf-enabled/SOGo.conf:

# Modified by Zentyal
# RequestHeader set "x-webobjects-server-url" "https://%{HTTP_HOST}e";
env=HTTP_HOST
RequestHeader set "x-webobjects-server-url" "https://%{REQUEST_HOST}e:443";
SetEnvIf Host "(.*):?" REQUEST_HOST=$1
-------------------------------------------------------------------------
In /etc/sogo/sogo.conf:

/* LDAP authentication */
SOGoUserSources = (
{
type = ldap;
id = sambaLogin;
displayName = "SambaLogin";
canAuthenticate = YES;
CNFieldName = cn;
IDFieldName = cn;
UIDFieldName = sAMAccountName;
hostname = "ldap://127.0.0.1";;
baseDN = "DC=domainmatter,DC=lan";
bindDN =
"CN=zentyal-mail-servermatter,CN=Users,DC=domainmatter,DC=lan";
bindPassword = "XXXXXXXXXX";
bindFields = (sAMAccountName, mail);
filter = "(mail='*')";
},
{
type = ldap;
id = sambaShared;
displayName = "Shared Addressbook";
canAuthenticate = NO;
isAddressBook = YES;
CNFieldName = cn;
IDFieldName = mail;
UIDFieldName = mail;
hostname = "ldap://127.0.0.1";;
baseDN = "DC=domainmatter,DC=lan";
bindDN =
"CN=zentyal-mail-servermatter,CN=Users,DC=domainmatter,DC=lan";
bindPassword = "XXXXXXXXXX";
filter = "((NOT isCriticalSystemObject='TRUE') AND
(mail=\'*\') AND (NOT objectClass=contact))";
},
{
type = ldap;
id = sambaContacts;
displayName = "Shared Contacts";
canAuthenticate = NO;
isAddressBook = YES;
CNFieldName = cn;
IDFieldName = mail;
UIDFieldName = mail;
hostname = "ldap://127.0.0.1";;
baseDN = "DC=domainmatter,DC=lan";
bindDN =
"CN=zentyal-mail-servermatter,CN=Users,DC=domainmatter,DC=lan";
bindPassword = "XXXXXXXXXX";
filter = "((((objectClass=person) AND (objectClass=contact)
AND ((uidNumber>=2000) OR (mail=\'*\'))) AND (NOT
isCriticalSystemObject='TRUE') AND (NOT showInAdvancedViewOnly='TRUE')
AND (NOT uid=Guest)) OR (((objectClass=group) AND (gidNumber>=2000)) AND
(NOT isCriticalSystemObject='TRUE') AND (NOT
showInAdvancedViewOnly='TRUE')))";
mapping = {
displayname = ("cn");
};
}
);
-------------------------------------------------------------------------

Then I made these changes prior to installing Sogo Integrator:

-------------------------------------------------------------------------
chrome/content/extensions.rdf:
(...)
isi:updateURL="https://companymatter.com/plugins/updates.php?plugin=%ITEM_ID%&amp;version=%ITEM_VERSION%&amp;platform=%PLATFORM%";>
(...)
-------------------------------------------------------------------------
defaults/preferences/site.js:
(...)
pref("sogo-integrator.autocomplete.server.urlid", "sambaLogin");
-------------------------------------------------------------------------

Would these changes be correct? I'm not sure if the "id" I used from
SOGoUserSources in /etc/sogo/sogo.conf is the one I should put in
defaults/preferences/site.js.

I don't remember if it's enough to install these addons correctly
configured (ie, I don't have to configure anything else in Lightning) in
order to synchronize the calendar. Because I have created some events
via web, but I don't see them in Lightning and this makes me think that
maybe there is something that is not correctly configured on the client
side.

If it helps, here's what I'm seeing on the console when running Thunderbird:

-------------------------------------------------------------------------
viper@orion:~$ thunderbird -ProfileManager

(thunderbird:23288): GLib-GObject-CRITICAL **: g_object_ref: assertion
'object->ref_count > 0' failed

(thunderbird:23288): GLib-GObject-CRITICAL **: g_object_unref: assertion
'object->ref_count > 0' failed

(thunderbird:23288): GLib-GObject-CRITICAL **: g_object_ref: assertion
'object->ref_count > 0' failed

(thunderbird:23288): GLib-GObject-CRITICAL **: g_object_unref: assertion
'object->ref_count > 0' failed

(thunderbird:23288): GLib-GObject-CRITICAL **: g_object_ref: assertion
'object->ref_count > 0' failed

(thunderbird:23288): GLib-GObject-CRITICAL **: g_object_unref: assertion
'object->ref_count > 0' failed

(thunderbird:23288): GLib-GObject-CRITICAL **: g_object_ref: assertion
'object->ref_count > 0' failed

(thunderbird:23288): GLib-GObject-CRITICAL **: g_object_unref: assertion
'object->ref_count > 0' failed
[calBackendLoader] Using Thunderbird's builtin libical backend
messenger.groupdav.overlay.js: failed to include
'chrome://sogo-connector/content/general/vcards.utils.js'
SyntaxError: redeclaration of let kPhotoImageCache
File: chrome://sogo-connector/content/general/vcards.utils.js
Line: 1

Stack:

@chrome://sogo-connector/content/general/vcards.utils.js:1:1
jsInclude@chrome://sogo-connector/content/addressbook/messenger.groupdav.overlay.js:26:13
@chrome://sogo-connector/content/addressbook/messenger.groupdav.overlay.js:37:1
startup-overlay.js: failed to include
'chrome://sogo-integrator/content/messenger/folders-update.js'
[Exception... "Component returned failure code: 0x80004005
(NS_ERROR_FAILURE) [nsIMsgAccountManager.defaultAccount]" nsresult:
"0x80004005 (NS_ERROR_FAILURE)" location: "JS frame ::
chrome://sogo-integrator/content/sogo-config.js :: sogoUserName :: line
20" data: no]
folder-handler.js: failed to include
'chrome://sogo-connector/content/general/vcards.utils.js'
SyntaxError: redeclaration of let kPhotoImageCache
File: chrome://sogo-connector/content/general/vcards.utils.js
Line: 1

Stack:

@chrome://sogo-connector/content/general/vcards.utils.js:1:1
jsInclude@chrome://sogo-integrator/content/addressbook/folder-handler.js:6:13
@chrome://sogo-integrator/content/addressbook/folder-handler.js:16:1
jsInclude@chrome://sogo-integrator/content/headerview-overlay.js:6:13
@chrome://sogo-integrator/content/headerview-overlay.js:14:1
calendar-overlay.js: failed to include
'chrome://sogo-integrator/content/calendar/folder-handler.js'
SyntaxError: redeclaration of let _topmostWindow
folder-handler.js: failed to include
'chrome://sogo-connector/content/general/vcards.utils.js'
SyntaxError: redeclaration of let kPhotoImageCache
File: chrome://sogo-connector/content/general/vcards.utils.js
Line: 1

Stack:

@chrome://sogo-connector/content/general/vcards.utils.js:1:1
jsInclude@chrome://sogo-integrator/content/addressbook/folder-handler.js:6:13
@chrome://sogo-integrator/content/addressbook/folder-handler.js:16:1
jsInclude@chrome://sogo-integrator/content/messenger/folders-update.js:6:13
@chrome://sogo-integrator/content/messenger/folders-update.js:16:1
jsInclude@chrome://sogo-integrator/content/calendar/calendars-list-overlay.js:6:13
@chrome://sogo-integrator/content/calendar/calendars-list-overlay.js:15:1
folders-update.js: failed to include
'chrome://sogo-integrator/content/addressbook/categories.js'
SyntaxError: redeclaration of let SIContactCategories
File: chrome://sogo-integrator/content/addressbook/categories.js
Line: 1

Stack:

@chrome://sogo-integrator/content/addressbook/categories.js:1:1
jsInclude@chrome://sogo-integrator/content/messenger/folders-update.js:6:13
@chrome://sogo-integrator/content/messenger/folders-update.js:16:1
jsInclude@chrome://sogo-integrator/content/calendar/calendars-list-overlay.js:6:13
@chrome://sogo-integrator/content/calendar/calendars-list-overlay.js:15:1
folders-update.js: failed to include
'chrome://sogo-integrator/content/calendar/folder-handler.js'
SyntaxError: redeclaration of let _topmostWindow
File: chrome://sogo-integrator/content/calendar/folder-handler.js
Line: 1

Stack:

@chrome://sogo-integrator/content/calendar/folder-handler.js:1:1
jsInclude@chrome://sogo-integrator/content/messenger/folders-update.js:6:13
@chrome://sogo-integrator/content/messenger/folders-update.js:16:1
jsInclude@chrome://sogo-integrator/content/calendar/calendars-list-overlay.js:6:13
@chrome://sogo-integrator/content/calendar/calendars-list-overlay.js:15:1
folders-update.js: failed to include
'chrome://sogo-integrator/content/calendar/default-classifications.js'
SyntaxError: redeclaration of let SICalendarDefaultClassifications
File: chrome://sogo-integrator/content/calendar/default-classifications.js
Line: 1

Stack:

@chrome://sogo-integrator/content/calendar/default-classifications.js:1:1
jsInclude@chrome://sogo-integrator/content/messenger/folders-update.js:6:13
@chrome://sogo-integrator/content/messenger/folders-update.js:16:1
jsInclude@chrome://sogo-integrator/content/calendar/calendars-list-overlay.js:6:13
@chrome://sogo-integrator/content/calendar/calendars-list-overlay.js:15:1
folders-update.js: failed to include
'chrome://sogo-integrator/content/messenger/mails-labels.js'
SyntaxError: redeclaration of let SIMailsLabels
File: chrome://sogo-integrator/content/messenger/mails-labels.js
Line: 1

Stack:

@chrome://sogo-integrator/content/messenger/mails-labels.js:1:1
jsInclude@chrome://sogo-integrator/content/messenger/folders-update.js:6:13
@chrome://sogo-integrator/content/messenger/folders-update.js:16:1
jsInclude@chrome://sogo-integrator/content/calendar/calendars-list-overlay.js:6:13
@chrome://sogo-integrator/content/calendar/calendars-list-overlay.js:15:1
calendars-list-overlay.js: failed to include
'chrome://sogo-integrator/content/messenger/folders-update.js'
[Exception... "Component returned failure code: 0x80004005
(NS_ERROR_FAILURE) [nsIMsgAccountManager.defaultAccount]" nsresult:
"0x80004005 (NS_ERROR_FAILURE)" location: "JS frame ::
chrome://sogo-integrator/content/sogo-config.js :: sogoUserName :: line
20" data: no]
skipping startup, sogo-integrator present
Custom startup code not available.
e: Error opening input stream (invalid filename?):
chrome://sogo-integrator/content/general/startup.js
extensions/folder update starts after: 0 cals
no calendar available: checking extensions update right now.
number of handled extensions: 2
url:
https://companymatter.com/plugins/updates.php?plugin= &version=31.0.5&platform=Linux_x86_64-gcc3
no data returned for
' '
url:
https://companymatter.com/plugins/updates.php?plugin= &version=31.0.5&platform=Linux_x86_64-gcc3
no data returned for
' '
no available update for handled extensions
1501541748508 addons.manager WARN Exception calling callback:
TypeError: ABChecker.checkAvailability is not a function
(chrome://sogo-integrator/content/messenger/folders-update.js:249:9) JS
Stack trace:
:249:9
<
:47:17
<
:189:5
< makeSafe/<@AddonManager.jsm:205:25 <
:932:23
<
:813:7
<
this.PromiseWalker.scheduleWalkerLoop/<@Promise-backend.js:747:11
-------------------------------------------------------------------------

In Thunderbird I don't have a email account set up, but I guess that
should not be an impediment to synchronizing a calendar with SOGo, right?

Thanks in advance for your help.

Kind regards,
Daniel


Attachment: signature.asc
Description: OpenPGP digital signature



  • [SOGo] Configuring Thunderbird to synchronize calendar with SOGo (Zentyal environment), Daniel Bareiro, 07/31/2017

Archive powered by MHonArc 2.6.18.

Top of page