[...s/setting/setting.go:887 NewContext()] [E] Error parsing git revision version: strconv.ParseUint: parsing "GIT": invalid syntax #1807

Closed
opened 2025-11-02 04:13:52 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @gerroon on GitHub (May 22, 2018).

  • Gitea version (or commit ref): d94472e
  • Git version: 2.1git version 2.17.GIT
  • Operating system: Debian Wheezy i386
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • [ x] SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • [x ] Not relevant
  • Log gist:

Description

I just compiled a newer version of Git (it was 1.7.10.4) now this is the message I get when i try to run gitea in the terminal.

[...s/setting/setting.go:887 NewContext()] [E] Error parsing git revision version: strconv.ParseUint: parsing "GIT": invalid syntax

...

Screenshots

Originally created by @gerroon on GitHub (May 22, 2018). - Gitea version (or commit ref): d94472e - Git version: 2.1git version 2.17.GIT - Operating system: Debian Wheezy i386 - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [ x] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [x ] Not relevant - Log gist: ## Description I just compiled a newer version of Git (it was 1.7.10.4) now this is the message I get when i try to run gitea in the terminal. [...s/setting/setting.go:887 NewContext()] [E] Error parsing git revision version: strconv.ParseUint: parsing "GIT": invalid syntax ... ## Screenshots <!-- **If this issue involves the Web Interface, please include a screenshot** -->
GiteaMirror added the issue/staletype/bug labels 2025-11-02 04:13:52 -06:00
Author
Owner

@stale[bot] commented on GitHub (Jan 25, 2019):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale[bot] commented on GitHub (Jan 25, 2019): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
Author
Owner

@lunny commented on GitHub (Feb 6, 2019):

This should not an issue now since we used github.com/mcuadros/go-version to compare the git version. Closing now and please feel free to reopen it.

@lunny commented on GitHub (Feb 6, 2019): This should not an issue now since we used `github.com/mcuadros/go-version` to compare the git version. Closing now and please feel free to reopen it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#1807