I am using GitLab on my server and today I upgraded to version 5.2 mostly because a system update somehow broke my custom changes regarding certificate verification (it seems it is now included in gitlab-shell).

Anyway, I was faced with the issue that I couldn't push anymore and so I started an upgrade to get everything clean again. I am running in a local RVM so I have to do updates on all gems manually.

While doing all this I stumbled upon an issue that read like this:

unicorn is not part of the bundle. Add it to Gemfile.

To save you some time, there is an easy solution: GitLab seems to have switched from unicorn to puma and so you don't run unicorn anymore. Your new command is: RAILS_ENV=production bundle exec puma -C "/home/git/gitlab/config/puma.rb".

If you have systemd files you also need to make an update here, because contrary to unicorn which was of type simple, puma is forking. The new systemd file for it looks like this:

[Unit]

Description=Gitlab Puma Rails server
Requires=sidekiq

[Service]
Type=forking
SyslogIdentifier=gl-puma
User=git
PIDFile=/home/git/gitlab/tmp/pids/puma.pid
WorkingDirectory=/home/git/gitlab
TimeoutStartSec=600

ExecStart=/home/git/bin/gitlab.sh start
ExecReload=/bin/kill -HUP $MAINPID
ExecStop=/bin/kill -HUP $MAINPID

[Install]
WantedBy=multi-user.target

My gitlab.sh only launches the RVM and then starts puma. Maybe I will go ahead and update the ArchLinux article for GitLab if I find the time and the original author agrees.


Creating a Battery Widget with Automatic ACPI Update for Awesome WM

Tue 21 May 2013 by Javex

Introduction

I recently switched to awesome which will have its own article as the window manager is just awesome. However, I am not done with its configuration and so there is no point in writing an article about it yet.

Today I will just go into detail on a little …

read more

urxvt BorderLess and Transparency

Thu 26 January 2012 by Javex

Small issue I encountered while trying to get a full background urxvt working:

If you want Transparency and BorderLess, you should not use transparent but instead background and set it to rgba:0000/0000/0000/0000 Now you get full transparency while having no borders. At least I had the …

read more

Linux URxvt Terminal: Text under Cursor is invisible

Wed 25 January 2012 by Javex

Hello everyone,

today I hustled with the problem that the text my cursor was above went invisible, not matter which color I chose for it. The text always got the same color. What solved it for me was to uncomment the URxvt.font-line in my .Xresources so any of …

read more

Slow DNS Requests under Ubuntu (or any Linux most likely) with WINS activated

Tue 12 July 2011 by Javex

Quick Post here.

I moved to Linux (Ubuntu) on my desktop system because I wanted to see how it evolved and how it performs in daily production. I'm kinda split between awesome native ssh support and so many great features and the drawbacks of it being not so pretty and …

read more