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: Open
    • Priority: Major
    • Resolution: Unresolved
    • 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

          People

          • Assignee:
            Unassigned
            Reporter:
            admin Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: