Questions tagged [gitlab]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
16 views

git commands hang and finish after >1 minute in gitlab

Yesterday git commands (e.g. git pull) started to be super slow, when doing them against gitlab.com. They are working as usual when using them against github.com, so I assumed this is a problem with ...
0
votes
0answers
36 views

How to correct a merge in wrong branch?

I merged the Branch add-button in master instead to merge it in dev branch ! My question is, how to undo this merge and make master branch like before, then merge add-button to dev branch ?
0
votes
1answer
34 views

How to update tar to version 1.30+ in Ubuntu 16.04?

I work with the gitlab-ee docker image to install my local gitlab. This docker image has the OS Ubuntu 16.04 and can be found here: gitlab/gitlab-ee in hub.docker. Within these image tar in version 1....
0
votes
1answer
23 views

Centos 8 symlink to users's `.ssh` folder

I'm following this guide to setup some kind of ssh proxy for gitlab. this is how ti doesn't work When I create symlink like in that blog post I'm not able to ssh into server. This is how symlink is ...
1
vote
2answers
183 views

Why does ssh clone from gitlab repo need password from WSL but not Linux-native PC?

From a Linux-native desktop, I am able to clone a project from our gitlab repo like this: git clone git@git.company.com:namespace/project.git No problem with the above: specifically, I'm not asked ...
0
votes
0answers
861 views

Push to docker registry is denied

Let me start off admitting that this is a crosspost from the gitlab forum here: https://forum.gitlab.com/t/push-to-docker-registry-is-denied/35018. I didn't get any response there, so I hope I am ...
1
vote
1answer
37 views

efficiently check whether remote tracking branch changed (git or gitlab)

I'm looking for the fastest way of finding out, whether a remote tracking branch is different from a current branch. Context: Id' like to run a cron job, that shall find out, whether the current HEAD ...
0
votes
0answers
18 views

Git push on git bash leads to annoying 28 OpenSSH popups

Im using Windows 10 and im using Git Bash to work with several get repositories. All of the git repositories are hosted on the same GitLab server. All but one repositories is working fine. The one ...
0
votes
0answers
46 views

Configure Nginx to reverse proxy docker containers to subdomains

server { listen 443; server_name https://domain.dev ssl_certificate /etc/ssl/domain.dev.crt; ssl_certificate_key /etc/ssl/domain.dev.key; location / { proxy_pass http://...
0
votes
2answers
87 views

How to lock add new files to a repository in GitLab CE?

I'm building a GitLab self-hosted instance for academical purpose, using GitLab CE, and I want to limit the space which stores each user. I want to set a maximum size to store in a repository, which ...
0
votes
0answers
23 views

How to move legacy git repository to Gitlab that require GPG sign?

Currently the company I am working for has a legacy git repository that host elsewhere and all commits are not GPG signed. The project is getting bigger and more people are working for the same ...
0
votes
0answers
14 views

Gitlab server data lost on virtualised Ubuntu after system drive resized

I would like to ask for help with weird problem with GitLab server we have. We operate Gitlab server app inside virtual Ubuntu inside VirtualBox. Recently I was forced to enlarge virtual *.vdi disc ...
0
votes
0answers
24 views

Self Hosted GitLab instnace “git push” doesn't work gitaly/bin/ doesn't exist

As soon as I try to commit I get this error. The /home/git/gitaly/bin folder really does not exist, or atleast after adding it manually and starting gitaly it was still empty. gitaly.log: Plain Text:...
0
votes
1answer
94 views

ssh from windows10 to a docker container ends with asking a password

I'm trying to test gitlab in a docker container installed on my windows 10 machine. But when I try to push my code, it ends with asking git's password When I test the connection with ssh -vT, here is ...
0
votes
1answer
35 views

Do I need to add rule for each port that Gitlab listens on?

I have a Gitlab server which is an Ubuntu 18.04 virtual machine on VMWare Esxi. I wanted to enable the firewall on this machine, for which purpose I installed gufw. The thing is that when I run the ...
0
votes
1answer
93 views

Gitlab connecting via HTTPS to IPs

this is kind of a weird question, but no search can help me figure it out so here it goes: I have an on premise Gitlab CE setup, version 12.5.0. I have a basic setup, no internet related outgoing or ...
0
votes
0answers
50 views

How to copy from Debain (virtual machine) to host machine

I'm trying to connect my VM to GitLab, and to do so I need to copy my public key to GitLab. cat id_rsa.pub The problem is that I can't do that using Debian terminal. I tried cat id_rsa.pub | ...
1
vote
1answer
84 views

Gitlab pages shows 503 when access control is turned on, fetching access token fails with http to https redirect message

I have Gitlab Omnibus (12.4.2-ee) set up in Ubuntu and was trying to get Gitlab Pages to work with access control turned on. It always returns a 503 after the Gitlab Auth page. Using it with access ...
0
votes
1answer
615 views

GitLab asks for password on clone via ssh

I have set up GitLab via docker, as explained here: https://docs.gitlab.com/omnibus/docker/ I then created a user and uploaded my public ssh keys using the gitlab web interface. If I connect to gitlab ...
0
votes
0answers
30 views

Changing GitLab CE lfs_storage_path

I have GitLab CE installed on Ubuntu workstation. I've changed gitlab_rails['lfs_storage_path'] in /etc/gitlab/gitlab.rb from default directory to external drive (/mnt/my-drive/gitlab/lfs-objects). ...
0
votes
1answer
63 views

git clone as part of automatic configuration of EC2 instance?

I am setting up an EC2 instance with Terraform, and I need to run a large script during this process. I want to download the script from our gitlab repository with something like: git clone git@...
0
votes
0answers
47 views

postgresql configuration for gitlab

Does anybody know how to configure an external postgresql db instance for gitlab by stopping existing postgresql db. I have configured and getting below error : There was an error running gitlab-ctl ...
0
votes
0answers
26 views

GitLab CE Installation takes too long to respond

Currently I am trying to install gitlab community edition in CentOS 7. I followed the instructions provided by this site to do it. Everything seems to run ok, except from the installation which takes ...
0
votes
0answers
24 views

Permission denied to remove releases folder of CI/CD in Ubuntu EC2

I have a CI/CD in GitLab in an EC2 with Ubuntu 18.04. The directory where the folders current and releases are placed is /home/ubuntu/airflow_ci. Every time I push a new version from my computer I ...
0
votes
0answers
13 views

Gitlab.com: External pipeline is displayed as failed after being deleted

We use gitlab.com and our own TeamCity server for iOS/Android builds. The build status is communicated back to Gitlab using the "Commit Status Reporter". Now, after I have deleted one pipeline in ...
1
vote
0answers
21 views

Gitlab Repository Recovery Issue

I am so confused and don’t know what to do. I configured my Gitlab locally on ubuntu 18.02 and upload my projects there. Now, I got a problem in my ubuntu O.S, so I needed to fresh install Ubuntu. In ...
0
votes
0answers
663 views

Why do I get an invalid publish-opts error when attempting to build dockerd inside docker-in-docker container?

I've been trying to build docker-ce engine and cli after applying some patches to the overlay2 storage driver code inside a dind container. The build goes fine, past the docker-cli build, till right ...
0
votes
1answer
208 views

gitlab-runner status 500 internal server error

I have been stuck for quite some time. I wanted to use Gitlab for some personal projects and I am running it on my own server. I just recently took interest in the CI/CD part of Gitlab and wanted to ...
2
votes
1answer
67 views

Multiple GitLab accounts SSH

I have multiple GitLab accounts and I am trying to set up SSH authentication. I have generated the key pairs and saved them in ~/.ssh/public/proj1[2]/id_rsa.pub and ~/.ssh/private/proj1[2]/id_rsa My ~/...
0
votes
0answers
20 views

GIT Auto Versioning on DEV branch

We are using centralized Gitlab server. I need to enable auto versioning on dev branch of centralized gitlab server, So when ever any one push the code on dev branch their tag version should be ...
0
votes
0answers
571 views

How to download a ZIP file from Jfrog Artifactory using ansible( I don't have internet to my target server).What is the other methods available

My ansible playbook is not downloading zip file from jfrog artifactory. I used get_url and curl commands.My target server i don't have any internet. To perform CD i want a download a zip file which i ...
0
votes
1answer
221 views

500 error when trying to push to GitLab with Active Directory authentication

We currently use SubVersion but are looking to migrate to a Git-based solution in order to be able to carry out pre-commit code reviews. The requirements are that the central Git repository is hosted ...
0
votes
0answers
104 views

Why does gitlab-runner not find Git on my VirtualBox runner?

My gitlab runner consistently fails with the following output: Using VirtualBox version 6.0.12r133076 executor... Creating new VM... Creating default snapshot... Waiting VM to become responsive... ...
0
votes
1answer
168 views

Gitlab CI runner can't login into Nexus from non-master branch

I have a Gitlab for my CI and a Nexus repository to push my docker images. From master Branch, I can login successfully, but when I try to login from Develop branch with the same credential, Gitlab ...
0
votes
2answers
202 views

GitLab rejects force push on not protected branches

Our GitLab currently rejects force push on not protected branches in a single project, but I don't can't find the issues (I removed already all protection for tags and branches to test it). Is there ...
2
votes
2answers
450 views

What does [1 note] means in Git(Lab)'s commit tree?

My company is using a private GitLab. I recently looked to the graph of branches and commits, and it showed this. A [1 note] label that looks like the labels GitLab uses to show the branches' heads (...
0
votes
0answers
25 views

Local Gitlab server with seflsigned ssl certificat

Hello I configured Gitlab server on a VM OL7. I can easily call the http page. but when I use my self-signed ssl certificate generated using the method offered here https://www.bonusbits.com/wiki/...
0
votes
0answers
243 views

Running GitLab using Docker in Windows 10

I am trying to run GitLab on my local machine using Docker on Windows. I am using Linux Container as GitLab does not provide support for Windows Container. Below is my docker-compose.yml file: web: ...
1
vote
0answers
28 views

Specifying how git will *merge* based on file extension

Problem I am using GitLab to version control a Unity project. I am trying to set up git so that it will use different tools to merge based on the file extension. I would like git to use WinMerge as ...
0
votes
0answers
48 views

Need to apply common settings to multiple projects in Gitlab

I need to apply some common settings in multiple projects in Gitlab. Could someone help me how can I achieve that?
0
votes
0answers
26 views

Limit history to shrink repo size

My project repo is growing so big that Openshift cannot clone. Maybe because I have a 350MB tgz file which is often modified at each git push. How can I limit the history size of the Gitlab project so ...
0
votes
0answers
27 views

Gitlab-Runner Installation Repository vs. Manually

I want to setup gitlab-runner on my machine, but already the installation confuses me. Following the instructions I can install it manually or via repository. In the manual installation guide I find ...
1
vote
1answer
112 views

Can't log into GitLab Web UI via Google Chrome

I've been trying to get GitLab set up on a CentOS 7 server I have running on my local network so I have somewhere to store and sync my files and projects during the upcoming semester. I followed the ...
1
vote
2answers
446 views

Can't sign in to Gitlab from Firefox

Firefox 68.0.1. I can't sign in to Gitlab. I get an HTTP 422 error with the following message: The change you requested was rejected. Make sure you have access to the thing you tried to change. ...
0
votes
0answers
78 views

Unable to Delete or Rename Projects in GitLab (“Internal Error 500”)

Hello SuperUser Community, Currently I have two GitLab VMs: one is hosted by a third-party, and the other is installed on a Proxmox VE Server on a server I have hardware access to. I am in the ...
0
votes
0answers
30 views

GitLab persistent storage on k8s

I'm deploying a gitlab-ce on kubernetes on a local cluster. Works perfectly fine, except that after a reboot from one of the nodes (in which was the pod of gitlab), I realice that one of the folders ...
0
votes
0answers
102 views

Enable letsencrypt for Gitlab CE Pages

I run a self-hosted Gitlab CE server (12.1.3-ce.0) and try to enable SSL support for Pages, but with no success. I enable letsencrypt for Pages on: "Admin area --> Settings --> Preferences --> Pages ",...
1
vote
1answer
151 views

Configuration/Plugin to format java code in gitlab

I am using gitlab to commit/synchronize my java code. I am my standard xml file to format maven java code. I have configured pre-commit hook which works perfectly ok. It formats the code and push it ...
0
votes
1answer
280 views

GitLab CI with Visual Studio 2017 Devenv and power shell

I'm working on an automated build with GitLab CI. The Runner is on Windows Server 2012, and configured to use "shell". The project I need to build uses Microsoft Visual Studio development environment ...
0
votes
0answers
35 views

Unable to GitLab after changing the ExternalUrl parameter in gitlab.rb

here is a what we tried to do. We installed GitLab few weeks ago with a FQDN, say xyz.company.com as the ExternalUrl. We used the software for last couple of weeks and everything was working just fine ...