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
  • #2848

Closed
Open
Created Jan 30, 2013 by Administrator@rootOwner

Error encountered while trying to initialize the database

Created by: pchoi

Hi,

I'm getting the following error while trying to initialize the database. I'm trying to install gitlab on a machine behind a proxy.

Can anyone suggest a workaround?

Thanks!

== Seed from /home/gitlab/gitlab/db/fixtures/production/001_admin.rb rake aborted! getaddrinfo: No address associated with hostname /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/seed-fu-2.2.0/lib/seed-fu/runner.rb:46:in eval' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/redis-3.0.2/lib/redis/connection/ruby.rb:112:inconnect' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/redis-3.0.2/lib/redis/connection/ruby.rb:174:in connect' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/redis-3.0.2/lib/redis/client.rb:263:inestablish_connection' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/redis-3.0.2/lib/redis/client.rb:69:in connect' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/redis-3.0.2/lib/redis/client.rb:282:inensure_connected' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/redis-3.0.2/lib/redis/client.rb:173:in block in process' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/redis-3.0.2/lib/redis/client.rb:248:inlogging' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/redis-3.0.2/lib/redis/client.rb:172:in process' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/redis-3.0.2/lib/redis/client.rb:147:incall_pipelined' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/redis-3.0.2/lib/redis/client.rb:121:in block in call_pipeline' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/redis-3.0.2/lib/redis/client.rb:235:inwith_reconnect' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/redis-3.0.2/lib/redis/client.rb:119:in call_pipeline' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/redis-3.0.2/lib/redis.rb:2020:inblock in multi' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/redis-3.0.2/lib/redis.rb:36:in block in synchronize' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/redis-3.0.2/lib/redis.rb:36:insynchronize' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/redis-3.0.2/lib/redis.rb:2012:in multi' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/redis-namespace-1.2.1/lib/redis/namespace.rb:220:inmethod_missing' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/sidekiq-2.6.4/lib/sidekiq/client.rb:100:in block in raw_push' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/connection_pool-1.0.0/lib/connection_pool.rb:48:inwith' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/sidekiq-2.6.4/lib/sidekiq.rb:66:in redis' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/sidekiq-2.6.4/lib/sidekiq/client.rb:94:inraw_push' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/sidekiq-2.6.4/lib/sidekiq/client.rb:43:in push' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/sidekiq-2.6.4/lib/sidekiq/worker.rb:68:inclient_push' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/sidekiq-2.6.4/lib/sidekiq/extensions/generic_proxy.rb:17:in method_missing' /home/gitlab/gitlab/app/observers/user_observer.rb:5:inafter_create' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/activemodel-3.2.11/lib/active_model/observing.rb:231:in update' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.11/lib/active_record/observer.rb:114:inblock (2 levels) in define_callbacks' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:453:in _run__4274425659452316945__create__3184147086912862738__callbacks' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:405:in__run_callback' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:385:in _run_create_callbacks' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:81:inrun_callbacks' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.11/lib/active_record/callbacks.rb:268:in create' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.11/lib/active_record/persistence.rb:348:increate_or_update' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.11/lib/active_record/callbacks.rb:264:in block in create_or_update' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:425:in_run__4274425659452316945__save__3184147086912862738__callbacks' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:405:in __run_callback' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:385:in_run_save_callbacks' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:81:in run_callbacks' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.11/lib/active_record/callbacks.rb:264:increate_or_update' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.11/lib/active_record/persistence.rb:84:in save' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.11/lib/active_record/validations.rb:50:insave' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.11/lib/active_record/attribute_methods/dirty.rb:22:in save' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.11/lib/active_record/transactions.rb:259:inblock (2 levels) in save' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.11/lib/active_record/transactions.rb:313:in block in with_transaction_returning_status' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/database_statements.rb:192:intransaction' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.11/lib/active_record/transactions.rb:208:in transaction' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.11/lib/active_record/transactions.rb:311:inwith_transaction_returning_status' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.11/lib/active_record/transactions.rb:259:in block in save' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.11/lib/active_record/transactions.rb:270:inrollback_active_record_state!' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.11/lib/active_record/transactions.rb:258:in save' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.11/lib/active_record/persistence.rb:45:increate' (eval):1:in block (2 levels) in run_file' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/seed-fu-2.2.0/lib/seed-fu/runner.rb:46:ineval' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/seed-fu-2.2.0/lib/seed-fu/runner.rb:46:in block (2 levels) in run_file' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/seed-fu-2.2.0/lib/seed-fu/runner.rb:58:inblock in open' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/seed-fu-2.2.0/lib/seed-fu/runner.rb:57:in open' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/seed-fu-2.2.0/lib/seed-fu/runner.rb:57:inopen' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/seed-fu-2.2.0/lib/seed-fu/runner.rb:36:in block in run_file' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/database_statements.rb:192:intransaction' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.11/lib/active_record/transactions.rb:208:in transaction' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/seed-fu-2.2.0/lib/seed-fu/runner.rb:35:inrun_file' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/seed-fu-2.2.0/lib/seed-fu/runner.rb:26:in block in run' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/seed-fu-2.2.0/lib/seed-fu/runner.rb:25:ineach' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/seed-fu-2.2.0/lib/seed-fu/runner.rb:25:in run' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/seed-fu-2.2.0/lib/seed-fu.rb:29:inseed' /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/seed-fu-2.2.0/lib/tasks/seed_fu.rake:36:in block (2 levels) in <top (required)>' /home/gitlab/gitlab/lib/tasks/gitlab/setup.rake:16:insetup' /home/gitlab/gitlab/lib/tasks/gitlab/setup.rake:4:in `block (2 levels) in <top (required)>' Tasks: TOP => db:seed_fu (See full trace by running task with --trace)

Assignee
Assign to
Time tracking