cs-icon.svg

Repair GitHub Connection for Projects

Contentstack Launch enables you to automatically repair the GitHub connection for existing projects. When your Launch GitHub App gets disconnected, the connection for existing projects will become invalid, preventing Launch from interacting with GitHub.

This step-by-step guide will help you repair the GitHub connection for projects in Contentstack Launch.

Prerequisites

  1. Contentstack account
  2. Access to the Launch Project as the Owner/Admin
  3. A valid project repository available in GitHub

Steps for Execution

Follow the steps below to repair the GitHub connection in your project automatically, after you have logged into your Contentstack account:

  1. From the Launch landing page, select your project.
  2. On the left-hand side primary navigation, click the Settings icon.
  3. Under General, you can see the Git Connection section.
    You can view the status of your Git connection in this section along with a link to your Git repository. Launch_RepairGitHub_ConnectionSuccessful.png
  4. If there's any connection error between your Git repository and project, as shown in the following screenshot, you can click the Repair Connection button. Launch_RepairGitHub_ToRepair.png


    Launch will automatically repair the connection between your project and the Git repository.

Troubleshooting

If you are experiencing any of the below issues or errors while trying to repair your GitHub connection, follow the steps provided to troubleshoot the problem for the specific error encountered.

  • Please connect to a git provider OAuth app before proceeding with the repair:
    Your GitHub is currently disconnected.
    1. Reconnect your Launch project to GitHub by following the steps in the Create a Project Using GitHub documentation.
    2. Now proceed with Repair Connection.
  • Git provider OAuth app is uninstalled. Please reconnect the git provider OAuth app before proceeding with the repair:
    “Contentstack Launch” app is uninstalled in GitHub. Follow these steps to install the GitHub app and repair the connection:
    1. Return to the Create New Project modal and disconnect the existing connection. Launch_RepairGitHub_Disconnect.png
    2. Now establish a new connection to the GitHub app by reconnecting it.

    3. Log in to GitHub.
    4. In the GitHub authorization screen that appears in a modal, select All repositories, then click the Install & Authorize button. Launch_RepairGitHub_Install_Authorize.png
    5. Now proceed with Repair Connection.
  • Please add the repository to the git provider OAuth app before proceeding with the repair:
    You are attempting to access a repository that is not accessible. Follow these steps to grant access to the required repository:
    1. Click here to navigate to the Applications page in GitHub and click Configure next to the app that is currently installed.
    2. In the Repository access section, select the required repository from Only select repositories, or select All repositories, and then click Save. Launch_RepairGitHub_RepoAccess.png
    3. Now proceed with Repair Connection.
Was this article helpful?
^