I am trying to push a 23 gb repository to my gitlab self-managed server hosted on AWS EC2. I keep getting errors while pushing it to the remote origin (my gitlab repo).
git push --set-upstream origin --tags
Locking support detected on remote “origin”. Consider enabling it with:
$ git config lfs.https: true
Enumerating objects: 99465, done.
Counting objects: 100% (99465/99465), done.
Delta compression using up to 22 threads
Compressing objects: 100% (86490/86490), done.
error: unable to rewind rpc post data - try increasing http.postBuffer
error: unable to rewind rpc post data - try increasing http.postBuffer
error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500
send-pack: unexpected disconnect while reading sideband packet
Writing objects: 100% (99465/99465), 8.42 GiB | 149.33 MiB/s, done.
Total 99465 (delta 3391), reused 99465 (delta 3391), pack-reused 0 (from 0)
fatal: the remote end hung up unexpectedly
Everything up-to-date
I have tried increasing http.postBuffer, have changed the nginx[‘client_max_body_size’]=‘30g’
I have one file that’s 8.5gb and 6 files that are 150mb and all other files are smaller than 100mb. So I have also gone into the admin settings and changed max attachment size to 10gb and have no max push size.
I am really struggling and would appreciate any help!