Questions tagged [gitlab]

Gitlab is self hosted Git management software.

The main site for Gitlab.

464 questions
0
votes
2 answers

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 registry using the docker login my-registry…
0
votes
1 answer

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['ssl_certificate'] =…
derHugo
  • 143
  • 1
  • 1
  • 7
0
votes
1 answer

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 and restored the backup. Everything went…
0
votes
1 answer

GitLab on Google Cloud Platform VM

I am trying to run gitlab on Google Cloud Platform. I followed this tutorial: https://docs.gitlab.com/ce/install/google_cloud_platform/index.html but now I am at the point when I cannot push the commit to the remote. git@33.22.33.22: Permission…
Jan Richter
  • 183
  • 1
  • 11
0
votes
2 answers

Back up GitLab manually

When I run gitlab-rake gitlab:backup:create I have this issue database locale is incompatible with operating system How can I manually back up gitlab repositories and database? I backed up /opt/gitlab /etc/gitlab /var/opt/gitlab so far. Are…
unloco
  • 121
  • 1
  • 6
0
votes
1 answer

Gitlab very slow on Ubuntu 16.04LTS Server

I've got Gitlab (Omnibus) installed on an Ubuntu 16.04LTS box with all the latest updates etc as of today and whatever the latest Gitlab version is. It's a VMWare virtual machine with 4GB RAM and 2 cores. My Gitlab installation has only two users…
Syntax Error
  • 155
  • 1
  • 1
  • 11
0
votes
1 answer

Gitlab with Auth0 authentication

I'm having problem setting Gitlab with Auth0 authentication. I followed this tutorial https://gitlab.com/help/integration/auth0.md. When I try to sign in with Auth0, I'm redirected back to Gitlab, but there is an error message 'Signing in using your…
martin.malek
  • 163
  • 6
0
votes
1 answer

GitLab CE Docker - /etc/gitlab/gitlab.rb does not work as expected

I installed the GitLab CE Docker image per these instructions. I'm running HTTP on a non-standard port while I experiment with it and ran into some strange problems trying to configure a different HTTP IP & port. Per the instructions, I mapped the…
quickshiftin
  • 2,125
  • 5
  • 27
  • 41
0
votes
1 answer

Gitlab: import project from other server via SSH add key to known hosts?

When importing a project in Gitlab web-interface from ssh://git@example.com/example I get the error Host key verification failed. I logged in on the Gitlab server directly via SSH and added the host to the known hosts and verified it by running a…
Theo
  • 153
  • 1
  • 11
0
votes
1 answer

Explanation needed for entry in gitlab.rb file

in a project I´m working I got the task of being responsible for our gitlab server. In the gitlab.rb of this existing service I found the following line: nginx['custom_gitlab_server_config'] = "location ^~ /.well-known { root /var/www/letsencrypt;…
eragon-2006
  • 127
  • 3
0
votes
0 answers

Recommendation for disk size for GitLab, PostgreSQL and Redis containers

At present, GitLab is running as an omnibus docker (includes both postgres and redis as part of single container) and the size of data directory is 500 MB after 2 months of usage. We have around 70 developers. I have to move from the current setup…
Technext
  • 147
  • 2
  • 8
0
votes
1 answer

Gitlab login page is unreachable

I've configured accidentally that every logged out user will be redirected to x domain, this was done by using the admin panel in the web interface. Now, I only can access things via SSH like modifying gitlab.rb, I've even tried to access the…
0
votes
1 answer

Gitlab update from source to packaged version

I would like to update my Gitlab from version 8.12.7 ( installed from sources / MySQL version) to 9.X ( package version with PostgreSQL ) To do it, I installed a Gitlab-ce on the same version with PostgreSQL , did my backup as recommenced on the…
KaAzZ
  • 33
  • 1
  • 7
0
votes
1 answer

Is it possible to pass environment variables to a newly created user?

In my GitLab CI script, I am creating a new user which then executes a command. I'm noticing that when the command is executed as this user, the CI environment variables aren't available. Below is what I do: before_script: - useradd -U -d…
Anthony
  • 253
  • 1
  • 7
  • 10
0
votes
1 answer

Not able to clone into repository on gitlab through port 80

I'm encountering a very weird issue with gitlab-ce installed on a server with ubuntu server (I've tried this with ubuntu server 16.04 and 17.04) , which runs on my local network. I'm using gitlab with apache2, with the following set up: My…
zomnombom
  • 126
  • 4