Announcement

Collapse
No announcement yet.

Upgrade to 2.9.2 failed Error 500

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Upgrade to 2.9.2 failed Error 500

    Hey guys,

    I'm trying to upgrade to 2.9.2 but I get error 500.
    This is what I found in logfile

    [2015-02-06 14:49:33] Espo.ERROR: API [POST]:/:controller/action/:action, Params:Array
    (
    [controller] => Admin
    [action] => uploadUpgradePackage
    )
    , InputData: data:application/x-zip-compressed;base64,UEsDBAoAAAAAAFNkPUYAAAAAAAAAAAAA AAAGABwAZmlsZXMvVVQJAAO+DMpUIxLKVHV4CwABBOgDAAAE6A MAAF
    BLAwQKAAAAAABTZD1GAAAAAAAAAAAAAAAADgAcAGZpbGVzL2lu c3RhbGwvVVQJAAO+DMpUUxLKVHV4CwABBOgDAAAE6AMAAFBLAw QKAAAAAABTZD1GAAAAAAAAAAAAAAAADQAcAGZpbG
    VzL2NsaWVudC9VVAkAA74MylRTEspUdXgLAAEE6AMAAAToAwAA UEsDBBQAAAAIAFRkPUY60pxjoFsCAMmlCQAYABwAZmlsZXMvY2 xpZW50L2VzcG8ubWluLmpzVVQJAAPADMpUwAzKVH
    V4CwABBOgDAAAE6AMAAKx9/XfbNrLo7++vsNg8hYwgWXLa3lsqME/rpJv2pkk2Tre7V1b20BIkMaFIhYRsuab6t9+ZwQdBSk5733nds zEJ4mMwGMw3oNMnnRNRbvJZsT45G46+6Q9H/b
    PvTp6c/p/OYpvNZJJnvmDbbC4WSSbmwb0pPfnoi+D+Ji5OJBeDVGRLuWIZ3 w3k3UbAp3Eh5LbITnaDpPwtyeb5LRRGnVE44hwaZPlcvIea3a6 MOsPQi4sivvPgU1ZVnhnD68B7t+sPoV
    xCebZdX4sCauEY+eJEQuvzIfzTH50k2YkI9ha672vonk/ElN/va4BEPFv5YrCOJfy9DapqMmXOZLPgXk6yKe8M9wGTdZc/+sH9m+uPYiYHChtvi3wjCnnny1VSDmbQq4Bx2JDdL4UMbY
    /BvRr5fr/HDrGu2G1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6VvuMN3j mOTeBuO3SaZ/mt6/a9PMYZuP86A0VMcXaAFqaIJc
    jsAlhz1N8TY/6VpMb3lD84AYJSPjmwd8EADQ6N3I9ZQ9EloxI7/JQZF1IMUD4XC8CZmINIi9Pb+K50p6X9NdsB/F0j1+bOR1RYA+OYtVa85DsQ4Ygx1HJqkycFrTMuCHe9dDDfFjF 205
    fI57LTugRUUIBz1C/I+gXBMpC3QmSlwcJWG3umHLbmoAAZn1sOHQPmZbK4+y2RIOXYJ AX2AAycjc6BnrdgTfoxbs48vRG2ylTJJWAg8WADlJIAD7jHSYe CwfumDF3vEQCdb6RTBoLgvt
    yIWRKnL+ISBE94v98D5lleJGASxakOKySiDKUt1HIpzJhFTWiR Z/ARZhY1TM04BJmtdMD3+B42dRpl1OwG9A3mlg4QVGKX6nHQAJSI T38QVGLxaDFPGkeBuiIAmm+cAY1aiq46GbWWKh
    yOHRI5wSCJcvLBprfOPLuMmVrGkeMtPVwmBjZLiMWoHzZKKQaD sZgZUAytGI31PPNnR+cdNLfTp8zupxRkumlTb6s60rSON9DnJa AT9rmr9JlhcC3BYHNfjfOfmixAqYWlLnxLPltmaC
    3OknWYss9bsRWh7oFeQBVhNLFlge4W/cm8oy2SCVOKz2bSs3y9wT0cDBZxkpoa+Gz3uy5Tbw7Det7WrVD M1gqUDkyBoQFGWkpSM0ODkjzNoNPBirLaesiVCZuDCNAf4Rl0O 5ahFwa+kZ
    abM81xsIIyssGMeZnnn0rsFcSEp4JrHgBQonZh4m6oMNi2xbQG Mw8UtKB96FEBLooFJjomhQDzxHFVHvJNq14glQGJAQ/YGDuaLRqhz1fkHlhpdxyY/otduc... [] []
    [2015-02-06 14:49:33] Espo.ERROR: Display Error: Your EspoCRM version doesn't match for this installation package., Code: 500 URL: /crm/api/
    v1/Admin/action/uploadUpgradePackage [] []
    [2015-02-06 14:51:01] Espo.ERROR: API [GET]:/Admin/clearCache, Params:Array
    (
    )
    , InputData: - Error while clearing cache [] []
    [2015-02-06 14:51:01] Espo.ERROR: Display Error: Error while clearing cache, Code: 500 URL: /crm/api/v1/Admin/clearCache [] []




    I check version and I see it is upgraded to 2.9.2, but whenever I try to clean up cache or rebuild backend i get Error 500. Please advise.


  • #2
    It could be an issue with permission I believe. check your permissions of data/upload, data/cache dirictories.

    And then you can run php rebuil.php in CLI

    Comment


    • #3
      not sure what happened, but version is not changed to 2.9.2.
      However I can't upgrade to to 3.0.0. it gives Errror 404

      Comment


      • #4
        By the way, logs didn't show any error :/

        Comment


        • #5
          It seems like you are using wrong upgrade package, Please use the following packages:
          1. To upgrade from 2.9.2 to 3.0.0 use this package http://sourceforge.net/projects/espo...0.zip/download
          2. To upgrade from 3.0.0. to 3.0.1 - http://sourceforge.net/projects/espo...1.zip/download
          Job Offers and Requests

          Comment


          • #6
            Originally posted by tarasm View Post
            It seems like you are using wrong upgrade package, Please use the following packages:
            1. To upgrade from 2.9.2 to 3.0.0 use this package http://sourceforge.net/projects/espo...0.zip/download
            2. To upgrade from 3.0.0. to 3.0.1 - http://sourceforge.net/projects/espo...1.zip/download
            I use exactly the same packages as you mentioned. However I have noticed that during upgrade process my apache install child processes crashing. So this could be server side related. might be mpm itk module not playing nicely with apache threads.

            Comment


            • #7
              OK, afetr rebuilding apache with ZTS thread safty turned off it finally worked. However during the upgrade clear cache failure accures and here is what i found in logfile

              [2015-02-23 20:26:13] Espo.ERROR: API [POST]:/:controller/action/:action, Params:Array
              (
              [controller] => Admin
              [action] => runUpgrade
              )
              , InputData: {"id":"54eb8cdc5a5d5"} - Error while clearing cache [] []
              [2015-02-23 20:26:13] Espo.ERROR: Display Error: Error while clearing cache, Code: 500 URL: /crm/api/v1/Admin/action/runUpgrade [] []
              [2015-02-23 20:26:17] Espo.ERROR: Uncaught exception {"exception":"[object] (PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'user.is_active' in 'field list' at /usr/local/www/tools/crm/application/Espo/ORM/DB/Mapper.php:132)"} []
              [2015-02-23 20:26:19] Espo.ERROR: Uncaught exception {"exception":"[object] (PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'user.is_active' in 'field list' at /usr/local/www/tools/crm/application/Espo/ORM/DB/Mapper.php:132)"} []
              [2015-02-23 20:26:28] Espo.ERROR: Uncaught exception {"exception":"[object] (PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'user.is_active' in 'field list' at /usr/local/www/tools/crm/application/Espo/ORM/DB/Mapper.php:132)"} []
              [2015-02-23 20:26:32] Espo.ERROR: Uncaught exception {"exception":"[object] (PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'user.is_active' in 'field list' at /usr/local/www/tools/crm/application/Espo/ORM/DB/Mapper.php:132)"} []
              [2015-02-23 20:26:38] Espo.ERROR: Uncaught exception {"exception":"[object] (PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'user.is_active' in 'field list' at /usr/local/www/tools/crm/application/Espo/ORM/DB/Mapper.php:132)"} []
              [2015-02-23 20:26:47] Espo.ERROR: Uncaught exception {"exception":"[object] (PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'user.is_active' in 'field list' at /usr/local/www/tools/crm/application/Espo/ORM/DB/Mapper.php:132)"} []
              [2015-02-23 20:26:48] Espo.ERROR: Uncaught exception {"exception":"[object] (PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'user.is_active' in 'field list' at /usr/local/www/tools/crm/application/Espo/ORM/DB/Mapper.php:132)"} []

              Comment


              • #8
                I no longer able to login, blank screen with error "Bad servers response"

                log:
                Espo.ERROR: Uncaught exception {"exception":"[object] (PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'user.is_active' in 'field list' at /usr/local/www/tools/crm/application/Espo/ORM/DB/Mapper.php:132)"} []

                Comment


                • #9
                  Please log via SSH and run this command:
                  Code:
                  php rebuild.php
                  Last edited by tarasm; 02-24-2015, 11:01 AM.
                  Job Offers and Requests

                  Comment


                  • #10
                    Originally posted by tarasm View Post
                    Please log via SSH and run this command:
                    Code:
                    php rebuild.php
                    Thank you it worked. it still produced lot of same errors in log, but I was able to login. I have upgraded to version 3.0.1
                    this time it through me error re not able to clear cache. but everything works fine so far.

                    Comment


                    • #11
                      Please remove the cache manually, the path is /data/cache. When you run "php rebuild.php" the owner of new files is the current user (user who is logged via SSH). That's why web server doesn't have writable permission to the cache.
                      Job Offers and Requests

                      Comment


                      • #12
                        OK that worked Looks like there is issue with mpm-itk apache module not sure why cache is created with root, when i access CRM via web. I changed ownership to www, then I was able to clear caceh via GUI in admin section.

                        Comment

                        Working...
                        X