Gitea A painless self-hosted Git service

Just tested this one, and this is the result on login:

Specifics:

[root@neth-test ~]# rpm -qa | grep gitea
gitea-1.5.0-1.ns7.x86_64
nethserver-gitea-0.0.5-3.ns7.noarch

…built from your unmodified .spec files.

Procedure:

  • Start with clean Neth 7.5 install (off the ISO).
  • scp the above two RPMs to the machine, then yum install *.rpm.
  • Log in to server-manager, restore configuration.
  • Log back in to server-manager (required since IP changed after restoring configuration), install updates through software center.
  • Reboot since kernel was updated.
  • restore-data
  • Reboot again just to be on the safe side.
  • Browse to neth-test/git and log in as a user. Get the message above.

gitea.log shows:

[root@neth-test gitea]# cat gitea.log 
2018/08/30 21:41:54 [...itea/routers/init.go:60 GlobalInit()] [E] Failed to initialize ORM engine: dial tcp 127.0.0.1:3306: getsockopt: connection refused
2018/08/30 21:41:56 [...itea/routers/init.go:64 GlobalInit()] [E] Failed to initialize OAuth2 support: dial tcp 127.0.0.1:3306: getsockopt: connection refused
2018/08/30 21:41:58 [...itea/routers/init.go:60 GlobalInit()] [E] Failed to initialize ORM engine: dial tcp 127.0.0.1:3306: getsockopt: connection refused
2018/08/30 21:43:48 [...routers/user/auth.go:162 SignInPost()] [E] UserSignIn: User not known to the underlying authentication module