gogs
gogs copied to clipboard
Failed to set git user.name(exit status 128): fatal: $HOME not set
Gogs version
0.12.10
Git version
- Server: 1.8.3.1
- Client: 1.8.3.1
Operating system
centos 7
Database
mysql 5.7
Describe the bug
Installation failed
2022/08/12 00:06:15 [ WARN] Custom config "/www/wwwroot/gogs/custom/conf/app.ini" not found. Ignore this warning if you're running for the first time 2022/08/12 00:06:15 [TRACE] Log mode: Console (Trace) 2022/08/12 00:06:15 [ INFO] Gogs 0.12.9 2022/08/12 00:06:15 [TRACE] Work directory: /www/wwwroot/gogs 2022/08/12 00:06:15 [TRACE] Custom path: /www/wwwroot/gogs/custom 2022/08/12 00:06:15 [TRACE] Custom config: /www/wwwroot/gogs/custom/conf/app.ini 2022/08/12 00:06:15 [TRACE] Log path: /www/wwwroot/gogs/log 2022/08/12 00:06:15 [TRACE] Build time: 2022-06-07 05:03:46 UTC 2022/08/12 00:06:15 [TRACE] Build commit: 012a1ba19ed2f8f5185be4254f655ba6c4b34db2 2022/08/12 00:06:15 [ INFO] Run mode: Development 2022/08/12 00:06:15 [ INFO] Listen on http://0.0.0.0:3000 2022/08/12 00:06:23 [TRACE] Session ID: 441581626076bb9f 2022/08/12 00:06:23 [TRACE] CSRF Token: GYbP3C7jqRo7sRK92jpgMege3tA6MTY2MDIzMzk4MzYxMDk0ODA0MQ 2022/08/12 00:06:23 [TRACE] Session ID: 441581626076bb9f 2022/08/12 00:06:23 [TRACE] CSRF Token: II_doijTwAaRS3EV-jAA8eYM7rE6MTY2MDIzMzk4MzY2NTQ3MjExOA 2022/08/12 00:06:23 [TRACE] Template: install 2022/08/12 00:07:08 [TRACE] Session ID: 441581626076bb9f 2022/08/12 00:07:08 [TRACE] CSRF Token: 23GeLQSKrVod6S_90KYEWfSjPwA6MTY2MDIzNDAyODE3MTA5NjQyOA 2022/08/12 00:07:08 [ INFO] Gogs 0.12.9 [git-module] [timeout: 1m0s] git version git version 1.8.3.1 2022/08/12 00:07:08 [FATAL] [gogs.io/gogs/internal/db/repo.go:130 NewRepoContext()] Failed to set git user.name(exit status 128): fatal: $HOME not set
To reproduce
Try each version of the installation, it is the same
Expected behavior
Installation succeeded
Additional context
No response
Code of Conduct
- [X] I agree to follow this project's Code of Conduct