Upgrade from 2.3.0 to 2.4.0

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Arunas
    Member
    • Aug 2014
    • 40

    Upgrade from 2.3.0 to 2.4.0

    Hi guys,

    I tried to upgrade from 2.3.0 to 2.4.0, but got timeout error. Here is what I see in logs


    [2014-08-21 08:04:57] Espo.ERROR: API [POST]:/:controller/action/:action, Params:Array
    (
    [controller] => Admin
    [action] => uploadUpgradePackage
    )
    , InputData: data:application/download;base64,UEsDBAoAAAAAAMqJD0UAAAAAAAAAAAAAAA AOAAAARX............./Qn4wYe7JT6QIiNq3LdrDoobmZOyBA7Q+B... [] []
    [2014-08-21 08:04:57] Espo.ERROR: Display Error: Unnable to unzip the file - data/upload/upgrades/53f5a828ef190., Code: 500 URL: /crm/api/v1/Admin/action/uploadUpgradePackage [] []


    then I upgraded it manualy by replacing files from archive and changing CRM version in config to new version 2.4.0, but new errors appear in logs

    [2014-08-21 08:13:34] Espo.ERROR: Failed job running, job [53f5aa2ec7dc8]. Error Details: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'inbound_email.reply_to_address' in 'field l
    ist' [] []
    [2014-08-21 08:14:34] Espo.ERROR: Failed job running, job [53f5aa6a77008]. Error Details: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'inbound_email.reply_to_address' in 'field l
    ist' [] []
    [2014-08-21 08:15:15] Espo.ERROR: E_RECOVERABLE_ERROR: Argument 3 passed to Espo\Core\Utils\Database\Schema\rebuildActions\Cur rency::exchangeRates() must be of the type array, null given, c
    alled in /usr/local/www/tools/crm/application/Espo/Core/Utils/Database/Schema/rebuildActions/Currency.php on line 36 and defined {"file":"/usr/local/www/tools/crm/application/Espo/Core/Util
    s/Database/Schema/rebuildActions/Currency.php","line":66} []

    Please help
  • yuri
    Member
    • Mar 2014
    • 8440

    #2
    Hi

    Try run in shell:

    php rebuild.php
    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

    • yuri
      Member
      • Mar 2014
      • 8440

      #3
      And go to Admin >> Currency
      Setup and save.
      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

      • Arunas
        Member
        • Aug 2014
        • 40

        #4
        after running php rebuild.php I can no longer login

        entry from logfile
        Code:
        [2014-10-13 06:25:15] Espo.ERROR: Uncaught exception {"exception":"[object] (Espo\\Core\\Exceptions\\Error: Permission denied in data/cache/application/routes.php at /usr/local/
        www/tools/crm/application/Espo/Core/Utils/File/Manager.php:179)"} []
        Last edited by Arunas; 10-13-2014, 06:29 AM.

        Comment

        • yuri
          Member
          • Mar 2014
          • 8440

          #5
          Hi

          data/* should be writable. Change permissions.
          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

          • Arunas
            Member
            • Aug 2014
            • 40

            #6
            Oh, worked like a charm, thanks!

            Comment

            Working...