If you face below error and haven't set any password for administrator, you will need to call below command

sudo gitlab-ctl reconfigure