Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

seeing lots of warning messages for unknown date format with older Git #1331

Closed
ilovemaui opened this issue Jan 18, 2017 · 12 comments
Closed

Comments

@ilovemaui
Copy link

If anyone knows if this is a bug in the current version of opengrok - 0.13-rc5, or possibly a configuration issue, but I have been seeing thousands of these warning messages in my index output..
WARNING: Failed to determineCurrentVersion for /myopengrok/mydir java.io.IOException: fatal: unknown date format format:%Y-%m-%d %H:%M

if anyone can shed light on this. This is running with jdk1.8.0_72, universal-ctags, and opengrok-0.13-rc5

@vladak
Copy link
Member

vladak commented Jan 18, 2017

What SCM is this ?

@vladak
Copy link
Member

vladak commented Jan 18, 2017

Assuming this is Git, you are likely running version older than 2.6 and might be therefore missing the fix in cset bdb4975 which is not in 0.13-rc5.

@ilovemaui
Copy link
Author

we are grabbing the source with an older version of git - 1.7.12.3
I think we do have a newer version 2.10.1 - if we switch to this newer version, will this problem go away? and to use this new version, do I have to reclone all of my repos using the new version?

@vladak
Copy link
Member

vladak commented Jan 18, 2017

Switching to git newer than 2.6 should fix the problem I believe however I am not sure if this involves repo upgrade. Instead you can give https://github.com/OpenGrok/OpenGrok/releases/tag/0.13.rc6 a try.

@ilovemaui
Copy link
Author

ok. let me try new version 1st of opengrok. thx.

@tulinkry
Copy link
Contributor

Use any of the grok revisions after the mentioned commit (so for example rc6). The problem should be solved with that commit

@vladak vladak changed the title seeing lots of warning messages for unknown date format seeing lots of warning messages for unknown date format with older Git Jan 19, 2017
@tulinkry
Copy link
Contributor

tulinkry commented Feb 6, 2017

No further reaction and the solution was proposed so closing.

@tulinkry tulinkry closed this as completed Feb 6, 2017
@Shooter3k
Copy link

FYI - I'm getting this error again using opengrok 1.1 rc61 and git version 1.7.1 (I'm not sure if it matters or not because the version of git I'm using is so old)

2018-10-25 13:59:03.511 WARNING [org.opengrok.indexer.history] - Failed to determineCurrentVersion for /mygitrepo: java.io.IOException: fatal: unknown date format iso8601-strict

@tulinkry
Copy link
Contributor

Yes, it matters. The iso8601-strict is available in higher versions of git only.

@tulinkry
Copy link
Contributor

tulinkry commented Oct 26, 2018

Also see #1884 and the introducing PR #1314 and after it we don't support older git version.

@Shooter3k
Copy link

Would it be possible to add the git2.6+ version requirement to this document? I would do it but I'm not sure that's something you guys want to do....
https://github.com/oracle/opengrok/wiki/How-to-setup-OpenGrok

Also see #1884 and the introducing PR #1314 and after it we don't support older git version.

@vladak
Copy link
Member

vladak commented Oct 26, 2018 via email

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants