Skip to content
Source
Sign inSign up

Retry a failed import

Move from GitHub / Import

Retry a failed import

An import from GitHub stopped, and the repository page says why. Go on from where it stopped, or start it again.

3 min read

You need admin access to the repository. Without it, the page shows the reason and Ask an admin of this repository to try again.

Tip

Did an item of an Import everything run fail? Use Retry on its run page. See Retry what failed.

1. Read the reason

The repository page shows why the import failed, and what to do next. For example:

GitHub refused access to this repository. Connect GitHub with an account that can read it (for a private repository, give private access), then click Try again.

On the owner page, the repository shows Failed with the reason. Click Retry next to it to open the repository page.

2. Go on, or start again

Follow the part for what failed.

The issues and pull requests failed

Go on from where the import stopped:

  1. Click Resume on the repository page. Source uses the GitHub account you connected.
  2. If the page says Connect GitHub first, then click Resume, or that GitHub refused the connected GitHub account, click Connect GitHub next to Resume. GitHub asks for private access, then sends you back to the repository page.
  3. Click Resume again.

The git history failed

Start the import again:

  1. Click Try again on the repository page. The import page opens.
  2. Click Retry. Source uses the GitHub account that you connected in your settings.

If you did not connect one, or GitHub refused it, click Connect GitHub first. For a private repository, give private access.

Note

Connect GitHub also saves the connection, for the next import and for a later Resume or Try again. If you connect a GitHub account that is not linked to your Source account, Source keeps it for 30 minutes, for this import only.

Done

The import runs again, and the repository page shows its progress.

What a retry keeps

  • Resume goes on from where the import of issues and pull requests stopped.
  • A retry after a failed first GitHub pack download keeps the repository, and any issues and pull requests already copied.
  • Other retries of the git import delete the failed repository and import it again.

Downloads that start again when you open the page

The first Git download of a public GitHub import can fail with one of these messages. Then opening the repository page starts the download again, once:

  • The repository's history is more than 2 GiB packed; imports handle at most 2 GiB
  • An import step did not finish in ..., because Cloudflare stopped the step

The repository and the copied items stay. If the import of issues and pull requests failed too, and lost its GitHub connection, the repository page says to resume it. An admin clicks Resume to go on from its saved place, with the GitHub account that the admin connected.