Stuck at 'Forking in progress'

Problem to solve

I am experiencing an issue where approximately 6 out of 20+ GitLab projects get stuck at the “Forking in progress” stage when attempting to fork them. After waiting for about 5 minutes, it results in an error page:

It seems to create an empty shell of the project:

Steps to reproduce

  1. Navigate to the project page.
  2. Initiate the forking process.

After reviewing similar forum posts, I checked Sidekiq and found many RepositoryForkWorker errors:

Error text:

Unable to fork project 3244 for repository @hashed/69/f5/69f59c273b6e669ac32a6dd5e1b2cb63333d8b004f9696447aee2d422ce63763 -> @hashed/31/57/3157fb5efb99f26b67b76b54bc8cc16b8d9e3d905a7ef8af0e01042083a08b2d: Failed to create fork repository

Versions

This issue is occurring on a self-hosted instance running the following versions:


Please let me know if you need further clarification or additional information. Any help or suggestions would be greatly appreciated!