[solved] Does not working Ubuntu 16.04 server

I have install it in my server by following guideline https://linuxize.com/post/how-to-install-gitea-on-ubuntu-18-04/

But it doesnt working all.

with systemctl status gitea somtime it show running someiting error

● gitea.service - Gitea (Git with a cup of tea)
Loaded: loaded (/etc/systemd/system/gitea.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Wed 2020-08-26 10:46:43 UTC; 657ms ag
Process: 19617 ExecStart=/usr/local/bin/gitea web --config /etc/gitea/app.ini (code=exited, status
Main PID: 19617 (code=exited, status=1/FAILURE)

Aug 26 10:46:43 meet systemd[1]: gitea.service: Main process exited, code=exited, status=1/FAILURE
Aug 26 10:46:43 meet systemd[1]: gitea.service: Unit entered failed state.
Aug 26 10:46:43 meet systemd[1]: gitea.service: Failed with result ‘exit-code’.

Can you post your app.ini

1 Like

Thanks you so much after few hr i have fixed the issue was with owner directory the user git, is not owner of home/git now its running thanks

the systemd logs provided above don’t say why the binary exited. Are you able to run gitea --version to see if the binary runs?

yes and issue fixed the issue was about the home git directory was not owned by git user.
My hosting provider cloudcone help me to gt error log and when i read that i understand it

1 Like