-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
[Error 1053] Can't run gitea as a Windows Service #7201
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
Is there something in the Windows event log? |
Yeah, just that it timed out after 30000ms |
What about the user? Does he have sufficient rights to read/write the folders and to open a network connection? |
Probably. |
Can you post your app.ini (minus passwords and secrets)? |
Of course
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions. |
This issue has been automatically closed because of inactivity. You can re-open it if needed. |
Had this same issue. |
I had the same issue today, that's how I've fixed it: To see the actual error, open a cmd in gitea folder and type the following command:
In my case, I added git to the path. I still had the 1053 error when I launched the service at that point: So I went to the Gitea's logs (gitea/log/gitea.log) and had an error: Then I just created the role 'gitea' wich was missing and it solved the problem! Hope this helps :) |
This issue actually not resolve yet. Could we re-open it?
Not work for me. There is no log file generated. The log folder is empty. |
This issue is actually unresolved. Could we re-open it? |
@PlusoneWang please open another issue - with more information on your specific configuration i.e. complete version of gitea, your path and a suitably sanitized app.ini. So far the above issues have been due to configuration and not due to a bug. |
和我的状况一样,是因为windows server 没有安装 git,所以 gitea无法在path中找到git的执行程序,添加上之后就好了 same iusse,need install git,and add git path to system environment variables |
[x]
):Description
I can create the service however I can't start it. (It runs fine when I run the exe as an user application.)
Error 1053: The service did not respond to the start or control request in a timely fashion
Screenshots
No screenshots because I can't really switch language in the os.
The text was updated successfully, but these errors were encountered: