FAQ Database Discussion Community


GitLab for CentOS i386

gitlab,rpm,centos6,i386
I want to install GitLab for my CentOS v.6 i386. Official web site provides x86_64 RPM version only. Could you please suggest, where I can find GitLab or some analogues for i386 CentOS system? Thanks...

Add users to group in GitLab

gitlab
I am filled with chagrin having to ask this, but I can't figure out how to add users in GitLab. I get to the screen where it allows me to add new members as follows: From my Group page -> click the 'members' icon on the toolbar along the left...

Gitlab: Can I create a Branch visible to only certain developers?

permissions,authorization,branch,gitlab
Im using gitlab, and I am wondering, is there a simple way to restrict access to a branch to only certain developers? This has to do with time varying disclosure and the ability for certain developers to see some objects models, while other cannot? Ideally this would happen in one...

Gitlab CI gives 500, ERROR: relation “sessions” does not exist

gitlab,gitlab-ci
So I upgraded Gitlab from 7.1.1 to 7.7.2 with the omnibus package. After the upgrade I decided to give Gitlab CI a try and added the ci_external_url line to /etc/gitlab/gitlab.rb, but when I browse to the defined URL I get a 500 error and the logs output the following: Started...

Why can't the container display the content of mounting directory of host?

linux,docker,gitlab
I am using the following command to back up the gitlab repository data: docker run --volumes-from gitlab_data -v $(pwd):/backup genezys/gitlab:7.5.2 tar cvf /backup/gitlab_data.tar /var/opt/gitlab /var/log/gitlab /etc/gitlab Then I extract the backup data and run a new container to check whether the data is backed up successfully: [[email protected] backup]docker run --name...

Why is there no logs using “docker run image command” to start container?

git,docker,gitlab
I use the docker run genezys/gitlab:7.5.2 command to create and start a container: [[email protected] ~]# docker run genezys/gitlab:7.5.2 /opt/gitlab/embedded/bin/runsvdir-start: line 34: ulimit: max user processes: cannot modify limit: Operation not permitted /opt/gitlab/embedded/bin/runsvdir-start: line 37: /proc/sys/fs/file-max: Read-only file system [2015-05-05T05:43:02+00:00] INFO: Forking chef instance to converge... ...... I can see there...

Always gitlab 502 error on RaspberryPi

ruby,git,gitlab
I 'm despair. I am trying to install gitlab for 3 days without success on my RaspberryPi 2 with Debian. I was following this guide at the newest version of gitlab (7-8-stable). I also installed the newest ruby version 2.2.1. If I ran sudo -u git -H bundle exec rake...

Configuration of gitlab-ci on Gitlab Omnibus 7.8.0

debian,gitlab,gitlab-ci
I have installed Gitlab Omnibus (gitlab_7.8.0-omnibus-1_amd64.deb) on my Debian 7. I have launched gitlab-ci on it. Now I have the following message on my gitlab-ci welcome page. You need only 2 steps to set it up. In the GitLab admin area under OAuth applications create a new entry. The redirect...

gitlab: Windows: How to use chmod and fix “Get Permission denied (publickey). fatal: Could not read from remote repository”

git,bash,gitlab,git-bash
I have gone through many other posts about the above error, but they all seem to be for a different OS, or for some different reason. I am running Windows 8.1. I have git installed (I am very new to git), and have signed up to gitlab, create a project...

gitlab behind https terminating reverse proxy and oauth

github,oauth,https,reverse-proxy,gitlab
I have installed GitLab 7.8.4 on a server behind pound which terminates HTTPS connections for me. How do I configure GitLab to always assume that it is accessed via HTTPS without letting it also handle the HTTPS connection? In practice I see the following problem: I'm adding GitHub authentication to...

GitLab: is there a way to assign a status/comment to a branch?

git,version-control,git-branch,gitlab
I'm planning to use GitLab to manage Git repositories (mainly Linux kernels from various hardware vendors). Currently, I'm using Gitolite to manage users on Git server and MediaWiki to have what a call a "branch table"; in other words, a table where the single users report: branch name (e.g. xboard-feat-i2c2)...

LF will be replaced by CRLF in git -the file will have its original line endings

git,gitlab
LF will be replaced by CRLF in git -the file will have its original line endings what does this mean?

GitLab shows deleted branches

git,git-branch,gitlab
I have a problem with showing branches in GitLab. Between displayed branches there are two which were deleted. I believe it is because of their name origin/ondrat/xxxxx and origin/vladan/xxxxx. So the full path pathspec is origin/origin/ondtrat.... These two branches will not appear in the listing git branch -r and in...

How do I remove Tag in GitLab repository

git,tags,gitlab
I am using GitLab 7.7.2 and tried to remove Tag in a repository in GitLab. I could remove tag in a local repository but cannot remove tag in origin. How do I remove tag in GitLab repository? $ git tag -d Tag_AAA Deleted tag 'Tag_AAA' (was d10bff2) $ git push...

restore gitlab backup repository bundle file with all branches

git,gitlab,git-bundle
I need to restore some repositories from an gitlab backup. This backup contains .bundle files for all the repos. How can I restore the complete respository with all branches in it? If I run git bundle list-heads myfile.bundle I can see all the branches. I want to restore that repo...

Git push error pre-receive hook declined

gitlab,githooks
I have run gitlabhq rails server on virtual machine, following 1-6 steps from this tutorial https://github.com/gitlabhq/gitlab-recipes/blob/master/install/centos/README.md and starts rails server executing command sudo -u git -H bundle exec rails s -e production. After that I created user, using admin tools and created new project under this user. Then I'm trying...

What are GitLab's repo & users limits

gitlab
I'm wondering if there's any cap on number of repositories and users allowed in GitLab, given 2GB memory with 2 processing cores.

How to store releases/binaries in GitLab?

git,jenkins,gitlab,nexus
I am building a workflow with Gitlab, Jenkins and - probably - Nexus (I need an artifact storage). I would like to have GitLab to store releases/binaries - is it possible in a convenient way? I would not like to have another service from which a release (and documentation) could...

GitLab: Deploy keys are not allowed to push

git,gitlab
I have Existing project folder that contains git , when i need to push it i face this issue The authenticity of host 'gitlab.com (54.93.71.23)' can't be established. ECDSA key fingerprint is SHA256:HbW3g8zUjNSksFbqTiUWPWg2Bq1x8xdGUrliXFzSnUw. Are you sure you want to continue connecting (yes/no)? Note I was working well with git and...

Cannot push into GitLab repository via ssh

ssh,gitlab
I set up GitLab and put my repository into it. I made ssh key as follows and put public key to my GitLab profile. It seems ok. ssh-keygen -t rsa -C "$your_email" I can clone my repository via ssh. But I cannot push into it via ssh as follows. [email protected]'s...

Local Jenkins (on Windows) Connecting to GitLab

git,jenkins,gitlab
I have been running into many issues regarding having Jenkins (that is running on my local Windows laptop), and being able to connect to a GitLab repo that is private (I have full access to it) and so I have added the private key to Jenkins (I had originally not...

GitLab specific merge request

git,merge,gitlab
I have i18n branch on GitLab. Where i have already made few commits with pushes. The problem: Client wants me to make merge request to master branch but only with some specific files ( select the smallest possible set of changes ). How is it possible ? As i see...

How to default to side-by-side view in GitLab

diff,gitlab,git-diff
How can I make Side-by-side be the default diff for my GitLab installation or project or profile?

How can I clone a private Gitlab repo?

git,github,gitlab
When I do this: git clone https://example.com/root/test.git I am getting this error fatal: HTTP request failed When I use SSH: git clone username [email protected]:root/test.git I am getting this error: Initialized empty Git repository in /server/user/[email protected]:root/test.git/.git/ fatal: 'user' does not appear to be a git repository fatal: The remote end hung...

How to Install Gitlab on Centos 6.6 VPS?

linux,centos,gitlab
I tried installing as mentioned here: https://about.gitlab.com/downloads/ sudo yum install openssh-server sudo yum install postfix sudo yum install cronie sudo service postfix start sudo chkconfig postfix on sudo lokkit -s http -s ssh curl -O https://downloads-packages.s3.amazonaws.com/centos-6.6/gitlab-7.7.2_omnibus.5.4.2.ci-1.el6.x86_64.rpm sudo rpm -i gitlab-7.7.2_omnibus.5.4.2.ci-1.el6.x86_64.rpm sudo gitlab-ctl reconfigure It looks like everything went successfully, but...

GitLab CI - Build not running configured Job(s)

git,continuous-integration,gitlab,gitlab-ci,gitlab-ci-runner
I'm using GitLab CI, integrated with GitLab as well as the recommended secondary server for a runner. Everything appears to be configured correctly. It detects my commits and runs the build steps and I can see the output. At least for the default job of: git submodule update --init ls...

Strange error in gitlab: fatal: protocol error: bad line length character: Depl

git,gitlab
On one of my servers, when I'm try to pull/ls-remote fresh-created repo on gitlab, I'm getting these error: git ls-remote [email protected]:mas-vem/dinnerdelivery.git fatal: protocol error: bad line length character: Depl If I'm trying to ls-remote one of earliest created repositories, all is fine. When I'm run this command: ssh [email protected] git-receive-pack...

Create external link in GitLab Flavored Markdown

gitlab
Is there anyway to link to an external file (non http url) in GitLab Flavored Markdown? e.g. HTML equivalent would be <a href="file:///my/file/path">link text</a> e.g. MediaWiki equivalent would be [[file:///my/file/path link text]] ...

Can you create a project on GitLab using ssh?

ssh,gitlab
I have an account with gitlab.com. I am trying to automate some of the steps of setting up a new dev server. Is it possible to connect to my account at gitlab.com via ssh and then create a new project? If so, how? If no, why not? Currently I get...

GitLab LDAP scondary strategy

ruby-on-rails,ldap,omniauth,gitlab
I'm using GitLab CE Omnibus package (gitlab_7.7.2-omnibus.5.4.2.ci-1_amd64) on a clean Debian (debian-7.8.0-amd64) installation. I followed the installation process on https://about.gitlab.com/downloads/ and everything works fine. I modified /etc/gitlab/gitlab.rb to use a single LDAP server for authentification. Which worked also as expected. But when I tried to use a secondary LDAP connection...

Can't install Nokogiri on CentOS with higher Ruby Version than required

ruby,centos,nokogiri,gitlab
Below is what I tried on my CentOS6.5 server. I have already updated Git and Ruby, but still can't get it to install. The first section is where I tried to install it as a sudo user. The second section is when I Tried to install it by root. Can...

Git can't connect to Gitlab, SSH verification error

git,ssh,gitlab,ssh-keys
I've been trying to pull down a repository from Gitlab using SSH keys. All done in command line on Windows 8 via a Ubuntu VM. I've added my public key to my Gitlab account and then added my private key to the ssh-agent and didn't seem to have any errors...

How to push an Android Studio Project to a remote GitLab Repository

java,git,android-studio,gitlab
I am coming from the eclipse/svn world and for a new android project with android studio I decided it might be a good time to learn more about GIT. After some research I decided to install GitLab on my server in the same network, since it seems to perfectly fit...

Gitlab / Redmine automatic close issue with commit

redmine,gitlab
We are using Gitlab (7.10.2) and Redmine (3.0.2). All issues are managed in Redmine and Gitlab manages all git-repositories. We set up Gitlab via the UI so far that commits with the message 'Close #234' are clickable and pointing to the corresponding Redmine ticket website. We now want to achieve...

GitLab: There isn't anything to merge. Branch and master are the same

git,gitlab,git-merge
I have been using GitLab to manage our Git repository. Recently I have encountered a problem where we are not able to create any pull requests. No matter the destination branch, I always get: There isn't anything to merge.Branch to be merged and master are the same. I have searched...

Installing GitLab CI Runner on Raspberry Pi 2 (Raspbian)

ruby,gitlab,raspberry-pi2
I want to install the GitLab Runner for CI on my RPI 2 machine running Raspbian. There is no armhf package available or mentioned on the official page: https://gitlab.com/gitlab-org/omnibus-gitlab-runner/blob/master/doc/install/README.md and I could not find one on the net. I've tried building it from source but it failed to make ruby...

From development to deployment with Git

git,laravel,github,gitlab
I am very puzzled. I have read many sources about 'development & deploy' with git and haven't understand anything. Now I have: Local (Development) repository with project (git init) Gitlab/Github Server where I store/commit/push my project. Production server With local repository and gitlab/github server is all clear. I make changes...

How to upgrade omnibus gitlab 7.2.1?

debian,gitlab
Im really confused because Gitlab is using different names of their product. So there exist "Gitlab", "Gitlab CE, "Gitlab CI", "Gitlab Omnibus" and "Gitlab paid" I found some correct documentation as I think for my gitlab version. Via help page i found out that gitlab which im running at my...

Git Clone Fails with sslRead() error on OS X Yosemite

git,curl,openssl,osx-yosemite,gitlab
I'm currently on OS X Yosemite 10.10.3, and trying to git clone an existing repo which works fine on Windows. I've tried a combo of installing git through homebrew with curl/openssl with no luck. When i run the git clone, i get the following ssl read error: GIT_CURL_VERBOSE=1 git clone...

How to set up two SSH keys for two GitLab accounts and push/pull by using TortoiseGit?

git,ssh,key,gitlab,tortoisegit
Currently Im using GitLab as my remote GIT server. I have no problem using single Gitlab account with SSH key assigned to it. But now I applied another Gitlab account and I'm trying to use the same SSH key for it, but I cant add the key to this new...

GitLab not able to sync fork

gitlab
I recently installed GitLab, however, I can't figure out how to use forks properly. I have the following versions installed: GitLab 7.7.1 GitLab Shell 2.4.1 GitLab API v3 Ruby 2.1.4p265 Rails 4.1.1 I have found out the URL for forks (by creating another user and adding it to the project,...

Fully qualified domain name for gitlab

nginx,gitlab
I have a Raspberry Pi 2 with Gitlab installed. I Don't really know what is mean with the fully qualified domain host name. Until now I have test gitlab locally in my network with a static ip 192.168.1.x. But I want get access to my raspberry pi from the outside....

Capistrano and Corkscrew PATH error

ruby-on-rails,git,ssh,capistrano,gitlab
I'm trying to deploy my Rails application with Capistrano but when it comes to "git ls-remote" i get the following error: $ /usr/bin/env git ls-remote --heads [email protected]<server>:<project>.git /bin/bash: line 0: exec: corkscrew: not found DEBUG [a5205e2a] ssh_exchange_identification: Connection closed by remote host DEBUG [a5205e2a] fatal: The remote end hung up...

Git pull and push works in Windows but not in VM

git,ssh,virtual-machine,gitlab,ssh-keys
I've recently set up a Git repository and after some fiddling managed to get everything set up correctly so that I could pull and push from Git in my Windows 8.1 environment using SSH keys and pulling from Gitlab ... however in my Ubuntu VM I try to do the...

Gitlab LDAP (Active Directory) Authentication without Server Side Access

ruby-on-rails,active-directory,ldap,gitlab
I am using GitLab Omnibus 7.10.0 on RHEL 6.6. I have enabled LDAP using the following configuration: gitlab_rails['ldap_enabled'] = true gitlab_rails['ldap_servers'] = YAML.load <<-'EOS' # remember to close this block with 'EOS' below main: # 'main' is the GitLab 'provider ID' of this LDAP server label: 'FOO COM Active Directory...

Am I allowed to use GitLab Community Edition for commercial projects? [on hold]

git,open-source,licensing,gitlab
I've been just handed the access to a VPS at work, and I thought of installing GitLab CE on it for better teamwork organisation. Does the GitLab CE license allow me to do so?...

Can multiple Gitlab projects use the same Git repository?

git,svn,migration,gitlab
I've been investigating moving from SVN to Git so that we can make use of Gitlab. One thing I'm not sure about though; Can we point multiple projects in Gitlab at a single repository? The documentation says: Projects A GitLab project roughly corresponds to a single git repository. Every project...

git - create a new branch from local copy and then merge it with existing branch

git,version-control,merge,gitlab,pull
Being a git newbie, I have messed up a little bit in the way I handled a new development and I do not succeed in resolving this properly. I have a master branch. I made a local copy of this master branch on my desktop computer and then I removed...

Gitlab redirecting loop

gitlab,gitlab-7
yesterday I installed gitlab on a vm of mine and configured everything to work with it. Gitlab listens on port 8081 of my domain (e.g. domain:8081). I have an apache instance which listens to port 80 and 443, so I did a forward there (e.g. domain/git). Everything worked fine (except...

How do you process a Gitlab merge request?

git,merge,workflow,gitlab
I'm working with a small group of people on a project, using Gitlab. As not everyone is equally experienced (with both project development and git itself), we figured we would require merge requests to be sent before code could be merged into the main development branch. So far so good,...

Files deleted with git filter-branch reappear after push and pull back

git,gitlab,git-filter-branch
I have some sensitive info in the repository. Trying to sanitize it and then push to GitLab. However, once pulled from GitLab, the sanitized info reappears. Where is my mistake? git log -Smypassword <returns some commits showing that mypassword is indeed in the repo> # clean the repo from mypassword...

Git problems, 'git not installed'

ruby-on-rails,git,github,bundle,gitlab
I have set up my github account, configured it with SSH and now I am trying to retrieve group work from gitlab. I have managed to pull the work so that it is on my machine but when I go to bundle install I encounter an error. It says that...

how to clone a GitLab repo

git,gitlab,git-clone
I have a GitLab Community Edition up and am staggering forward :) Pushing to repos - DONE Pulling from public repos - DONE Cloning public repos - DONE if I try to make the repo's private or internal, I am no longer able to clone (as should be, out-of-the-box) But...

SSH Config are ignored by git client

git,ssh,gitlab
I interact with two different git repositories, both of them are GitLab implementation. Since I need to use different users (and e-mail) to access them, I created two ssh keys: let's say id_rsa_1 and id_rsa_2. After that I wrote a ~/.ssh/config file to specify when each id_rsa file should be...

Git looking for my SSH key in the wrong location

git,ssh,gitlab,ssh-keys
I've been having a bit of a head ache with trying to pull down a repository held in Gitlab. This is all done in Windows 8.1 on a Ubuntu VM by the way if that helps. I've added my public key in Gitlab and added my private key to ssh-agent...

Unable to install the latest version of Gitlab (7.10.4)

git,bash,curl,gitlab
This question is not about code, but the installation of Gitlab. I am trying to install Gitlab for few days now without success. Indeed, some times ago, they proposed the method with wget that worked very well, but since we must use the method with Curl, it is impossible to...

Gitlab issue tracking integration with Bugzilla

gitlab,bugzilla,issue-tracking
Been reading and googling around for a while and I've found enough information and run enough tests to verify that Gitlab is able to integrate with Redmine and JIRA for issue tracking, but what about bugzilla? The Gitlab external issue tracking document mentions bugzilla as one of the available systems...

GitLab import 6.8.1 into 7.10.4

migration,gitlab,user-accounts
We have a productive GitLab 6.8.1 running. I've set up a parallel VM with GitLab 7.10.4. Now I want to move all data from the old installation to the new one. I've already found a way how to move the bare repositories, but I have no clue how to import...

Security in Gitlab. With gitolite?

git,security,debian,gitlab
I´m working with Gitlab in Debian 8 for my own project goes well but i need more security for employees in a company. I need that employees can not see important code for this company, i´m trying to use gitolite with gitlab but I'm not sure that is the right...

Git/Gitlab Push RPC failed; result=22, HTTP code = 411

git,nginx,push,gitlab
i got a problem with Git, i get an rpc error when pushing a large Commit over http (RPC failed; result=22, HTTP code = 411) Since ssh is really slow (about 250 - 300 kb/s) and the commit is about 7 gb i REALLY want to use http for this....

gitlab api get group list only 20 groups not all

curl,gitlab
We use Gitlab 7.8, i'm trying to get full list of groups on our prod server via gitlab api, unfortunately gitlab api is returning only 20 groups out of 80 available group. Any help in this would be appreciated. command used is curl -k --header "PRIVATE-TOKEN: token of admin users"...

Gitlab (rails) “raw” file mime type for .svg files is 'text/plain'. Can it be configured to output as 'image/svg+xml'?

ruby-on-rails,gitlab
I've installed Gitlab on a local server for evaluation, and one key feature for me will be to have svg files display as images in the wiki. I have it working if I drag a file into the wiki editor, which produces a url like so: in wiki markdown: ![my...

Custom post-receive hook with gitlab

git,gitlab,webhooks
I am trying to set up a custom post-receive hook using gitlab I am following their documentation here I have an executable post-receive file in the custom_hooks folder with the following code: !/bin/bash echo "post-receive firing | wall git pull If I run this file with: ./post-receive It works fine....

How to configure gitlab to use existing postgres server

postgresql,nginx,gitlab,centos7
When installing Gitlab by default Nginx and Postgres .. among other things are installed regardless of whether you have them already or not. So since I have these two already, I am trying to configure gitlab to use them, I have done this for Nginx, Using: $ vi /etc/gitlab/gitlab.rb: #...

Correct git operation to merge portion of a branch

git,merge,gitlab
I have a git branch on which I am working on a feature that has necessitated changes to less related portions of the code. I have had to stop development on this branch to work on a feature on another branch that the priority has changed for. This branch uses...

I can push but not pull git

git,gitlab
I just created a new git repo on Gitlab. I init and pushed an already populated directory in the following manner: git init git remote add origin [email protected]:username/reponame.git git add . git commit -m 'first commit' git push -u origin master All worked as expected. However, when I try to...

git diff not working on a bare repo, post-receive hook

git,gitlab,githooks,git-post-receive
I am working on a post-receive hook on a bare repo. I want to get the file names that are changed and pushed in this bare repo (only the latest one). To get it i am using this command. git diff --name-only HEAD^ This gives me error when I push...

HTTPS for GitLab on Google Compute Engine

gitlab,google-compute-engine
I'm trialling GitLab on GCE to see if it'll be more manageable instead of my own hosting elsewhere. One requirement is for all traffic to be secure i.e. over SSH (for git operations) or https for web browsing (i.e. gitlab usage through the browser). I cannot seem to see where...

How to use gitlab for web development?

git,gitlab
I know this has been asked before, I wasn't able to find a solution for my situation. I am just hoping to get some insight from the community. Basically, I want to use gitlab for a web application (html,php,mysql) I have been working on. I have been using FTP in...

gitlab backup restore aborting with error “relation not found”

gitlab
Setting up a new server (Ubuntu 14.04) with gitlab-omnibus, I want to import my old gitlab-data. I followed the instructions in the readme and upgraded my old installation to 7.10.1 to match the new one. After copying the backup to the correct location, stopping unicorn and sidekiq, setting owner of...