Installing GitBlit GO as Service in Ubuntu Server 14.04

Posted by Luis Masuelli on Server Fault See other posts from Server Fault or by Luis Masuelli
Published on 2014-08-20T20:46:54Z Indexed on 2014/08/20 22:22 UTC
Read the original article Hit count: 402

Filed under:
|
|

I downloaded it (version 1.6.0), unpacked it in /opt/gitblit (ubuntu server 14.04.1), configured http to 8280 and disabled https assigning 0 (I expose it by https using nginx).

I created gitblit user and added it to 'sudo' group by running: sudo adduser gitblit sudo (gitblit user has a strong password).

I installed it as a service by running: /opt/gitblit/install-service-ubuntu.sh.

I tried to start it by running: sudo service gitblit start. The message Starting gitblit server appears. It's the only message.

When I hit -in the same local machine- http://127.0.0.1:8280, the connection could not be made. When I run sudo netstat -anp | grep 8280, nothing appears.

I see no error messages, but the server is not starting.

Question: What am I missing?

© Server Fault or respective owner

Related posts about git

Related posts about service