{"action":"created","issue":{"url":"https://api.github.com/repos/Zimbra-Community/zimbra.de_dieploegers_groupcal/issues/4","repository_url":"https://api.github.com/repos/Zimbra-Community/zimbra.de_dieploegers_groupcal","labels_url":"https://api.github.com/repos/Zimbra-Community/zimbra.de_dieploegers_groupcal/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/Zimbra-Community/zimbra.de_dieploegers_groupcal/issues/4/comments","events_url":"https://api.github.com/repos/Zimbra-Community/zimbra.de_dieploegers_groupcal/issues/4/events","html_url":"https://github.com/Zimbra-Community/zimbra.de_dieploegers_groupcal/issues/4","id":178055379,"number":4,"title":"Various installation problems","user":{"login":"Deelight-fr","id":15140280,"avatar_url":"https://avatars.githubusercontent.com/u/15140280?v=3","gravatar_id":"","url":"https://api.github.com/users/Deelight-fr","html_url":"https://github.com/Deelight-fr","followers_url":"https://api.github.com/users/Deelight-fr/followers","following_url":"https://api.github.com/users/Deelight-fr/following{/other_user}","gists_url":"https://api.github.com/users/Deelight-fr/gists{/gist_id}","starred_url":"https://api.github.com/users/Deelight-fr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Deelight-fr/subscriptions","organizations_url":"https://api.github.com/users/Deelight-fr/orgs","repos_url":"https://api.github.com/users/Deelight-fr/repos","events_url":"https://api.github.com/users/Deelight-fr/events{/privacy}","received_events_url":"https://api.github.com/users/Deelight-fr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-20T13:11:46Z","updated_at":"2016-09-23T08:59:37Z","closed_at":null,"body":"I'm trying to install groupcal on Version 8.6.0_GA_1182.NETWORK.\r\n\r\nFollowing the installation instructions, I get an error when I run (on a store) : \r\nzmzimletctl deploy de_dieploegers_groupcal.zip\r\n\r\n> [] INFO: Deploying Zimlet de_dieploegers_groupcal in LDAP.\r\n> [] INFO: Installing Zimlet de_dieploegers_groupcal on this host.\r\n> [] INFO: Upgrading Zimlet de_dieploegers_groupcal to 1.0\r\n> [] INFO: Installing Zimlet config for de_dieploegers_groupcal\r\n> [] INFO: Adding Zimlet de_dieploegers_groupcal to COS default\r\n> [] INFO: Enabling Zimlet de_dieploegers_groupcal\r\n> [] INFO: Deploying on ui node zldap.mydomain.tld\r\n> [] INFO: deploy failed on ui node zldap.mydomain.tld\r\n> com.zimbra.common.service.ServiceException: invalid request: server zldap.mydomain.tld does not have zimbraMailMode set, maybe it is not a store server?\r\n> ExceptionId:main:1474372108997:83a53ef484c68f16\r\n> Code:service.INVALID_REQUEST\r\n> at com.zimbra.common.service.ServiceException.INVALID_REQUEST(ServiceException.java:267)\r\n> at com.zimbra.cs.httpclient.URLUtil.getServiceURL(URLUtil.java:186)\r\n> at com.zimbra.cs.util.WebClientServiceUtil.sendDeployZimletRequestToUiNode(WebClientServiceUtil.java:260)\r\n> at com.zimbra.cs.zimlet.ZimletUtil$ZimletSoapUtil.deployZimletOnUiNode(ZimletUtil.java:1567)\r\n> at com.zimbra.cs.zimlet.ZimletUtil$ZimletSoapUtil.deployZimletRemotely(ZimletUtil.java:1477)\r\n> at com.zimbra.cs.zimlet.ZimletUtil.deployZimletRemotely(ZimletUtil.java:1238)\r\n> at com.zimbra.cs.zimlet.ZimletUtil.dispatch(ZimletUtil.java:1877)\r\n> at com.zimbra.cs.zimlet.ZimletUtil.main(ZimletUtil.java:1973)\r\n> com.zimbra.common.service.ServiceException: invalid request: server zldap.mydomain.tld does not have zimbraMailMode set, maybe it is not a store server?\r\n> ExceptionId:main:1474372108997:83a53ef484c68f16\r\n> Code:service.INVALID_REQUEST\r\n> at com.zimbra.common.service.ServiceException.INVALID_REQUEST(ServiceException.java:267)\r\n> at com.zimbra.cs.httpclient.URLUtil.getServiceURL(URLUtil.java:186)\r\n> at com.zimbra.cs.util.WebClientServiceUtil.sendDeployZimletRequestToUiNode(WebClientServiceUtil.java:260)\r\n> at com.zimbra.cs.zimlet.ZimletUtil$ZimletSoapUtil.deployZimletOnUiNode(ZimletUtil.java:1567)\r\n> at com.zimbra.cs.zimlet.ZimletUtil$ZimletSoapUtil.deployZimletRemotely(ZimletUtil.java:1477)\r\n> at com.zimbra.cs.zimlet.ZimletUtil.deployZimletRemotely(ZimletUtil.java:1238)\r\n> at com.zimbra.cs.zimlet.ZimletUtil.dispatch(ZimletUtil.java:1877)\r\n> at com.zimbra.cs.zimlet.ZimletUtil.main(ZimletUtil.java:1973)\r\n> [] ERROR: Error\r\n> com.zimbra.common.service.ServiceException: invalid request: server zldap.mydomain.tld does not have zimbraMailMode set, maybe it is not a store server?\r\n> ExceptionId:main:1474372108997:83a53ef484c68f16\r\n> Code:service.INVALID_REQUEST\r\n> at com.zimbra.common.service.ServiceException.INVALID_REQUEST(ServiceException.java:267)\r\n> at com.zimbra.cs.httpclient.URLUtil.getServiceURL(URLUtil.java:186)\r\n> at com.zimbra.cs.util.WebClientServiceUtil.sendDeployZimletRequestToUiNode(WebClientServiceUtil.java:260)\r\n> at com.zimbra.cs.zimlet.ZimletUtil$ZimletSoapUtil.deployZimletOnUiNode(ZimletUtil.java:1567)\r\n> at com.zimbra.cs.zimlet.ZimletUtil$ZimletSoapUtil.deployZimletRemotely(ZimletUtil.java:1477)\r\n> at com.zimbra.cs.zimlet.ZimletUtil.deployZimletRemotely(ZimletUtil.java:1238)\r\n> at com.zimbra.cs.zimlet.ZimletUtil.dispatch(ZimletUtil.java:1877)\r\n> at com.zimbra.cs.zimlet.ZimletUtil.main(ZimletUtil.java:1973)\r\n\r\nMaybe this is ok because zldap.mydomain.tld is indeed not a store server. Is it ok to ignore this error?\r\n\r\nIf i enable the zimlet for a user, he gets an error message at login:\r\n\r\n> Server error (unknown command sent to server).\r\n> method:\t[unknown]\r\n> msg:\tunknown document: GetAvailableGroupsRequest\r\n> code:\tservice.UNKNOWN_DOCUMENT\r\n> detail:\tsoap:Sender\r\n> trace:\tqtp509886383-198356:http://xxx.xxx.xxx.xxx:8080/service/soap/GetAvailableGroupsRequest:1474376904590:85b5566405fcb8da\r\n> request:\t\r\n> <soap:Envelope xmlns:soap=\"http://www.w3.org/2003/05/soap-envelope\"><soap:Header><context xmlns=\"urn:zimbra\"><userAgent name=\"ZimbraWebClient - GC52 (Linux)\" version=\"8.6.0_GA_1194\"/><session id=\"192869\"/><account by=\"name\">john.doe@mydomain.tld</account><format type=\"js\"/></context></soap:Header><soap:Body><GetAvailableGroupsRequest xmlns=\"urn:groupCal\"/></soap:Body></soap:Envelope>\r\n\r\nLaunching groupcal.py also returns an error:\r\npython /usr/local/bin/groupcal.py -D /opt/zimbra/data/caching.db zstore1.mydomain.tld admin@mydomain.tld \"myadminpassword\"\r\n\r\n> Traceback (most recent call last):\r\n>   File \"/usr/local/bin/groupcal.py\", line 178, in <module>\r\n>     lists = search_response.get_response()[\"SearchDirectoryResponse\"][\"dl\"]\r\n> KeyError: 'dl'"},"comment":{"url":"https://api.github.com/repos/Zimbra-Community/zimbra.de_dieploegers_groupcal/issues/comments/249139630","html_url":"https://github.com/Zimbra-Community/zimbra.de_dieploegers_groupcal/issues/4#issuecomment-249139630","issue_url":"https://api.github.com/repos/Zimbra-Community/zimbra.de_dieploegers_groupcal/issues/4","id":249139630,"user":{"login":"Deelight-fr","id":15140280,"avatar_url":"https://avatars.githubusercontent.com/u/15140280?v=3","gravatar_id":"","url":"https://api.github.com/users/Deelight-fr","html_url":"https://github.com/Deelight-fr","followers_url":"https://api.github.com/users/Deelight-fr/followers","following_url":"https://api.github.com/users/Deelight-fr/following{/other_user}","gists_url":"https://api.github.com/users/Deelight-fr/gists{/gist_id}","starred_url":"https://api.github.com/users/Deelight-fr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Deelight-fr/subscriptions","organizations_url":"https://api.github.com/users/Deelight-fr/orgs","repos_url":"https://api.github.com/users/Deelight-fr/repos","events_url":"https://api.github.com/users/Deelight-fr/events{/privacy}","received_events_url":"https://api.github.com/users/Deelight-fr/received_events","type":"User","site_admin":false},"created_at":"2016-09-23T08:59:37Z","updated_at":"2016-09-23T08:59:37Z","body":"You're right, the extension wasn't installed on all stores. Thanks.\r\n\r\nHowever, I still have a problem running groupcal.py.\r\n\r\n> python /usr/local/bin/groupcal.py -d -D /opt/zimbra/data/caching.db zstore1.mydomain.tld admin@mydomain.tld 'mypassword'\r\n> DEBUG:root:Starting groupcal agent\r\n> DEBUG:root:Found list gcal_test@mydomain.tld\r\n> DEBUG:root:Working on account john.doe@mydomain.tld\r\n> DEBUG:root:Fetching preauth key for domain mydomain.tld\r\n> Traceback (most recent call last):\r\n>   File \"/usr/local/bin/groupcal.py\", line 360, in <module>\r\n>     preauth_cache[domain_part]\r\n>   File \"/usr/local/lib/python2.7/dist-packages/pythonzimbra/tools/auth.py\", line 104, in authenticate\r\n>     server.send_request(auth_request, response)\r\n>   File \"/usr/local/lib/python2.7/dist-packages/pythonzimbra/communication.py\", line 125, in send_request\r\n>     self.timeout\r\n>   File \"/usr/lib/python2.7/urllib2.py\", line 126, in urlopen\r\n>     return _opener.open(url, data, timeout)\r\n>   File \"/usr/lib/python2.7/urllib2.py\", line 400, in open\r\n>     response = self._open(req, data)\r\n>   File \"/usr/lib/python2.7/urllib2.py\", line 418, in _open\r\n>     '_open', req)\r\n>   File \"/usr/lib/python2.7/urllib2.py\", line 378, in _call_chain\r\n>     result = func(*args)\r\n>   File \"/usr/local/lib/python2.7/dist-packages/pythonzimbra/tools/urllib2_tls.py\", line 43, in https_open\r\n>     return self.do_open(TLS1Connection, req)\r\n>   File \"/usr/lib/python2.7/urllib2.py\", line 1177, in do_open\r\n>     raise URLError(err)\r\n> urllib2.URLError: <urlopen error [Errno 111] Connection refused>\r\n\r\nAuthentication is OK because it finds a distribution list I created (gcal_test@mydomain.tld). Also, if i give a wrong admin password, I only get:\r\n\r\n> DEBUG:root:Starting groupcal agent\r\n> ERROR:root:Cannot login into zimbra with the supplied credentials.\r\n\r\nIt seems that groupcal.py is trying to login to connect to https://zstore1.mydomain.tld"}}
{"actor":{"display_login":"Deelight-fr"}}