最近一个月安装失败的可以看看日志里有没有这么一段(要稍稍往上翻一翻)

1
2
3
4
5
6
7
8
9
10
Running handlers:
There was an error running gitlab-ctl reconfigure:

Removed configurations found in gitlab.rb. Aborting reconfigure.


Removals:
* unicorn['listen'] has been deprecated since 13.10 and was removed in 14.0. Starting with GitLab 14.0, Unicorn is no longer supported and users must switch to Puma, following https://docs.gitlab.com/ee/administration/operations/puma.html.
* unicorn['port'] has been deprecated since 13.10 and was removed in 14.0. Starting with GitLab 14.0, Unicorn is no longer supported and users must switch to Puma, following https://docs.gitlab.com/ee/administration/operations/puma.html.

这是gitlab14的锅(宝塔也有锅,没弄好自己的配置文件,换什么新源),需要将配置文件中的unicorn字段全部换成puma,例如unicorn['listen'] 换为puma['listen'],详细文档移步https://docs.gitlab.com/ee/administration/operations/puma.html#configure-puma