openware / peatio

Open-source crypto currency exchange software (https://openware.com)
https://www.openware.com
MIT License
1.05k stars 624 forks source link

UnknownAttributeError: unknown attribute 'base_factor' for Currency #3033

Open rad1k4l opened 2 years ago

rad1k4l commented 2 years ago

version 3.0.stable After install all services for peatio i started peatio with docker . But get error : rake aborted! ActiveModel::UnknownAttributeError: unknown attribute 'base_factor' for Currency. /opt/vendor/bundle/ruby/2.6.0/gems/activemodel-5.2.4.5/lib/active_model/attribute_assignment.rb:53:in_assign_attribute' /opt/vendor/bundle/ruby/2.6.0/gems/activemodel-5.2.4.5/lib/active_model/attribute_assignment.rb:44:in block in _assign_attributes' /opt/vendor/bundle/ruby/2.6.0/gems/activemodel-5.2.4.5/lib/active_model/attribute_assignment.rb:43:ineach' /opt/vendor/bundle/ruby/2.6.0/gems/activemodel-5.2.4.5/lib/active_model/attribute_assignment.rb:43:in _assign_attributes' /opt/vendor/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/attribute_assignment.rb:23:in_assign_attributes' /opt/vendor/bundle/ruby/2.6.0/gems/activemodel-5.2.4.5/lib/active_model/attribute_assignment.rb:35:in assign_attributes' /opt/vendor/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/core.rb:315:ininitialize' /opt/vendor/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/inheritance.rb:66:in new' /opt/vendor/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/inheritance.rb:66:innew' /opt/vendor/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/persistence.rb:52:in create!' /home/app/lib/tasks/seed.rake:22:inblock (4 levels) in

' /home/app/lib/tasks/seed.rake:20:in each' /home/app/lib/tasks/seed.rake:20:inblock (3 levels) in
' /opt/vendor/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract/database_statements.rb:267:in block in transaction' /opt/vendor/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract/transaction.rb:239:inblock in within_new_transaction' /opt/vendor/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract/transaction.rb:236:in within_new_transaction' /opt/vendor/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract/database_statements.rb:267:intransaction' /opt/vendor/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/transactions.rb:212:in transaction' /home/app/lib/tasks/seed.rake:19:inblock (2 levels) in
' /home/app/db/seeds.rb:7:in <main>' /opt/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:59:inload' /opt/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:59:in load' /opt/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.5/lib/active_support/dependencies.rb:285:inblock in load' /opt/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.5/lib/active_support/dependencies.rb:257:in load_dependency' /opt/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.5/lib/active_support/dependencies.rb:285:inload' /opt/vendor/bundle/ruby/2.6.0/gems/railties-5.2.4.5/lib/rails/engine.rb:554:in block in load_seed' /opt/vendor/bundle/ruby/2.6.0/gems/railties-5.2.4.5/lib/rails/engine.rb:672:inwith_inline_jobs' /opt/vendor/bundle/ruby/2.6.0/gems/railties-5.2.4.5/lib/rails/engine.rb:554:in load_seed' /opt/vendor/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/tasks/database_tasks.rb:281:inload_seed' /opt/vendor/bundle/ruby/2.6.0/gems/activerecord-5.2.4.5/lib/active_record/railties/databases.rake:194:in block (2 levels) in <main>' /opt/vendor/bundle/ruby/2.6.0/gems/rake-13.0.3/exe/rake:27:in<top (required)>' /usr/local/bundle/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:63:in load' /usr/local/bundle/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:63:inkernel_load' /usr/local/bundle/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:28:in run' /usr/local/bundle/gems/bundler-2.1.4/lib/bundler/cli.rb:476:inexec' /usr/local/bundle/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/command.rb:27:in run' /usr/local/bundle/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:ininvoke_command' /usr/local/bundle/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor.rb:399:in dispatch' /usr/local/bundle/gems/bundler-2.1.4/lib/bundler/cli.rb:30:indispatch' /usr/local/bundle/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/base.rb:476:in start' /usr/local/bundle/gems/bundler-2.1.4/lib/bundler/cli.rb:24:instart' /usr/local/bundle/gems/bundler-2.1.4/exe/bundle:46:in block in <top (required)>' /usr/local/bundle/gems/bundler-2.1.4/lib/bundler/friendly_errors.rb:123:inwith_friendly_errors' /usr/local/bundle/gems/bundler-2.1.4/exe/bundle:34:in <top (required)>' /usr/local/bundle/bin/bundle:23:inload' /usr/local/bundle/bin/bundle:23:in <main>' Tasks: TOP => seed:currencies