Announcement

Collapse
No announcement yet.

Upgrade Error

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

  • Upgrade Error

    Hi good afternoon I have this issue, I trying to upgrade version 5.9.4 to 7.1.11 (latest version) and the logs show this.

    Upgrade Error: Error: Argument 3 passed to Espo\Core\Repositories\Database::__construct() must be an instance of Espo\Core\ORM\EntityFactory, instance of Espo\ORM\EntityFactory given, called in /var/www/html/EspoCRM-7.1.11/application/Espo/ORM/RepositoryFactory.php on line 54 [] []

  • #2
    Hi Acosta117,

    Most likely, the problem is in the versions of php and mysql. Please show a screenshot of your system requirements (the whole page). You can check it in Administration > System Requirements.
    Attached Files

    Comment


    • #3
      Hi good morning, it's everything ok,

      Comment


      • victor
        victor commented
        Editing a comment
        Please tell me what version of mysql you use?

    • #4
      Server version: 10.9.2-MariaDB MariaDB Server

      Comment


      • #5
        The best way to upgrade versions is Upgrade from CLI https://docs.espocrm.com/administration/upgrading/. Please try that one.

        Comment


        • #6
          i got a problem to upgrade through the CLI: After a "php command.php upgrade" and pressing the "Y", downloading last few seconds but nothing heppens. No error message or anything. System has not been up-dated either.
          -> I tried to use the zip-file directly from admin panel for upgrading, but that will give an "error 500"- message.
          ***
          Checked PHP -> version is 8.0
          Added 10 Gb disk space too.
          ***
          Any idea what could go wrong?

          Comment


          • #7
            Hi petrik,

            Please try this solution https://forum.espocrm.com/forum/inst...3054#post83054

            or instead of:
            Code:
            php command.php upgrade
            try:
            Code:
            sudo chown -R www-data:www-data .;
            sudo php command.php upgradeā€‹
            Attached Files
            Last edited by victor; 09-16-2022, 02:36 PM.

            Comment


            • #8
              I found a solution from that link to change php to 8.1.
              It did work on our system too. Thanks victor for help !

              Comment

              Working...
              X