[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian, Git server, Nginx, Fcgiwrap, and git push can not create remote object directory



On Sat, Sep 09, 2023 at 04:31:38PM -0400, David Mehler wrote:
> Hello,
> 
> I'm trying to set up a git server on Debian 12, served by Nginx via
> https. I used this as a debian-specific starter though I have done
> this in the past using a FreeBSD and Apache type setup:
> 
> https://esc.sh/blog/setting-up-a-git-http-server-with-nginx/

Which has: Alright, that’s it. Leave a comment if it didn’t work.
 

> The client is a windows 10 client.
> All goes right until I try to push changes to the server main branch

The above URL has no "`git push` works" statement,
it stops after "I could do `git clone`".


> and I get this:
> 
> git push origin main
> Enumerating objects: 4, done.
> Counting objects: 100% (4/4), done.
> Writing objects: 100% (4/4), 276 bytes | 276.00 KiB/s, done.
> Total 4 (delta 0), reused 4 (delta 0), pack-reused 0
> error: remote unpack failed: unable to create temporary object directory
> To https://git.domain.com/repo1.git
>  ! [remote rejected] main -> main (unpacker error)
> error: failed to push some refs to 'https://git.domain.com/repo1.git'
 
No sign of an user name.
Not even a request for an user name.


Regards
Geert Stappers
-- 
Silence is hard to parse


Reply to: