Steps for migration from docker to script version

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AlexiLaiho
    Junior Member
    • Apr 2026
    • 17

    #1

    Steps for migration from docker to script version

    I am confused by the steps in your documentation here Installation by script - EspoCRM Documentation. What is v1 and v2? If I migrate from old version to new version, which steps are applicable to be and which are not? The rebuild step
    Code:
    sudo /var/www/espocrm/command.sh rebuild
    I cannot do this step at all, because there is no command.sh file in the latest Espo version 9.3.8.
    So whom this documentation is written for?
    I migrated from docket to script version thru the backup file, everything seems to be working, do I need rebuild step?
    Last edited by AlexiLaiho; 06-06-2026, 03:24 AM.
  • AlexiLaiho
    Junior Member
    • Apr 2026
    • 17

    #2
    Also, I am getting this error in the logs on the target instance, which makes me think I didn't do all the steps

    Code:
    ERROR: (2002) Uncaught Exception PDOException: "SQLSTATE[HY000] [2002] No such file or directory" at /var/www/espocrm/application/Espo/ORM/PDO/MysqlPDOFactory.php line 73 :: /var/www/espocrm/application/Espo/ORM/PDO/MysqlPDOFactory.php(73)

    Comment

    • AlexiLaiho
      Junior Member
      • Apr 2026
      • 17

      #3
      Anybody?

      Comment

      • heint
        Member
        • Jun 2025
        • 90

        #4
        Greetings, AlexiLaiho

        "v1 and v2" indicate the upgrading from one script version to another. A rebuild command is necessary here, so it should be executed for everything to work correctly in the future. However, for some reason it cannot be run on your system.

        Could you please share the exact issue you are getting on the "rebuild" attempt?
        Last edited by heint; 06-10-2026, 08:43 AM.

        Comment

        • heint
          Member
          • Jun 2025
          • 90

          #5
          If the issue persists, you can share your docker-compose.yml file here so someone could give you further recommendations on upgrade/migration.

          Comment

          Working...