www.dflc.ch

Sysadmin and cooking recipes

August 17, 2017
by davide
0 comments

CSS issue while upgrading Gitlab CE from 8.11.11 to 8.12.1

I was facing broken CSS after upgraded Gitlab CE from 8.11.11 to 8.12.1, I found a way to fix the problem without having to roll-back to previous version.

The problem I got is that once I’ve upgrade Gitlab CE to 8.12.1, the login page had no CSS applied, it looks hugly and plus the login form didn’t work πŸ™

First, make sure you’ve made a backup of both Gitlab configuration and data

Run the commands below and make sure you keep those backups in a safe place

Backup Gitlab configuration

and don’t forget data too …

Gitlab CE documentation is very well done, don’t hesitate to have a look
https://docs.gitlab.com/omnibus/settings/backups.html

Once you have a recent backup of your Gitlab instance, run the commands below to fix the CSS issue

and then

This should fix the CSS problem I got
Hope it will help you πŸ™‚

Source
https://gitlab.com/gitlab-org/gitlab-ce/issues/13162#note_16280764

June 23, 2017
by davide
0 comments

IPMI management on SuperMicro server (running ProxMox)

This tutorial should only used for server based on SuperMicro motherboard

You need first to install ipmitool package

and load the kernel module manually

You should now see a new device under /dev

Now get some information about the BMC chipset

You’ll find useful resources here
https://www.sentris.net/billing/knowledgebase.php?action=displayarticle&id=46

May 30, 2017
by davide
0 comments

Using dia on OS X

For those who tried to run Dia on their MacBook, iMac, etc.

You should have notice that Dia simply doesn’t work, that’s what I saw when I’ve tried to use it πŸ˜‰

Please find below a quick fix to run it

Quick solution

Simply run Dia using the terminal as below

Enjoy !

Inspired by http://navkirats.blogspot.ch/2014/10/dia-diagram-mac-osx-yosemite-fix-i-use.html

May 2, 2017
by davide
0 comments

Tunneling VNC over ssh from OSX

For those who needs to use VNC / ssh, here’s below a link to good article from Apple forum

Basically, the command you need to run from your OS X system is as below

Let’s explain each parameters and options of this command (from ssh man page on OS X)

So for example, you can run this

Then you can start your VNC client and connect to the vnc server

Hope it helps πŸ™‚

Source
https://discussions.apple.com/thread/2800761?start=0&tstart=0

April 17, 2016
by davide
0 comments

FreeBSD: Fetching metadata signature failed while upgrading from 10.1 to 10.2

Problem

Trying to update my *BSD from 10.1 to 10.2 using FreeBSD documentation,, I ran the command below

I get the error below

Fetching metadata signature for 10.2-RELEAS from update6.freebsd.org… failed.

Continue Reading →