Hi everybody. I try to install Gitea as Win Service for use with Directum. I need a version 1.15.6 so I isntalled it on my Windows Server system. I checked some topics about installation here and tried some options but it doesn’t work at least.
I think that problem is with file gitea\data\gitea.db because I can\t understand isntalls it by itself or not.
Now I have that folders:
c:\gitea\data\gitea.db(empty)
c:\gitea\repository
c:\Gitea\custom\conf\app.ini(where I changed PATH for data to FILEPATH)
I install throw cmd with sc.exe create gitea start= auto binpath= “"c:\gitea\gitea.exe" web --config "c:\gitea\custom\conf\app.ini”"
Try to start in Services and have “Error 2:The system cannot find the file specified”
config in app.ini
APP_NAME = dds
RUN_MODE = prod
[security]
INSTALL_LOCK = true
[server]
SSH_DOMAIN = localhost
DOMAIN = localhost
DISABLE_SSH = false
SSH_PORT = 22
LFS_START_SERVER = true
OFFLINE_MODE = false
[repository]
ROOT = C:\Gitea\repositories
[database]
DB_TYPE = sqlite3
HOST = 127.0.0.1:3306
NAME = gitea
USER = gitea
PASSWD =
SSL_MODE = disable
FILEPATH = C:\Gitea\data\gitea.db
[mailer]
ENABLED = false
[service]
REGISTER_EMAIL_CONFIRM = false
ENABLE_NOTIFY_MAIL = false
DISABLE_REGISTRATION = false
ENABLE_CAPTCHA = false
REQUIRE_SIGNIN_VIEW = false
DEFAULT_KEEP_EMAIL_PRIVATE = false
DEFAULT_ALLOW_CREATE_ORGANIZATION = true
DEFAULT_ENABLE_TIMETRACKING = true
NO_REPLY_ADDRESS = noreply.example.org
[picture]
DISABLE_GRAVATAR = false
ENABLE_FEDERATED_AVATAR = false
[openid]
ENABLE_OPENID_SIGNIN = true
ENABLE_OPENID_SIGNUP = true
[session]
PROVIDER = file