bash[migrate gitlab-rails database] (gitlab::database_migrations line 49) 失败通常是由于数据库迁移过程中出现了问题。 这个错误通常与 GitLab 的数据库迁移脚本执行失败有关。以下是一些可能的解决步骤: 查看详细的错误日志: 运行gitlab-ctl tail 命令来查看更详细的错误日志,这可以帮助你定位问题的具体原因...
sudo gitlab-rake db:migrate 执行结束没有任何信息提示之后: sudo gitlab-rake gitlab:background_migrations:finalize[ProjectNamespaces::BackfillProjectNamespaces,projects,id,'[null\,"up"]'] 显示OK后, 重新加载配置: sudo gitlab-ctl reconfigure ...
根据Gitlab 官网的安装方法,在执行以下命令时出现了问题: sudo apt-get install gitlab-ce 具体错误如下: There was an error running gitlab-ctl reconfigure: bash[migrate gitlab-rails database] (gitlab::database_migrations line 51) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process...
若结果显示“Error executing action `run` 'ruby_block[resource: /var/opt/gitlab/git-data/repositor”,则说明重新加载出现问题,需要执行“chmod 2770 /var/opt/gitlab/git-data/repositories”来解决这个问题。 若结果显示“Error executing action `run` on resource 'bash[migrate gitlab-rails database]'”...
bash[migrate gitlab-rails database] (gitlab::database_migrations line 54) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received ‘1’ --- Begin output of “bash” “/tmp/chef-script20200724-28154-12h8vf3” --- STDOUT...
Configure GitLab Rails block To configure the gitlab-rails application to connect to the PostgreSQL database over the network, several settings must be configured: db_host: Needs to be set to the IP address of the database server. If this is on the same instance as the PostgreSQL service,...
类似如下的信息:• execute[initialize gitlab-rails database] action nothing (skipped due to action :nothing) • execute[initialize gitlab-ci database] action nothing (skipped due to action :nothing) • bash[migrate gitlab-rails database] action nothing (skipped due to action :nothing) ...
* bash[migrate gitlab-rails database] action run [execute] rake aborted!StandardError: An error has occurred, this and all later migrations canceled: PG::UndefinedTable: ERROR: relation "geo_nodes" does not exist : ALTER TABLE "geo_nodes" ADD "name" character varying /opt/gitlab/embed...
rails_migration[gitlab-rails] (gitlab::database_migrations line 54) had an error: Mixlib::ShellOut::ShellCommandFailed: bash[migrate gitlab-rails database] (/opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/resources/rails_migration.rb line 16) had an error: Mixlib::ShellOut::ShellCommand...
node['gitlab']['postgresql']['enable']56: notifies :run, "execute[clear the gitlab-rails cache]", :immediately unless OmnibusHelper.not_listening?("redis")57: dependent_services.each do |svc|58: notifies :restart, svc, :immediately59: end60: not_if "(test -f #{db_migrate_status_...