Questions tagged [gitlab]

GitLab is an open source repository management system with issue tracking, wiki and deployment features. Mainly written in Ruby, it has a community version enterprise version. It's developed by GitLab Inc.,

Filter by
Sorted by
Tagged with
1
vote
1answer
4k views

Can't use LFTP with SFTP but SFTP clients allow connections

I'm trying to use LFTP (v 4.8.3) to connect to my KVM. This server already allows me to remote execute SSH through terminal and SFTP through FTP client (Transmit app). I want to do this in order to ...
5
votes
1answer
2k views

SSH prompt a passphrase for no passphrase keys on Docker GitLab CI

With the following Dockerfile: FROM nexylan/php-dev:7.1-alpine COPY entrypoint.sh / RUN chmod u+x /entrypoint.sh ENTRYPOINT ["/entrypoint.sh"] WORKDIR /code CMD ["tail", "-f", "/dev/null"] (The ...
0
votes
1answer
69 views

git with ssh keeps asking for passphrase everytime

I'm using a git bare repository for managing dotfiles, and some other repositories for custom DWM build and all. I use SSH for pushing and pulling from git, but it keeps asking me my SSH passphrase ...
0
votes
0answers
19 views

Using curl to create automatically the relative paths of the directories based on URLs hierarchy

I refer to my another question Using cURL, jq, and declaration and for loop condition, I tried to download multiple files from a GitLab private repo, but it downloaded only one. The question was ...
1
vote
1answer
54 views

Using cURL, jq, and declaration and for loop condition, I tried to download multiple files from a GitLab private repo, but it downloaded only one

I learned from the following sources: curl -O: Download a file with curl on Linux / Unix command line jq: How to urlencode data for curl command? Multiple files and curl -J: download pdf files from ...
0
votes
0answers
72 views

Since SVN does not support exporting the private repo from GitLab, is there some solution?

My private repo from GitLab is private and exclusive only for me. It is about doftiles, apps and fonts, the first due to confidential information and the latter two due to copyrights and EULA laws. ...
8
votes
2answers
1k views

yum update shows three exclamation marks

yum update Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile gitlab_gitlab-ce/x86_64/signature | 836 B 00:00:00 gitlab_gitlab-ce/x86_64/signature | ...
0
votes
0answers
8 views

How do I log the input and output of this git hook script?

I've got this git pre-receive hook from GitLab: #!/bin/sh # This is the single source of truth for where Gitaly's embedded Git hooks are. exec "$GITALY_BIN_DIR/gitaly-hooks" "$(basename $0)" "$@" I ...
-1
votes
1answer
14 views

Does the GitLab runner configuration file support comments?

Does the GitLab Runner configuration file support comments? I also don't see comments mentioned in the Advanced Configuration doc. I need comments to use Ansible's blockinfile.
4
votes
3answers
2k views

How to avoid using 'ssh-add ~/.ssh/id_rsa' for every push to a github repo?

I have to repeatedly enter the following terminal commands in order to be able to push to a remote github repository. If I push to github, and then code some more for the next few hours before pushing ...
0
votes
1answer
200 views

How can I make bash script exit silently?

I have created CI (Continuous Integration) between GitLab, Docker and AWS with the following configuration: Dockerfile. # install node.js FROM node:latest # create necessary directories and # ...
0
votes
0answers
41 views

How to Install Gitlab Server with Docker on Ubuntu 18.04 LTS? Access to miki was denied

I followed step-install-gitlab tuorial. The contents of my yml file: web: image: 'gitlab/gitlab-ee:latest' container_name: 'gitlab-howtoforge-tutorial' restart: always hostname: 'miki' ...
3
votes
1answer
2k views

GitLab Runner: no basic auth credentials even though DOCKER_AUTH_CONFIG is set

I am trying to set up a gitlab runner service using a private Docker registry. According to the documentation it is sufficient to set the DOCKER_AUTH_CONFIG environment variable and populate it with ...
2
votes
1answer
19 views

Allow short “sessions” for a user with systemd

I'm testing a new gitlab runner I've setup. If a project just has a very short CI job (or one that fails very quickly, which is probably more realistic outside of testing the setup) systemd starts ...
0
votes
0answers
39 views

GitLab Container Not Accepting WAN Connection

Been dealing with this issue for a couple hours now and hit a bit of a standstill as far as my experience and google abilities. Got the most recent version of gitlab installed, after having a similar ...
3
votes
0answers
600 views

What happens when you disable NFS server delegation?

We are facing issues with NFS 4.1 on RHEL 7.6. We have a lot of applications on this server and GitLab is one of them and it is impacted the most. Excessive NFS network traffic (due to a bug with NFS ...
1
vote
2answers
162 views

How do I get the git branch name with sed

The branch string is 24000ACB, how do I get that out with sed? I tried echo 'origin/releases/2400ACB 294125569b2dc926158b64115f1467f916c9 WIP' | sed 's/[origin/releases/]//g'.
2
votes
1answer
215 views

Selinux causing sshd to fail when using AuthorizedKeysCommand

I have been following Gitlab's guide to enable Fast lookup of authorized SSH keys. Guide instructs to use AuthorizedKeysCommand. Authorized command is calling local https server. This command chain ...
1
vote
2answers
647 views

When gitlab says make a file executable what exactly do they mean?

Gitlab says "Make the hook file executable and make sure it's owned by git" , but I read here that a file can be executable by owner, group, world. So which one do they mean? Right now I am ...
2
votes
2answers
917 views

How do I move things from my Overleaf git repository to my Gitlab git repository?

I've been using mobaXterm on a Windows 10 computer (based in Cygwin) as a terminal to access ROOT and Python scripts/macros. Additionally, my peers and I have been using Gitlab to share these scripts/...
1
vote
1answer
770 views

Install Oracle Java 8

I'm trying to install Java 8 on a GitLab Runner like this: apt-get --quiet update --yes apt-get --quiet upgrade --yes apt-get --quiet install --yes software-properties-common python-software-...
1
vote
1answer
1k views

GitLab with relative URL on Apache (CentOS web server)

I have a CentOS 7 server with an existing website (say mywebsite.com) hosted with Apache. I would like GitLab to be managed by Apache and not nginx, and with a realtive url with respect to the one of ...
7
votes
3answers
1k views

Forward ssh for Git user to Git server

It is surprisingly difficult to find information on this simple problem. Like many people we run a gitlabs/gogs server on a remote instance. Currently it listens on port 10022. We also run ssh on ...
2
votes
1answer
58 views

Stripping a git repo of all committed files that should have been ignored

I recently initiated a git repo and forgot to add a .gitignore file. After my initial commit, my repo has many subdirectories and many files that should have been ignored. Is there an efficient way to ...
2
votes
0answers
358 views

Problems installing gitlab with apache

I am running a Linux mint (18.2) box. I have installed a LAMP stack that I use for some local development. I wanted to install GitLab to help manage my development cycle. I was trying to install the ...
1
vote
1answer
40 views

Is there a command line tool for managing packages written by me?

Lately I've found myself writing small programs that I use across multiple machines. I use gitlab to manage these programs. Is there a command line tool that will help me keep my programs up-to-date? ...
1
vote
1answer
561 views

Configuring relative URL in Gitlab is not working

I have configured GitLab CE to use relative URL following this documentation and after configuration while running reconfigure it gives me an error. Step1 # cat /opt/gitlab/embedded/service/gitlab-...
0
votes
1answer
69 views

Change only permissions and ownership of a directory

I tried to change default installation directory of gitlab, which resulted in changing permissions and ownership of all files. It is not starting up. I want to copy only permissions and ownership from ...
4
votes
1answer
1k views

SSH fails to use the given private key on docker and GitLab CI

With the following Dockerfile: FROM nexylan/php-dev:7.1-alpine COPY entrypoint.sh / RUN chmod u+x /entrypoint.sh ENTRYPOINT ["/entrypoint.sh"] WORKDIR /code CMD ["tail", "-f", "/dev/null"] (The ...
0
votes
0answers
145 views

Enable Nginx GitLab to display error

I have installed an omnibus GitLab package, and i try to configure it. Everytime i have a page "ERROR 500, Whoops, something went wrong on our end.". I don't have root access and looking at the log ...
0
votes
1answer
60 views

Can the community package of Gitlab run enterprise edition?

I'm wondering if community/gitlab can be installed and used for Enterprise Edition (EE) or if it is only capable of running Community Edition (CE). https://www.archlinux.org/packages/community/x86_64/...
0
votes
1answer
2k views

How to rsync folder using gitlab-ci

I try to sync my local files inside the folder named dist with the root folder of my ftp-account using .gitlab-ci.yml. While the job runs successfully, my ftp root folder remains empty. I have ...
0
votes
1answer
248 views

Gitlab-runner : Docker access to `/var/lib/docker/devicemapper`

I'm trying to setup gitlab-runner on an old x86 machine running Gentoo. I've patched gitlab-runner since the sources didn't cater for i686 architectures and I've enabled the kernel features necessary ...
1
vote
0answers
263 views

Cronjob upgrading gitlab-ce fails

I'm trying to "auto-update" gitlab. I created a shell-script that checks for updates, installs when an update is available and e-mails the results. This all works perfectly fine from a terminal when I ...
0
votes
0answers
66 views

Correlation between GitLab and system crashes?

Continuing from Server crashing for not so obvious reasons. Short overview of what happened My server (running Debian) has crashed very often. Everything would work fine until noticable lag sets in. ...
1
vote
1answer
380 views

gitlab is 403 with Nginx on fedora 25

I follow the document to install gitlab from source in Fedora 25. All of them seems correctly. But if I run sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production, it will return this. ...
1
vote
1answer
558 views

Postfix not sending email to correct IP address

I have Postfix running on an Ubuntu 16.04 server for Gitlab and I am able to send email out to most domains except my corporate domain. From what I can tell, Postfix never tries the mail server IP ...
0
votes
1answer
833 views

Permission error when creating backup on gitlab omnibus installation

I am using gitlab version 7.10.4 and I am trying to upgrade the installation. But I am getting this when I tried to create back up gitlab-rake gitlab:backup:create Errno::EPERM: Operation not ...
3
votes
1answer
2k views

Reverse SSH Tunnel

I have a gitlab server on my local network and a server that I can ssh to from outside my network. Is there a way I can configure the server, that I can SSH into, so that when I use: ssh git@git....
1
vote
1answer
790 views

Gitlab with separate Nginx HTTPS SSL not working

I have a CentOS 7 server (home file server) and I was trying to setup Gitlab with my own Nginx install (so I can use it for other things as well). Nginx version is 1.10.1. When I use the recommended ...
0
votes
1answer
2k views

How to resolve duplicate packages due to interrupted yum update

This morning I went to update gitlab-ce using yum on our CentOS6 server from 8.8.4 to 8.8.5. Unfortunately about halfway through the first of the two gitlab-ce package install steps I accidentally ...
7
votes
1answer
14k views

how to use ~/.ssh/config with Windows/PuTTY? [closed]

How can I use ~/.ssh/config with Windows/PuTTY? Are PuTTY settings stored in the registry? I wish to have my PuTTY settings in git. So it needs to be a human readable text file.
1
vote
0answers
551 views

No permission to git clone?

What is possible problem, if I have SSH key, and trying to git clone one folder from git lab, but I still dont have permission for it ?
0
votes
1answer
828 views

Using Redmine with Gitlab

I have installed GitLab and Redmine on the same machine, using different Apache configurations on the same machine to reach by using different FQDNs. ( I can reach both of them by using these FQDNs ...