On Bitbucket 6.7+, when attempting to import a public repository
- Create a new project
- Choose Import Repository
- Choose the "Git" option, and input a public github clone URL with no credentials specified
- Confirm the import
- Progress bar gradually goes to 100%, then you are placed on the project overview page - and the repository is successfully created
- Progress bar stays stuck at around 15%, and if you refresh the page you get directed to the project overview page. If you click on the new repository, the repository presents you with the following page:
The following debug lines can be seen continually repeating in the in the atlassian-bitbucket.log file:
The repository will remain in this state until Bitbucket is restarted - at which point, once Bitbucket comes back up the repository will no longer exist.
Create a Github account, and fork the repository to be owned by your user - and complete the import using the official "Github" import option by inputting your Github username and personal access token.