Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #7298

Closed
Open
Created Jul 12, 2014 by Administrator@rootOwner

Gitlab update to 6.8 issue

Created by: wirehack7

I followed the documentation step by step to update Gitlab.

Now I am getting just an error when trying to start Gitlab:

/home/git/gitlab/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.5/lib/active_record/connection_adapters/connection_specification.rb:58:in `rescue in resolve_hash_connection': Specified 'mysql2' for database adapter, but the gem is not loaded. Add `gem 'mysql2'` to your Gemfile. (Gem::LoadError)
        from /home/git/gitlab/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.5/lib/active_record/connection_adapters/connection_specification.rb:55:in `resolve_hash_connection'
        from /home/git/gitlab/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.5/lib/active_record/connection_adapters/connection_specification.rb:46:in `resolve_string_connection'
        from /home/git/gitlab/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.5/lib/active_record/connection_adapters/connection_specification.rb:30:in `spec'
        from /home/git/gitlab/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.5/lib/active_record/connection_handling.rb:39:in `establish_connection'
        from /home/git/gitlab/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.5/lib/active_record/railtie.rb:176:in `block (2 levels) in <class:Railtie>'
        from /home/git/gitlab/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.5/lib/active_support/lazy_load_hooks.rb:38:in `instance_eval'
        from /home/git/gitlab/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.5/lib/active_support/lazy_load_hooks.rb:38:in `execute_hook'
        from /home/git/gitlab/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.5/lib/active_support/lazy_load_hooks.rb:28:in `block in on_load'
        from /home/git/gitlab/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.5/lib/active_support/lazy_load_hooks.rb:27:in `each'
        from /home/git/gitlab/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.5/lib/active_support/lazy_load_hooks.rb:27:in `on_load'
        from /home/git/gitlab/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.5/lib/active_record/railtie.rb:174:in `block in <class:Railtie>'
        from /home/git/gitlab/vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/initializable.rb:30:in `instance_exec'
        from /home/git/gitlab/vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/initializable.rb:30:in `run'
        from /home/git/gitlab/vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/initializable.rb:55:in `block in run_initializers'
        from /usr/local/lib/ruby/2.0.0/tsort.rb:150:in `block in tsort_each'
        from /usr/local/lib/ruby/2.0.0/tsort.rb:183:in `block (2 levels) in each_strongly_connected_component'
        from /usr/local/lib/ruby/2.0.0/tsort.rb:219:in `each_strongly_connected_component_from'
        from /usr/local/lib/ruby/2.0.0/tsort.rb:182:in `block in each_strongly_connected_component'
        from /usr/local/lib/ruby/2.0.0/tsort.rb:180:in `each'
        from /usr/local/lib/ruby/2.0.0/tsort.rb:180:in `each_strongly_connected_component'
        from /usr/local/lib/ruby/2.0.0/tsort.rb:148:in `tsort_each'
        from /home/git/gitlab/vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/initializable.rb:54:in `run_initializers'
        from /home/git/gitlab/vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/application.rb:215:in `initialize!'
        from /home/git/gitlab/vendor/bundle/ruby/2.0.0/gems/railties-4.0.5/lib/rails/railtie/configurable.rb:30:in `method_missing'
        from /home/git/gitlab/config/environment.rb:5:in `<top (required)>'
        from /home/git/gitlab/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.17.0/lib/sidekiq/cli.rb:198:in `require'
        from /home/git/gitlab/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.17.0/lib/sidekiq/cli.rb:198:in `boot_system'
        from /home/git/gitlab/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.17.0/lib/sidekiq/cli.rb:42:in `parse'
        from /home/git/gitlab/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.17.0/bin/sidekiq:7:in `<top (required)>'
        from /home/git/gitlab/vendor/bundle/ruby/2.0.0/bin/sidekiq:23:in `load'
        from /home/git/gitlab/vendor/bundle/ruby/2.0.0/bin/sidekiq:23:in `<main>'

I ran bundle install after that, but with no success.

Assignee
Assign to
Time tracking