Bitnami GitLab 5.2.0:gitlab_sidekiq未运行且无法启动 [英] Bitnami GitLab 5.2.0: gitlab_sidekiq not running and could not be started

查看:142
本文介绍了Bitnami GitLab 5.2.0:gitlab_sidekiq未运行且无法启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在使用 Bitnami GitLab 5.2.0 .
我们偶然发现我们无法推送到新的存储库,例如

We are using Bitnami GitLab 5.2.0.
We stumbled upon that we can't push into new repository, like

git@192.168.133.10:sandbox/testgit2.git

但是我们可以和旧的一起工作.进一步的调查显示gitlab_sidekiq没有运行.

but we can work with old ones. Closer investigation showed that gitlab_sidekiq is not running.

/opt/bitnami/ctlscript.sh restart gitlab_sidekiq

gitlab_sidekiq无法启动

在哪里看?我应该先更新吗?

Where to look? Should I update first?

更新:Bitnami GitLab 5.2服务器已损坏:无法将代码推送到新的存储库中. (尽管旧存储库不受影响)

UPDATE: Bitnami GitLab 5.2 server is broken down: can't push code into new repositories. (While old repositories are unaffected)

TestProject4>git remote add origin git
@192.168.133.10:sandbox/testproject4.git

TestProject4>git push -u origin master

fatal: '/opt/bitnami/apps/gitlab/repositories/sandbox/testproject4.git' does not  appear to be a git repository
fatal: The remote end hung up unexpectedly

使用答案更新:

我正在PC上的VirtualBox中使用虚拟机(以1个小组的先导经验,将VM移至某些VM主机) 是的,我修改了gitlab.yml

I am using virtual machine in VirtualBox on my PC (in 1 team as pilot moving the VM to some VM host) Yes, I modified gitlab.yml

/opt/bitnami/apps/gitlab/htdocs/log/sidekiq.log具有重复的这一行,因此它们应该提供线索(读取某些文件时看起来有些错误)

/opt/bitnami/apps/gitlab/htdocs/log/sidekiq.log has this lines in repetition, so they should give clue (look like some thing wrong when reading some file)

DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /opt/bitnami/apps/gitlab/htdocs/config/environment.rb:5)
/opt/bitnami/ruby/lib/ruby/1.9.1/psych.rb:203:in `parse': (<unknown>): found character that cannot start any token while scanning for the next token at line 73 column 1 (Psych::SyntaxError)
    from /opt/bitnami/ruby/lib/ruby/1.9.1/psych.rb:203:in `parse_stream'
    from /opt/bitnami/ruby/lib/ruby/1.9.1/psych.rb:151:in `parse'
    from /opt/bitnami/ruby/lib/ruby/1.9.1/psych.rb:127:in `load'
    from /opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/settingslogic-2.0.8/lib/settingslogic.rb:113:in `initialize'
    from /opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/settingslogic-2.0.8/lib/settingslogic.rb:71:in `new'
    from /opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/settingslogic-2.0.8/lib/settingslogic.rb:71:in `instance'
    from /opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/settingslogic-2.0.8/lib/settingslogic.rb:48:in `[]'
    from /opt/bitnami/apps/gitlab/htdocs/config/initializers/1_settings.rb:38:in `<top (required)>'
    from /opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:245:in `load'
    from /opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:245:in `block in load'
    from /opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:236:in `load_dependency'
    from /opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:245:in `load'
    from /opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/railties-3.2.13/lib/rails/engine.rb:588:in `block (2 levels) in <class:Engine>'
    from /opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/railties-3.2.13/lib/rails/engine.rb:587:in `each'
    from /opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/railties-3.2.13/lib/rails/engine.rb:587:in `block in <class:Engine>'
    from /opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:30:in `instance_exec'
    from /opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:30:in `run'
    from /opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:55:in `block in run_initializers'
    from /opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:54:in `each'
    from /opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:54:in `run_initializers'
    from /opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/railties-3.2.13/lib/rails/application.rb:136:in `initialize!'
    from /opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/railties-3.2.13/lib/rails/railtie/configurable.rb:30:in `method_missing'
    from /opt/bitnami/apps/gitlab/htdocs/config/environment.rb:5:in `<top (required)>'
    from /opt/bitnami/ruby/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in `require'
    from /opt/bitnami/ruby/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in `require'
    from /opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/sidekiq-2.8.0/lib/sidekiq/cli.rb:199:in `boot_system'
    from /opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/sidekiq-2.8.0/lib/sidekiq/cli.rb:47:in `parse'
    from /opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/sidekiq-2.8.0/bin/sidekiq:7:in `<top (required)>'
    from /opt/bitnami/ruby/bin/sidekiq:23:in `load'
    from /opt/bitnami/ruby/bin/sidekiq:23:in `<main>'

GitLab说它需要红宝石1.9.3 ,但是在这里我看到1.9.1.可能有问题吗?

GitLab says it requires ruby 1.9.3, but here I see 1.9.1. Can that be problem?

推荐答案

这很奇怪.您正在使用什么,安装程序,虚拟机或云映像?如果sidekiq服务器未运行,则可能是未正确创建存储库.您能否检查sidekiq日志文件中是否存在任何错误?

It is strange. What are you using, the installer, the virtual machine or the cloud image? If the sidekiq server is not running it is possible that the repository was not created properly. Could you check if there is any error in the sidekiq log file?

/opt/bitnami/apps/gitlab/htdocs/logs/sidekiq.log

/opt/bitnami/apps/gitlab/htdocs/logs/sidekiq.log

您是否为GitLab修改了任何配置文件?

Did you modify any configuration file for GitLab?

问题似乎是gitlab.yml中的配置错误.空白也很重要.您可以检查该文件中的更改吗?

The problem seems a wrong configuration in the gitlab.yml. It is also important the white spaces. Could you check your change in that file?

/opt/bitnami/ruby/lib/ruby/1.9.1/psych.rb:203:在`parse'中:():在第73行第1列扫描下一个令牌时发现无法启动任何令牌的字符(Psych :: SyntaxError)

/opt/bitnami/ruby/lib/ruby/1.9.1/psych.rb:203:in `parse': (): found character that cannot start any token while scanning for the next token at line 73 column 1 (Psych::SyntaxError)

GitLab CI发行了Ruby 1.9.3最新的稳定版本.文件夹名称使用1.9.1来实现后卫兼容性

GitLab CI ships Ruby 1.9.3 latest stable version. The folder name uses 1.9.1 for backguard compatibility Why is my gem "INSTALLATION DIRECTORY:" ...1.9.1 when the "RUBY VERSION:" is 1.9.3

如果找不到确切的错误,请发布gitlab.yml文件.

Please post the gitlab.yml file if you do not find the exact error.

这篇关于Bitnami GitLab 5.2.0:gitlab_sidekiq未运行且无法启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆