Skip to content

gitea.service: Failed with result 'start-limit-hit'. #6540

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

Closed
snelweg opened this issue Apr 8, 2019 · 4 comments
Closed

gitea.service: Failed with result 'start-limit-hit'. #6540

snelweg opened this issue Apr 8, 2019 · 4 comments
Labels
issue/duplicate The issue has already been reported.

Comments

@snelweg
Copy link

snelweg commented Apr 8, 2019

Wanted to upgrade from 1.7 to 1.8. But gitea 1.8 will not start on my machine:

`root@xxxxxx:~# systemctl status gitea
● gitea.service - Gitea (Git with a cup of tea)
Loaded: loaded (/etc/systemd/system/gitea.service; enabled; vendor preset: enabled)
Active: failed (Result: start-limit-hit) since Mon 2019-04-08 11:20:42 CEST; 4min 16s ago
Process: 659 ExecStart=/home/gogs/gitea/gitea web (code=killed, signal=ABRT)
Main PID: 659 (code=killed, signal=ABRT)

Apr 08 11:20:42 nas2.microkloon.nl systemd[1]: gitea.service: Unit entered failed state.
Apr 08 11:20:42 nas2.microkloon.nl systemd[1]: gitea.service: Failed with result 'signal'.
Apr 08 11:20:42 nas2.microkloon.nl systemd[1]: gitea.service: Service hold-off time over, scheduling restart.
Apr 08 11:20:42 nas2.microkloon.nl systemd[1]: Stopped Gitea (Git with a cup of tea).
Apr 08 11:20:42 nas2.microkloon.nl systemd[1]: gitea.service: Start request repeated too quickly.
Apr 08 11:20:42 nas2.microkloon.nl systemd[1]: Failed to start Gitea (Git with a cup of tea).
Apr 08 11:20:42 nas2.microkloon.nl systemd[1]: gitea.service: Unit entered failed state.
Apr 08 11:20:42 nas2.microkloon.nl systemd[1]: gitea.service: Failed with result 'start-limit-hit'.
`
When I switch back to 1.7 everything works again. What am I doing wrong?
(I once a long time ago used gogs, still using that username on my machine, but everything is Gitea now)

@lafriks
Copy link
Member

lafriks commented Apr 8, 2019

Check gitea.log for errors

@snelweg
Copy link
Author

snelweg commented Apr 8, 2019

Check gitea.log for errors

gitea.log is not updated when using 1.8. So no messages about the error in the log file.

`
root@nas2:/home/gogs/gitea/log# ls -la
total 1336
drwxr-xr-x 3 gogs gogs 4096 Apr 8 00:03 .
drwxr-xr-x 5 gogs gogs 4096 Apr 8 11:58 ..
-rw-r----- 1 gogs gogs 647 Apr 8 11:26 gitea.log
-rw-r----- 1 gogs gogs 188 Mar 26 21:50 gitea.log.2019-04-02.001
drwxr-xr-x 2 gogs gogs 4096 Aug 14 2018 hooks
-rw-r----- 1 gogs gogs 0 Aug 6 2018 http.log
-rw-r----- 1 gogs gogs 8201 Apr 6 15:30 serv.log
-rw-r----- 1 gogs gogs 72387 Apr 8 11:56 xorm.log
-rw-r----- 1 gogs gogs 391326 Apr 1 23:53 xorm.log.2019-04-02.001
-rw-r----- 1 gogs gogs 339346 Apr 2 23:53 xorm.log.2019-04-03.001
-rw-r----- 1 gogs gogs 56310 Apr 3 23:53 xorm.log.2019-04-04.001
-rw-r----- 1 gogs gogs 37362 Apr 4 23:53 xorm.log.2019-04-05.001
-rw-r----- 1 gogs gogs 85418 Apr 5 23:53 xorm.log.2019-04-06.001
-rw-r----- 1 gogs gogs 118515 Apr 6 23:53 xorm.log.2019-04-07.001
-rw-r----- 1 gogs gogs 190882 Apr 7 23:53 xorm.log.2019-04-08.001

`

@snelweg
Copy link
Author

snelweg commented Apr 8, 2019

Looks like I found the problem:

gogs@nas2:~/gitea$ ./gitea FATAL: kernel too old Aborted

So no upgrading anymore for me then. Thanks.

@lafriks
Copy link
Member

lafriks commented Apr 8, 2019

you can compile manually with older golang version (1.9). Check docs on how to do that.

@lafriks lafriks closed this as completed Apr 8, 2019
@lafriks lafriks added the issue/duplicate The issue has already been reported. label Apr 8, 2019
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
issue/duplicate The issue has already been reported.
Projects
None yet
Development

No branches or pull requests

2 participants