How to upgrade a Script Installation from 9.3.7 to 10?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Gomez
    Junior Member
    • Jul 2024
    • 25

    #1

    How to upgrade a Script Installation from 9.3.7 to 10?

    I've always had problems upgrading my script installation but I'm currently on version 9.3.7

    I just tried to upgrade to the latest version using

    sudo /var/www/espocrm/command.sh upgrade

    and unsurprisingly nothing updated.

    after sudo /var/www/espocrm/command.sh logs

    I see

    warning: LEGACY INSTALLATION METHOD DETECTED.
    warning: Do not mount /var/www/html directly. Instead, mount the following directories separately:
    warning: /var/www/html/custom
    warning: /var/www/html/data
    warning: /var/www/html/client/custom
    warning: No further EspoCRM upgrades will be available.
    warning: See https://docs.espocrm.com/administrat...-to-espocrm-10

    When I check that page it's all about Migration when its "Installation with Docker" and there are options for local directory or docker volumes.

    If I select "Installation by script" on the left there is nothing about migration to 10.

    Sorry if I'm being stupid but how do I upgrade to 10 from a script installation?
  • heint
    Member
    • Jun 2025
    • 91

    #2
    Greetings, Gomez

    It seems like this inconvenience during the upgrade happened because you used the "installation by script" script before v.10 of EspoCRM had been released. Users who installed Espo by script after v.10 was released are not supposed to face this problem.

    For your case it's recommended to follow the instruction from the log (migration), but I'm strongly emphasizing making a backup beforehand. All your files are located at /var/www/espocrm path.

    Comment

    Working...