Unable to install Calendarimporter and Contactimporter Plugins

It seems I cannot get (easily) access to the linked git archive. So here is the git commit as patch:

From 5d5d1e06bbd53927a326c0af25faa85221ca6312 Mon Sep 17 00:00:00 2001
From: OliA <olia@ktah.net>
Date: Mon, 12 Jun 2017 16:33:21 +0200
Subject: [PATCH] fixed error: during contact import values from previous
 contacts are added to current one

 php/module.contact.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/php/module.contact.php b/php/module.contact.php
index f51ee57..2798d62 100644
--- a/php/module.contact.php
+++ b/php/module.contact.php
@@ -216,6 +216,7 @@ class ContactModule extends Module
                         error_log("New contact added: \"" . $propValuesMAPI[$properties["display_name"]] . "\".\n");
+                   $propValuesMAPI = array();
@@ -1201,4 +1202,4 @@ class ContactModule extends Module
         $unescaped = str_replace("\\,", ",", $unescaped);
         return $unescaped;
\ No newline at end of file

Thanks a lot! That did the trick!

As a reward, I can provide a workaround to obtain more than 10 search results when using android and z-push ;-)



question: is there now a repository with the updated version of the code?

@kms said in Unable to install Calendarimporter and Contactimporter Plugins:

I can provide a workaround to obtain more than 10 search results when using android and z-push ;-)

can you explain a bit more what you patch does? If you are willing we are always open to pull requests, see https://wiki.z-hub.io/display/ZP/Development+guidelines for more information.

I got around to install the ContactImporter plugin and make it to show it up in the plugin list where it can be enabled.
However, no context menu pops up when clicking on any contacts folder.
Can someone familiar with this plugin please help to debug it further?

I feel this is a severe limitation of Kopano, for not having a supported way of importing contacts. Perhaps this is the catch… pony up for support to get support

I am using WebApp: / Kopano Core: 8.3.1-35 / Z-Push: 2.3.6+0

Hi @lleopold19 ,

there is always the kopano-migration-pst tool. For every system I’ve seen so far there is either a direct way of exporting pst or via third party tools.

@lleopold19 AFAIK the ContactImporter Plugin doesn’t add any context menus. You access the plugin via “Import Contacts” (bottom left corner) in the “Contacts” Tab:

I appologize from kopano and its developers, I sounded as a bad troll, and that was not my intention.

Thanks Olia for your reply, that button does not show for me. That is my problem and cannot find anything errors in logs. The reason for suspecting a context menu issue is that when the plugin is disabled I can get a standard context menu by right clicking contact folders. With the plugin enabled I do not get it. Still get a menu on other folders, like deleted items, etc.

My contacts are not available in PST format, and after many years since touching outlook for email, not exactly sure how to get them into PST format.
Any suggestion and that direction would also be appreciated.

If you need to do only a one-time import, maybe try if that script here still works:

Otherwise, did you look in the console log from the Browser, or test it in Firefox/Chrome/Edge? Could be some javascript issue? Maybe some Browser plugin interferes.

thanks, how did I not think of this… focused on server only…

Getting a “TypeError: Zarafa.plugins.contactimporter.ui is undefined” in both Firefox and Chrome