| Issue 832: | Can not push because idx file can not be deleted | |
| 3 people starred this issue and may be notified of changes. | Back to list |
Affected Version: What steps will reproduce the problem? 1. Clone https://github.com/svenfuchs/rails-i18n 2. try to push it to gerrit What do you see instead? [2011-01-27 12:19:22,283] ERROR com.google.gerrit.sshd.BaseCommand : Internal server error (user huge account 12) during git-receive-pack '/migrate2gerrit.git' com.google.gerrit.sshd.BaseCommand$Failure: fatal: Unpack error, check server log at com.google.gerrit.sshd.commands.Receive.runImpl(Receive.java:134) at com.google.gerrit.sshd.AbstractGitCommand.service(AbstractGitCommand.java:103) at com.google.gerrit.sshd.AbstractGitCommand.access$0(AbstractGitCommand.java:93) at com.google.gerrit.sshd.AbstractGitCommand$1.run(AbstractGitCommand.java:69) at com.google.gerrit.sshd.BaseCommand$TaskThunk.run(BaseCommand.java:395) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206) at com.google.gerrit.server.git.WorkQueue$Task.run(WorkQueue.java:324) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.io.IOException: Unpack error on project "migrate2gerrit": RefFilter: com.google.gerrit.server.git.ReceiveCommitsRefFilter@fd6f84aclass com.google.gerrit.server.git.ReceiveCommitsRefFilter at com.google.gerrit.sshd.commands.Receive.runImpl(Receive.java:133) ... 13 more Caused by: org.eclipse.jgit.errors.UnpackException: Exception while parsing pack stream at org.eclipse.jgit.transport.ReceivePack.service(ReceivePack.java:668) at org.eclipse.jgit.transport.ReceivePack.receive(ReceivePack.java:577) at com.google.gerrit.sshd.commands.Receive.runImpl(Receive.java:89) ... 13 more Caused by: java.io.IOException: Could not delete file /mnt/vol40/gerrit-site/git/migrate2gerrit.git/objects/incoming_264996951183637938 6.idx at org.eclipse.jgit.util.FileUtils.delete(FileUtils.java:125) at org.eclipse.jgit.util.FileUtils.delete(FileUtils.java:86) at org.eclipse.jgit.transport.IndexPack.index(IndexPack.java:480) at org.eclipse.jgit.transport.ReceivePack.receivePack(ReceivePack.java:787) at org.eclipse.jgit.transport.ReceivePack.service(ReceivePack.java:630) ... 15 more Please provide any additional information below. I tried to run `git gc` on local repository, but with no luck. I was able to push another repository without any problem.
Jan 27, 2011
#1
vitalie....@gmail.com
Apr 4, 2011
Fixed by updating to a more recent version of JGit in commit 701c5f67f89ee0cb048d9c442991ee549dd12ad3.
Status:
Submitted
Labels: FixedIn-2.1.7
May 31, 2011
how to update jgit in 2.1.6.1 release ? or other workaround solution.
May 31, 2011
(No comment was entered for this change.)
Status:
Released
|
|
| ► Sign in to add a comment |