windows sc insert system service, restart the operating system, gitea does not start #2170

Closed
opened 2025-11-02 04:25:59 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @adleader on GitHub (Aug 11, 2018).

  • Gitea version (or commit ref): all version
  • Git version: Git-2.14.2-64-bit
  • Operating system: windows 2008
  • 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

  • windows sc insert system service, restart the operating system, gitea does not start

Screenshots

Originally created by @adleader on GitHub (Aug 11, 2018). <!-- 1. Please speak English, this is the language all of us can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/NsatcWJ) 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): all version - Git version: Git-2.14.2-64-bit - Operating system: windows 2008 - 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 - windows sc insert system service, restart the operating system, gitea does not start ## Screenshots <!-- **If this issue involves the Web Interface, please include a screenshot** -->
GiteaMirror added the type/question label 2025-11-02 04:25:59 -06:00
Author
Owner

@lafriks commented on GitHub (Aug 11, 2018):

You have to provide start= auto to sc install

@lafriks commented on GitHub (Aug 11, 2018): You have to provide `start= auto` to `sc install`
Author
Owner

@adleader commented on GitHub (Aug 12, 2018):

@lafriks @zacheryph @ndarilek @clee @jbcrail
The gitea has been set to auto in the system service, but the problem remains, I hope developers can test it in Windows 2008, I suspect that it is a problem of packaging binary. I use the scheduled task, boot gitea.exe startup, and can not run gitea

@adleader commented on GitHub (Aug 12, 2018): @lafriks @zacheryph @ndarilek @clee @jbcrail The gitea has been set to auto in the system service, but the problem remains, I hope developers can test it in Windows 2008, I suspect that it is a problem of packaging binary. I use the scheduled task, boot gitea.exe startup, and can not run gitea
Author
Owner

@lafriks commented on GitHub (Aug 12, 2018):

Can you run gitea.exe from command line? What output do you get?

@lafriks commented on GitHub (Aug 12, 2018): Can you run gitea.exe from command line? What output do you get?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#2170