upgrading 8.4.2 to 9+ DB only

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jamie
    Junior Member
    • Aug 2025
    • 3

    #1

    upgrading 8.4.2 to 9+ DB only

    Hello all,

    i am trying to upgrade a much loved (used) install to 9+ but it is continuously having errors in weird places that i cant fix and i am starting to think it i'd be better off just trashing the current install putting a new 9.1 version up and changing the DB

    has any one tried this? any one know if its even possible?

    it looks like a great tool but i am far more used to composer upgrades than this custom script that doesn't give much feedback as to what or where the problem is

    thanks
    Jamie

  • jamie
    Junior Member
    • Aug 2025
    • 3

    #2
    the ai he tells me to just overwrite the current files Use the official pre-packaged EspoCRM-9.0.8.zip from GitHub, unzip it over your install, and then run the upgrade script. and run the script but that doesn't seem to be working

    Comment

    • yuri
      EspoCRM product developer
      • Mar 2014
      • 9222

      #3
      Would be helpful if you share some of your errors.
      If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

      Comment

      • jamie
        Junior Member
        • Aug 2025
        • 3

        #4
        Thanks for your response.

        It looks like our installation may have deeper issues than expected — we're missing key files like composer.json and the tests/ directory, which I understand have been in the repo for years.

        Our original setup (from Dec 2021) was based on the ZIP file from your site, and it seems the latest ZIPs still exclude these files, which has left me quite confused. I’ve also run into errors about missing vendor files when trying to run the upgrade script — though it seems more than just vendor content is missing.

        I've disabled all extensions I can (some are throwing errors), and coming from a Laravel background, I'm still adjusting to the upgrade process in EspoCRM.

        At this point, I believe a fresh install of 9.1 is the best path forward — we just need to ensure all our existing data is preserved.

        Any guidance would be greatly appreciated. We love the product, but the upgrade has been a bit of a struggle.



        З найкращими побажаннями,
        Jamie

        Comment

        • yuri
          EspoCRM product developer
          • Mar 2014
          • 9222

          #5
          Hi Jamie,

          We have never shipped builds with the composer.json. The upgrade is supposed be run smoothly just by running the upgrade command. We host many instances, we constantly upgrade them just by running the upgrade command and have never had any problems.

          Problems usually arise when there are some manual customizations that are incompatible with the new version. 8 => 9 is the major release jump. There were some incompatibility breaks (available in GitHub release notes).

          What errors do you get when you run bin/command upgrade ?
          If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

          Comment

          Working...