Project

General

Profile

git log error: git exited with non-zero status: 128

Added by Lib Reg about 7 years ago

Hi,

After setting up Redmine 3.2 I see "git log error: git exited with non-zero status: 128" in /opt/redmine/log/production.log.
On another machine with Redmine 2.5.2.stable, the error is missing and two additional lines appear:
Rendered repositories/_revision_graph.html.erb (3.2ms)
Rendered repositories/_revisions.html.erb (90.1ms)

In the web interface, the Latest revisions section is missing in 3.2, fine in 2.5.2.
Also, clicking on view revisions will not show any in 3.2, but show about 3 weeks worth in 2.5.2.
Also, the comment field at the top is empty for 3.2
The cron job with git fetch --all is running every 5 minutes.

The setup is the same as far as I can see, what am I missing?


Replies (1)

RE: git log error: git exited with non-zero status: 128 - Added by Lib Reg almost 7 years ago

If anyone finds this, I solved it here by deleting the repo settings under the project's settings/repository and readding them, then waiting for the project's repository page to load (took a few minutes, though it looks as if /opt/repo-browser/myreponame/ was unchanged). Not sure if waiting for the page to load is absolutely necessary, though I may not have waited when the problem appeared.

After the initial wait revisions appear again and quickly.

After searching for just "git exited with non-zero status" I found these which helped me on the way: #12505, see also #11841

    (1-1/1)