Questions tagged [gitlab]

Gitlab is self hosted Git management software.

The main site for Gitlab.

474 questions
73
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…
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
  • 744
  • 1
  • 7
  • 16
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
7
votes
2 answers

Can one change a group to a subgroup in GitLab?

GitLab's 9.0 release brought subgroups. However, before subgroups were possible, we've worked around that restriction by using a prefix, e.g. FOO/… FOO-bar/… FOO-bax/… FOO-bax-quux/… … The correct member/roles management was a nightmare, though.…
Zeta
  • 265
3
votes
2 answers

GitLab always Redirects to HTTPS

I would like to run GitLab behind an Apache Reverse Proxy. The Apache makes all the SSL Stuff. I´ve configured gitlab.rb like this. external_url 'https://gitlab.example.com' nginx['listen_address'] = '192.168.178.63' nginx['listen_port'] =…
2
votes
2 answers

Is it possible to have one common .gitlab-ci.yml instead of duplicating the changes to .gitlab-ci.yml in every project?

At the moment we put a .gitlab-ci.yml in every project. At the moment we have more than 50 projects and every time something changes to the .gitlab-ci.yml the team has to change the structure in all of the projects. Is it possible to have one common…
030
  • 6,011
2
votes
1 answer

How to backup GitLab to the cloud (S3)

I am trying to follow the gitlab documentation to upload a backup to the cloud, but I find it sparse, and it isn't exactly straight forward. Creating the tar is straight forward enough. My problems start with For omnibus…
Cookie
  • 191
2
votes
1 answer

Permanently change gitlab server port

Trying to use a recent version of gitlab, I'm despairing somewhat with its configuration process (or rather that of its "embedded packages"). I have installed the gitlab-omnibus package (version 7.4.3) on my Ubuntu server 14.04, which is also…
codeling
  • 145
2
votes
2 answers

Gitlab docker error on database migration after update (restart loop)

I just updated my gitlab docker instance, running using docker-compose on a host machine. I am experiencing the following error: Recipe: gitlab::database_migrations * bash[migrate gitlab-rails database] action run [execute] rake aborted! …
1
vote
2 answers

How to fix script config should be a string or a nested array of strings up to 10 levels deep?

With below pipeline job, I am getting syntax error. gitlab error Found errors in your .gitlab-ci.yml: jobs:test-artifact:script config should be a string or a nested array of strings up to 10 levels deep You can also test your .gitlab-ci.yml in CI…
Kalel
  • 244
0
votes
1 answer

Add server side repository specific hook to gitlab with gitaly

I have a private gitlab repository in our company and we had a code verification script on pre-receive in order to assure that no code syntax errors(php) were pushed to the repo. Recently we've decided to update the gitlab version to a newer one…
Sinjuice
  • 131
0
votes
1 answer

Individual Gitlab Accounts become able to log in but receive invalid tokens

A total of 3 accounts on my Gitlab instance have now become 'soft locked'. Some months ago my colleague reported being unable to log into Gitlab (they see a 403 error after entering credentials). All looked good from the admin screen and we…
Aswan
  • 1
0
votes
1 answer

Gitlab Down After Update (Deploy in progress)

On a CentOS 7 machine that I manage myself, I am/was running Gitlab 12.0.1. Before a few updates back, everything was buttery smooth but an update broke my installation that whenever I go to my front page, I get the Deploy in progress message. I did…
0
votes
0 answers

Only one bucket for object store on Gitlab

Gitlab allow to store artifacts, git lfs, uploads, packages, external diffs and backups directly on a S3's Bucket but according to documentation is one bucket for artifacts, another for git lfs, other for uploads, etc, etc... Is possible to use only…
0
votes
1 answer

Cannot acces to gitlab on my own CentOS 7 server

I've installed gitlab on centos 7 and I can't access to the login page ,I think I could be a problem with some port.In the server is installed apache too. I've setted the external_url external_url 'http://192.168.0.6:8082' But when I try to…
afdi2
  • 3
1
2