So I am trying to upload a 100MB to my hosted git repository that is already set up over HTTP and works fine. A lot of users use it every day with no problem.
When I try to upload this big file, my git Bash gives me this:
Pushing to http://mysite/diffusion/DATA/datasets.git
Counting objects: 4, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (4/4), done.
POST git-receive-pack (chunked)
Writing objects: 100% (4/4), 99.58 MiB | 580.00 KiB/s, done.
Total 4 (delta 1), reused 0 (delta 0)
remote: fatal: early EOF
error: remote unpack failed: unpack-objects abnormal exit
! [remote rejected] master -> master (unpacker error)
error: failed to push some refs to ‘http://mysite/diffusion/DATA/datasets.git’
My apache gives me this:
[Thu Jun 07 20:41:16.657495 2018] [:error] [pid num] [client IP:port] PHP Warning: Unknown: Actual POST length does not match Content-Length, and exceeds 33554432 bytes in Unknown on line 0
What can I do to solve this? I tried to find in my settings this Content-Length and check if I can increase it, but I cannot…