Forge install fails on production (but not development)

Attempting to install on Confluence and get this error. Development install works fine.

Query: 
      query forge_cli_getInstallationTask($id: ID!) {
        appInstallationTask(id: $id) {
          state
          errors {
            message
            extensions {
              errorType
              statusCode
            }
          }
        }
      }
    
Variables: {
  "id": "d1129f20-15af-4935-bc0f-cf6ca1dc28ca"
}
  ◀️  GraphQL
Request ID: 97010e518b9a42c1a910defbd96a8e6e
Result: {
  "appInstallationTask": {
    "state": "FAILED",
    "errors": [
      {
        "message": "An unexpected error occurred",
        "extensions": {
          "errorType": "INTERNAL_SERVER_ERROR",
          "statusCode": 500
        }
      }
    ]
  }
}

Error: An unexpected error occurred

Did you find a solution for this ? , I too used to get this error sometimes when my app is already installed in development . I had to uninstall the development version to finally install the production one

No, I didn’t find any solution.

I tried uninstalling the dev version but it made no difference.

In my case, the solution was to check the App Versions in the marketplace. From there I can see the installation attempts and read the error. It turns out I hadn’t included the documentation link.