
[2015-03-16 18:20:06,808] ERROR com.google.gerrit.httpd.restapi.RestApiServlet : Error in GET /accounts/self/sshkeys
java.lang.IllegalStateException: Missing project All-Projects
at com.google.gerrit.server.project.ProjectCacheImpl.getAllProjects(ProjectCacheImpl.java:101)
On 03/17/2015 10:28 AM, Gaurav Negi wrote:
Dear Gerrit Experts
I have installed gerrit in my staging environment but trying to add
the ssh keys giving me
"500 internal server error"
Inline image 1
I am not able to add my keys also.
Gerrit logs says something like.
/[2015-03-16 18:20:06,808] ERROR
com.google.gerrit.httpd.restapi.RestApiServlet : Error in GET
/accounts/self/sshkeys/
/java.lang.IllegalStateException: Missing project All-Projects/
Does All-Projects.git exist under the /git folder in the site path? Is it readable by the gerrit user?
/ at
com.google.gerrit.server.project.ProjectCacheImpl.getAllProjects(ProjectCacheImpl.java:101)/
If you have any idea, please let me know.
I am using postresql database.
Thanks
-Gaurav
--
--
To unsubscribe, email repo-discuss+unsubscribe@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google
Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to repo-discuss+unsubscribe@googlegroups.com
<mailto:repo-discuss+unsub...@googlegroups.com>.
$ git clone file:////home/gerrit2/GERRIT/git/All-Projects.git
Initialized empty Git repository in /home/gerrit2/tmp/All-Projects/.git/
error: Trying to write ref HEAD with nonexistant object aca83cc213d8f32a57c626679aea35ebb70510a0
fatal: Cannot update the ref 'HEAD'.