Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rake aborted | 001_admin.r | wrong number of arguments (0 for 1) #3

Open
vaLinBSD opened this issue Apr 2, 2014 · 4 comments
Open

Comments

@vaLinBSD
Copy link

vaLinBSD commented Apr 2, 2014

Hi, first I wanna thank you for this great guide, it's very uselfull.

Unfortunately I'm having problem at the point, where initializing the database comes up.

https://github.com/chadliu23/Installation-guide-for-GitLab6-on-Freebsd#initialize-database-and-activate-advanced-features

Things goes well to this point:

...
-- initialize_schema_migrations_table()
   -> 0.1068s
-- assume_migrated_upto_version(20131112114325, ["/usr/home/git/gitlab/db/migrate"])
   -> 4.3866s

== Seed from /usr/home/git/gitlab/db/fixtures/production/001_admin.rb
rake aborted!
ArgumentError: wrong number of arguments (0 for 1)
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/seed-fu-2.3.0/lib/seed-fu/runner.rb:46:in `eval'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/relation/delegation.rb:14:in `block in logger'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/relation.rb:241:in `block in scoping'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/scoping.rb:98:in `with_scope'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/relation.rb:241:in `scoping'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/relation/delegation.rb:14:in `logger'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/explain.rb:26:in `logging_query_plan'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/relation.rb:159:in `to_a'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/relation/finder_methods.rb:159:in `all'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/querying.rb:5:in `all'
/usr/home/git/gitlab/app/services/system_hooks_service.rb:9:in `execute_hooks'
/usr/home/git/gitlab/app/services/system_hooks_service.rb:3:in `execute_hooks_for'
/usr/home/git/gitlab/app/observers/system_hook_observer.rb:5:in `after_create'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activemodel-3.2.16/lib/active_model/observing.rb:231:in `update'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/observer.rb:114:in `block (2 levels) in define_callbacks'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:492:in `_run__1844156042969812020__create__2535095384945102129__callbacks'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:405:in `__run_callback'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:385:in `_run_create_callbacks'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:81:in `run_callbacks'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/callbacks.rb:268:in `create'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/persistence.rb:348:in `create_or_update'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/callbacks.rb:264:in `block in create_or_update'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:436:in `_run__1844156042969812020__save__2535095384945102129__callbacks'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:405:in `__run_callback'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:385:in `_run_save_callbacks'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:81:in `run_callbacks'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/callbacks.rb:264:in `create_or_update'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/persistence.rb:84:in `save'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/validations.rb:50:in `save'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/attribute_methods/dirty.rb:22:in `save'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/transactions.rb:259:in `block (2 levels) in save'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/transactions.rb:313:in `block in with_transaction_returning_status'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/transactions.rb:208:in `transaction'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/transactions.rb:311:in `with_transaction_returning_status'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/transactions.rb:259:in `block in save'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/transactions.rb:270:in `rollback_active_record_state!'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/transactions.rb:258:in `save'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/state_machine-1.2.0/lib/state_machine/integrations/active_record.rb:483:in `block in save'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/state_machine-1.2.0/lib/state_machine/integrations/active_record.rb:502:in `block (2 levels) in around_save'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/state_machine-1.2.0/lib/state_machine/transition_collection.rb:150:in `block in run_actions'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/state_machine-1.2.0/lib/state_machine/transition_collection.rb:170:in `catch_exceptions'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/state_machine-1.2.0/lib/state_machine/transition_collection.rb:148:in `run_actions'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/state_machine-1.2.0/lib/state_machine/transition_collection.rb:133:in `run_callbacks'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/state_machine-1.2.0/lib/state_machine/transition_collection.rb:212:in `run_callbacks'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/state_machine-1.2.0/lib/state_machine/transition_collection.rb:63:in `block (2 levels) in perform'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/state_machine-1.2.0/lib/state_machine/transition_collection.rb:63:in `catch'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/state_machine-1.2.0/lib/state_machine/transition_collection.rb:63:in `block in perform'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/state_machine-1.2.0/lib/state_machine/transition_collection.rb:186:in `within_transaction'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/state_machine-1.2.0/lib/state_machine/transition_collection.rb:62:in `perform'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/state_machine-1.2.0/lib/state_machine/integrations/active_record.rb:502:in `block in around_save'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/state_machine-1.2.0/lib/state_machine/integrations/active_record.rb:530:in `block in transaction'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/transactions.rb:208:in `transaction'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/state_machine-1.2.0/lib/state_machine/integrations/active_record.rb:529:in `transaction'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/state_machine-1.2.0/lib/state_machine/integrations/active_record.rb:501:in `around_save'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/state_machine-1.2.0/lib/state_machine/integrations/active_record.rb:483:in `save'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/persistence.rb:45:in `create'
(eval):1:in `block (2 levels) in run_file'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/seed-fu-2.3.0/lib/seed-fu/runner.rb:46:in `eval'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/seed-fu-2.3.0/lib/seed-fu/runner.rb:46:in `block (2 levels) in run_file'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/seed-fu-2.3.0/lib/seed-fu/runner.rb:58:in `block in open'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/seed-fu-2.3.0/lib/seed-fu/runner.rb:57:in `open'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/seed-fu-2.3.0/lib/seed-fu/runner.rb:57:in `open'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/seed-fu-2.3.0/lib/seed-fu/runner.rb:36:in `block in run_file'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/transactions.rb:208:in `transaction'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/seed-fu-2.3.0/lib/seed-fu/runner.rb:35:in `run_file'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/seed-fu-2.3.0/lib/seed-fu/runner.rb:26:in `block in run'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/seed-fu-2.3.0/lib/seed-fu/runner.rb:25:in `each'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/seed-fu-2.3.0/lib/seed-fu/runner.rb:25:in `run'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/seed-fu-2.3.0/lib/seed-fu.rb:29:in `seed'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/seed-fu-2.3.0/lib/tasks/seed_fu.rake:36:in `block (2 levels) in <top (required)>'
/usr/home/git/gitlab/lib/tasks/gitlab/setup.rake:18:in `setup_db'
/usr/home/git/gitlab/lib/tasks/gitlab/setup.rake:4:in `block (2 levels) in <top (required)>'
Tasks: TOP => db:seed_fu

Any suggestions? Thanks

@chadliu23
Copy link
Owner

It said that when you save to database, it fails.
maybe it is database setting problem.
you can check 4. Database part and Edit "secure password" to real password
in config/database.yml
and check wether you can access to database

On Wed, Apr 2, 2014 at 10:19 PM, Radek Valášek [email protected]:

Hi, first I wanna thank you for this great guide, it's very uselfull.

Unfortunately I'm having problem at the point, where initializing the
database comes up.

https://github.com/chadliu23/Installation-guide-for-GitLab6-on-Freebsd#initialize-database-and-activate-advanced-features

Things goes well to this point:

...
-- initialize_schema_migrations_table()
-> 0.1068s
-- assume_migrated_upto_version(20131112114325, ["/usr/home/git/gitlab/db/migrate"])
-> 4.3866s

== Seed from /usr/home/git/gitlab/db/fixtures/production/001_admin.rb
rake aborted!
ArgumentError: wrong number of arguments (0 for 1)
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/seed-fu-2.3.0/lib/seed-fu/runner.rb:46:in eval' /usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/relation/delegation.rb:14:inblock in logger'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/relation.rb:241:in block in scoping' /usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/scoping.rb:98:inwith_scope'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/relation.rb:241:in scoping' /usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/relation/delegation.rb:14:inlogger'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/explain.rb:26:in logging_query_plan' /usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/relation.rb:159:into_a'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/relation/finder_methods.rb:159:in all' /usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/querying.rb:5:inall'
/usr/home/git/gitlab/app/services/system_hooks_service.rb:9:in execute_hooks' /usr/home/git/gitlab/app/services/system_hooks_service.rb:3:inexecute_hooks_for'
/usr/home/git/gitlab/app/observers/system_hook_observer.rb:5:in after_create' /usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activemodel-3.2.16/lib/active_model/observing.rb:231:inupdate'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/observer.rb:114:in block (2 levels) in define_callbacks' /usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:492:in_run__1844156042969812020__create__2535095384945102129__callbacks'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:405:in __run_callback' /usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:385:in_run_create_callbacks'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:81:in run_callbacks' /usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/callbacks.rb:268:increate'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/persistence.rb:348:in create_or_update' /usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/callbacks.rb:264:inblock in create_or_update'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:436:in _run__1844156042969812020__save__2535095384945102129__callbacks' /usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:405:in__run_callback'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:385:in _run_save_callbacks' /usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:81:inrun_callbacks'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/callbacks.rb:264:in create_or_update' /usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/persistence.rb:84:insave'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/validations.rb:50:in save' /usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/attribute_methods/dirty.rb:22:insave'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/transactions.rb:259:in block (2 levels) in save' /usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/transactions.rb:313:inblock in with_transaction_returning_status'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in transaction' /usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/transactions.rb:208:intransaction'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/transactions.rb:311:in with_transaction_returning_status' /usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/transactions.rb:259:inblock in save'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/transactions.rb:270:in rollback_active_record_state!' /usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/transactions.rb:258:insave'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/state_machine-1.2.0/lib/state_machine/integrations/active_record.rb:483:in block in save' /usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/state_machine-1.2.0/lib/state_machine/integrations/active_record.rb:502:inblock (2 levels) in around_save'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/state_machine-1.2.0/lib/state_machine/transition_collection.rb:150:in block in run_actions' /usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/state_machine-1.2.0/lib/state_machine/transition_collection.rb:170:incatch_exceptions'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/state_machine-1.2.0/lib/state_machine/transition_collection.rb:148:in run_actions' /usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/state_machine-1.2.0/lib/state_machine/transition_collection.rb:133:inrun_callbacks'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/state_machine-1.2.0/lib/state_machine/transition_collection.rb:212:in run_callbacks' /usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/state_machine-1.2.0/lib/state_machine/transition_collection.rb:63:inblock (2 levels) in perform'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/state_machine-1.2.0/lib/state_machine/transition_collection.rb:63:in catch' /usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/state_machine-1.2.0/lib/state_machine/transition_collection.rb:63:inblock in perform'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/state_machine-1.2.0/lib/state_machine/transition_collection.rb:186:in within_transaction' /usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/state_machine-1.2.0/lib/state_machine/transition_collection.rb:62:inperform'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/state_machine-1.2.0/lib/state_machine/integrations/active_record.rb:502:in block in around_save' /usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/state_machine-1.2.0/lib/state_machine/integrations/active_record.rb:530:inblock in transaction'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in transaction' /usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/transactions.rb:208:intransaction'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/state_machine-1.2.0/lib/state_machine/integrations/active_record.rb:529:in transaction' /usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/state_machine-1.2.0/lib/state_machine/integrations/active_record.rb:501:inaround_save'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/state_machine-1.2.0/lib/state_machine/integrations/active_record.rb:483:in save' /usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/persistence.rb:45:increate'
(eval):1:in block (2 levels) in run_file' /usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/seed-fu-2.3.0/lib/seed-fu/runner.rb:46:ineval'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/seed-fu-2.3.0/lib/seed-fu/runner.rb:46:in block (2 levels) in run_file' /usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/seed-fu-2.3.0/lib/seed-fu/runner.rb:58:inblock in open'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/seed-fu-2.3.0/lib/seed-fu/runner.rb:57:in open' /usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/seed-fu-2.3.0/lib/seed-fu/runner.rb:57:inopen'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/seed-fu-2.3.0/lib/seed-fu/runner.rb:36:in block in run_file' /usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/connection_adapters/abstract/database_statements.rb:192:intransaction'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/activerecord-3.2.16/lib/active_record/transactions.rb:208:in transaction' /usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/seed-fu-2.3.0/lib/seed-fu/runner.rb:35:inrun_file'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/seed-fu-2.3.0/lib/seed-fu/runner.rb:26:in block in run' /usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/seed-fu-2.3.0/lib/seed-fu/runner.rb:25:ineach'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/seed-fu-2.3.0/lib/seed-fu/runner.rb:25:in run' /usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/seed-fu-2.3.0/lib/seed-fu.rb:29:inseed'
/usr/home/git/gitlab/vendor/bundle/ruby/1.9/gems/seed-fu-2.3.0/lib/tasks/seed_fu.rake:36:in block (2 levels) in <top (required)>' /usr/home/git/gitlab/lib/tasks/gitlab/setup.rake:18:insetup_db'
/usr/home/git/gitlab/lib/tasks/gitlab/setup.rake:4:in `block (2 levels) in <top (required)>'
Tasks: TOP => db:seed_fu

Any suggestions? Thanks


Reply to this email directly or view it on GitHubhttps://github.com//issues/3
.

@vaLinBSD
Copy link
Author

vaLinBSD commented Apr 2, 2014

Connection to database is ok, the tables are successfully created...something else must be wrong during the gitlab:setup process. See the full command output:

https://gist.github.com/vaLinBSD/9936716

@chadliu23
Copy link
Owner

set this

https://github.com/gitlabhq/gitlabhq/issues/2700

On Wed, Apr 2, 2014 at 11:44 PM, Radek Valášek [email protected]:

Connection to database is ok, the tables are successfully
created...something else must be wrong during the gitlab:setup process.
See the full command output:

https://gist.github.com/vaLinBSD/9936716


Reply to this email directly or view it on GitHubhttps://github.com//issues/3#issuecomment-39346514
.

@vaLinBSD
Copy link
Author

vaLinBSD commented Apr 3, 2014

Hm, same place but different reason. IMHO get focus on these lines:

== Seed from /usr/home/git/gitlab/db/fixtures/production/001_admin.rb rake aborted! ArgumentError: wrong number of arguments (0 for 1)
vs.
== Seed from /home/gitlab/gitlab/db/fixtures/production/001_admin.rb rake aborted! ERR unknown command 'exec'

So I think that the 001_admin.rb script receives no argument but expects one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants