Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-5319

During /admin/upgrade, if any extensions fail include more information

    Details

    • Type: Improvement
    • Status: In Review
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.11.0-b3
    • Fix Version/s: 5.13.0-b1
    • Component/s: Staff Interface
    • Labels:
      None

      Description

      When running /admin/upgrade we upgrade the core first, then extensions. In 5.11.0-b3, the Namesilo module performs some API calls as part of the upgrade. If the API credentials for the module are incorrect, the upgrade fails and returns an error that isn't very clear.

      Then, in the UI an "Upgrade" but no "Manage" button appears so we can't even update the credentials and retry.

      If during /admin/upgrade an extension fails, we should include more details and direct the user to login and click Upgrade for any Gateways, Modules, Plugins that are installed and display an upgrade option.

      In the case of Namesilo, the /admin/upgrade process returns the error: "Invalid API Key (Permission denied)".

      Instead, I think we show a success if the core migrations are completed. Then if any extensions fail, we display a message like so:

      "When processing the upgrade for extensions, an error was encountered. Please login and check all installed Modules, Gateways, and Plugins to ensure they are upgraded."

      Should we consider adding a Manage button even if an "Upgrade" button appears?

        Activity

        admin Paul Phillips created issue -
        admin Paul Phillips made changes -
        Field Original Value New Value
        Attachment Namesilo creds wrong during 5.11.0-b3 upgrade.png [ 13034 ]
        jonathan Jonathan Reissmueller made changes -
        Story Points 3
        jonathan Jonathan Reissmueller made changes -
        Sprint 5.13.0 Sprint 4 [ 219 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked lower
        abdy Abdy Franco made changes -
        Assignee Abdy Franco [ abdy ]
        abdy Abdy Franco made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        abdy Abdy Franco made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 2 hours, 43 minutes [ 9780 ]
        Worklog Id 17873 [ 17873 ]
        abdy Abdy Franco made changes -
        Status In Progress [ 3 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            abdy Abdy Franco
            Reporter:
            admin Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 2 hours, 43 minutes
              2h 43m

                Agile