The migration tasks only work if the rights of /usr/share/gitlab are git:git.