-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Can't run gitea as a Windows Service (Error 1053) #15134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
We'll need logs (https://docs.gitea.io/en-us/logging-configuration/#debugging-problems) to be able to know what is going on. |
Presumably this is related to running migrations from 1.13.5 to 1.14 - these would cause a delay in the service starting up such that Windows service manager would say it failed to start up. In any case please download rc2 there is a bug in one of the migrations in rc1 - then run the "gitea migrate" command before restarting the service. It's very likely that partial migrations will have been applied so it might make sense to restore your dB backup before doing this. |
But in future give us logs |
That is all that I get from logs:
But it still fails |
Should be fixed in #15210, please reopen if not |
[x]
):Description
I created the service when I had
gitea-1.13.5-windows-4.0-amd64
and everything went well, after I switched to the version specified above, I started getting the following error:Windows could not start the GiteaWeb service on Local Computer.Error 1053: The service did not respond to the start or control request in a timely fashion
Screenshots
The text was updated successfully, but these errors were encountered: