Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    Issue with invitation Calendar?

    General usage of Z-Push
    5
    31
    5852
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • killmasta93
      killmasta93 last edited by killmasta93

      also wanted to add whats odd when i accept a meeting on the error log i see this

                01/11/2018 00:32:39 [  464] [FATAL] [gerencia] Fatal error: /var/www/zpush/src/backend/imap/imap.php:1704 - Call to undefined function GetUserDetails() (1)
      

      whats odd is that it replicates on my mobile device and on outlook but not on nextcloud Calendar APP, only if someone sends me an invitation and not the other way around

      also this error

         ```
      
        01/11/2018 00:44:21 [  415] [WARN] [gerencia] /var/www/zpush/src/backend/imap/imap.php:1677 imap_fetchheader(): Bad message number (2)
        01/11/2018 00:44:21 [  415] [WARN] [gerencia] /var/www/zpush/src/backend/imap/imap.php:1677 imap_body(): Bad message number (2)
        01/11/2018 00:47:31 [ 3695] [FATAL] [gerencia] Fatal error: /var/www/zpush/src/backend/imap/imap.php:1704 - Call to undefined function GetUserDetails() (1)
      

      the 1709 line in the imap php seems to imply this

         if (is_calendar($part)) {
                          ZLog::Write(LOGLEVEL_DEBUG, "BackendIMAP->MeetingResponse - text/calendar part found, trying to reply");
                          $body_part = reply_meeting_calendar($part, $response, GetUserDetails($this->username)['emailaddress']);
      
      1 Reply Last reply Reply Quote 0
      • killmasta93
        killmasta93 last edited by killmasta93

        UPDATE: so there was something odd with the imap.php i changed to this and after that no error log spamming. But whats odd is that if someone sends me an invitation calendar and i accept it, it syncs with outlook on the computer but not on the app on the mobile and does not show on the calendar on nextcloud. checked the logs but nothing appears out of the ordinary.

                      $body_part = reply_meeting_calendar($part, $response, $this->GetUserDetails($this->username)['emailaddress']);
        1 Reply Last reply Reply Quote 0
        • Manfred
          Manfred Kopano last edited by

          Hi killmasta93,

          where do you accept the invitation? In Outlook? Is it then being synced to the mobile?

          Manfred

          1 Reply Last reply Reply Quote 0
          • killmasta93
            killmasta93 last edited by

            hi manfred thank you for the reply, that’s correct i accept the invitation on outlook. It adds it to the calendar on the outlook but not to nextcloud nor on the mobile.
            ex:
            Client sends calendar invite--------to me--------open on outlook-------saves on the calendar on outlook but not on mobile nor nextcloud

            I send calendar invite -------to client--------it automatic saves on outlook -------and saves also on mobile and nextcloud

            Thank you

            1 Reply Last reply Reply Quote 0
            • Manfred
              Manfred Kopano last edited by

              Hi killmasta93,

              so you have to check if after accepting the meeting request outlook sends this calendar item to the server as a new appointment.

              Manfred

              1 Reply Last reply Reply Quote 0
              • killmasta93
                killmasta93 last edited by killmasta93

                Hi Manfred,
                Thank you for the reply, I was checking though the logs but could not find any other errors besides

                             StatusException: SyncCollections->CheckForChanges(): Timeout forced after 28s from 470s due to other process - code: 3 - file: /var/www/zpush/src/lib/core/synccollections.php:579
                
                          [WARN] [gerencia] SyncObject->Check(): object from type SyncMail: parameter 'from' contains an invalid email address 'gerencia'. Address is removed.
                

                This is another log

                
                07/11/2018 23:53:09 [24194] [ INFO] [gerencia] cmd='Sync' memory='2.74 MiB/3.00 MiB' time='0.45s' devType='SamsungDevice' devId='sec1f9c9384c7e3f' getUser='gerencia' from='192.168.3.254' idle='0s' version='GIT' method='POST' httpcode='200'
                07/11/2018 23:53:09 [24194] [ INFO] [gerencia] ExportChangesDiff->InitializeExporter(): Found '0' changes for 'Tpersonal'
                07/11/2018 23:53:09 [24194] [ INFO] [gerencia] cmd='Sync' memory='2.69 MiB/3.00 MiB' time='0.49s' devType='SamsungDevice' devId='sec1f9c9384c7e3f' getUser='gerencia' from='192.168.3.254' idle='0s' version='GIT' method='POST' httpcode='200'
                07/11/2018 23:53:10 [24194] [ INFO] [gerencia] ExportChangesDiff->InitializeExporter(): Found '0' changes for 'Cpersonal'
                07/11/2018 23:53:10 [24194] [ INFO] [gerencia] cmd='Sync' memory='2.88 MiB/3.25 MiB' time='0.43s' devType='SamsungDevice' devId='sec1f9c9384c7e3f' getUser='gerencia' from='192.168.3.254' idle='0s' version='GIT' method='POST' httpcode='200'
                07/11/2018 23:53:10 [24194] [ INFO] [gerencia] ExportChangesDiff->InitializeExporter(): Found '0' changes for '0ba49d4c'
                07/11/2018 23:53:10 [24194] [ INFO] [gerencia] cmd='Sync' memory='2.73 MiB/3.00 MiB' time='0.36s' devType='SamsungDevice' devId='sec1f9c9384c7e3f' getUser='gerencia' from='192.168.3.254' idle='0s' version='GIT' method='POST' httpcode='200'
                07/11/2018 23:53:22 [24194] [ INFO] [gerencia] Processed '1' incoming changes
                07/11/2018 23:53:22 [24194] [ INFO] [gerencia] ExportChangesDiff->InitializeExporter(): Found '0' changes for '0ba49d4c'
                07/11/2018 23:53:22 [24194] [ INFO] [gerencia] cmd='Sync' memory='2.80 MiB/3.25 MiB' time='0.39s' devType='SamsungDevice' devId='sec1f9c9384c7e3f' getUser='gerencia' from='192.168.3.254' idle='0s' version='GIT' method='POST' httpcode='200'
                07/11/2018 23:53:28 [24194] [ INFO] [gerencia] cmd='MeetingResponse' memory='2.58 MiB/3.00 MiB' time='0.36s' devType='SamsungDevice' devId='sec1f9c9384c7e3f' getUser='gerencia' from='192.168.3.254' idle='0s' version='GIT' method='POST' httpcode='200'
                07/11/2018 23:53:30 [24194] [ INFO] [gerencia] cmd='SendMail' memory='2.59 MiB/3.00 MiB' time='0.38s' devType='SamsungDevice' devId='sec1f9c9384c7e3f' getUser='gerencia' from='192.168.3.254' idle='0s' version='GIT' method='POST' httpcode='200'
                07/11/2018 23:53:32 [24194] [ INFO] [gerencia] ExportChangesDiff->InitializeExporter(): Found '1' changes for '9d7d5407'
                07/11/2018 23:53:32 [24194] [WARN] [gerencia] SyncObject->Check(): object from type SyncMail: parameter 'from' contains an invalid email address 'gerencia'. Address is removed.
                07/11/2018 23:53:32 [24194] [ INFO] [gerencia] cmd='Sync' memory='3.33 MiB/3.75 MiB' time='0.36s' devType='SamsungDevice' devId='sec1f9c9384c7e3f' getUser='gerencia' from='192.168.3.254' idle='0s' version='GIT' method='POST' httpcode='200'
                07/11/2018 23:53:33 [ 8573] [ INFO] [gerencia] cmd='Ping' memory='3.12 MiB/3.50 MiB' time='181.18s' devType='SamsungDevice' devId='sec1f9c9384c7e3f' getUser='gerencia' from='192.168.3.254' idle='180s' version='GIT' method='POST' httpcode='200'
                07/11/2018 23:53:34 [24194] [ INFO] [gerencia] SyncCollections->CheckForChanges(): Waiting for store changes... (lifetime 660 seconds)
                07/11/2018 23:53:34 [24194] [ INFO] [gerencia] ExportChangesDiff->InitializeExporter(): Found '6' changes for 'hierarchy'
                07/11/2018 23:53:35 [24194] [ INFO] [gerencia] ExportChangesDiff->InitializeExporter(): Found '0' changes for 'hierarchy'
                07/11/2018 23:53:35 [24194] [ INFO] [gerencia] ExportChangesDiff->InitializeExporter(): Found '0' changes for 'hierarchy'
                07/11/2018 23:53:36 [31900] [ INFO] [gerencia] ExportChangesDiff->InitializeExporter(): Found '0' changes for '69ba70f8'
                07/11/2018 23:53:46 [  539] [ INFO] [gerencia] ExportChangesDiff->InitializeExporter(): Found '0' changes for '1543cbea'
                07/11/2018 23:53:46 [  539] [ INFO] [gerencia] StatusException: SyncCollections->CheckForChanges(): Timeout forced after 47s from 660s due to other process - code: 3 - file: /var/www/zpush/src/lib/core/synccollections.php:579
                07/11/2018 23:53:46 [  539] [ INFO] [gerencia] cmd='Ping' memory='3.25 MiB/3.50 MiB' time='46.98s' devType='Android' devId='4e696e65353731394334383632313636' getUser='gerencia' from='192.168.3.254' idle='47s' version='GIT' method='POST' httpcode='200'
                07/11/2018 23:53:48 [ 8573] [ INFO] [gerencia] ExportChangesDiff->InitializeExporter(): Found '0' changes for 'Cpersonal'
                07/11/2018 23:53:48 [ 8573] [ INFO] [gerencia] cmd='Sync' memory='2.88 MiB/3.25 MiB' time='0.53s' devType='SamsungDevice' devId='sec1f9c9384c7e3f' getUser='gerencia' from='192.168.3.254' idle='0s' version='GIT' method='POST' httpcode='200'
                07/11/2018 23:53:48 [  539] [ INFO] [gerencia] ExportChangesDiff->InitializeExporter(): Found '0' changes for 'Tpersonal'
                07/11/2018 23:53:48 [  539] [ INFO] [gerencia] cmd='Sync' memory='2.69 MiB/3.00 MiB' time='0.62s' devType='SamsungDevice' devId='sec1f9c9384c7e3f' getUser='gerencia' from='192.168.3.254' idle='0s' version='GIT' method='POST' httpcode='200'
                ^C
                
                

                as you can see it shows the meeting
                im not sure what else to look for

                Thank you

                Manfred 1 Reply Last reply Reply Quote 0
                • Manfred
                  Manfred Kopano @killmasta93 last edited by

                  Hi killmasta93,

                  @killmasta93 said in Issue with invitation Calendar?:

                  Hi Manfred,
                  Thank you for the reply, I was checking though the logs but could not find any other errors besides

                               StatusException: SyncCollections->CheckForChanges(): Timeout forced after 28s from 470s due to other process - code: 3 - file: /var/www/zpush/src/lib/core/synccollections.php:579
                  
                            [WARN] [gerencia] SyncObject->Check(): object from type SyncMail: parameter 'from' contains an invalid email address 'gerencia'. Address is removed.
                  

                  You don’t have to look for errors only, you have to check if outlook sends the calendar item to the server as a new appointment. To see the data sent between outlook/mobile devices and server you have to set the loglevel to WBXML.

                  @killmasta93 said in Issue with invitation Calendar?:

                  as you can see it shows the meeting
                  im not sure what else to look for

                  Thank you

                  It shows the MeetingResponse which is not the same. The INFO loglevel is not helpful when debugging. Felix posted the link in his first response how to enabled WBXML logs and I also already responded in this thread that in order to tell more, WBXML level logs are required.

                  Manfred

                  1 Reply Last reply Reply Quote 0
                  • killmasta93
                    killmasta93 last edited by

                    Hi manfred,
                    Thank you for the reply, sorry for not abiliting the WBXML logs this time i enabled it and added the part when i send the invitation from a hotmail account to my caldav account

                    https://pastebin.com/K2bSZtLp

                    Thank you

                    1 Reply Last reply Reply Quote 0
                    • Manfred
                      Manfred Kopano last edited by

                      Hi killmasta93,

                      to you it’s obvious what you’re sending and receiving, but it would help me a lot if you’d at least provide the subject of the meeting request.

                      Scrolling through more than 1000 lines of the log you’ve posted, there’s one meeting response “Canceled: testest” which is actually a meeting cancellation. Is it really the right one?

                      Manfred

                      1 Reply Last reply Reply Quote 0
                      • killmasta93
                        killmasta93 last edited by

                        Hi Manfred, Thank you again for the reply and your time. Sorry for not posting the subject i did another test.
                        The subject is

                               thisisatest
                        

                        https://pastebin.com/tbBkjBmL

                        1 Reply Last reply Reply Quote 0
                        • Manfred
                          Manfred Kopano last edited by

                          Hi killmasta93,

                          the log you’ve posted begins when you send the MeetingResponse. It’s also important to see what happens when you receive the meeting request.

                          Manfred

                          1 Reply Last reply Reply Quote 0
                          • killmasta93
                            killmasta93 last edited by

                            Thanks for the reply, so i did another test the subject is

                                 this is a test 3
                            

                            i send invitation from client@hotmail.com(on outlook 2013) to gerencia@mydomain,com(on mobile using nine android app)
                            after the invitation got send, on my android i hit accept. the issue is that i dont see the receive part on the log, but i receive it though the email with no issue.

                                           [DEBUG] [gerencia] cmd='MeetingResponse' devType='Android' devId='4e696e65353731394334383632313636' getUser='gerencia' from='192.168.3.254' version='GIT' method='POST'
                            

                            Not sure if its a bug

                            LOG:
                            https://pastebin.com/2apmKfGW
                            Thank you

                            1 Reply Last reply Reply Quote 0
                            • Manfred
                              Manfred Kopano last edited by

                              Hi killmasta93,

                              did you hit accept on the invitation email or did you open the calendar and hit accept on the appointment? I’m not familiar with the functionality of the Nine app, so the more information you provide the better. Does the app use the built-in email and calendar or is it all inside the app?

                              There’s no calendar item “this is a test 3” being synced to the server, so I guess that the app creates the appointment in the calendar only locally and doesn’t sync it back to the server. Maybe there’s some checkbox somewhere in the settings like “sync appointments from meeting requests to the server”.

                              Manfred

                              killmasta93 1 Reply Last reply Reply Quote 0
                              • killmasta93
                                killmasta93 @Manfred last edited by

                                Hi Manfred,
                                Thank you again for your help really appreciate it. This time i did the test with the outlook mail app
                                0_1542255999756_Clipboarder.2018.11.14-006.png
                                the subject is testing 4
                                the only part i found in the log that shows receive
                                would be this which i dont think its sending the request to the server

                                          14/11/2018 23:21:51 [29775] [WBXML] [gerencia] O        <POOMMAIL:DateReceived>
                                          14/11/2018 23:21:51 [29775] [WBXML] [gerencia] O        2018-11-15T04:21:53.000Z
                                          14/11/2018 23:21:51 [29775] [WBXML] [gerencia] O        </POOMMAIL:DateReceived>
                                

                                This is the whole log

                                https://pastebin.com/5LmWY1Eu

                                Thank you again

                                1 Reply Last reply Reply Quote 0
                                • Manfred
                                  Manfred Kopano last edited by

                                  Hi killmasta93,

                                  after you accept the meeting request, the appointment is only in Outlook’s calendar, isn’t it? Did you check if Outlook or mobile creates an appointment in the calendar after you open the meeting request in Outlook or on a mobile, but before you respond to the meeting request?

                                  My guess is that Outlook and mobile devices create the appointments from meeting requests only locally and expect the server to handle this. If that’s the case, it would require quite some work on the combined backend to be able to handle it (if it’s possible at all).

                                  Manfred

                                  1 Reply Last reply Reply Quote 0
                                  • killmasta93
                                    killmasta93 last edited by

                                    Thanks for the reply, and appreciate all the help. That is correct on outlook after accepting the meeting it creates it locally but does not send it to the server which therefore does not sync across mobile device, as you mention could be something on the backend. I would like to somehow help or pay for that fix. I know its alot of work cant imagine the hours that you put in.

                                    1 Reply Last reply Reply Quote 0
                                    • Manfred
                                      Manfred Kopano last edited by

                                      Hi killmasta93,

                                      the caldav backend was a community contribution and the imap backend has a lot of community contributions as well. Right now we (Z-Push core team) don’t have any resources to address this issue. If someone would contribute a fix for it, we would of course review it and accept if it works as expected.

                                      Manfred

                                      1 Reply Last reply Reply Quote 0
                                      • killmasta93
                                        killmasta93 last edited by

                                        Hi Manfred,
                                        Thank you for the reply, would I post this as a bug? I would gladly pay someone to fix this issue as im really interesting in putting this in production.

                                        Thank you

                                        1 Reply Last reply Reply Quote 0
                                        • egoitzau
                                          egoitzau last edited by egoitzau

                                          @manfred I can set a meeting withouth problems and gets synced. Do you have a caldav backend?. Are you setting the event in the calendar being synced?. Do you have personal calendar property of Z-push properly set?.

                                          Manfred 1 Reply Last reply Reply Quote 0
                                          • Manfred
                                            Manfred Kopano @egoitzau last edited by

                                            Hi egoitzau,

                                            @egoitzau said in Issue with invitation Calendar?:

                                            @manfred I can set a meeting withouth problems and gets synced. Do you have a caldav backend?. Are you setting the event in the calendar being synced?. Do you have personal calendar property of Z-push properly set?.

                                            @killmasta93 is the one having issue, not me.

                                            Manfred

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post