gitlab-ctl reconfigure 报错

ubuntu搭建gitlab仓库

参考:https://blog.csdn.net/qq_36467463/article/details/78283874

idea配置git等相关操作:

https://blog.csdn.net/qq_37334435/article/details/82287785

关于云服务器搭建gitlab时报错:

There was an error running gitlab-ctl reconfigure:

Multiple failures occurred:
* Mixlib::ShellOut::ShellCommandFailed occurred in chef run: bash[migrate gitlab-rails database] (gitlab::database_migrations line 54) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '137'
---- Begin output of "bash"  "/tmp/chef-script20190909-11946-bqewwl" ----
STDOUT: 
STDERR: 
---- End output of "bash"  "/tmp/chef-script20190909-11946-bqewwl" ----
Ran "bash"  "/tmp/chef-script20190909-11946-bqewwl" returned 137
* Mixlib::ShellOut::ShellCommandFailed occurred in delayed notification: execute[clear the gitlab-rails cache] (gitlab::gitlab-rails line 408) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received ''
---- Begin output of /opt/gitlab/bin/gitlab-rake cache:clear ----
STDOUT: 
STDERR: 
---- End output of /opt/gitlab/bin/gitlab-rake cache:clear ----
Ran /opt/gitlab/bin/gitlab-rake cache:clear returned 

由于服务器是512MB的CPU运行内存,换至1G内存仍然报错,换至2G运行内存时问题解决。所以解决办法是换至大于等于2G CPU运行内存。

 

你可能感兴趣的:(gitlab-ctl reconfigure 报错)