I've tried to set this up and really not having much luck.
I follow the instructions that I've seen on the web and mentioned in this group.
1- First set up the database, add the user, create the database, set the permissions for the user, flush-privileges
2- initialize a gerrit installation and answer all the various questions
3- start gerrit
The web page comes up, but when I log in the first time I get a semi-black screen that says Application Error.
The error_log shows:
[2013-01-15 12:56:18,793] INFO com.google.gerrit.sshd.SshDaemon : Started Gerri
t SSHD on *:29418
[2013-01-15 12:56:18,796] INFO org.eclipse.jetty.util.log : jetty-7.2.1.v201011
11
[2013-01-15 12:56:19,441] INFO org.eclipse.jetty.util.log : Started SelectChann
elCon...@0.0.0.0:8181[2013-01-15 12:56:19,445] INFO com.google.gerrit.pgm.Daemon : Gerrit Code Revie
w 2.5.1 ready
[2013-01-15 12:57:21,860] WARN / : Error in authenticate
java.util.NoSuchElementException
at java.util.ArrayList$Itr.next(ArrayList.java:794)
at com.google.gerrit.server.account.AccountManager.create(AccountManager
.java:291)
at com.google.gerrit.server.account.AccountManager.authenticate(AccountM
anager.java:122)
at com.google.gerrit.httpd.auth.ldap.UserPassAuthServiceImpl.authenticat
e(UserPassAuthServiceImpl.java:70)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.google.gwtjsonrpc.server.MethodHandle.invoke(MethodHandle.java:91
)
at com.google.gwtjsonrpc.server.JsonServlet.doService(JsonServlet.java:3
79)
at com.google.gwtjsonrpc.server.JsonServlet.service(JsonServlet.java:265
)
at com.google.gerrit.httpd.rpc.GerritJsonServlet.service(GerritJsonServl
et.java:118)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at com.google.inject.servlet.ServletDefinition.doService(ServletDefiniti
on.java:263)
at com.google.inject.servlet.ServletDefinition.service(ServletDefinition
I can still successfully log in. Once I do, I can look around and see that there is an Administrator group and that I am a member of that group. But it seems the Administrators group doesn't have any privileges. For instance, I can list projects, I can't create any.
Any ideas?