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

Closed
Open
Created Jan 26, 2013 by Administrator@rootOwner

rake db:seed_fu RAILS_ENV=production aborted

Created by: mrCode

Hi,

I 'm trying to install gitlab on Redhat 6.3 I was able to do it using the script that provided here: https://github.com/mattias-ohlsson/gitlab-installer/blob/master/gitlab-install-el6.sh But I face a problem that all the tables in the gitlabhq_production are empty. After debuging I found that the rake db:seed command was aborted with the following error:

== Seed from /var/www/gitlabhq/db/fixtures/production/001_admin.rb rake aborted! can't dump anonymous class Class /usr/local/rvm/gems/ruby-1.9.2-p290/gems/seed-fu-2.2.0/lib/seed-fu/runner.rb:46:in eval' /usr/local/rvm/gems/ruby-1.9.2-p290/gems/sidekiq-2.6.4/lib/sidekiq/extensions/generic_proxy.rb:17:inmethod_missing' /var/www/gitlabhq/app/observers/user_observer.rb:5:in after_create' /usr/local/rvm/gems/ruby-1.9.2-p290/gems/activemodel-3.2.11/lib/active_model/observing.rb:231:inupdate' /usr/local/rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.11/lib/active_record/observer.rb:114:in block (2 levels) in define_callbacks' /usr/local/rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:453:in_run__1367040526475455673__create__1479271500454184035__callbacks' /usr/local/rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:405:in __run_callback' /usr/local/rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:385:in_run_create_callbacks' /usr/local/rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:81:in run_callbacks' /usr/local/rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.11/lib/active_record/callbacks.rb:268:increate' /usr/local/rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.11/lib/active_record/persistence.rb:348:in create_or_update' /usr/local/rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.11/lib/active_record/callbacks.rb:264:inblock in create_or_update' /usr/local/rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:425:in _run__1367040526475455673__save__1479271500454184035__callbacks' /usr/local/rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:405:in__run_callback' /usr/local/rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:385:in _run_save_callbacks' /usr/local/rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:81:inrun_callbacks' /usr/local/rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.11/lib/active_record/callbacks.rb:264:in create_or_update' /usr/local/rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.11/lib/active_record/persistence.rb:84:insave' /usr/local/rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.11/lib/active_record/validations.rb:50:in save' /usr/local/rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.11/lib/active_record/attribute_methods/dirty.rb:22:insave' /usr/local/rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.11/lib/active_record/transactions.rb:259:in block (2 levels) in save' /usr/local/rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.11/lib/active_record/transactions.rb:313:inblock in with_transaction_returning_status' /usr/local/rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in transaction' /usr/local/rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.11/lib/active_record/transactions.rb:208:intransaction' /usr/local/rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.11/lib/active_record/transactions.rb:311:in with_transaction_returning_status' /usr/local/rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.11/lib/active_record/transactions.rb:259:inblock in save' /usr/local/rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.11/lib/active_record/transactions.rb:270:in rollback_active_record_state!' /usr/local/rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.11/lib/active_record/transactions.rb:258:insave' /usr/local/rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.11/lib/active_record/persistence.rb:45:in create' (eval):1:inblock (2 levels) in run_file' /usr/local/rvm/gems/ruby-1.9.2-p290/gems/seed-fu-2.2.0/lib/seed-fu/runner.rb:46:in eval' /usr/local/rvm/gems/ruby-1.9.2-p290/gems/seed-fu-2.2.0/lib/seed-fu/runner.rb:46:inblock (2 levels) in run_file' /usr/local/rvm/gems/ruby-1.9.2-p290/gems/seed-fu-2.2.0/lib/seed-fu/runner.rb:58:in block in open' /usr/local/rvm/gems/ruby-1.9.2-p290/gems/seed-fu-2.2.0/lib/seed-fu/runner.rb:57:inopen' /usr/local/rvm/gems/ruby-1.9.2-p290/gems/seed-fu-2.2.0/lib/seed-fu/runner.rb:57:in open' /usr/local/rvm/gems/ruby-1.9.2-p290/gems/seed-fu-2.2.0/lib/seed-fu/runner.rb:36:inblock in run_file' /usr/local/rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in transaction' /usr/local/rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.11/lib/active_record/transactions.rb:208:intransaction' /usr/local/rvm/gems/ruby-1.9.2-p290/gems/seed-fu-2.2.0/lib/seed-fu/runner.rb:35:in run_file' /usr/local/rvm/gems/ruby-1.9.2-p290/gems/seed-fu-2.2.0/lib/seed-fu/runner.rb:26:inblock in run' /usr/local/rvm/gems/ruby-1.9.2-p290/gems/seed-fu-2.2.0/lib/seed-fu/runner.rb:25:in each' /usr/local/rvm/gems/ruby-1.9.2-p290/gems/seed-fu-2.2.0/lib/seed-fu/runner.rb:25:inrun' /usr/local/rvm/gems/ruby-1.9.2-p290/gems/seed-fu-2.2.0/lib/seed-fu.rb:29:in seed' /usr/local/rvm/gems/ruby-1.9.2-p290/gems/seed-fu-2.2.0/lib/tasks/seed_fu.rake:36:inblock (2 levels) in <top (required)>' /usr/local/rvm/gems/ruby-1.9.2-p290/bin/ruby_noexec_wrapper:14:in eval' /usr/local/rvm/gems/ruby-1.9.2-p290/bin/ruby_noexec_wrapper:14:in' Tasks: TOP => db:seed_fu (See full trace by running task with --trace)

would you please help me with that?

Assignee
Assign to
Time tracking