Closed ppyyll7788 closed 6 years ago
[x]
First new repo, mark "Initialize this repository with selected files and template". Click create,see 500 err. Log: 2018/02/19 19:42:40 [I] Log Mode: File(Info) 2018/02/19 19:42:40 [I] XORM Log Mode: File(Info) 2018/02/19 19:42:40 [I] Cache Service Enabled 2018/02/19 19:42:40 [I] Session Service Enabled 2018/02/19 19:42:41 [I] Git Version: 2.15.1 2018/02/19 19:42:41 [I] SQLite3 Supported 2018/02/19 19:42:41 [I] Run Mode: Production 2018/02/19 19:42:41 [I] First-time run install finished! 2018/02/19 19:43:10 [...routers/repo/repo.go:146 handleCreateError()] [E] CreatePost: initRepository: prepareRepoCommit: git clone: exec(4:initRepository(git clone): D:\gitserver\pyle\t.git) failed: exit status 128() stdout: stderr: Cloning into 'C:\Users\ADMINI~1\AppData\Local\Temp\3\gitea-t-542145100'... error: cannot spawn sh: No such file or directory fatal: unable to fork
Thank lunny.xiao in QQ group 328432459. His solution is add "LOCAL_ROOT_URL=http://127.0.0.1:3000" in custom/app.ini under "server".
[x]
):Description
First new repo, mark "Initialize this repository with selected files and template". Click create,see 500 err. Log: 2018/02/19 19:42:40 [I] Log Mode: File(Info) 2018/02/19 19:42:40 [I] XORM Log Mode: File(Info) 2018/02/19 19:42:40 [I] Cache Service Enabled 2018/02/19 19:42:40 [I] Session Service Enabled 2018/02/19 19:42:41 [I] Git Version: 2.15.1 2018/02/19 19:42:41 [I] SQLite3 Supported 2018/02/19 19:42:41 [I] Run Mode: Production 2018/02/19 19:42:41 [I] First-time run install finished! 2018/02/19 19:43:10 [...routers/repo/repo.go:146 handleCreateError()] [E] CreatePost: initRepository: prepareRepoCommit: git clone: exec(4:initRepository(git clone): D:\gitserver\pyle\t.git) failed: exit status 128() stdout: stderr: Cloning into 'C:\Users\ADMINI~1\AppData\Local\Temp\3\gitea-t-542145100'...
error: cannot spawn sh: No such file or directory
fatal: unable to fork
Screenshots