Questions tagged [gitlab]

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

Filter by
Sorted by
Tagged with
5 votes
6 answers
3k views

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://...
Stefan's user avatar
  • 161
0 votes
0 answers
85 views

How can I authorize a connection between two Gitlab and Freeipa containers (LDAP)?

here's my problem. I have a Freeipa LDAP (centos-8-stream-4.9.8) instance and another Gitlab (16.0.2-ee.0) instance running locally in two separate containers. These instances were launched via a ...
Dyn amo's user avatar
0 votes
1 answer
10k views

GitLab 502 Bad Gateway Error

I'm trying to install GitLab on an Ubuntu 20.04.4 LTS server running from an Antsle Nano device. The server already had Nginx, PostgreSQL, and Postfix installed as a part of iRedMail, so I'm working ...
G_Hosa_Phat's user avatar
0 votes
1 answer
1k views

bash: line 146: [: missing `] - Gitlab CI/CD

guys so I'm trying to make this if statement inside the script part of my CI/CD but it's giving a bash: line 146: [: missing ]` error which I'm not sure why is happening. My script in CI/CD: script: ...
DeadSec's user avatar
  • 101
1 vote
1 answer
178 views

Downloading off gitlab onto Ubuntu

I am very new to Ubuntu and have just downloaded it using WSL. I am trying to download something off of Gitlab but I get an error and have no idea where to start. I am trying to download Foam-Extend 4....
MerlinWilliams's user avatar
1 vote
1 answer
6k views

getting kex_exchange_identification: Connection closed by remote host for priavate gitlab domain, what may the cause?

I am in Ubuntu 20.04.2 LTS telling this because looks like this version has encryption issues. Today I created a key that's perfectly working on [email protected] but gives kex_exchange_identification: ...
NavinRaj Pandey's user avatar
0 votes
1 answer
2k views

Curl (35) trying to install Gitlab Ubuntu server 18.04

Hi i'm trying to install gitlab on an virtual server Ubuntu 18.04, following these steps from the official website. But when in the second step curl -v https://packages.gitlab.com/install/repositories/...
Wesley de Faria Cazelli's user avatar
0 votes
1 answer
176 views

Sudo apt - get Crashed [duplicate]

I am unable to update samkit@samkit-Latitude-E7450:~$ sudo apt update E: Conflicting values set for option Signed-By regarding source https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/repos/...
Samkit Sanghvi's user avatar
0 votes
1 answer
441 views

What does it mean to self-host GitLab?

GitLab is an open-source alternative to the Microsoft-owned GitHub, and I wanted to give it a try. I am not sure I understand what it means to self-host GitLab: Does it mean that my Ubuntu PC ...
Anonymous5638's user avatar
1 vote
1 answer
697 views

Dockerfile in .gitlab-ci getting stuck on maven downloading dependencies

Ubuntu 20.04 LTS this is my extremely simple Dockerfile: FROM maven:3.6.3-jdk-11 as build COPY src/ /usr/src/myapp/src COPY pom.xml /usr/src/myapp RUN mvn -X -f /usr/src/myapp/pom.xml package FROM ...
CodeM7's user avatar
  • 11
0 votes
2 answers
2k views

How to change confinement without reinstalling?

I recently installed snap lxd in one of my servers. Initially it was working fine. Now I needed to install gitlab-ce on my lxd container which requires sysctl access. But snap documentation saying I ...
hurelhuyag's user avatar
1 vote
0 answers
2k views

ERROR: Registering runner... failed Installng "Gitlab runner" PANIC: Failed to register this runner. Perhaps you are having network problems

I'm trying to install GitLab runner sudo gitlab-runner register in Ubuntu 16.04 getting error ERROR: Registering runner... failed runner=pcT3WTf5 status=couldn't execute POST against http://...
Kishore's user avatar
  • 169
0 votes
0 answers
113 views

SSH Timeout issue

I am running SSH with Gitlab on digital ocean. Everything works fine for me, except one small issue. everyday around 12 Noon, or 4/8 PM I cannot commit my code to Gitlab, as I use ssh key to submit ...
Sumit Gupta's user avatar
0 votes
1 answer
558 views

can not open smart git on ubuntu

trying to start smart git on ubuntu 18.04 LTS on terminal it says. ./smartgit.sh: line 44: uname: command not found but when run the command of line no 44 which is uname -m it runs smoothly and ...
Taha alam's user avatar
  • 101
0 votes
1 answer
8k views

fatal: unable to access “…”: gnutls_handshake() failed: Handshake failed

I've been using Git for the past few months. Recently when I try to clone or to push, I keep on getting this error. I've researched on the internet but so far no solution has worked for me. Does ...
Harish Kanna's user avatar
2 votes
1 answer
261 views

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 ...
Nanashi No Gombe's user avatar
0 votes
1 answer
812 views

Remove previous directories before cloning in Gitlab CI/CD

I am using Gitlab Runner for deploy new website version into server. Original scenario of deploying is to shallow clone to new directory with current date time string like "2019-10-27-17-43-05". then ...
mohammad rezvani's user avatar
0 votes
1 answer
18k views

Permission denied: Could not open lock file /var/lib/apt/lists/lock [duplicate]

directory permisions Earlier I ran apt update and upgrade as a root user and since then this issue is persisting Running with gitlab-runner 12.3.0 (a8a019e0) on test runner XXXXXXXX Using Shell ...
deployer tool's user avatar
0 votes
1 answer
396 views

Unable to reach self hosted Ubuntu gitlab's login page from web browser remotely

I am new to ubuntu as well as gitlab. This is my first time setting up the self-hosted Ubuntu Gitlab Server in my own laptop. Problem Statement : Unable to reach gitlab's login page from web browser ...
Eng Chang Fan's user avatar
0 votes
1 answer
678 views

Ubuntu and GitLab: Nginx and Apache, Two Network Interfaces

I'm attempting to configure my Ubuntu server to allow both Apache and Nginx (GitLab) to run side-by-side with each web server monitoring a different network interface. I have the following interfaces ...
weblar83's user avatar
  • 133
1 vote
0 answers
537 views

Can't SSH without password to default port of 22 using public/private key authentication

I have set up a private/public key authentication to target server correctly. It was running before I did the upgrade. The server is the GitLab CE server, running an omnibus distribution from Ubuntu ...
urhen's user avatar
  • 11
2 votes
1 answer
3k views

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 ...
a.mosallaei's user avatar
4 votes
1 answer
4k views

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 ...
a.mosallaei's user avatar
5 votes
1 answer
9k views

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 ...
Ishan Sharma's user avatar
1 vote
0 answers
2k views

Installing GitLab using Raspberry PI 3 with Ubuntu Server

I'm currently trying to install the GitLab CE Version on my Raspberry Pi. I have Ubuntu 18.04 installed on the Raspberry Pi, but I'm unable to install GitLab with sudo apt install gitlab-ce: sudo apt ...
Seuma's user avatar
  • 11
1 vote
0 answers
4k views

Password required for Gitlab clone after setting SSH Key

I am trying to clone a Gitlab repository inside a cluster computer. It asks me for the password for git@gitlab... And once I enter it, it denies the permission. I have set an SSH Key in Gitlab inside ...
user11400799's user avatar
0 votes
1 answer
706 views

Connection Refused - unless authenticated through Samba?

I've had a server set up in my office for more than two years with no problems, and about a week ago it started refusing connections in an unpredictable way. Long story short, if you try to access ...
Wardinsky Russell's user avatar
0 votes
1 answer
768 views

Putty key, Works on Win10, but not on Ubuntu LTS 18.04

I have made a public and private pair keys with puttygen on Windows and uploaded to the server. And my private key works like a charm on Windows 10(git not installed). When I use Putty for linux ...
Erdemtugs Ganzorig's user avatar
0 votes
1 answer
2k views

Install GitLab on Apache as subdirectory

I have an existing Ubuntu LAMP server already setup and working with my domain. I want to install GitLab on my Apache installation, and I want to be able to access it like a subdirectory (eg. example....
Jyclop's user avatar
  • 123
4 votes
2 answers
3k views

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 ...
Amir Pashazadeh's user avatar
0 votes
0 answers
54 views

Re-using webserver used by Gitlab CE

I have installed Gitlab CE on my Ubuntu 18.04 machine and it is working fine. Now I would like to host some more webpages (not related to Git) on the same machine. Since Gitlab is already using a ...
Soo's user avatar
  • 294
0 votes
1 answer
453 views

Is my .ssh/config correct?

I'm trying to connect to ubuntu 16.04 local development server from a different ip through ssh, the server has gitlab and has a public hostname. example.com/2222. My gitlab ssh port is 9409 my .ssh/...
Lynob's user avatar
  • 6,665
0 votes
2 answers
2k views

SSH with private key always require password

I m setup deployer with Gitlab CI . I create docker container and ssh to production server from docker container Here is my command and debug mkdir -p ~/.ssh chmod 700 ~/.ssh echo "$SSH_DEPLOY_KEY" &...
user3500294's user avatar
0 votes
1 answer
169 views

Cannot create certificate with letsencrypt, or stop the conflicting service

I'm trying to create a certificate for use with Gitlab. When running letsencrypt certonly -d gitlab.myurl.com. I get part-way through the process and it says: The program nginx (process ID xxxxx) is ...
Syntax Error's user avatar
2 votes
1 answer
7k views

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 ...
riki's user avatar
  • 133
0 votes
1 answer
2k views

Expect extra characters after close-quote

I'm getting an error extra characters after close-quote while executing "spawn ssh-add <(echo -e "-----BEGIN RSA PRIVATE KEY----- Proc-Type: 4,ENCRYPTED DEK-Info: AES-128-CBC,...
MilkShake's user avatar
0 votes
1 answer
811 views

Ubuntu 17.10 with Gitlab and Nginx (ha!)

Gitlab installation worked straight away but "they" want this server to also serve other webpages (wiki and other stuff) so I had to unbundle nginx from Gitlab and do a full installation. From what I'...
It support's user avatar
0 votes
1 answer
2k views

How to solve error installing Git on 16.04 LTS

sudo apt-get install git-all results in this output: Setting up runit (2.1.2-3ubuntu1) ... start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused ...
tim11g's user avatar
  • 557
67 votes
9 answers
202k views

/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" ...
mertselimb's user avatar
0 votes
1 answer
1k views

Configuring GitLab and Jenkins on different URLs

I'm a newbie at configuring servers and networks and I just recently installed Ubuntu Server on an old laptop to work on. The server currently has Jenkins, GitLab and Apache2 installed. I can ...
E. Vidal's user avatar
0 votes
1 answer
2k views

GitLab + Ubuntu 16.04 + Plesk Onyx

I have GitLab Omnibus Package installed. I now wanna use the nginx from Plesk instead of the packaged nginx. I've set the configuration to not use bundled nginx. Now I want to use nginx from Plesk ...
Uwe Pfeifer's user avatar
1 vote
3 answers
6k views

Always get error "operating system is not supported by packagecloud.io, or this script's OS detection failed" when try to install from terminal

I'm new in Ubuntu and Terminal. I try to install it: curl -s https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash And get error when try to install it: ...
Mr. Mike's user avatar
  • 121
2 votes
0 answers
767 views

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 ...
Karl Morrison's user avatar
1 vote
1 answer
12k views

How to install GitLab on Ubuntu 16.04 with an existing Apache installation

I'd be really grateful if anyone could share the magic needed (ideally in precisely detailed steps!) to get GitLab running on Ubuntu 16.04 with an existing and working Apache2 and iRedMail/PostgreSQL ...
J Evans's user avatar
  • 151
0 votes
0 answers
2k views

How to install gitlab in Ubuntu 14.04 x86

I have tried to install gitlab community edition following the instructions given on the website. First of all I used Ubuntu server 14.04 of 32 bit because I had 2 GB of RAM. When I followed the ...
Cyberguille's user avatar
2 votes
1 answer
929 views

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 (https://www.cyberciti....
Charley C.'s user avatar
4 votes
1 answer
7k views

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 ...
SiZiOUS's user avatar
  • 251
5 votes
1 answer
3k views

"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 ...
7_R3X's user avatar
  • 1,151
2 votes
2 answers
2k views

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 ...
Kaz Wolfe's user avatar
  • 34.1k
26 votes
2 answers
40k views

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 ...
vivek's user avatar
  • 363