Error on Upgrade From 7.5.6 to 8.0.6

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • marcbeinder
    Member
    • May 2018
    • 68

    Error on Upgrade From 7.5.6 to 8.0.6

    Hi All,

    I'm getting an error when upgrading from EspoCRM 7.5.6 to EspoCRM 8.0.6. We're currently running PHP 8.2 for this installation, and I'm upgrading via the command line. The upgrade continues to fail no matter what I try. I've attached the generated error log. Any advice would be greatly appreciated!

    Thanks,
    Marc​
    Attached Files
  • item
    Active Community Member
    • Mar 2017
    • 1484

    #2
    Hi,
    it's seemt you have somes extensions/modules ?
    what have you in "`application/Espo/Core/Utils/Database/Schema/tables" ?

    you can maybe try to Log for see witch tables is ?

    PHP Code:
    if ($customTables !== []) {
                trigger_error(
                    'Definitions in Database\\Schema\\tables are deprecated and will be remove in v8.0.',
                    E_USER_DEPRECATED
                );
            }
    it's not a php 8.2 issue.
    If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​

    Comment

    • marcbeinder
      Member
      • May 2018
      • 68

      #3
      Originally posted by item
      Hi,
      it's seemt you have somes extensions/modules ?
      what have you in "`application/Espo/Core/Utils/Database/Schema/tables" ?

      you can maybe try to Log for see witch tables is ?

      PHP Code:
      if ($customTables !== []) {
      trigger_error(
      'Definitions in Database\\Schema\\tables are deprecated and will be remove in v8.0.',
      E_USER_DEPRECATED
      );
      }
      it's not a php 8.2 issue.
      We do have some custom jobs written in custom/Espo/Custom/Jobs if that's what you mean. To my knowledge, we do not have any extensions/modules installed. There are 3 files in application/Espo/Core/Utils/Database/schema/tables: actionHistoryRecord.php, preferences.php, and settings.php. They are attached for review and they do not contain any sensitive information.

      Which file should I add your recommended code to?
      Attached Files

      Comment

      • item
        Active Community Member
        • Mar 2017
        • 1484

        #4
        I have no files in this places. (8.x) and looked to 7.5.6 too, no directory application/Espo/Core/Utils/Database/schema/tables
        maybe you have theses files from older version.

        Backup this directory...(delete) and try upgrade.
        If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​

        Comment

        • marcbeinder
          Member
          • May 2018
          • 68

          #5
          Removing those files worked! Thank you!

          Comment


          • esforim
            esforim commented
            Editing a comment
            Welcome to v8
        Working...