yuki-kimoto / gitprep

Portable GitHub system into your own server
http://gitprep.yukikimoto.com/
906 stars 118 forks source link

Internal error when trying to create a Repository #166

Open Zero3K opened 4 years ago

Zero3K commented 4 years ago

When I try to create a Repository using the web interface (running on Windows 7), I get the following error in the production.log along with the mentioned Internal error:

[2020-02-07 20:04:18.74900] [6692] [error] /_new: Can't execute git init --bare:/cygdrive/c/Program Files/Git/cmd/git --git-dir=/home/Bryan/gitprep/script/../data/rep/Zero3K/presto.git init --bare at /home/Bryan/perl5/lib/perl5/DBIx/Connector.pm line 319.

Zero3K commented 4 years ago

Its the Manager.pm file in /lib/Gitprep/ that is causing the issue. I hope someone can fix it soon.

Zero3K commented 4 years ago

A fix is provided in the attached file:

git change 20200208.docx