[gitlab] fix some upgrade problems