Skip to content

Gitea not starting as Windows service #6722

Closed
@scottaglia

Description

@scottaglia
  • Gitea version (or commit ref): 2a0e86d
  • Git version:
  • Operating system: Windows Server
  • Database:
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:
    Log file is not created

Description

I upgraded from 5f4a40c to 2a0e86d (current master release), but when I restarted the service I got Error 1067. I tried lunching the exe from the command line and I got:
Expect user 'X' but current user is: Y
So I changed the RUN_USER to X inside app.ini, relaunched the exe from the cmd and gitea was up and running. But when I try to start gitea from the service (registered with nssm) I keep getting the same error 1067. Any idea of what might have changed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions