Problem upgrading to 6.1.4

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nicolar
    Junior Member
    • Dec 2019
    • 11

    Problem upgrading to 6.1.4

    PHP Fatal error: Declaration of Espo\Core\Utils\Database\DBAL\Driver\PDO\MySQL\Dri ver::getSchemaManager(Doctrine\DBAL\Connection $conn, Doctrine\DBAL\Platforms\AbstractPlatform $platform) must be compatible with Doctrine\DBAL\Driver\AbstractMySQLDriver::getSchem aManager(Doctrine\DBAL\Connection $conn) in espocrm/application/Espo/Core/Utils/Database/DBAL/Driver/PDO/MySQL/Driver.php on line 72

    I tried to upgrade but this error stops the process, someone else have this issue?

    I see this note in the code near line 72:

    Espo: requires for the issue https://github.com/doctrine/dbal/issues/4496
  • nicolar
    Junior Member
    • Dec 2019
    • 11

    #2
    Resolved deleting vendor directory and replacing it with the standard one. I think my composer.json file was corrupted. I was thinking that a clean composer install would fix the vendor directory but it is not so.

    Bye

    Comment

    • viable_design
      Junior Member
      • Jul 2019
      • 2

      #3
      Good evening, I too am having problems upgrading my installation. This is the error I am receiving:

      Error: Permission denied:
      application/Espo/Classes/AddressFormatters
      application/Espo/Classes/AppInfo
      application/Espo/Tools/Kanban
      application/Espo/Tools/Pdf
      vendor/psr/http-client

      What I don't understand is that when I check the files on the server none of the directories actually exist so I can't even check their permissions.

      Does anyone have any ideas?

      Thanks, Will.

      Comment

      • Maximus
        Senior Member
        • Nov 2018
        • 2731

        #4
        Hi viable_design,
        I never experienced such issue. Perhaps some file manager bug?
        Please run these 'global' commands in order to set the proper permissions to a whole EspoCRM instance https://docs.espocrm.com/administrat...-based-systems. After, try to upgrade again.

        Comment


        • viable_design
          viable_design commented
          Editing a comment
          Hi Maximus
          Thank you, unfortunately terminal responded with Operation Not Permitted for each file it attempted to set permissions on.

          Any ideas?

          Will
      • Maximus
        Senior Member
        • Nov 2018
        • 2731

        #5
        Not permitted? Who is the EspoCRM files owner? Root? All your EspoCRM files and directories should be owned by a webserver user (owner). Please check it.

        Comment

        Working...