Mailchimp Integration - synchronization of lists is not working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yuri
    Member
    • Mar 2014
    • 8552

    #16
    Would be helpful to know what value has memory_limit parameter for php for CLI.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • lucakuehne
      Senior Member
      • Feb 2016
      • 195

      #17
      Originally posted by yurikuzn
      Would be helpful to know what value has memory_limit parameter for php for CLI.
      Code:
      memory_limit => 512M => 512M

      Comment

      • yuri
        Member
        • Mar 2014
        • 8552

        #18
        Thank you.

        The problem, that we don't have errors logged. It can be that some internal error occurs while cron is running. Most likely it's a memory limit exceeded.

        If you use Windows Task Scheduler to run cron.php you can append " > C:\path\to\some\log.txt" to your cron command. See more: https://stackoverflow.com/questions/...662086#8662086

        Then all cron.php output (errors) will be logged in that file.

        We will try to decrease memory usage, but first want to make sure it's really a memory limit issue.
        If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

        Comment

        • lucakuehne
          Senior Member
          • Feb 2016
          • 195

          #19
          Thank you for the idea yuri

          I redirected the output as you suggested, but there are no errors in the logfiles. The only thing I can see is the cron.php being called...

          Comment

          • yuri
            Member
            • Mar 2014
            • 8552

            #20
            Did you try sync after that? Did it fail?

            I will release new version of mailchimp integration and EspoCRM 5.6.9 soon. There will be more optimized memory usage. I hope it will help.
            If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

            Comment

            • lucakuehne
              Senior Member
              • Feb 2016
              • 195

              #21
              Originally posted by yurikuzn
              Did you try sync after that? Did it fail?
              Yes and it did run without a problem. (including the notification)

              Originally posted by yurikuzn
              I will release new version of mailchimp integration and EspoCRM 5.6.9 soon. There will be more optimized memory usage. I hope it will help.
              Am I right, that you just released those two releases?

              Comment

              • Maximus
                Senior Member
                • Nov 2018
                • 2731

                #22
                Hello,
                yes, he did. You can go ahead and upgrade them.

                Comment

                • lucakuehne
                  Senior Member
                  • Feb 2016
                  • 195

                  #23
                  I just upgraded EspoCRM itself to 5.6.9, but I can't download 1.0.2 of the mailchimp extension under portal.espocrm.com

                  Comment

                  • Maximus
                    Senior Member
                    • Nov 2018
                    • 2731

                    #24
                    Could you try again? Now it should work.

                    Comment

                    • lucakuehne
                      Senior Member
                      • Feb 2016
                      • 195

                      #25
                      I was able to successfully upgrade them.
                      But it still does not work.

                      Regarding the notifications: Sometimes I'll get one and sometimes not. But in the jobs-log everything shows up successfull. Also no errors in the cron-logs.

                      EDIT: I now got a notification regarding a sync, but I didn't do a sync in the last 30-60 minutes. But also there was nothing synced to mailchimp.
                      Last edited by lucakuehne; 07-30-2019, 02:32 PM.

                      Comment

                      • tanya
                        Senior Member
                        • Jun 2014
                        • 4308

                        #26
                        Hello Luca,
                        here you can find, how to debug sync process
                        Hi, I create a list to Espocrm for add my contacts. I save and execute the job sync with my mailchimp list. But the contacts number to mailchimp list is not


                        If you have access to the database, find created batch id and check the per-entry result in the playground.
                        Please tell us, if you don't have new records in mail_chimp_queue and in mail_chimp_batch.

                        Comment

                        • Maximus
                          Senior Member
                          • Nov 2018
                          • 2731

                          #27
                          Have you tried to sync your big target list (7k+) with a new MailChimp audience or no? If no, could you try to create a new one and sync this big target list with it.

                          Comment

                          Working...