Unable to push a new branch (pre-receive hook declined)
Summary
Currently we are not able to push a certain new local branch to our project on GitLab. We already checked the project settings and made sure that none of our branches are protected and that I have the correct privileges to be able to push and create new branches. Pushing with ---force also does not work but I can push empty branches.
We think that this issue can be caused by the size of our repository. It currently has a size of 25,9 GB and we were not able to decrease the size by removing branches and running housekeeping.
Steps to reproduce
git push -f origin dev-0.6
Example Project
The two related project are both private. We can give you access, if needed.
What is the current bug behavior?
We are not able to push certain local branches to GitLab.
What is the expected correct behavior?
We should be able to push the local branch to GitLab.
Relevant logs and/or screenshots
jens@computer:~/workspace/android/my-project/src$ git push -f origin dev-0.6
Enumerating objects: 192223, done.
Counting objects: 100% (192217/192217), done.
Delta compression using up to 8 threads
Compressing objects: 100% (70582/70582), done.
Writing objects: 100% (173380/173380), 165.17 MiB | 12.29 MiB/s, done.
Total 173380 (delta 138138), reused 123968 (delta 97202)
remote: Resolving deltas: 100% (138138/138138), completed with 16597 local objects.
remote: Checking connectivity: 173380, done.
remote: GitLab: Push operation timed out
remote:
remote: Timing information for debugging purposes:
remote: Running checks for ref: dev-0.6
remote: Checking if you are allowed to push... (4.29ms)
remote: Checking if default branch is being deleted... (0.1ms)
remote: Scanning repository for blobs stored in LFS and verifying their files have been uploaded to GitLab... (1028.15ms)
remote: Checking if branch follows the naming patterns defined by the project... (0.95ms)
remote: Validating diff contents... (cancelled after 46519.09ms)
To gitlab.com:eyeo/project/myproject-android.git
! [remote rejected] dev-0.6 -> dev-0.6 (pre-receive hook declined)
error: failed to push some refs to 'git@gitlab.com:eyeo/project/myproject-android.git'
Output of checks
This bug happens on GitLab.com