Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [gitlab]

Gitlab is self hosted Git management software.

0
votes
0answers
3 views

Sharing an S3 data bucket between two instances of Gitlab CE Omnibus edition

The setup is as follows: One AWS ELB (elastic load balancer) Two AWS Ubuntu 18.04 servers, with Gitlab CE Omnibus edition The Gitlab CE omnibus edition, installs all the components needed on it (...
-1
votes
0answers
27 views

Limit Access of GitLab Repository

I want to access my organization repositories only from my office. Is there any way to limit the access GitLab repository from a specific IP Address. Is it possible to achieve this?
0
votes
0answers
26 views

gitlab installation failing on debian 9.6

I'm having a issue on Debian 9.6. When installing gitlab an error is returned: Setting up gitlab (8.13.11+dfsg1-8+deb9u3) ... Creating/updating gitlab user account... Making gitlab owner of /var/lib/...
0
votes
1answer
15 views

GitLab OpenID Connect Provider - User info missing email claim

I have asked this question on the GitLab forum as well: https://forum.gitlab.com/t/openid-connect-user-info-missing-email-claim/21902 I’m not familiar with OAuth or OpenID Connect. I’m having ...
0
votes
1answer
32 views

Postfix not starting in gitlab docker container

I am trying to get postfix running on the gitlab/gitlab-ce:9.3.6-ce.0 docker container and it doesn't seem to work startup I get the following error: postfix start postfix/postfix-script: starting ...
0
votes
0answers
17 views

Gitlab backup fails on Debian 9.6

I'm trying to backup my Gitlab installation on my Debian 9.6 server. To do this as per documentation I use the command: bundle exec rake gitlab:backup:create RAILS_ENV=production I run this from the ...
-1
votes
1answer
28 views

Gitlab Testhosts for multiple Braches [closed]

Does anybody know a way to test webapplications while developing in gitlab? A solution like: branchname.myserver.com uses a automatic exported branch as document root? Specific: Bind it to a ...
1
vote
1answer
27 views

accessing a centos7 server from a centos6 machine

My Background: I have been tasked with upgrading our task management from Trac/BZR to Git/GitLab. I’m not familiar with servers, and although I’ve worked with Linux machines for several years I’ve ...
-1
votes
0answers
40 views

Debian 9.6, updating Omnibus GitLab CE 11.4.7 into 11.5.0 fails

I have tried to update my Omnibus GitLab CE from 11.4.7 into 11.5.0, but it just keeps screwing my whole server. # apt upgrade Reading package lists... Done Building dependency tree Reading ...
1
vote
1answer
70 views

Can't Establish SSH Connection to Gitlab CE Setup

I've a Gitlab CE setup running on my server(CentOS 7 + Apache 2.4). Currently, the site works fine and I can fully interact with Gitlab on the browser, however, I can't properly setup my environment ...
1
vote
2answers
140 views

How to properly automate git push to server

I am in the process of migrating our ansible files to our internal gitlab server and have some confusion about the various ways to keep the ansible roles directory in sync with the gitlab project. The ...
0
votes
1answer
65 views

Hosting gitlab server will conflict with port of sshd

I want to host gitlab on one of my servers, and it seems that gitlab needs to listen to port 22 for ssh (git ssh protocol). But the problem is my host machine already uses port 22 for sshd and I need ...
2
votes
1answer
284 views

How to set environment variables for the CI/CD in GitLab when using Auto DevOps (with GCP Kubernetes)?

I'm having quite a few moving parts here, so, I'm not sure what's wrong yet. I set up my variable this way: but during the build phase, I get this failure (it's a Django application): raise ...
0
votes
1answer
102 views

Automatically block Gitlab users, removed from LDAP

I've migrated this question from StackOverflow. I'm administering a Gitlab-Omnibus (Community Edition) instance in our company as an additional duty. Gitlab uses company's Active Directory server ...
0
votes
0answers
35 views

How to access the Gitlab web user interface (wui) from another computer through https?

I've set up linux ubuntu 18.04 server with Gitlab ce. So far from the server I can access the Gitlab user interface with https. I want To do the same from a Mac running high sierra. When I type https:...
0
votes
1answer
49 views

PHP app under subdomain of Gitlab's nginx

I have set up Gitlab using Omnibus. It has embedded nginx. It works fine on ports 80 and 443. On 8083 I also have installed VestaCP. VestaCP has Softaculous. Using Softaculous I have installed a PHP ...
0
votes
1answer
34 views

Gitlab uninstall issue

I am using Redhat linux in my web server and I had git repositories manually setup in one ip called 192.168.0.100. This was installed under a user called git. I have been accessing git by calling like:...
0
votes
0answers
27 views

GitLab CE Post Merge Scripts Hook

Is it possible to trigger a script on the remote repository server (where GitLab is installed) when I accept the Merge Requests from the Backend Panel? I installed a post-merge hook in /var/opt/...
0
votes
0answers
81 views

How to use “sudo” for installing an app on gitlab.com for CI?

I have a project at gitlab. I'm setting up Continious Integration for it. I need to install sphinx search engine and it requires sudo. - http://sphinxsearch.com/files/sphinx-3.0.3-facc3fb-linux-amd64....
0
votes
0answers
134 views

How to connect jenkins to a gitlab which required a client ssl?

I need to work with a self hosted gitlab repository protected by 2 way ssl authentication. So to connect aside git's own credentials, the request to git should come with a client ssl. From the ...
-1
votes
1answer
52 views

Ansible versioning on git

I've got a git repo, I've got my playbooks and hosts. Now what? What is the recommended way to get my /etc/ansible folder on my GitLab? I can just create the repo, but then how and when do I pull ...
0
votes
0answers
48 views

Import users from Gitlab 6.0.1 instance to Gitlab 11.2.1-ee instance

We have two gitlab instances, running on our servers. We want to move users from our old instance (6.0.1) to new instance 11.2.1-ee. We want to move SSH keys and other settings of all users to new ...
0
votes
0answers
58 views

Dockerized Gitlab-runner can't find Gitlab container

Beginner here :) I’ve set up a Gitlab instance on my company’s local network. It is hosted in a docker container, running on a dedicated server, whose hostname is “devserver” This Gitlab instance is ...
0
votes
1answer
69 views

nginx proxy pass not

I have a Nginx web server working as a proxy server. It proxy two different web servers one IIS and the other GitLab server. The first virtual address works with no problems but the second does not ...
0
votes
0answers
609 views

Gitlab Runner installation Docker in Docker

Alright, so I am trying to install, register and successfully use a Gitlab Runner as a container in docker with the executor docker, basically docker in docker. I had some problems with it but was ...
0
votes
0answers
70 views

GCP/GCE / Docker / GitLab - gitlab_shell_ssh_port - Connection timed out

I'm following GitLab Docker images | GitLab and even though gitlab container appears to be healthy: # docker-compose ps Name Command State Ports ...
0
votes
0answers
207 views

Jenkins occasionally fails to clone/fetch

I am running code hosted on Gitlab on regular basis in Jenkins. From time to time, Jenkins GIT plugin failes to fetch the remote repository. It works fine when I just run it again. Any idea? I have ...
0
votes
1answer
1k views

SSO between gitlab and azure AD doesnt work

### OmniAuth Settings ###! Docs: https://docs.gitlab.com/ce/integration/omniauth.html gitlab_rails['omniauth_enabled'] = true gitlab_rails['omniauth_allow_single_sign_on'] = ['azure_oauth2'] # ...
0
votes
0answers
32 views

Gitlab branch deletion not possible through WebUI

I've encountered an odd issue with an offline GitLab CE installation; it seems that it's not possible to delete a branch from the WebUI from an external machine. When I click the red trashbin and ...
0
votes
0answers
173 views

Gitlab Omniauth to Azure ID (SSO) questions

I’ve integrated my gitlab instance with Azure AD for SSO reasons and it seems to be working fine. However, it was my understanding that Azure would then be the only source of truth… so if a user has ...
0
votes
1answer
331 views

Gitlab Verify return code: 21 (unable to verify the first certificate)

I'm having some problems that I hadn't before with Gitlab and Git. I updated my SSL on my Debian server as I usually do each year and git doesn't work as intended anymore Apache Web Server and ...
0
votes
0answers
128 views

Gitlab mails are not received

I've installed gitlab on a centOS 7 server with omnibus package but when I try to create an user on gitlab the mails are not sent. I've opened the post 25 with : sudo firewall-cmd --add-port=25/...
0
votes
1answer
22 views

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 ...
0
votes
1answer
49 views

Apache subdomain setup [duplicate]

I am using Apache 2.4, on Debian 9. I can access all my subdomains from my mobile phone. However on my local network, from separate clients (windows 8, Debian (not the server), and Mac OS 10.10), ...
0
votes
0answers
62 views

How to copy database of old GitLab(Source) Server using mysql to New installation of postgresql Gitlab (Omnibus)?

I have a very old source installation of gitlab and am making a new server backing up the database of the previous one. I realized the omnibus installation of gitlab on the new system uses postgresql. ...
3
votes
1answer
152 views

“initdb: encoding mismatch” when running gitlab-ctl reconfigure

I am installing Gitlab-ce Omnibus in a Vagrant box (Debian 18.04 LTS). In my provisioning script, I run gitlab-ctl reconfigure. I get an error: initdb: encoding mismatch Console output: default: *...
1
vote
1answer
180 views

How to configure gitlab omnibus installation to use mysql instead of postgresql

I'm trying to install gitlab (omnibus) latest version on ubuntu 18.04. And my earlier version is gitlab (source) is using mysql. I want to manually copy the tables from the old version and hence want ...
0
votes
0answers
200 views

GitLab SSL with reverse proxy on another machine

So I am having a problem getting GitLab working with SSL via a reverse proxy. The scenario is, I have 2 machines, both on the same IP, one is a reverse proxy server to route everything to its correct ...
0
votes
1answer
436 views

Docker login from GitLab CI without possibility to access Docker registry password from .gitlab-ci.yaml?

I'm trying to set up a CI environment to build and push a Docker image for a project. The Docker registry I'm trying to push to is a private registry that requires me to log in. I can log in to the ...
1
vote
1answer
300 views

Run Redmine and Gitlab on unique apache server

I work on a project where im supposed to run simultaneously GitLab and Redmine on the same virtual machine using apache2. I started to install omnibus-GitLab (documented here https://about.gitlab.com/...
0
votes
0answers
181 views

How to setup local port range in a gitlab-runner container?

My CI environment uses gitlab-runner, i.e. after a push to the repository on gitlab.com a docker container (on a local computer) is started which runs my tests. These tests involve starting a few ...
2
votes
1answer
219 views

LDAP gitlab not working

I have been at least two days trying to make this work with Active directory. when I run this command see the result: sudo gitlab-rake gitlab:ldap:check RAILS_ENV=production ...
1
vote
0answers
674 views

Nginx Configuration for GitLab as a subdirectory of a domain

I am trying to configure Nginx on one server to route to a default GitLab installation on another server (192.168.1.3) through reverse proxy such that GitLab would work at the path http://myserver/...
0
votes
1answer
238 views

Gitlab nginx - Unable to stop https redirect

Today I tried to enable SSL for a gitlab instalation so I made the following changes in /etc/gitlab/gitlab.rb external_url 'https://our.server' nginx['redirect_hhtp_to_https'] = true nginx['...
1
vote
0answers
17 views

how to manage Multiple User Acceptance Tests at once

Our current setup has the following environments: development testing staging production We are finding that things are being held back at the testing phase due to UAT taking longer than expected ...
0
votes
0answers
305 views

How to set Gitlab in docker and local nginx as proxy for named virtual server with letsencrypt from gitlab

I've been trying to run Gitlab in a docker container on my server for 2 days now. Gitlab should be accessible via a subdomain. I imagined that nginx would react to the subdomain and forward it to ...
0
votes
1answer
42 views

Restored Gitlab to Local Server, it now always redirects to original server

I restored a gitlab backup to my local computer just to see if i could make it work with another ldap server. Installed the same gitlab omnibus version to my machine, changed external url in gitlab.rb ...
0
votes
0answers
60 views

Gitlab and postfix error, Maildir and SSL

I'm trying to make postfix works for a new GitLab EE installation under Debian 9. (I'm using EE just in case I want to use it later - I won't need to upgrade) I did everything from the following ...
0
votes
1answer
576 views

Self hosted gitlab sign up with Google account

I am setting up a GitLab EE instance and I'd like to enable Sign up process only with Google account. I followed the documentation here: https://docs.gitlab.com/ce/integration/google.html and here: ...
0
votes
0answers
618 views

Using Git submodules in Gitlab CI jobs

Summary Git submodules dont work in CI jobs Steps to reproduce Create a file .gitmodules [submodule "database_schema"] path = database_schema url = ../../nss/database_schema.git My .gitlab-ci.yml ...