Bad server response during export

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ciryaj
    Member
    • Mar 2018
    • 45

    Bad server response during export

    I was exporting around 350K leads and every time I export bad server response shows up. I guess it would be something with the time out but I don't know where to configure.
  • item
    Active Community Member
    • Mar 2017
    • 1476

    #2
    Hello,
    max time execution and so are in : php.ini file

    But for me, with 350K, is better to do directly in database.

    Regards
    If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​

    Comment

    • ciryaj
      Member
      • Mar 2018
      • 45

      #3
      I prefer users to be able to do it on their own. I guess this is not on max_exec... I have tried changing this and it seems to time out in less than 60s or even 30s

      Comment

      • Maximus
        Senior Member
        • Nov 2018
        • 2731

        #4
        Hello,
        is there something in the Espo and server error logs?

        Comment

        • item
          Active Community Member
          • Mar 2017
          • 1476

          #5
          Hi,
          just be realistic : 350K with a table like "Leads"... hum hum ....
          I just look the table "leads" linked to :
          user
          email
          phone
          account
          contact
          opportunity
          campaign

          after that, you have not more table in the "EspoCRM" database
          Sometime, you must choose...and with 350k record, you have no choose

          If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​

          Comment

          • yuri
            Member
            • Mar 2014
            • 8440

            #6
            In 5.6.0 memory usage will be optimized for export. But export to XLSX will still demand a lot of memory though.
            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

            • ciryaj
              Member
              • Mar 2018
              • 45

              #7
              Originally posted by yurikuzn
              In 5.6.0 memory usage will be optimized for export. But export to XLSX will still demand a lot of memory though.
              Ohhh so this is not about the timeout but on the memory usage?

              Comment

              • yuri
                Member
                • Mar 2014
                • 8440

                #8
                > Ohhh so this is not about the timeout but on the memory usage?
                The answer for your case is in logs.
                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

                • ciryaj
                  Member
                  • Mar 2018
                  • 45

                  #9
                  Originally posted by yurikuzn
                  > Ohhh so this is not about the timeout but on the memory usage?
                  The answer for your case is in logs.
                  Saw it.

                  Espo.ERROR: Uncaught Exception PDOException: "SQLSTATE[HY000] [2002] No such file or directory" at /opt/lampp/htdocs/ntucrm/application/Espo/ORM/EntityManager.php line 157 {"exception":"[object] (PDOException(code: 2002)

                  Saw a solution.

                  After successful installation I got "Bad server response" error message whenever navigating throughout the app. Unable to upload any file in the


                  That was too stupid of me not to check on logs first.

                  But then got another error

                  Espo.ERROR: Uncaught Exception PDOException: "SQLSTATE[42S22]:

                  Attached Files

                  Comment

                  • item
                    Active Community Member
                    • Mar 2017
                    • 1476

                    #10
                    Column not found: 1054 Unknown column 'user.type'

                    Check Yuri post in the forum, .I have read info about that..if not forget, you must run a SQL query for create this field.
                    I think this field don't exist in expo 5.4 and exist in 5.5
                    If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​

                    Comment

                    • ciryaj
                      Member
                      • Mar 2018
                      • 45

                      #11
                      Originally posted by item
                      Column not found: 1054 Unknown column 'user.type'

                      Check Yuri post in the forum, .I have read info about that..if not forget, you must run a SQL query for create this field.
                      I think this field don't exist in expo 5.4 and exist in 5.5
                      ohhh let me try updating it then. THANKS!

                      Comment

                      • ciryaj
                        Member
                        • Mar 2018
                        • 45

                        #12
                        Tried the update but I still have the error. Can anyone help in this? I can't seem to find the thread regarding the 'user.type'

                        Comment


                        • Maximus
                          Maximus commented
                          Editing a comment
                          Have you checked DB. Does 'user.type' field exist?
                      Working...