Coding with Titans

so breaking things happens constantly, but never on purpose

Recover GitLab after PostgreSQL 9.6.2 failed upgrade

Recently I described, how to keep in sync with GitLab latest releases on the Raspberry Pi. And of course it lead me to a problem after unsuccessful update to version 8.17-rc3. This release has the PostgreSQL 9.6.2 embedded and apparently everything got broken in the middle of the upgrade process. After all my tries to revert to previous GitLab version, lots of time wasted (yes, each call to apt-get upgrade or install specified GitLab version was taking several hours! Read more →

GitLab on Raspberry Pi not updating

I recently noticed that my GitLab installed on Raspberry Pi (running Jessy) stopped updating and stick to version 8.7.9, however the latest one as of today is 8.16.4. Normally apt-get updateand apt-get upgradeshould do the trick. But it turned out there was a change in the build system and newer packages don’t get uploaded into ‘raspbian’ version of repository. For details - take a look on issue #1303. Although quick patch is following and short: Read more →

Webio email vs GitLab

I wasted far more time than originally expected on simple email-notifications configuration for GitLab. I use Webio hosting and somehow following part of config file (at “/etc/gitlab/gitlab.rb”) is the only one that works. Hopefully it will be useful to you, too. gitlab_rails['smtp_enable'] = true gitlab_rails['smtp_address'] = "poczta.webio.pl" gitlab_rails['smtp_port'] = 465 gitlab_rails['smtp_user_name'] = "xyz@codetitans.pl" gitlab_rails['smtp_password'] = "xyz" gitlab_rails['smtp_domain'] = "codetitans.pl" gitlab_rails['smtp_authentication'] = "login" gitlab_rails['smtp_enable_starttls_auto'] = true gitlab_rails['smtp_tls'] = true gitlab_rails['smtp_openssl_verify_mode'] = 'peer' gitlab_rails['smtp_ca_path'] = "/etc/ssl/certs" gitlab_rails['smtp_ca_file'] = "/etc/ssl/certs/ca-certificates. Read more →

My GitLab and Let’s Encrypt certificate

Setting up GitLab was pretty easy on a Raspberry PI 3. The installation process is straightforward, it only took very long time to unpack (prepare for several hours!). And once running, its a brilliant combination comparing to all those noisy servers (aka my old PCs) I should have kept running. For the most Pi uses SD card, giving an immediate access at any time of day and doesn’t need to awake and start to spin its disks. Read more →