Announcement

Collapse
No announcement yet.

Problem upgrading to 6.1.4

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

  • 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

  • #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


    • #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


      • #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

      • #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...
        X