-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Service exits immediately - 1/FAILURE #6972
Comments
Edit: the problem is solved whenever I change the user to 'root' |
I think that maybe you have some directory permission denied. |
Try becoming user git and running the binary in a terminal rather than using the service. You might get a much more informative error. |
You should see more info in systemd when setting |
@gino this bug report lacks critical information to help us help you. You must give us more information. What architecture are you running on? Is it raspberry pi? If so use arm6 not arm7. What does your service file look like? Did you read https://docs.gitea.io/en-us/linux-service/ ? Did you copy https://github.com/go-gitea/gitea/blob/master/contrib/systemd/gitea.service ? |
Sorry fat fingers - didn't mean to close. |
As @silverwind suggests if you set
(Assuming you don't have a You should get more information. |
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. |
@gino if you are still suffering this problem please reopen and comment. Otherwise I'm closing this due to lack of activity and information. |
I'm having this same error. I can't start the template Edit: I got it to work by setting the owner of Here was my relevant journal log:
|
You need to set the owner of |
Hi there,
I just installed Gitea on my server and created a service file, but unfortunately the service stops immediately without any errors.
I also configured the
app.ini
correctly and set up the log directory to/home/git/log
, unfortunately the directory stays empty.I hope someone can help me with this issue.
I am able to provide more information about the configuration files, if needed.
Thanks a lot.
The text was updated successfully, but these errors were encountered: