z-push error
-
@fbartels Hallo Felix,
i have install the package. Wenn i run ./gab-sync.php -a sync follow Error displayed:
Unable to setup service for provider in /usr/share/z-push/tools/gab-sync/lib/kopano.php on line 60
Kopano: login failed with error code: 0xFFFFFFFF8004011C
The following is in line 60:
$this->session = mapi_logon_zarafa(USERNAME, PASSWORD, SERVER, CERTIFICATE, CERTIFICATE_PASSWORD, 0, self::VERSION, self::NAME. " ". self::VERSION);
Ive been using Kopano. Do i need change mapi_logon_zarafa in mapi_logon_kopano?Regards
Ralf -
@zwockel After i edited the /usr/share/z-push/tools/gab-sync# config.php it works
-
ideally you would edit the config file in /etc/z-push
-
did you mean /etc/z-push z-push.conf.php ?
-
There are several configuration files in this directory. So it depends where you need to adjust.
For the kopano configuration settings use /etc/z-push/kopano.conf.php, general settings z-push.conf.php.
-
Hi, i’m having the same error.
29/04/2018 18:14:27 [30916] [WARN] [xxxxxx] KopanoBackend->GetKoeGabBackendFolderId() Found 0 entries in the store 'SYSTEM' matching the name 'Z-Push-KOE-GAB'. 29/04/2018 18:15:59 [30884] [WARN] [xxxxxx] KopanoBackend->GetKoeGabBackendFolderId() Found 0 entries in the store 'SYSTEM' matching the name 'Z-Push-KOE-GAB'. 29/04/2018 18:16:00 [24132] [WARN] [xxxxxx] KopanoBackend->GetKoeGabBackendFolderId() Found 0 entries in the store 'SYSTEM' matching the name 'Z-Push-KOE-GAB'.
What do i need to change in the config files as descibed above ?
I’m running on Kopano 8.5.8.2 after an upgrade of Zarafa with Z-push 2.39 -
You need to configure the gab sync as explained in https://forum.kopano.io/topic/594/z-push-error/2
-
I found the problem:
in /usr/share/zarafa-z-push/tools/gab-sync/configp.hpdefine(‘USERNAME’, ’ ');
must be
define(‘USERNAME’, ‘SYSTEM’);
-
Hi,
Since this bug in /etc/z-push/gabsync.conf.php also cost me some time, can you please be so nice and fix this default config?
Thanks, Robert
btw: latest version of z-push-kopano-gabsync (2.4.5) installed
-
Can something be considered as a bug, if people don’t read documentation and expect everything to work out of the box?
-
Hi Felix,
@fbartels said in z-push error:
if people don’t read documentation
I read the complete documentation at
https://wiki.z-hub.io/display/ZP/Configuring+GAB-Sync+for+Kopano+OL+Extension
Unfortunately it is wrong or misleading in the point concerned:
Excerpt of the gab-sync config.php. SERVER, USERNAME and PASSWORD may need to be adjusted to the local installation if the script is running on a different system than your Zarafa/Kopano installation. If Z-Push and Zarafa/Kopano are running on the same system no adjustments are necessary.
Happy New Year!
Regards Robert