Questions tagged [gitlab]

Gitlab is self hosted Git management software.

The main site for Gitlab.

458 questions
71
votes
8 answers

Set gitlab external web port number

How do I change gitlab's default port 80 to a custom port number? There are two approaches I've tried: Set the port in /etc/gitlab/gitlab.rb external_port "8888" Then run reconfigure: gitlab-ctl reconfigure Set port in…
Jason Sturges
  • 833
  • 1
  • 9
  • 9
34
votes
1 answer

What is the best way to create backup in an existing gitlab and restore the same backup in a new gitlab server?

What is the best way to backup and restore gitlab incuding all repositories, commit comments, wall comments, wiki etc.
newbie
  • 763
  • 1
  • 10
  • 12
23
votes
1 answer

Gitlab backup file location (Omnibus installation)

I have installed Gitlab using omnibus installation package. I took a backup using below command sudo gitlab-rake gitlab:backup:create Backup was successfully created. But I am not sure where to find the backup file. Where are all the Gitlab backups…
shashwat
  • 343
  • 1
  • 2
  • 9
20
votes
3 answers

Using GitLab, projects are missing from the API list

I use the GitLab API to fetch a list of the projects I have access to (URL /api/v3/projects/all?private_token=xxx), but there are 6-7 projects that are not included in the list for some reason. EDIT: My user is an administrator, and I want to list…
Nils
  • 724
  • 1
  • 6
  • 16
20
votes
5 answers

Mirror github to Gitlab

In a local gitlab I created a copy of project nova (https://github.com/openstack/nova). How do I keep the local nova repo in sync with github, updating maybe once per hour or per day? I would like a solution similar to what is described here for…
user186107
  • 197
  • 1
  • 1
  • 4
19
votes
3 answers

How to setup Gitlab with post-receive hook?

I am using Gitlab on one server and would like to push my git repository on commit of the master branch to another webserver. So when I push a new version of the website the production server gets updated. I know this should be possible with hooks…
tvb
  • 341
  • 1
  • 2
  • 8
14
votes
2 answers

What "access rights" could be blocking access to a gitlab repository?

I'm trying to setup gitlab (6.5.1) on a fresh clean server. Everything appears to work, but git is unable to push to any project. Following the commands from the newly created project page and pushing to the remote via ssh gives: $ git push -u…
Caleb
  • 11,583
  • 4
  • 35
  • 49
13
votes
2 answers

How to big scale backup Gitlab?

When asking Gitlab support on how to do a 3TB backup on ones on-premise Gitlab they reply use our tool that produces a tarball. This just seams wrong to me on all levels. This tarball contains the postgres dump, docker images, repo data, GIT LFS,…
Sandra
  • 9,973
  • 37
  • 104
  • 160
13
votes
2 answers

Can Subgroups be created in Gitlab?

We are working on migrating from gitolite to gitlab , But have encountered a problem with subgroups which are created on git. It looks like there is no feature in gitlab to create a subgroup eg: in…
niroshan.l
  • 165
  • 1
  • 6
12
votes
2 answers

How do I make GitLab delete old backups?

I use the rake task to create backups for GitLab 6.8.2. gitlab-rake gitlab:backup:create In /etc/gitlab/gitlab.rb I added the following line: gitlab_rails['backup_keep_time'] = 60 This is supposed to prune backups older than 60 seconds. My…
Jan Deinhard
  • 2,363
  • 5
  • 26
  • 33
12
votes
2 answers

Gitlab CI - Deploy via SSH to remote server

I have a Gitlab environment using Gitlab CI, for a new project to testify about the compiled files and copy via rsync to a production server. The machine where the build of these resources is exec is an image of docker (node 6), but now I have to…
Rodrigo Moreno
  • 243
  • 1
  • 2
  • 11
12
votes
4 answers

How to setup Gitlab-omnibus with non-bundled web-server?

Install I installed the gitlab package through the omnibus package on debian 7 (version7.8.1-omnibus-1_amd64.deb) ; change the settings as describe in Using a non-bundled web-server run the reconfigure command: sudo gitlab-ctl reconfigure…
Édouard Lopez
  • 425
  • 1
  • 3
  • 13
12
votes
8 answers

Gitlab not working with SSH Keys

I am having issues with Gitlab. I used the following guide to install and configure Gitlab https://github.com/gitlabhq/gitlab-recipes/blob/master/install/centos/README.md. The installation seemed to go well and all. The web application seems to be…
greyfox
  • 257
  • 1
  • 2
  • 9
11
votes
6 answers

Gitlab: Extremely high memory consumption by ruby "bundle" process

I have a problem with my Gitlab installation running on a small Ubuntu LTS 16.04. I have to point out that I don't have much experience with Linux or Gitlab. My Gitlab installation with a few personal projects (only 4) was running Ok, though pushing…
mode777
  • 211
  • 1
  • 2
  • 4
11
votes
3 answers

unable to access '/root/.config/git/attributes': Permission > denied”

In our Ubuntu Server we are able to clone as Nginx user in /usr/share/nginx/www that has www-data:www-data ownership getting a warning as ” warning: unable to access '/root/.config/git/attributes': Permission denied” We are executing the…
Geo
  • 545
  • 3
  • 9
  • 20
1
2 3
30 31