But the “gitlab-ctl reconfigure” command returns everything to its original state.
If, after changing the line “server_name dev.uitk.ru;” in the file “gitlab-http.conf”, giving the command:
# gitlab-ctl restart
, nothing changes either.
Explain: GitLab is deployed in a docker container. Its external address used to be “http://dev.leasoft.ru”. It worked and continues to work despite the fact that the parameter “external_url” in the file “/etc/gitlab/gitlab.rb” is not uncommented. But the site URL has changed, but in the addresses of projects GitLab continues to use the old site URL on which it is deployed.
I found this instruction: https://docs.gitlab.com/omnibus/docker/#run-the-image. But I am afraid to use it, since I do not have experience working with docker. I do not know with what settings the running container was launched and I am afraid to spoil it.
No problem. But I also recommend to try some things with docker on a test machine. It is important to know how to use docker when your gitlab is running in it. Also try writing a docker compose file for your gitlab so you don‘t need any long docker run commands.
You need it to update gitlab.