Problem upgrading from 6.0.10 to 6.1.1

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • diyoyo
    Member
    • Jul 2018
    • 88

    Problem upgrading from 6.0.10 to 6.1.1

    Hi,
    last week I tried to upgrade from 5.9.4 to 6.0.10 and then to 6.1.1.
    Yet, through CLI, I got the message "cannot detect current version".
    So I went for the web interface, ie the "not recommended way".
    upgrading to 6.0.10 was ok.
    Then, It took a very long time and eventually failed.

    I thought I hadn't set up a long enough max_timeout, so I increased it and tested the upgrade on another instance of EspoCRM that I have.
    It failed similarly.

    Now, they both display the following error:

    HTML Code:
    Warning: require_once(vendor/autoload.php): failed to open stream: No such file or directory in bootstrap.p hp on line 33
    Is it possible to correct something to make it work? Or should I just restore the backups? Is the db affected? Do I need to restore it too?

    Also, why did I get the "cannot detect current version" in the first place?

    Thanks for your help.

  • item
    Active Community Member
    • Mar 2017
    • 1476

    #2
    Hello,
    permission issue, correct permission first !
    version is in /data/config.php (you can change it just for re-upgrade )

    after that ...
    command line on root of espoCRM

    php rebuild.php
    php command.php upgrade
    php rebuild.php

    and soo

    took many time because many changement with v6 .. rebuild.php adapt your database !
    if many record, many time used by rebuild.php

    it's my experiment


    If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​

    Comment

    Working...