davideuler / gitblit

Automatically exported from code.google.com/p/gitblit
Apache License 2.0
0 stars 0 forks source link

Error creating a repository #484

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.create a repository
2.
3.

What is the expected output? What do you see instead?
retun to the repository collection or on the next step creating a repo

What version of the product are you using? On what operating system?
windows server 2012 
v1.6.0

Please provide any additional information below.

Original issue reported on code.google.com by mytube10...@gmail.com on 14 Aug 2014 at 12:28

Attachments:

GoogleCodeExporter commented 9 years ago
There is a server-side stacktrace associated with this error.  Can you provide 
it?

Original comment by James.Mo...@gmail.com on 14 Aug 2014 at 12:42

GoogleCodeExporter commented 9 years ago
This only happens when selecting a ignore file and or a include read me file

Original comment by mytube10...@gmail.com on 14 Aug 2014 at 12:50

GoogleCodeExporter commented 9 years ago
how will i get server-side stacktrace associated with this error since i am new 
to gitblit 

Original comment by mytube10...@gmail.com on 14 Aug 2014 at 12:52

GoogleCodeExporter commented 9 years ago
The answer depends on which Gitblit you are using and how you are launching it. 
 Gitblit dumps alot of info to stdout which is captured by the GO Windows 
service to a log file.  If you are running the WAR variant, then your 
container's log will have the information.

I can almost guess the problem, though.  Your user account does not have an 
email address specified.

Original comment by James.Mo...@gmail.com on 14 Aug 2014 at 1:06

GoogleCodeExporter commented 9 years ago
We i am using Ldap to authenticate users. i am using gitblit go i launch the 
server from a command line.Where would the log file be dumped

Original comment by mytube10...@gmail.com on 14 Aug 2014 at 1:21

GoogleCodeExporter commented 9 years ago
Then it's in the command-line console.

Original comment by James.Mo...@gmail.com on 14 Aug 2014 at 1:25

GoogleCodeExporter commented 9 years ago
no i am not usin gthe command line to create projects but the web gui and when 
creating a repository and you try to include a read me or an ignore file it 
errors out 

Original comment by mytube10...@gmail.com on 15 Aug 2014 at 12:45

GoogleCodeExporter commented 9 years ago
I've run in to the missing email address problem before in exactly the same 
scenario. Maybe in the event it's missing you could do something similar to 
what Git does when you haven't configured your user.name or user.email 
properties and set the email to "username@server.domain"?

Original comment by gib...@gmail.com on 18 Aug 2014 at 3:49

GoogleCodeExporter commented 9 years ago

Original comment by James.Mo...@gmail.com on 4 Sep 2014 at 5:26