gitlab-omnibus

How to serve other vhosts next to Gitlab Omnibus server? [Full step-by-step solution]

情到浓时终转凉″ 提交于 2019-12-17 15:30:03
问题 I installed Gitlab CE on a dedicated Ubuntu 14.04 server edition with Omnibus package . Now I would want to install three other virtual hosts next to gitlab. Two are node.js web applications launched by a non-root user running on two distinct ports > 1024 , the third is a PHP web application that need a web server to be launched from. There are: a private bower registry running on 8081 ( node.js ) a private npm registry running on 8082 ( node.js ) a private composer registry ( PHP ) But

GitLab site is showing the plesk default page. What am i doing wrong?

六月ゝ 毕业季﹏ 提交于 2019-12-12 18:07:55
问题 so here is my setup: I have Ubuntu 14.04 and installed Gitlab omnibus. Then i basically just followed this guide: Setup for non-bundled Webserver (apache in my case) I successfully enabled the apache site with this config files: gitlab.rb (just those lines which are not commented): external_url "http://git.codefighters.org" nginx['enable'] = false web_server['external_users'] = ['www-data'] gitlab_workhorse['listen_network'] = "tcp" gitlab_workhorse['listen_addr'] = "127.0.0.1:8181" git

Gitlab Omnibus: how to redirect all requests to another domain

情到浓时终转凉″ 提交于 2019-12-12 12:29:05
问题 I migrated my Gitlab to a new domain. I'd like to redirect all HTTP requests from the old URL to the new one. Both domains currently point to the same server (using A DNS records). I use Gitlab Omnibus package, with the bundled nginx install. How to do this? 回答1: First, create /etc/nginx/conf.d/redirect.conf : server { listen 80; server_name old-gitlab.mydomain.com; rewrite ^/(.*)$ http://new-gitlab.mydomain.com/$1 permanent; } (if the /etc/nginx/conf.d/ path does not exist, go ahead and

Gitlab Pages daemon, where is /home/git?

萝らか妹 提交于 2019-12-12 05:40:22
问题 I'm trying to include SSL on my gitlab pages site, and it says I need to first install the Pages daemon. However, I'm not sure where to start: is cd /home/git a home directory on my Mac where I'm supposed to have git installed? When I do git --version it says git version 2.7.4 (Apple Git-66) however I'm not seeing a folder "git" inside my home directory. Any ideas on how I'd get into the /home/git folder? 回答1: \o/ Great! I got this certificate from StartSSL Class 1, check this tutorial to

Gitlab docker not working if external_url is set

那年仲夏 提交于 2019-12-10 17:24:00
问题 I've been struggling for a while with a problem that I'm still unable to solve. Help would be much appreciated! What I did: 1) Install Gitlab-CE using the docker image (8.9.6-ce.0) on an Ubuntu 16.04.1 LTS virtual machine in my server following http://docs.gitlab.com/omnibus/docker/README.html 2) Setup a user locally and push some projects for a machine in the same LAN >> all working ok 3) Add a new mapping to my firewall to map gitlab-machine-ip:80 > example.org:8138 so that I can access

what's the easiest way to upgrade Gitlab from 8.0 to latest version?

ぃ、小莉子 提交于 2019-12-08 06:17:11
问题 I have a Gitlab 8.0 server(25 projects, 10 users, 30+ ssh keys), I want upgrade to newest version, but seems no easy way to do this. Following the upgrade guide, I have to upgrade step by step, means I may need 10+ hours to do this. :( Can any one teach me what's the easiest way to upgrade to last version ? 回答1: I had to do the exact same migration, and... I had to script it. That is because I needed to upgrade to 9.0, 9.1,9.2...10.0, 10.1, ...,11.0, ... to finally 11.5. So if you do an

Gitlab returns “No Repository” even though the repository exists in the git_data_dirs path(s)

狂风中的少年 提交于 2019-12-05 18:11:54
Summary After backup and migrate, some repositories return "No Repository" error in the web console, and cannot be cloned. The repository is verified to exist as specified in the git_data_dirs folder. As a test I can clone the "No repository" project from the repositories/ folder directly, so there seems to be nothing wrong with the repo itself. Steps to reproduce Not sure how it can be reproduced, but here are the steps i've gone through: backup project on primary server restore tarball on new server go to project path in the new server's web dashboard, and get "No Repository". The steps I've

How to remove merge request from GitLab server

你说的曾经没有我的故事 提交于 2019-12-03 10:45:13
问题 I created a merge request on gitlab (local) server. Now whenever I click on the merge request, the request times out with error 500. Before that I used to get an error code 504 and I applied the change mentioned in this gitlab support topic. All I want to do is remove the merge request. Is there a manual way of doing this? 回答1: Yes, there is.... I could not find a way to remove the merge request in the user interface, but you can simply delete it from the database. (Please note, that I only

How do I use let’s encrypt with gitlab?

谁都会走 提交于 2019-12-03 01:53:56
问题 I started to look in to ssl certificates when I stumbled upon let's encrypt, and I wanted to use it with gitlab, however being that it is running on a raspberry pi 2 and its running quite perfectly now (so I dont want to mess anything up), he would I go about installing a lets encrypt ssl certificate properly? PS: My installation is omnibus 回答1: There are 2 ways depending on your infrastructure setup (Raspi, big Cloud server or something in between): If you have an externally accessible

How to remove merge request from GitLab server

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-03 01:17:31
I created a merge request on gitlab (local) server. Now whenever I click on the merge request, the request times out with error 500. Before that I used to get an error code 504 and I applied the change mentioned in this gitlab support topic . All I want to do is remove the merge request. Is there a manual way of doing this? Yes, there is.... I could not find a way to remove the merge request in the user interface, but you can simply delete it from the database. (Please note, that I only tested this on gitlab CE 8.4.0-ce.0 on Ubuntu 14.04.3 LTS.. Other versions may have a different database