Upgrade from 9.0.8 to 9.1.0 stucks

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ednt
    Member
    • May 2022
    • 41

    #1

    Upgrade from 9.0.8 to 9.1.0 stucks

    Hi,

    on one instance it was working without any problems.
    On an other instance (development without any extensions installed) I was able to upgrade from
    9.0.6 to 9.0.7 to 9.0.8
    But then it stucks when I upgrade to 9.1.0
    Upgrade is done via CLI at the server prompt.

    I get
    Code:
    Current version is 9.0.8.
    EspoCRM will be upgraded to version 9.1.0 now. Enter [Y] to continue.
    Y
    This may take a while. Do not close the terminal.
    Downloading...
    Upgrading...
      Initialization...
    and nothing more.
    I have to cancel it with CTRL+Z

    In the Web GUI I have to disable maintanance mode, and enable cron and cache afterwards.

    In data/upload/upgrade I can see the ZIP file, a file without .zip and the corresponding directory which contains the files.

    Any ideas?
  • lazovic
    Super Moderator
    • Jan 2022
    • 967

    #2
    Hi Ednt,

    Could you please enable debug mode for logs in this instance and try to upgrade it again? After that, please share the logs so that we can analyze this situation.

    Comment

    • Ednt
      Member
      • May 2022
      • 41

      #3
      Level is set to debug, but there is nothing strange in the log:

      UpdateLog.txt

      Comment

      • lazovic
        Super Moderator
        • Jan 2022
        • 967

        #4
        Ednt,

        Have you tried to temporarily get rid of all customizations (custom/Espo/Custom and client/custom) and run the upgrade process? Of course, it is highly advisable to make a backup of the database and files beforehand.

        Comment

        • Ednt
          Member
          • May 2022
          • 41

          #5
          This system has no extensions installed and no customizations.

          Comment

          • lazovic
            Super Moderator
            • Jan 2022
            • 967

            #6
            Ednt,

            You can also check what exactly is hanging in the database process using SHOW PROCESSLIST; command. That is, you should start the EspoCRM upgrade process in one terminal window and open the database in another, and as soon as you notice that the upgrade is hanging, enter this command in the terminal window with the database. Perhaps the process is hanging on a table with numerous records.

            Comment

            • Ednt
              Member
              • May 2022
              • 41

              #7
              Today it works.
              You changed something in the zip file?

              Comment

              • lazovic
                Super Moderator
                • Jan 2022
                • 967

                #8
                Ednt,

                Glad it all worked.

                Also, please note that nothing has changed in the upgrade files.

                Comment

                • stepstep
                  Junior Member
                  • Apr 2025
                  • 18

                  #9
                  i personally could never for some reason upgrade from command prompt with auto download script, i had to manually download packages and run the command line with it.
                  when i run the update script, it just does nothing for a very long time, then says "couldn't check version" or something like that, and nothing happens.
                  specifying file works.

                  Comment


                  • lazovic
                    lazovic commented
                    Editing a comment
                    In this case, you should also check the EspoCRM logs, server logs, and the processes that the database executes when attempting to upgrade the instance. Some customizations may also affect the upgrade process.
                Working...