马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
×
我用的是docker打包的gitlab17-jh版本,本机好使,把镜像打出来放到别的服务器上先是无法启动,加了--privileged=true参数启动后,状态提示gitlab是unhealthy。查看日志,发现最后卡在了这几行:
Recipe: gitlab::database_migrations
-
ruby_block[check remote PG version] action nothing (skipped due to action :nothing)
-
rails_migration[gitlab-rails] action run[2024-06-12T07:27:02+00:00] WARN: gitlab-rails does not have a log_group or default logdir mode defined. Setting to 0700.
- bash_hide_env[migrate gitlab-rails database] action run
[execute] Running db:schema:load rake task
psql:/opt/gitlab/embedded/service/gitlab-rails/db/structure.sql:9: NOTICE: extension "btree_gist" already exists, skipping
psql:/opt/gitlab/embedded/service/gitlab-rails/db/structure.sql:11: NOTICE: extension "pg_trgm" already exists, skipping
- 本机镜像没改过什么配置,解压镜像后直接run就不行了。不知道这个错误是啥原因,求大佬帮助
|