Announcement

Collapse
No announcement yet.

Error on Upgrade From 7.5.6 to 8.0.6

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

  • 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

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

    Comment


    • #3
      Originally posted by item View Post
      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


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

        Comment


        • #5
          Removing those files worked! Thank you!

          Comment


          • espcrm
            espcrm commented
            Editing a comment
            Welcome to v8
        Working...
        X