500 Error While Attempting to set Default Branch to Not protected

Getting a 500 error while trying to configure main default branch to Not protected for GitLab CE 14.10.0

I’ve just tried it on my Gitlab-CE 14.10.1 version and working fine. Maybe try upgrade from 14.10.0 to 14.10.1?

Otherwise check all your log files under /var/log/gitlab for errors. Some other options worth trying:

gitlab-ctl reconfigure
gitlab-ctl restart

or even:

systemctl restart gitlab-runsvdir

and see if it’s any better. Or maybe check and make sure you are owner and maintainer and do have the privileges to do this.