Gerrit 2.10.3.1 - Unable to access a change

55 views
Skip to first unread message

Fabio Porcedda

unread,
May 5, 2015, 7:57:29 AM5/5/15
to repo-d...@googlegroups.com
Hi All,
I'm unable to access a change using the url:

http://<server>:8080/<id>

The web page says:


Not Found
   
The page you requested was not found, or you do not have permission to view this page.


logs/error_log:
ERROR com.google.gerrit.httpd.restapi.RestApiServlet : Error in GET /access/?project=<repository>
org.eclipse.jgit.errors.MissingObjectException: Missing unknown f833d3d5e30267cc67e457d8f91e7083e42e1af1

But on the server the git command works fine:

git show f833d3d5e30267cc67e457d8f91e7083e42e1af1
commit f833d3d5e30267cc67e457d8f91e7083e42e1af1
....


I've tried several several things without succes:
- gerrit restartd
- git gc
- git fsck


Maybe is a memory related problem?

The size of the repository is 2.6GB.

show-caches:
Mem: 1.06g total = 1012.75m used + 71.20m free + 6.43m buffers
     1.93g max


Thanks and best regards

Jan Kundrát

unread,
May 5, 2015, 8:49:25 AM5/5/15
to repo-d...@googlegroups.com
On Tuesday, 5 May 2015 13:57:29 CEST, Fabio Porcedda wrote:
> logs/error_log:
> ERROR com.google.gerrit.httpd.restapi.RestApiServlet : Error in GET
> /access/?project=<repository>
> org.eclipse.jgit.errors.MissingObjectException: Missing unknown
> f833d3d5e30267cc67e457d8f91e7083e42e1af1

Did anybody mess with the git repositories on-disk? For example, have you
recently restored from a backup?

With kind regards,
Jan

--
Trojitá, a fast Qt IMAP e-mail client -- http://trojita.flaska.net/

Saša Živkov

unread,
May 5, 2015, 10:45:10 AM5/5/15
to Fabio Porcedda, repo-d...@googlegroups.com
On Tue, May 5, 2015 at 1:57 PM, Fabio Porcedda <fabio.p...@gmail.com> wrote:
Hi All,
I'm unable to access a change using the url:

http://<server>:8080/<id>

The web page says:


Not Found
   
The page you requested was not found, or you do not have permission to view this page.


logs/error_log:
ERROR com.google.gerrit.httpd.restapi.RestApiServlet : Error in GET /access/?project=<repository>
org.eclipse.jgit.errors.MissingObjectException: Missing unknown f833d3d5e30267cc67e457d8f91e7083e42e1af1

But on the server the git command works fine:

git show f833d3d5e30267cc67e457d8f91e7083e42e1af1
commit f833d3d5e30267cc67e457d8f91e7083e42e1af1
....

Can you also post the rest of this output here?
Is this commit contained in any branch?
 


I've tried several several things without succes:
- gerrit restartd
- git gc
- git fsck


Maybe is a memory related problem?

The size of the repository is 2.6GB.

show-caches:
Mem: 1.06g total = 1012.75m used + 71.20m free + 6.43m buffers
     1.93g max


Thanks and best regards

--
--
To unsubscribe, email repo-discuss...@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...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages