Windows server 2008 R2 can‘t install gitea #3489

Closed
opened 2025-11-02 05:14:41 -06:00 by GiteaMirror · 9 comments
Owner

Originally created by @Hem0o on GitHub (Jun 19, 2019).

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

Description

...

Screenshots

Originally created by @Hem0o on GitHub (Jun 19, 2019). <!-- NOTE: If your issue is a security concern, please send an email to security@gitea.io instead of opening a public issue --> <!-- 1. Please speak English, this is the language all maintainers can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/gitea) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): - Git version: - Operating system: - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [ ] Not relevant - Log gist: ## Description ... ## Screenshots <!-- **If this issue involves the Web Interface, please include a screenshot** -->
GiteaMirror added the issue/needs-feedback label 2025-11-02 05:14:41 -06:00
Author
Owner

@Hem0o commented on GitHub (Jun 19, 2019):

Open gitea-1.8.3-windows-4.0-amd64.exe ,but it closes immediately.

@Hem0o commented on GitHub (Jun 19, 2019): Open gitea-1.8.3-windows-4.0-amd64.exe ,but it closes immediately.
Author
Owner

@otbutz commented on GitHub (Jun 19, 2019):

Are you absolutely sure that you're running Windows Server 2008 R2?

Go 1.11 dropped support for Windows Server 2008 and requires at least 2008R2. source

BTW:

On January 14, 2020, support for Windows Server 2008 and 2008 R2 will end.

You should probably look for a different OS (version) anyway.

@otbutz commented on GitHub (Jun 19, 2019): Are you absolutely sure that you're running Windows Server 2008 **R2**? Go 1.11 dropped support for Windows Server 2008 and requires at least 2008R2. [source](https://github.com/golang/go/wiki/MinimumRequirements#windows) BTW: > On January 14, 2020, support for Windows Server 2008 and 2008 R2 will end. You should probably look for a different OS (version) anyway.
Author
Owner

@lunny commented on GitHub (Jun 20, 2019):

Please run gitea on command line and give more details.

@lunny commented on GitHub (Jun 20, 2019): Please run gitea on command line and give more details.
Author
Owner

@Hem0o commented on GitHub (Jun 20, 2019):

Please run gitea on command line and give more details.

 panic: Git not found: exec: "git": executable file not found in %PATH%

goroutine 1 [running]:
code.gitea.io/gitea/modules/git.init.0()
        /go/src/code.gitea.io/gitea/modules/git/git.go:83 +0xe4f

Is it necessary to install git first?

@Hem0o commented on GitHub (Jun 20, 2019): > Please run gitea on command line and give more details. ``` panic: Git not found: exec: "git": executable file not found in %PATH% goroutine 1 [running]: code.gitea.io/gitea/modules/git.init.0() /go/src/code.gitea.io/gitea/modules/git/git.go:83 +0xe4f ``` **Is it necessary to install git first?**
Author
Owner

@Hem0o commented on GitHub (Jun 20, 2019):

Are you absolutely sure that you're running Windows Server 2008 R2?

Go 1.11 dropped support for Windows Server 2008 and requires at least 2008R2. source

BTW:

On January 14, 2020, support for Windows Server 2008 and 2008 R2 will end.

You should probably look for a different OS (version) anyway.

Thank you!

@Hem0o commented on GitHub (Jun 20, 2019): > Are you absolutely sure that you're running Windows Server 2008 **R2**? > > Go 1.11 dropped support for Windows Server 2008 and requires at least 2008R2. [source](https://github.com/golang/go/wiki/MinimumRequirements#windows) > > BTW: > > > On January 14, 2020, support for Windows Server 2008 and 2008 R2 will end. > > You should probably look for a different OS (version) anyway. Thank you!
Author
Owner

@Cherrg commented on GitHub (Jun 20, 2019):

Please run gitea on command line and give more details.

 panic: Git not found: exec: "git": executable file not found in %PATH%

goroutine 1 [running]:
code.gitea.io/gitea/modules/git.init.0()
        /go/src/code.gitea.io/gitea/modules/git/git.go:83 +0xe4f

Is it necessary to install git first?

Yeah git need to be installed on your system. May you have to restart your system or/and manually add the path to environment variables.
(It's old, but may still works: https://stackoverflow.com/questions/26620312/installing-git-in-path-with-github-client-for-windows)

@Cherrg commented on GitHub (Jun 20, 2019): > > Please run gitea on command line and give more details. > > ``` > panic: Git not found: exec: "git": executable file not found in %PATH% > > goroutine 1 [running]: > code.gitea.io/gitea/modules/git.init.0() > /go/src/code.gitea.io/gitea/modules/git/git.go:83 +0xe4f > ``` > > **Is it necessary to install git first?** Yeah git need to be installed on your system. May you have to restart your system or/and manually add the path to environment variables. (It's old, but may still works: https://stackoverflow.com/questions/26620312/installing-git-in-path-with-github-client-for-windows)
Author
Owner

@Cherrg commented on GitHub (Jun 20, 2019):

Until you got gitea running i would recomment to always run from command line: gitea.exe web (may with additional parameters) to see error messages. If gitea runs you could set a log path in app.ini.

If all is running well you could also configure as system service to run gitea. Take a look in gitea docs:
https://docs.gitea.io/en-us/windows-service/

@Cherrg commented on GitHub (Jun 20, 2019): Until you got gitea running i would recomment to always run from command line: `gitea.exe web` (may with additional parameters) to see error messages. If gitea runs you could set a log path in app.ini. If all is running well you could also configure as system service to run gitea. Take a look in gitea docs: https://docs.gitea.io/en-us/windows-service/
Author
Owner

@Hem0o commented on GitHub (Jun 20, 2019):

Please run gitea on command line and give more details.

 panic: Git not found: exec: "git": executable file not found in %PATH%

goroutine 1 [running]:
code.gitea.io/gitea/modules/git.init.0()
        /go/src/code.gitea.io/gitea/modules/git/git.go:83 +0xe4f

Is it necessary to install git first?

Yeah git need to be installed on your system. May you have to restart your system or/and manually add the path to environment variables.
(It's old, but may still works: https://stackoverflow.com/questions/26620312/installing-git-in-path-with-github-client-for-windows)

I get it.Thank you very much!

@Hem0o commented on GitHub (Jun 20, 2019): > > > Please run gitea on command line and give more details. > > > > > > ``` > > panic: Git not found: exec: "git": executable file not found in %PATH% > > > > goroutine 1 [running]: > > code.gitea.io/gitea/modules/git.init.0() > > /go/src/code.gitea.io/gitea/modules/git/git.go:83 +0xe4f > > ``` > > > > > > **Is it necessary to install git first?** > > Yeah git need to be installed on your system. May you have to restart your system or/and manually add the path to environment variables. > (It's old, but may still works: https://stackoverflow.com/questions/26620312/installing-git-in-path-with-github-client-for-windows) I get it.Thank you very much!
Author
Owner

@gsantner commented on GitHub (Jul 11, 2019):

@lunny
guess this can be closed

@gsantner commented on GitHub (Jul 11, 2019): @lunny guess this can be closed
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#3489