Questions tagged [gitlab]

Installing and configuring the GitLab software (not gitlab.com itself)

GitLab is a repository management software based on Git, which has an open-source community version which supports Ubuntu (LTS release), Debian, CentOS and other Linux distros. Installation is typically via an omnibus package, though it can be installed from source.

57 questions
66
votes
9 answers

/usr/bin/env: ‘python’: No such file or directory

I am trying to install Gitlab Development Kit on Windows Ubuntu Bash. $python3 output Python 3.5.2 (default, Nov 17 2016, 17:05:23) [GCC 5.4.0 20160609] on linux Type "help", "copyright", "credits" or "license" for more information. >>> $python…
26
votes
2 answers

Is it fine to remove the /opt/gitlab/ directory manually after removing the gitlab package from the system?

I just removed a package from my ubuntu 16.04 system. After removing the package, the terminal shows some warnings like this: Removing gitlab-ce (8.10.4-ce.0) ... Purging configuration files for gitlab-ce (8.10.4-ce.0)... dpkg: warning: while…
vivek
  • 363
10
votes
8 answers

apt-get update for gitlab-runner for Ubuntu 20.04.6 LTS failing with invalid signature

I'm trying to run apt-get update and getting this error for gitlab-runner: # apt-get update . . . Get:6 https://packages.gitlab.com/runner/gitlab-runner/ubuntu focal InRelease [23.5 kB] Err:6 https://packages.gitlab.com/runner/gitlab-runner/ubuntu…
Stefan
  • 211
8
votes
1 answer

gitlab install is stuck at 0% on ubuntu

i am trying to install GitLab on ubuntu 14.04 I am ok installing the first bit curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh \ | sudo bash however when i go to install the next bit sudo apt-get install…
5
votes
1 answer

"Fingerprint cannot be generated" -Gitlab on Ubuntu 16.04

I'm trying to setup Gitlab server. It flashes an error "Fingerprint cannot be generated" while adding ssh keys. I googled for the solutions and found a few possible problems that could cause this problem. First was to ensure proper access from…
7_R3X
  • 1,191
  • 1
  • 16
  • 31
5
votes
1 answer

How can I add an SSH key to Gitlab through a bash executable?

I am creating a bash executable, which creates an SSH key, and uploads it to a user's Gitlab account. I am aware of how to create the SSH key via the bash executable: ssh-keygen -o -f ~/.ssh/id_rsa and I also know how to retrieve from it, however I…
5
votes
1 answer

gitlab-ci : Package 'mysql-client' has no installation candidate

I am using "mysql 5.7" in my "gitlab-ci" file and use "apt-get -y install mysql-client" to install sql client but it is always giving me error. ERROR : "Package mysql-client is not available, but is referred to by another package. This may mean that…
4
votes
1 answer

courier-authlib: s_connect() failed: No such file or directory

I'm installing GitLab for my work, I'm doing it on Ubuntu Server available 16.04.1 and everything is running pretty well. The only thing I need to do now is to configure the Reply by email feature because we are interested about the concept so we…
SiZiOUS
  • 251
4
votes
2 answers

The GUI browsers (such as FIrefox) can open a URL but curl timesout

The problem showed itself when I executed apt-get update and it failed when trying to update gitlab-ce repository with following error (although it just did work about a month ago): W: Failed to fetch…
3
votes
1 answer

How to authenticate with a user's Gitlab username and password through a bash executable

So this is in addendum to my question posed here. Thank you to @dessert who helped a lot with that question. So I am trying to authenticate a Gitlab user by using their username and password, and not by creating an impersonation token. At the…
2
votes
1 answer

Configure HostName on Ubuntu Server

then I'm using an ubuntu server with gitlab installed, I need to configure hostname the name ubuntudev, to access it from within the network! I configure the ubuntudev name in /etc/hosts but it does not work with the hostname, how can I fix this…
riki
  • 133
2
votes
0 answers

Setting GitLab environmental variable via a bash command

So. I'm using GitLab and in my .gitlab-ci.yml file I have the following: variables: CONTAINER_NAME: $CI_BUILD_REF_NAME | tr / - The $CI_BUILD_REF_NAME basically reads the branch name, in my case development/karl. I'm trying to set the variable…
2
votes
1 answer

Gitlab runner and keychain

Recently I have configured a Gitlab Runner on a VM and I wanted to add keychain on that VM to allow runner to execute commands like scp or SSH without exposing my SSH passphras…
2
votes
2 answers

Can't install Gitlab on WSL: Initctl errors

Recently, I've tried to install Gitlab Enterprise Edition on my WSL system as I lack a proper development environment at the moment. The install itself goes reasonably well, but I cannot configure Gitlab (gitlab-ctl reconfigure), as it returns this…
Kaz Wolfe
  • 34,680
2
votes
1 answer

Why is `gitlab user` listed in the list of users at login?

Recently I got the ownership of a computer which has Ubuntu 18.04.3 LTS installed and runs an ssh server on it. On the local machine, I see that the login screen has a gitlab user apart from my username in the list of users who would like to login.…
1
2 3 4