Questions tagged [gitlab]
Gitlab is self hosted Git management software.
481 questions
0 votes
0 answers
32 views
GitLab account locked, but no corresponding requests in nginx or GitLab log
I am repeatedly getting emails like this on a self-hosted GitLab CE instance: Hello, ! Your GitLab account has been locked due to an excessive number of unsuccessful sign in attempts. You can wait ...
2 votes
1 answer
176 views
How to fix DNS issue for ... unable to get image '...': error during connect: Get "...": dial tcp: lookup docker on 8.8.8.8:53: no such host
I am aware of the several other posts about the error in the subject line, but those fixes haven't helped. My goal is to pull down containers and run/test them via Docker compose so I'm thinking a ...
0 votes
1 answer
64 views
apt shows GitLab package upgrade to same version but with amd64 suffix
I have an amd64 server that ran Ubuntu 22.04 with GitLab Omnibus installed. I upgraded GitLab to v18.0.0-ce.0, and then upgraded Ubuntu to 24.04. Everything worked well, except that the external ...
-1 votes
1 answer
111 views
OpenVPN not routing port 80
I want to have a web service (gitlab) only available while connected to VPN. I do that by only allowing 10.8.0.0/24 connections in nginx (external one, not the one that comes with gitlab). HOWEVER, if ...
0 votes
0 answers
226 views
Get gitlab user activity report
I would like to know about the activity of a user in gitlab, imagine the 12 month calendar but with a longer span o time. Currently there's an issue about enabling a list of years to display here, but ...
0 votes
0 answers
40 views
Gitlab-ce selfhosted - what to do with placehoolder users
I have installed a new gitlab-self hosted server, and imported all the projects from gitlab.com via direct import. Now I find that my user list is cluttered with a lot of "Placehoder Name Surname&...
0 votes
1 answer
331 views
Setting up GitLab on Docker for Windows with Volumes Shared From a Linux Server
I have a GitLab instance in a Docker container running on a Synology NAS. Now, I want to move the GitLab to a Windows PC that I have, but keep the data on the NAS, by sharing folders and making them ...
0 votes
0 answers
80 views
Using the same docker-compose.yml to deploy multiple services, removes the other ones
I have create a Gitlab pipeline which should deploy a bunch of services running on the same Dockerhost of the same kind but with slightly different settings (other credentials and ports). Therefore i ...
0 votes
1 answer
65 views
GitLab Email Error
The GitLab Computer (GC) has a CNAME on CloudFlare routed through their Argo tunnel. There are also two sets of MX records, one for the GC and the other for the $TLD. The GC has the website routed ...
0 votes
0 answers
52 views
Why the external cannot receive the GitLab "Reset password instructions" mail
Somehow there is no "Reset password instructions" mail sent to the external users. But the other users can receive the "Reset password instructions" mail. My gitlab.rb is as ...
0 votes
0 answers
58 views
Unable to connect to the Gitlab webpage from my laptop
Current situation: My laptop SSH > Docker vm > gitlab (docker container). I'm able to SSH to the docker vm, and have installed docker, and used the gitlab latest image to create the required ...
0 votes
1 answer
62 views
How to use custom CAChain in self-hosted gitlab instance?
I have my own self-hosted gitlab instance that is on the private 10.1.x.y/16 network, where it is signed by corporate. I cannot seem to locate how I can define the custom chains/pem so I can utilise ...
0 votes
1 answer
206 views
How do I manage the version names of docker images in a gitlab CI?
I have a situation where I am building the back end of an application using kubernetes, helm and a gitlab CI. To make things simple, I will say that I have two images that get built in the CI, I will ...
0 votes
0 answers
41 views
How to fake an armhf (arm32v7) arch on automated CICD pipelines without root privileges
In my current organization we have physical CICD runners that have been installed with qemu, and the binaries have been registered in binfmt to automatically start qemu when an armv7/armhf binary is ...
0 votes
1 answer
909 views
How to Install GitLab with GitLab Operator on OpenShift 4 Local?
I am trying to setup a local sandbox on my pc to play with OpenShift and GitLab CICD. I found instructions in multiple resources and tried to apply them, but I am running into an issue with the GitLab ...
0 votes
1 answer
196 views
GitLab web service not connecting to the registry
On an on-prem GitLab server hosted on Kubernetes, after an upgrade of GitLab to the latest version 17.1.0, I notice that the webservice fails to connect to the registry service: {"component":...
0 votes
2 answers
366 views
Gitlab CronJob - Every day but Wed?
I want to verify that im writing this correctly, crontab.guru says it isn't standard and may not work on every system. What im trying to do is run a test pipeline every day except on wednesday. From ...
-3 votes
1 answer
264 views
Gitlab SMTP Configuration
I am new to Gitlab. I configure SMTP in Gitlab that looks like, {:authentication=>:login, :user_name=>"My Email", :password=>"Email ...
0 votes
0 answers
2k views
Network error:kex_exchange_identification: read: Software caused connection abort banner exchange (SSH)
I met this issue while trying to clone a repo in a gitlab private server, so I added verbosity and tried to connect to it first here is the output $ ssh -i test -T -vvvv [email protected] ...
0 votes
1 answer
770 views
How to configure an Apache reverse proxy for GitLab with websocket?
I have a self-hosted GitLab instance behind an Apache reverse proxy. Since one of the last releases, real-time updates stopped working. One symptom I could detect was that some websocket calls (to ...
0 votes
1 answer
2k views
Gitlab.com - how to access a project's package registry from another project's CI pipeline?
Given 2 gitlab.com projects on a Free Tier: A Source project contains some packages in its "Package Registry" (example id: 12345678), A Consumer project have a CI pipeline, which job ...
0 votes
1 answer
563 views
Allow AWS Identity provider to access a private VPC where the OIDC Idp resides
We want to implement Gitlab-AWS short-lived credentials but our Gitlab instance is located inside a private, non internet accessible VPC Subnet. I have looked into VPC Endpoints but I cannot find the ...
0 votes
1 answer
195 views
Gitlab - What does "roles@[hash]" in a project means?
What does roles @ hash in a gitlab project means? When clicking on roles it forwards to a role folder. When clicking on the hash it forwards to a branch which name is just the hash. The branch doesn'...
0 votes
1 answer
313 views
Bitbucket to Gitlab Webhook to trigger pipeline
We've got following on-prem scenario: Devs working in Bitbucket on Apps, Ops working in Gitlab for "Gitops" things. We'd like to automate builds and deployment via our Gitlab pipeline and ...
0 votes
1 answer
772 views
Flutter build pipeline takes a long. How can I make it quicker?
I have a self-hosted GitLab that stores my codes. My flutter project uses this pipeline to build an app bundle: stages: - build cache: paths: - $CI_PROJECT_DIR/.pub-cache/ image: ghcr.io/...
0 votes
1 answer
205 views
Why the host of the gitlab url appears encoded
why does my local gitlab generate project clone urls the following way: http://84fdf6ccc7dc/test/testproject.git And how can i either clone the repo using this url and authenticate it with username ...
0 votes
1 answer
606 views
Is it possible to connect directly CloudRun with Gitlab?
I am trying to configure a continuously deployed revision from a source repository with CloudRun on Google Cloud. It is unclear to me how to set, as a source repository, GitLab instead of GitHub or ...
1 vote
0 answers
273 views
MicroK8s does not authenticate with gitlab private registry
I have an instance of MicroK8s, I am currently migrating my applications. But I can't authenticate to Gitlab's private registry. About my environment: MicroK8s Gitlab (with registry working securely) ...
1 vote
1 answer
989 views
GitLab pages for group get a weird URL
I have an instance of GitLab running on-premise (gitlab-ee/jammy,now 16.4.1-ee.0 amd64), and I've configured GitLab pages. Base domains are: https://gitlab.mydomain.com for the GitLab instance; https:...
1 vote
0 answers
2k views
Getting "Not authorized" error when running SonarQube analysis in Docker container with GitLab Runner
I am trying to run a SonarQube analysis in a Docker container using GitLab Runner, but I'm encountering the following error: Caused by: org.springframework.beans.factory.BeanCreationException: Error ...
0 votes
1 answer
2k views
how to share "build repository dir" between jobs in multiple gitlab runner configuration?
I'm using a gitlab runner to deploy application -shared gitlab runner and concurrent count is 4 /etc/gitlab-runner/config.toml concurrent = 4 check_interval = 0 executor = ...
1 vote
1 answer
994 views
AuthorizedKeysCommand setup prompts for password
The issue: Even though I've set up AuthorizedKeysCommand and password authentication is stopped when I attempt to log in from my Mac, I am still being asked to enter the password: OS: Rocky Linux 9.2 ...
0 votes
1 answer
4k views
Terraform init error: Failed to download module (local changes would be overwritten)
I have a brand-new local Terraform project that I have just cloned from gitlab. I have not made any changes to the code, but when I run terraform init I get the following error, repeated for every ...
0 votes
1 answer
336 views
Cannot execute nested command on remote host over ssh tunnel
Im running the following command in my GitLab CI job: ssh ${REMOTE_HOST} "docker restart $(docker ps --format '{{.Names}}' | grep '^backend')" The problem is that it returns me the ...
1 vote
0 answers
1k views
SSH connection to gitlab server not working
I have recently installed a gitlab server on a Fedora Server VM hosted locally on my computer. To install the gilab server I used this command : sudo yum install -y gitlab-ce. I had no errors during ...
0 votes
1 answer
1k views
gitlab runner error with environment
I have installed a new gitlab runner and am getting an error. ERROR: Job failed: prepare environment: Process exited with status 1. Check https://docs.gitlab.com/runner/shells/index.html#shell-profile-...
0 votes
1 answer
3k views
How to properly set up private key for gitlab runner
I would like to make this scenario possible (some problem unrelated aspects were simplified for better understanding) Imagine we have a simple gitlab repository with only two files. index.html - ...
0 votes
0 answers
316 views
Continous delivery using Gitlab, Foreman and Puppet
We are using different tools to orchestrate our environment. On one side, we have Puppet and Foreman to deploy our different server applications, on the other side, we are using Gitlab in order to ...
0 votes
0 answers
439 views
How to ssh through the gitlab subdomain URL
From this question I'd like to ask more of it https://stackoverflow.com/questions/75527943/unable-to-git-clone-from-self-hosted-gitlab-instance-with-custom-port-6022 Solved the problem that I need to ...
1 vote
0 answers
167 views
GitLab CI Runners faild InvalidParameterCombination: Cannot find upgrade path from 5.7.38 to 5.6 , Terraform
GitLab CI Runners faild the jbo with the following error message │ Error: Error modifying DB Instance legacy-dms: InvalidParameterCombination: Cannot find upgrade path from 5.7.38 to 5.6. │ status ...
1 vote
0 answers
311 views
Cloudflare zero trust application return SSL_ERROR_NO_CYPHER_OVERLAP
I am trying to secure a self-hosted GitLab solution using Cloudflare zero trust. I followed their tutorial but when adding the DNS record I get 'This hostname is not covered by a certificate'. but I ...
0 votes
1 answer
2k views
AWS EKS Cluster : InvalidParameterException: Unsupported Kubernetes minor version update ,Terraform Gitlab CI
The following errors occur every time I run the pipeline │ Error: error updating EKS Cluster (business-staging) version: InvalidParameterException: Unsupported Kubernetes minor version update from 1....
-2 votes
1 answer
3k views
How to write Ansible playbook to commit and push my new updates on gitlab repository
How to write Ansible playbook to commit and push a gitlab repository? I have Ansible tower template to launch my playbook, then playbook must do commit and push on different git repo. This git repo on ...
1 vote
0 answers
2k views
Docker-in-docker/GitLab CI: adding and using credential helper
For my organization I am building a GitLab CI/CD pipeline for one of our projects. One job in this pipeline will be executed on a Docker executor GitLab runner running on one of our own servers. The ...
1 vote
0 answers
587 views
Making changes to DNS (bind) through git, how make it?
What is the correct way to change the entries in the Bind zone file and apply it through Gitlab CI/runner?
0 votes
1 answer
128 views
Keep GitLab environment running in Docker container
I'm aiming to deploy an environment for testing. It's a PHP application, and I could simply serve the PHP files using the embedded server. My .gitlab-ci.yml is plain simple: docker_test: stage: ...
1 vote
1 answer
4k views
HTTPS support for GitLab behind proxy [duplicate]
I have one public static IP address and several applications running on port 80 and 443 on their own virtual machines. One of them is GitLab. As I can't forward ports 80/443 to just one of them, I ...
0 votes
1 answer
1k views
GitLab Managed Terraform tf.state backend fails
I am trying to run Terraform with AWS provider using GitLab CI/CD. I was using the backend as S3 to store the tf.state file and everything was working fine. As part of a research, I wanted to ...
1 vote
0 answers
248 views
Can Gitlab container registry store containers at the group level or only at the repository level?
Using a self-hosted GitLab instance I can configure the GitLab container registry under a repository successfully. The repository is part of a GitLab group. It would be more logical, organizationally, ...
0 votes
2 answers
35k views
How to force install an rpm?
I have a gitlab pipeline where I will be installing latest rpm everytime. Some times, even if the target machine is changed manually, the rpm should be installed successfully. But some how I am ...