Update Error (from 4.3.1 to 4.4.1)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • maarianos
    Junior Member
    • Mar 2017
    • 4

    Update Error (from 4.3.1 to 4.4.1)

    Hi all, i have issue when i try upgrade from CLI (Centos 6.5, PHP. 5.6.30) error message: PHP Fatal error: Call to a member function get() on null in /var/www/html/application/Espo/Core/ORM/Repositories/RDB.php on line 283
    Please Help!
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    Hi

    Rebuild, if it is possible
    Check current version and log files (apache error and espo) to know related errors

    Comment

    • maarianos
      Junior Member
      • Mar 2017
      • 4

      #3
      Where I can find Espo log file ?

      Comment

      • tanya
        Senior Member
        • Jun 2014
        • 4308

        #4
        data/logs

        Comment

        • maarianos
          Junior Member
          • Mar 2017
          • 4

          #5
          Thanks for quick reply !!
          Below is my log file after trying to update.
          But I checked permissions and all are as per requirements :/
          I even set everything to 0777 and the same mistakes....
          Can you try help me please ?

          [2017-03-30 15:43:25] Espo.WARNING: E_WARNING: touch(): Unable to create file data/cache/application/autoload.php because Permission denied {"code":2,"message":"touch(): Unable to create file data/cache/application/autoload.php because Permission denied","file":"/var/www/html/application/Espo/Core/Utils/File/Manager.php","line":509,"context":{"filePath":"dat a/cache/application/autoload.php","defaultPermissions":{"dir":"0775"," file":"0664","user":"","group":""},"pathParts":{"d irname":"data/cache/application","basename":"autoload.php","extension" :"php","filename":"autoload"}}} []

          [2017-03-30 15:43:25] Espo.WARNING: E_WARNING: touch(): Unable to create file data/cache/application/routes.php because Permission denied {"code":2,"message":"touch(): Unable to create file data/cache/application/routes.php because Permission denied","file":"/var/www/html/application/Espo/Core/Utils/File/Manager.php","line":509,"context":{"filePath":"dat a/cache/application/routes.php","defaultPermissions":{"dir":"0775","fi le":"0664","user":"","group":""},"pathParts":{"dir name":"data/cache/application","basename":"routes.php","extension":" php","filename":"routes"}}} []

          [2017-03-30 15:43:25] Espo.ERROR: Uncaught Exception Espo\Core\Exceptions\Error: "Permission denied for data/cache/application/routes.php" at /var/www/html/application/Espo/Core/Utils/File/Manager.php line 203 {"exception":"[object] (Espo\\Core\\Exceptions\\Error(code: 500): Permission denied for data/cache/application/routes.php at /var/www/html/application/Espo/Core/Utils/File/Manager.php:203)"} []

          [2017-03-30 15:43:25] Espo.WARNING: E_WARNING: touch(): Unable to create file data/cache/application/autoload.php because Permission denied {"code":2,"message":"touch(): Unable to create file data/cache/application/autoload.php because Permission denied","file":"/var/www/html/application/Espo/Core/Utils/File/Manager.php","line":509,"context":{"filePath":"dat a/cache/application/autoload.php","defaultPermissions":{"dir":"0775"," file":"0664","user":"","group":""},"pathParts":{"d irname":"data/cache/application","basename":"autoload.php","extension" :"php","filename":"autoload"}}} []

          Comment

          • maarianos
            Junior Member
            • Mar 2017
            • 4

            #6
            Hmm this log creates those picks automatically even when I do nothing, after running the update script nothing in the crm log does not have

            Comment

            Working...