gitblit icon indicating copy to clipboard operation
gitblit copied to clipboard

start-stop-daemon: user 'gitblit' not found

Open faninks opened this issue 4 years ago • 1 comments

Ubuntu18.04 gitblit1.9 root@zj-H110M-S2:/etc# systemctl status gitblit ● gitblit.service - LSB: Gitblit repository server Loaded: loaded (/etc/init.d/gitblit; generated) Active: active (exited) since Thu 2021-04-29 13:48:26 CST; 15min ago Docs: man:systemd-sysv-generator(8) Process: 3294 ExecStart=/etc/init.d/gitblit start (code=exited, status=0/SUCCESS)

4月 29 13:48:26 zj-H110M-S2 systemd[1]: Starting LSB: Gitblit repository server... 4月 29 13:48:26 zj-H110M-S2 gitblit[3294]: Starting gitblit server 4月 29 13:48:26 zj-H110M-S2 gitblit[3294]: start-stop-daemon: user 'gitblit' not found 4月 29 13:48:26 zj-H110M-S2 systemd[1]: Started LSB: Gitblit repository server.

faninks avatar Apr 29 '21 06:04 faninks

How did you install it? It tries to run under the user 'gitblit' but that user probably has not been created yet, It is advised to create a system user to run Gitblit, the init script assumes the default user name 'gitblit'.

flaix avatar May 07 '21 18:05 flaix