Issues upgrading from 9.1.8 to 9.2.2

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jhudson
    Junior Member
    • Jul 2025
    • 9

    #1

    Issues upgrading from 9.1.8 to 9.2.2

    I am having issues upgrading Espo from 9.1.8 to the latest (9.2.2)
    I am not seeing much in the log, there is something about Imap Handler and some deprecation messages:
    Code:
    [2025-10-07 19:07:05] ERROR: EmailAccount: Could not create Imap Handler. Error: InjectableFactory: Class 'Espo\Modules\Outlook\Core\Outlook\ImapPersonalHan dler' does not exist.
    [2025-10-07 19:07:05] CRITICAL: (0) Failed job 68e5649d019b8f49d. CheckInboundEmails job failed, 677415ac225194807; cannot login, user or password wrong :: /var/www/html/application/Espo/Classes/Jobs/CheckEmailAccounts.php(55)
    [2025-10-07 19:07:15] ERROR: EmailAccount: Could not create Imap Handler. Error: InjectableFactory: Class 'Espo\Modules\Outlook\Core\Outlook\ImapPersonalHan dler' does not exist.
    [2025-10-07 19:07:15] CRITICAL: (0) Failed job 68e5649d019b8f49d. CheckInboundEmails job failed, 677415ac225194807; cannot login, user or password wrong :: /var/www/html/application/Espo/Classes/Jobs/CheckEmailAccounts.php(55)
    [2025-10-07 19:07:17] NOTICE: E_DEPRECATED: Creation of dynamic property React\Socket\Connection::$decor is deprecated
    [2025-10-07 19:07:17] NOTICE: E_DEPRECATED: Creation of dynamic property Ratchet\Server\IoConnection::$resourceId is deprecated
    [2025-10-07 19:07:17] NOTICE: E_DEPRECATED: Creation of dynamic property Ratchet\Server\IoConnection::$remoteAddress is deprecated
    [2025-10-07 19:07:17] NOTICE: E_DEPRECATED: Creation of dynamic property Ratchet\Server\IoConnection::$httpHeadersReceived is deprecated
    [2025-10-07 19:07:17] NOTICE: E_DEPRECATED: Creation of dynamic property Ratchet\Server\IoConnection::$httpBuffer is deprecated
    [2025-10-07 19:07:17] NOTICE: E_DEPRECATED: Creation of dynamic property Ratchet\Server\IoConnection::$httpRequest is deprecated
    [2025-10-07 19:07:17] NOTICE: E_DEPRECATED: Creation of dynamic property Ratchet\Server\IoConnection::$WebSocket is deprecated
    [2025-10-07 19:07:17] NOTICE: E_DEPRECATED: Creation of dynamic property Ratchet\Server\IoConnection::$WAMP is deprecated
    (END)
    I have tried removing all the extensions and upgrading again, but that doesn't seem to make much of a difference.
  • yuri
    EspoCRM product developer
    • Mar 2014
    • 9447

    #2
    What exactly does not work? Deprecation messages not related to upgrade. You can disable them in PHP. They don't have any effect. The IMAP error is likely due to Outlook extension being uninstalled but the email account being configured for Outlook.
    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

    • jhudson
      Junior Member
      • Jul 2025
      • 9

      #3
      Sorry if I wasn't clear, I am not able to upgrade to the newest version. When I originally installed I used the script to install. When I do an upgrade on the CLI it makes a backup, it looks like it's updating but my espo version never changes.

      Comment


      • lazovic
        lazovic commented
        Editing a comment
        Have you tried rebuilding tour instance after upgrading? What upgrade command did you use?
    • yuri
      EspoCRM product developer
      • Mar 2014
      • 9447

      #4
      Did the CLI process finish?

      If not, it can take a while to upgrade if you have big 'email' or 'notification' tables.
      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

      • jhudson
        Junior Member
        • Jul 2025
        • 9

        #5
        The CLI upgrade process does finish! I do not get any errors on the CLI.

        Comment

        • lazovic
          Super Moderator
          • Jan 2022
          • 1168

          #6
          jhudson,

          Could you please show the output of the following command?
          Code:
          docker logs espocrm
          Perhaps this problem is similar to yours: https://github.com/espocrm/espocrm-docker/issues/58.

          Comment

          • jhudson
            Junior Member
            • Jul 2025
            • 9

            #7
            Code:
            info: Run "upgrade" action.
            info: Start upgrading from version 9.1.8.
            error: Upgrade error, more details:
            Error: SQLSTATE[HY000] [2002] Connection refused
            [07-Oct-2025 15:11:52] NOTICE: fpm is running, pid 1
            [07-Oct-2025 15:11:52] NOTICE: ready to handle connections
            This does look somewhat similar to the link you provided.

            Comment

            • jhudson
              Junior Member
              • Jul 2025
              • 9

              #8
              I tried to add the healthcheck stuff from the github link but I'm still seeing the same error in the docker logs.

              Comment

              • yuri
                EspoCRM product developer
                • Mar 2014
                • 9447

                #9
                Did you try to restart containers?
                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

                • jhudson
                  Junior Member
                  • Jul 2025
                  • 9

                  #10
                  Yes, I restarted the containers before the upgrade. After the upgrade it didn't make a difference in the webUI so I restarted the server. Still not upgraded.

                  Comment

                  Working...