Giter Site home page Giter Site logo

scatterp / peatio_princeberk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from scatterp2/peatio

65.0 23.0 52.0 107.37 MB

An open-source crypto trading exchange.

Home Page: https://peatio.uk

Ruby 2.39% JavaScript 0.35% CoffeeScript 0.12% HTML 4.83% CSS 0.12% Shell 2.20% Makefile 5.55% CMake 0.16% C 36.27% M4 0.88% Batchfile 0.08% D 0.08% Perl 5.88% Roff 4.00% C++ 36.18% Perl 6 0.01% Visual Basic 0.02% Assembly 0.49% Awk 0.10% DIGITAL Command Language 0.29%

peatio_princeberk's Introduction

SPECS:

•Runs but below minimum specs: 80gb, 2.20ghz, 2gb ram

•Recomended specs: 300gb SSD, 4x 2.20 ghz and 12 gb ram

•Ultra specs: 300gb SSD, 4x 2.20 ghz and 96 gb ram (run the os in ram its self)

An open-source crypto currency exchange

Code Climate Gitter Build Status

Total Downloads Week Downloads Month Downloads Day Downloads

Introduction

welcome to the most advanced peatio release available .also various UI and visual fixes have been added (more to come) and a market making system which will provide a trading partner for your users. please feel free to post issues and they will be handled rapidly.

Recently done / News

•Enhanced spanish support

•fix security issues

•revert config/application.rb •revert config/initializers/pusher.rb •revert doc/deploy-production-server.md

•Multi Server Support https://github.com/scatterp/peatio/blob/master/MultiServerReadme.md

•Installer with minimal steps [RELEASE(https://github.com/scatterp/peatio/blob/master/install1.sh)] wget https://raw.githubusercontent.com/scatterp/peatio/master/install1.sh source install1.sh

NOTE: it is critical you launch this with "SOURCE" not "SH" not "BASH" etc NOTE2: less than 4GB of ram you should disable the line that reads bitcoind or you wont have enough memory to launch the page

•Merge in welcome page from coinxpro.com [RELEASE(https://github.com/scatterp/peatio/https://github.com/scatterp/peatio/tree/testcoinx)]

Todo (Coming soon in priority order)

•payment processing

•Investigate PoxA or socket.io as a pusher replacement

•all code has refactored

•JRuby compatability and executes faster than previous versions at every step

•FIX financial information exchange API added to bring the support of the entire financial eco system allowing for trading clients banks etc to connect with the exchange

README in English

Peatio is a free and open-source crypto currency exchange implementation with the Rails framework and other cutting-edge technology.

README in ENGLISH

README en Español

En traduccion

Peatio es un software libre y open-source para la implementación de una Exchange de divisas

README en Español

peatio_princeberk's People

Contributors

ashchan avatar beenhero avatar brossi avatar everm1nd avatar fsword avatar gh0stl1n3r avatar gitter-badger avatar happypeter avatar hpyhacking avatar jyek avatar keating avatar laughingskull avatar lgn21st avatar lifu avatar liushooter avatar mmourani avatar muhammednagy avatar panlilu avatar poshboytl avatar scatterp avatar scatterp2 avatar scatterp4 avatar shadowmyst avatar summm avatar taiwoayanleye avatar tomlion avatar trisua avatar weilu avatar xyuwang avatar zhukejun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

peatio_princeberk's Issues

trying to withdraw coins but they will not leave

i tried to withdraw coins a few times when calling to the rpc server it says balance is still on the server here i my peatio withdrawal output

it gives two fatals first 1:
I, [2017-11-15T11:02:33.447917 #2094] INFO -- : Received: {"id":9,"locale":"en"}
F, [2017-11-15T11:02:39.094403 #2094] FATAL -- : {"code"=>-1, "message"=>"settxfee \n is a real and is rounded to the nearest 0.01"} (CoinRPC::JSONRPCError)
second 1:
F, [2017-11-15T11:02:39.094579 #2094] FATAL -- : /home/deploy/peatio/current/app/services/coin_rpc.rb:34:in handle' /home/deploy/peatio/current/app/services/coin_rpc.rb:23:in method_missing'
/home/deploy/peatio/current/app/models/worker/withdraw_coin.rb:29:in `block in process'

I, [2017-11-15T11:02:33.447917 #2094] INFO -- : Received: {"id":9,"locale":"en"} F, [2017-11-15T11:02:39.094403 #2094] FATAL -- : {"code"=>-1, "message"=>"settxfee <amount>\n<amount> is a real and is rounded to the nearest 0.01"} (CoinRPC::JSONRPCError) /home/deploy/peatio/current/app/services/coin_rpc.rb:34:in handle'
/home/deploy/peatio/current/app/services/coin_rpc.rb:23:in method_missing' /home/deploy/peatio/current/app/models/worker/withdraw_coin.rb:29:in block in process'
/home/deploy/peatio/current/vendor/bundle/ruby/2.2.0/gems/activerecord-4.0.12/lib/active_record/connection_adapters/abstract/database_statements.rb:203:in block in transaction' /home/deploy/peatio/current/vendor/bundle/ruby/2.2.0/gems/activerecord-4.0.12/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in within_new_transaction'
/home/deploy/peatio/current/vendor/bundle/ruby/2.2.0/gems/activerecord-4.0.12/lib/active_record/connection_adapters/abstract/database_statements.rb:203:in transaction' /home/deploy/peatio/current/vendor/bundle/ruby/2.2.0/gems/activerecord-4.0.12/lib/active_record/transactions.rb:209:in transaction'
/home/deploy/peatio/current/app/models/worker/withdraw_coin.rb:18:in process' /home/deploy/peatio/current/lib/daemons/amqp_daemon.rb:61:in block (2 levels) in <top (required)>'
/home/deploy/peatio/current/vendor/bundle/ruby/2.2.0/gems/bunny-1.2.1/lib/bunny/consumer.rb:56:in call' /home/deploy/peatio/current/vendor/bundle/ruby/2.2.0/gems/bunny-1.2.1/lib/bunny/consumer.rb:56:in call'
/home/deploy/peatio/current/vendor/bundle/ruby/2.2.0/gems/bunny-1.2.1/lib/bunny/channel.rb:1672:in block in handle_frameset' /home/deploy/peatio/current/vendor/bundle/ruby/2.2.0/gems/bunny-1.2.1/lib/bunny/consumer_work_pool.rb:84:in call'
/home/deploy/peatio/current/vendor/bundle/ruby/2.2.0/gems/bunny-1.2.1/lib/bunny/consumer_work_pool.rb:84:in block (2 levels) in run_loop' /home/deploy/peatio/current/vendor/bundle/ruby/2.2.0/gems/bunny-1.2.1/lib/bunny/consumer_work_pool.rb:80:in loop'
/home/deploy/peatio/current/vendor/bundle/ruby/2.2.0/gems/bunny-1.2.1/lib/bunny/consumer_work_pool.rb:80:in block in run_loop' /home/deploy/peatio/current/vendor/bundle/ruby/2.2.0/gems/bunny-1.2.1/lib/bunny/consumer_work_pool.rb:79:in catch'
/home/deploy/peatio/current/vendor/bundle/ruby/2.2.0/gems/bunny-1.2.1/lib/bunny/consumer_work_pool.rb:79:in run_loop' F, [2017-11-15T11:02:39.094579 #2094] FATAL -- : /home/deploy/peatio/current/app/services/coin_rpc.rb:34:in handle'
/home/deploy/peatio/current/app/services/coin_rpc.rb:23:in method_missing' /home/deploy/peatio/current/app/models/worker/withdraw_coin.rb:29:in block in process'
/home/deploy/peatio/current/vendor/bundle/ruby/2.2.0/gems/activerecord-4.0.12/lib/active_record/connection_adapters/abstract/database_statements.rb:203:in block in transaction' /home/deploy/peatio/current/vendor/bundle/ruby/2.2.0/gems/activerecord-4.0.12/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in within_new_transaction'
/home/deploy/peatio/current/vendor/bundle/ruby/2.2.0/gems/activerecord-4.0.12/lib/active_record/connection_adapters/abstract/database_statements.rb:203:in transaction' /home/deploy/peatio/current/vendor/bundle/ruby/2.2.0/gems/activerecord-4.0.12/lib/active_record/transactions.rb:209:in transaction'
/home/deploy/peatio/current/app/models/worker/withdraw_coin.rb:18:in process' /home/deploy/peatio/current/lib/daemons/amqp_daemon.rb:61:in block (2 levels) in <top (required)>'
/home/deploy/peatio/current/vendor/bundle/ruby/2.2.0/gems/bunny-1.2.1/lib/bunny/consumer.rb:56:in call' /home/deploy/peatio/current/vendor/bundle/ruby/2.2.0/gems/bunny-1.2.1/lib/bunny/consumer.rb:56:in call'
/home/deploy/peatio/current/vendor/bundle/ruby/2.2.0/gems/bunny-1.2.1/lib/bunny/channel.rb:1672:in block in handle_frameset' /home/deploy/peatio/current/vendor/bundle/ruby/2.2.0/gems/bunny-1.2.1/lib/bunny/consumer_work_pool.rb:84:in call'
/home/deploy/peatio/current/vendor/bundle/ruby/2.2.0/gems/bunny-1.2.1/lib/bunny/consumer_work_pool.rb:84:in block (2 levels) in run_loop' /home/deploy/peatio/current/vendor/bundle/ruby/2.2.0/gems/bunny-1.2.1/lib/bunny/consumer_work_pool.rb:80:in loop'
/home/deploy/peatio/current/vendor/bundle/ruby/2.2.0/gems/bunny-1.2.1/lib/bunny/consumer_work_pool.rb:80:in block in run_loop' /home/deploy/peatio/current/vendor/bundle/ruby/2.2.0/gems/bunny-1.2.1/lib/bunny/consumer_work_pool.rb:79:in catch'
/home/deploy/peatio/current/vendor/bundle/ruby/2.2.0/gems/bunny-1.2.1/lib/bunny/consumer_work_pool.rb:79:in run_loop'

Production server not running

I followed two step installation on server (ubuntu 16.04).I am unable to access the server at ip after
sudo bundle exec rails server
and throwing me the folloeing error.

Warning: the running version of Bundler is older than the version that created the lockfile. We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
bundler: command not found: rails
Install missing gem executables with `bundle install`

Error doing precompile

Tried many different Ruby versions 2.2.2, 2.2.9, 2.4.3 and 2.5.0. All got precompile failed with the folllowing errors.

#bundle exec rake assets:precompile

  1. Sass::SyntaxError: Undefined mixin 'transform'.
    /home/deploy/peatio/scatterp/app/assets/stylesheets/market.css.scss:265:in `transform'

Commented out the transform calls in the market.css.scss and then got the following missing file error.

  1. Sprockets::FileNotFound: couldn't find file 'bootstrap-wysihtml5/b3' with type 'application/javascript'
    Checked in these paths:
    /home/deploy/peatio/scatterp/app/assets/images
    /home/deploy/peatio/scatterp/app/assets/javascripts

Please kindly advise.

bundle install error on mac

Hi,
When I deploy on mac , I get an error when run bundle install and the error said:
Could not find mina-slack-0.1.0 in any of the sources
Can anybody help me?

Couldn't create database and Couldn't create database ?

I have a problem like this. I need help!

root@DESKTOP-1HILGOC:~/peatio/current# bundle exec rake db:setup Couldn't create database for {"adapter"=>"mysql2", "encoding"=>"utf8", "database"=>"peatio_production", "username"=>"root", "password"=>nil, "pool"=>10, "reconnect"=>true}, {:charset=>"utf8", :collation=>"utf8_unicode_ci"} (If you set the charset manually, make sure you have a matching collation) -- create_table("account_versions", {:force=>true}) rake aborted! Mysql2::Error: c through socket '/var/run/mysqld/mysqld.sock' (2) /root/peatio/current/vendor/bundle/ruby/2.2.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:70:in connect'
/root/peatio/current/vendor/bundle/ruby/2.2.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:70:in initialize' /root/peatio/current/vendor/bundle/ruby/2.2.0/gems/activerecord-4.0.12/lib/active_record/connection_adapters/mysql2_adapter.rb:18:in new'
/root/peatio/current/vendor/bundle/ruby/2.2.0/gems/activerecord-4.0.12/lib/active_record/connection_adapters/mysql2_adapter.rb:18:in mysql2_connection' /root/peatio/current/vendor/bundle/ruby/2.2.0/gems/activerecord-4.0.12/lib/active_record/connection_adapters/abstract/connection_pool.rb:440:in new_connection'
/root/peatio/current/vendor/bundle/ruby/2.2.0/gems/activerecord-4.0.12/lib/active_record/connection_adapters/abstract/connection_pool.rb:450:in checkout_new_connection' /root/peatio/current/vendor/bundle/ruby/2.2.0/gems/activerecord-4.0.12/lib/active_record/connection_adapters/abstract/connection_pool.rb:421:in acquire_connection'
/root/peatio/current/vendor/bundle/ruby/2.2.0/gems/activerecord-4.0.12/lib/active_record/connection_adapters/abstract/connection_pool.rb:356:in block in checkout' /root/peatio/current/vendor/bundle/ruby/2.2.0/gems/activerecord-4.0.12/lib/active_record/connection_adapters/abstract/connection_pool.rb:355:in checkout'
/root/peatio/current/vendor/bundle/ruby/2.2.0/gems/activerecord-4.0.12/lib/active_record/connection_adapters/abstract/connection_pool.rb:265:in block in connection' /root/peatio/current/vendor/bundle/ruby/2.2.0/gems/activerecord-4.0.12/lib/active_record/connection_adapters/abstract/connection_pool.rb:264:in connection'
/root/peatio/current/vendor/bundle/ruby/2.2.0/gems/activerecord-4.0.12/lib/active_record/connection_adapters/abstract/connection_pool.rb:546:in retrieve_connection' /root/peatio/current/vendor/bundle/ruby/2.2.0/gems/activerecord-4.0.12/lib/active_record/connection_handling.rb:79:in retrieve_connection'
/root/peatio/current/vendor/bundle/ruby/2.2.0/gems/activerecord-4.0.12/lib/active_record/connection_handling.rb:53:in connection' /root/peatio/current/vendor/bundle/ruby/2.2.0/gems/activerecord-4.0.12/lib/active_record/migration.rb:615:in connection'
/root/peatio/current/vendor/bundle/ruby/2.2.0/gems/activerecord-4.0.12/lib/active_record/migration.rb:628:in block in method_missing' /root/peatio/current/vendor/bundle/ruby/2.2.0/gems/activerecord-4.0.12/lib/active_record/migration.rb:601:in block in say_with_time'
/root/peatio/current/vendor/bundle/ruby/2.2.0/gems/activerecord-4.0.12/lib/active_record/migration.rb:601:in say_with_time' /root/peatio/current/vendor/bundle/ruby/2.2.0/gems/activerecord-4.0.12/lib/active_record/migration.rb:621:in method_missing'
/root/peatio/current/db/schema.rb:16:in block in <top (required)>' /root/peatio/current/vendor/bundle/ruby/2.2.0/gems/activerecord-4.0.12/lib/active_record/schema.rb:42:in instance_eval'/root/peatio/current/vendor/bundle/ruby/2.2.0/gems/activerecord-4.0.12/lib/active_record/schema.rb:42:in define' /root/peatio/current/vendor/bundle/ruby/2.2.0/gems/activerecord-4.0.12/lib/active_record/schema.rb:62:in define'
/root/peatio/current/db/schema.rb:14:in <top (required)>' /root/peatio/current/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.12/lib/active_support/dependencies.rb:223:in load'/root/peatio/current/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.12/lib/active_support/dependencies.rb:223:in block in load' /root/peatio/current/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.12/lib/active_support/dependencies.rb:214:in load_dependency'
/root/peatio/current/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.12/lib/active_support/dependencies.rb:223:in load'/root/peatio/current/vendor/bundle/ruby/2.2.0/gems/activerecord-4.0.12/lib/active_record/railties/databases.rake:254:in block (3 levels) in <top (required)>'
/root/peatio/current/vendor/bundle/ruby/2.2.0/gems/activerecord-4.0.12/lib/active_record/railties/databases.rake:261:in block (3 levels) in <top (required)>' /root/.rbenv/versions/2.2.2/bin/bundle:23:in load'
/root/.rbenv/versions/2.2.2/bin/bundle:23:in <main>' Tasks: TOP => db:schema:load (See full trace by running task with --trace)

Setup Issue

Hi,

Been trying to setup for a while now to fiddle around, and finding it hard to find any forks that give a basic working platform. When I saw the install1.sh I was so happy, but ran it and still doesn't seem to work. Is there anything else to it?
I installed 16.04 ubuntu server. clone the rep, then ran install1.sh. Put in the details when asked. At end I can't seem to get to localhost:3000

Any insight would be appreciated.

Thanks

bundle exec rake db:setup" it gives me ERROR !!!!!

When i use "deploy@PEATIOIII:~/peatio/current$ bundle exec rake db:setup" it gives me this error "The git source git://github.com/scatterp/mina-slack.git is not yet checked out. Please run bundle install before trying to start your application
" . How can I solve it .Please Help !!!!!
screenshot from 2018-07-29 07-00-30

How to make an account as admin

Hi, thank you for your files. I was able to setup the server and able to create one account to login to the exchange. How can i make this account as admin as i like to take a look of the admin pages? What fields in the tables that i shall change in mysql?

Thanks.

Can't Run bundle exec rake db:setup

I need help with setting up databse. I am trying to setup database but can't run
bundle exec rake db:setup

I am getting below error:

bundle exec rake db:setup --trace W, [2017-12-29T19:06:09.929677 #7586] WARN -- : You are setting a key that conflicts with a built-in method OmniAuth::AuthHash::InfoHash#name defined at /home/neeraj/.rvm/gems/ruby-2.3.4/gems/omniauth-1.2.2/lib/omniauth/auth_hash.rb:34. This can cause unexpected behavior when accessing the key via as a property. You can still access the key via the #[] method. DEPRECATION WARNING: The factory_girl gem is deprecated. Please upgrade to factory_bot. See https://github.com/thoughtbot/factory_bot/blob/v4.9.0/UPGRADE_FROM_FACTORY_GIRL.md for further instructions. (called from <top (required)> at /home/neeraj/Documents/rails/peatio/config/application.rb:12) /home/neeraj/.rvm/gems/ruby-2.3.4/gems/figaro-1.1.1/lib/figaro/application.rb:84:in non_string_configuration!' : WARNING: Use strings for Figaro configuration. 60 was converted to "60". (StructuredWarnings::StandardWarning)
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/figaro-1.1.1/lib/figaro/application.rb:84:in non_string_configuration!' : WARNING: Use strings for Figaro configuration. 8080 was converted to "8080". (StructuredWarnings::StandardWarning) /home/neeraj/.rvm/gems/ruby-2.3.4/gems/figaro-1.1.1/lib/figaro/application.rb:84:in non_string_configuration!' : WARNING: Use strings for Figaro configuration. 65910 was converted to "65910". (StructuredWarnings::StandardWarning)
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/figaro-1.1.1/lib/figaro/application.rb:84:in non_string_configuration!' : WARNING: Use strings for Figaro configuration. 80 was converted to "80". (StructuredWarnings::StandardWarning) /home/neeraj/.rvm/gems/ruby-2.3.4/gems/figaro-1.1.1/lib/figaro/application.rb:84:in non_string_configuration!' : WARNING: Use strings for Figaro configuration. 80 was converted to "80". (StructuredWarnings::StandardWarning)
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/figaro-1.1.1/lib/figaro/application.rb:84:in non_string_configuration!' : WARNING: Use strings for Figaro configuration. 443 was converted to "443". (StructuredWarnings::StandardWarning) /home/neeraj/.rvm/gems/ruby-2.3.4/gems/figaro-1.1.1/lib/figaro/application.rb:84:in non_string_configuration!' : WARNING: Use strings for Figaro configuration. true was converted to "true". (StructuredWarnings::StandardWarning)
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/figaro-1.1.1/lib/figaro/application.rb:84:in non_string_configuration!' : WARNING: Use strings for Figaro configuration. true was converted to "true". (StructuredWarnings::StandardWarning) /home/neeraj/.rvm/gems/ruby-2.3.4/gems/figaro-1.1.1/lib/figaro/application.rb:84:in non_string_configuration!' : WARNING: Use strings for Figaro configuration. 3820920586 was converted to "3820920586". (StructuredWarnings::StandardWarning)
** Invoke db:setup (first_time)
** Invoke db:schema:load_if_ruby (first_time)
** Invoke db:create (first_time)
** Invoke db:load_config (first_time)
** Execute db:load_config
** Execute db:create
** Invoke environment (first_time)
** Execute environment
rake aborted!
ActiveRecord::StatementInvalid: Mysql2::Error: Table 'peatio_development.documents' doesn't exist: SHOW FULL FIELDS FROM documents
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:317:in query' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:317:in block in execute'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract_adapter.rb:484:in block in log' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in instrument'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract_adapter.rb:478:in log' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:317:in execute'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/activerecord-4.2.10/lib/active_record/connection_adapters/mysql2_adapter.rb:217:in execute' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:324:in execute_and_free'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:471:in columns' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/activerecord-4.2.10/lib/active_record/connection_adapters/schema_cache.rb:43:in columns'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/activerecord-4.2.10/lib/active_record/attributes.rb:93:in columns' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/activerecord-4.2.10/lib/active_record/attribute_methods/serialization.rb:62:in serialized_attributes'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/globalize-4.0.0/lib/globalize/active_record/act_macro.rb:53:in enable_serializable_attribute' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/globalize-4.0.0/lib/globalize/active_record/act_macro.rb:31:in block in allow_translation_of_attributes'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/globalize-4.0.0/lib/globalize/active_record/act_macro.rb:29:in each' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/globalize-4.0.0/lib/globalize/active_record/act_macro.rb:29:in allow_translation_of_attributes'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/globalize-4.0.0/lib/globalize/active_record/act_macro.rb:12:in translates' /home/neeraj/Documents/rails/peatio/app/models/document.rb:3:in class:Document'
/home/neeraj/Documents/rails/peatio/app/models/document.rb:1:in <top (required)>' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:457:in load'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:457:in block in load_file' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:647:in new_constants_in'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:456:in load_file' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:354:in require_or_load'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:317:in depend_on' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:233:in require_dependency'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/railties-4.2.10/lib/rails/engine.rb:472:in block (2 levels) in eager_load!' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/railties-4.2.10/lib/rails/engine.rb:471:in each'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/railties-4.2.10/lib/rails/engine.rb:471:in block in eager_load!' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/railties-4.2.10/lib/rails/engine.rb:469:in each'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/railties-4.2.10/lib/rails/engine.rb:469:in eager_load!' /home/neeraj/Documents/rails/peatio/config/routes.rb:1:in <top (required)>'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:268:in load' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:268:in block in load'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:240:in load_dependency' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:268:in load'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/railties-4.2.10/lib/rails/application/routes_reloader.rb:40:in block in load_paths' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/railties-4.2.10/lib/rails/application/routes_reloader.rb:40:in each'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/railties-4.2.10/lib/rails/application/routes_reloader.rb:40:in load_paths' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/railties-4.2.10/lib/rails/application/routes_reloader.rb:16:in reload!'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/railties-4.2.10/lib/rails/application/routes_reloader.rb:26:in block in updater' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.10/lib/active_support/file_update_checker.rb:75:in execute'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/railties-4.2.10/lib/rails/application/routes_reloader.rb:27:in updater' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/railties-4.2.10/lib/rails/application/routes_reloader.rb:7:in execute_if_updated'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/railties-4.2.10/lib/rails/application/finisher.rb:69:in block in <module:Finisher>' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/railties-4.2.10/lib/rails/initializable.rb:30:in instance_exec'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/railties-4.2.10/lib/rails/initializable.rb:30:in run' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/railties-4.2.10/lib/rails/initializable.rb:55:in block in run_initializers'
/usr/share/rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:228:in block in tsort_each' /usr/share/rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:350:in block (2 levels) in each_strongly_connected_component'
/usr/share/rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:431:in each_strongly_connected_component_from' /usr/share/rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:349:in block in each_strongly_connected_component'
/usr/share/rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:347:in each' /usr/share/rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:347:in call'
/usr/share/rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:347:in each_strongly_connected_component' /usr/share/rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:226:in tsort_each'
/usr/share/rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:205:in tsort_each' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/railties-4.2.10/lib/rails/initializable.rb:54:in run_initializers'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/railties-4.2.10/lib/rails/application.rb:352:in initialize!' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/railties-4.2.10/lib/rails/railtie.rb:194:in public_send'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/railties-4.2.10/lib/rails/railtie.rb:194:in method_missing' /home/neeraj/Documents/rails/peatio/config/environment.rb:6:in <top (required)>'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:274:in require' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:274:in block in require'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:240:in load_dependency' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:274:in require'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/railties-4.2.10/lib/rails/application.rb:328:in require_environment!' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/railties-4.2.10/lib/rails/application.rb:457:in block in run_tasks_blocks'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/task.rb:251:in block in execute' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/task.rb:251:in each'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/task.rb:251:in execute' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/task.rb:195:in block in invoke_with_call_chain'
/usr/share/rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/monitor.rb:214:in mon_synchronize' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/task.rb:188:in invoke_with_call_chain'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/task.rb:217:in block in invoke_prerequisites' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/task.rb:215:in each'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/task.rb:215:in invoke_prerequisites' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/task.rb:194:in block in invoke_with_call_chain'
/usr/share/rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/monitor.rb:214:in mon_synchronize' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/task.rb:188:in invoke_with_call_chain'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/task.rb:217:in block in invoke_prerequisites' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/task.rb:215:in each'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/task.rb:215:in invoke_prerequisites' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/task.rb:194:in block in invoke_with_call_chain'
/usr/share/rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/monitor.rb:214:in mon_synchronize' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/task.rb:188:in invoke_with_call_chain'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/task.rb:181:in invoke' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/application.rb:160:in invoke_task'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/application.rb:116:in block (2 levels) in top_level' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/application.rb:116:in each'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/application.rb:116:in block in top_level' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/application.rb:125:in run_with_threads'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/application.rb:110:in top_level' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/application.rb:83:in block in run'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/application.rb:186:in standard_exception_handling' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/application.rb:80:in run'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/exe/rake:27:in <top (required)>' /home/neeraj/.rvm/gems/ruby-2.3.4/bin/rake:22:in load'
/home/neeraj/.rvm/gems/ruby-2.3.4/bin/rake:22:in <main>' /home/neeraj/.rvm/gems/ruby-2.3.4/bin/ruby_executable_hooks:15:in eval'
/home/neeraj/.rvm/gems/ruby-2.3.4/bin/ruby_executable_hooks:15:in `

'

Caused by:
Mysql2::Error: Table 'peatio_development.documents' doesn't exist
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:317:in query' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:317:in block in execute'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract_adapter.rb:484:in block in log' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in instrument'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract_adapter.rb:478:in log' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:317:in execute'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/activerecord-4.2.10/lib/active_record/connection_adapters/mysql2_adapter.rb:217:in execute' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:324:in execute_and_free'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:471:in columns' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/activerecord-4.2.10/lib/active_record/connection_adapters/schema_cache.rb:43:in columns'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/activerecord-4.2.10/lib/active_record/attributes.rb:93:in columns' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/activerecord-4.2.10/lib/active_record/attribute_methods/serialization.rb:62:in serialized_attributes'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/globalize-4.0.0/lib/globalize/active_record/act_macro.rb:53:in enable_serializable_attribute' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/globalize-4.0.0/lib/globalize/active_record/act_macro.rb:31:in block in allow_translation_of_attributes'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/globalize-4.0.0/lib/globalize/active_record/act_macro.rb:29:in each' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/globalize-4.0.0/lib/globalize/active_record/act_macro.rb:29:in allow_translation_of_attributes'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/globalize-4.0.0/lib/globalize/active_record/act_macro.rb:12:in translates' /home/neeraj/Documents/rails/peatio/app/models/document.rb:3:in class:Document'
/home/neeraj/Documents/rails/peatio/app/models/document.rb:1:in <top (required)>' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:457:in load'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:457:in block in load_file' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:647:in new_constants_in'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:456:in load_file' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:354:in require_or_load'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:317:in depend_on' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:233:in require_dependency'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/railties-4.2.10/lib/rails/engine.rb:472:in block (2 levels) in eager_load!' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/railties-4.2.10/lib/rails/engine.rb:471:in each'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/railties-4.2.10/lib/rails/engine.rb:471:in block in eager_load!' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/railties-4.2.10/lib/rails/engine.rb:469:in each'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/railties-4.2.10/lib/rails/engine.rb:469:in eager_load!' /home/neeraj/Documents/rails/peatio/config/routes.rb:1:in <top (required)>'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:268:in load' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:268:in block in load'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:240:in load_dependency' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:268:in load'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/railties-4.2.10/lib/rails/application/routes_reloader.rb:40:in block in load_paths' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/railties-4.2.10/lib/rails/application/routes_reloader.rb:40:in each'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/railties-4.2.10/lib/rails/application/routes_reloader.rb:40:in load_paths' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/railties-4.2.10/lib/rails/application/routes_reloader.rb:16:in reload!'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/railties-4.2.10/lib/rails/application/routes_reloader.rb:26:in block in updater' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.10/lib/active_support/file_update_checker.rb:75:in execute'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/railties-4.2.10/lib/rails/application/routes_reloader.rb:27:in updater' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/railties-4.2.10/lib/rails/application/routes_reloader.rb:7:in execute_if_updated'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/railties-4.2.10/lib/rails/application/finisher.rb:69:in block in <module:Finisher>' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/railties-4.2.10/lib/rails/initializable.rb:30:in instance_exec'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/railties-4.2.10/lib/rails/initializable.rb:30:in run' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/railties-4.2.10/lib/rails/initializable.rb:55:in block in run_initializers'
/usr/share/rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:228:in block in tsort_each' /usr/share/rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:350:in block (2 levels) in each_strongly_connected_component'
/usr/share/rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:431:in each_strongly_connected_component_from' /usr/share/rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:349:in block in each_strongly_connected_component'
/usr/share/rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:347:in each' /usr/share/rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:347:in call'
/usr/share/rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:347:in each_strongly_connected_component' /usr/share/rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:226:in tsort_each'
/usr/share/rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:205:in tsort_each' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/railties-4.2.10/lib/rails/initializable.rb:54:in run_initializers'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/railties-4.2.10/lib/rails/application.rb:352:in initialize!' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/railties-4.2.10/lib/rails/railtie.rb:194:in public_send'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/railties-4.2.10/lib/rails/railtie.rb:194:in method_missing' /home/neeraj/Documents/rails/peatio/config/environment.rb:6:in <top (required)>'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:274:in require' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:274:in block in require'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:240:in load_dependency' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:274:in require'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/railties-4.2.10/lib/rails/application.rb:328:in require_environment!' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/railties-4.2.10/lib/rails/application.rb:457:in block in run_tasks_blocks'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/task.rb:251:in block in execute' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/task.rb:251:in each'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/task.rb:251:in execute' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/task.rb:195:in block in invoke_with_call_chain'
/usr/share/rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/monitor.rb:214:in mon_synchronize' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/task.rb:188:in invoke_with_call_chain'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/task.rb:217:in block in invoke_prerequisites' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/task.rb:215:in each'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/task.rb:215:in invoke_prerequisites' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/task.rb:194:in block in invoke_with_call_chain'
/usr/share/rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/monitor.rb:214:in mon_synchronize' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/task.rb:188:in invoke_with_call_chain'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/task.rb:217:in block in invoke_prerequisites' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/task.rb:215:in each'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/task.rb:215:in invoke_prerequisites' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/task.rb:194:in block in invoke_with_call_chain'
/usr/share/rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/monitor.rb:214:in mon_synchronize' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/task.rb:188:in invoke_with_call_chain'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/task.rb:181:in invoke' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/application.rb:160:in invoke_task'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/application.rb:116:in block (2 levels) in top_level' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/application.rb:116:in each'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/application.rb:116:in block in top_level' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/application.rb:125:in run_with_threads'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/application.rb:110:in top_level' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/application.rb:83:in block in run'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/application.rb:186:in standard_exception_handling' /home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/lib/rake/application.rb:80:in run'
/home/neeraj/.rvm/gems/ruby-2.3.4/gems/rake-12.2.1/exe/rake:27:in <top (required)>' /home/neeraj/.rvm/gems/ruby-2.3.4/bin/rake:22:in load'
/home/neeraj/.rvm/gems/ruby-2.3.4/bin/rake:22:in <main>' /home/neeraj/.rvm/gems/ruby-2.3.4/bin/ruby_executable_hooks:15:in eval'
/home/neeraj/.rvm/gems/ruby-2.3.4/bin/ruby_executable_hooks:15:in <main>' Tasks: TOP => db:setup => db:schema:load_if_ruby => environment
Anyone have this issue before?
Please help thanks

Solvency

Hi,

I installed script, but i didint start Solvency proof menu ?

mismatch Gemfile and Gemfile.lock

user@ubuntu:~/peatio/current$ bundle install

The git source git://github.com/scatterp/unread.git uses the git protocol, which transmits data without encryption. Disable this warning with bundle config git.allow_insecure true, or switch to the https protocol to keep your data secure.
The git source git://github.com/scatterp/mina-slack.git uses the git protocol, which transmits data without encryption. Disable this warning with bundle config git.allow_insecure true, or switch to the https protocol to keep your data secure.
Fetching git://github.com/scatterp/mina-slack.git

Fetching gem metadata from https://rubygems.org/.......
Fetching gem metadata from https://rubygems.org/.
You have requested:
omniauth ~> 1.2.2

The bundle currently has omniauth locked at 1.8.1.
Try running bundle update omniauth

If you are updating multiple gems in your Gemfile at once,
try passing them all to bundle update
user@ubuntu:~/peatio/current$

did not find expected key while parsing a block mapping at line 6 column 3

Hi scatterp,

Trying your fork and running the install1.sh. When it gets to this line:

bundle exec rake db:setup

I get this error:

docker@0e4b90510eea:~/peatio/current$ bundle exec rake db:setup
rake aborted!
Psych::SyntaxError: (<unknown>): did not find expected key while parsing a block mapping at line 6 column 3
/home/docker/peatio/current/vendor/bundle/ruby/2.2.0/gems/figaro-0.7.0/lib/figaro.rb:21:in `raw'
/home/docker/peatio/current/vendor/bundle/ruby/2.2.0/gems/figaro-0.7.0/lib/figaro.rb:17:in `env'
/home/docker/peatio/current/vendor/bundle/ruby/2.2.0/gems/figaro-0.7.0/lib/figaro/railtie.rb:7:in `block in <class:Railtie>'
/home/docker/peatio/current/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.12/lib/active_support/lazy_load_hooks.rb:36:in `call'
/home/docker/peatio/current/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.12/lib/active_support/lazy_load_hooks.rb:36:in `execute_hook'
/home/docker/peatio/current/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.12/lib/active_support/lazy_load_hooks.rb:45:in `block in run_load_hooks'
/home/docker/peatio/current/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.12/lib/active_support/lazy_load_hooks.rb:44:in `each'
/home/docker/peatio/current/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.12/lib/active_support/lazy_load_hooks.rb:44:in `run_load_hooks'
/home/docker/peatio/current/vendor/bundle/ruby/2.2.0/gems/railties-4.0.12/lib/rails/application.rb:67:in `inherited'
/home/docker/peatio/current/config/application.rb:15:in `<module:Peatio>'
/home/docker/peatio/current/config/application.rb:14:in `<top (required)>'
/home/docker/peatio/current/Rakefile:5:in `require'
/home/docker/peatio/current/Rakefile:5:in `<top (required)>'
/home/docker/.rbenv/versions/2.2.1/bin/bundle:23:in `load'
/home/docker/.rbenv/versions/2.2.1/bin/bundle:23:in `<main>'
(See full trace by running task with --trace)
docker@0e4b90510eea:~/peatio/current$

I am running this inside a Docker container.

Any idea what this might be?

Thanks!

Production version won't build

After running

bundle install --without development test --path vendor/bundle
i'm getting this:
git://github.com/peatio/unread.git fatal: remote error: Repository not found.

How to add funds to wallet without db modification (because instant reject)

is it possible to add funds i deposited some litecoin howver forgot to add the curl line to litecoin.conf so it didnt got added into my account i know directly modifying the database rejects any withdrawal afterwards

And in the admin panel it now shows hot wallet balance 0.098 and cold wallet shows -0.098 sum and balance are 0.0

I feel close, but something is wrong.

peatio/spec/factories/payment_addresses.rb:11:in block (3 levels) in <top (required)>': undefined method id' for nil:NilClass (NoMethodError)
from /root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/factory_girl-4.3.0/lib/factory_girl/trait.rb:12:in instance_eval' from /root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/factory_girl-4.3.0/lib/factory_girl/trait.rb:12:in initialize'
from /root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/factory_girl-4.3.0/lib/factory_girl/definition_proxy.rb:161:in new' from /root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/factory_girl-4.3.0/lib/factory_girl/definition_proxy.rb:161:in trait'
from /root/daemon/bitcoin/bin/peatio/spec/factories/payment_addresses.rb:8:in block (2 levels) in <top (required)>' from /root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/factory_girl-4.3.0/lib/factory_girl/syntax/default.rb:18:in instance_eval'
from /root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/factory_girl-4.3.0/lib/factory_girl/syntax/default.rb:18:in factory' from /root/daemon/bitcoin/bin/peatio/spec/factories/payment_addresses.rb:4:in block in <top (required)>'
from /root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/factory_girl-4.3.0/lib/factory_girl/syntax/default.rb:49:in instance_eval' from /root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/factory_girl-4.3.0/lib/factory_girl/syntax/default.rb:49:in run'
from /root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/factory_girl-4.3.0/lib/factory_girl/syntax/default.rb:7:in define' from /root/daemon/bitcoin/bin/peatio/spec/factories/payment_addresses.rb:3:in <top (required)>'
from /root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.0.12/lib/active_support/dependencies.rb:223:in load' from /root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.0.12/lib/active_support/dependencies.rb:223:in block in load'
from /root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.0.12/lib/active_support/dependencies.rb:214:in load_dependency' from /root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.0.12/lib/active_support/dependencies.rb:223:in load'
from /root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/factory_girl-4.3.0/lib/factory_girl/find_definitions.rb:20:in block (2 levels) in find_definitions' from /root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/factory_girl-4.3.0/lib/factory_girl/find_definitions.rb:19:in each'
from /root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/factory_girl-4.3.0/lib/factory_girl/find_definitions.rb:19:in block in find_definitions' from /root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/factory_girl-4.3.0/lib/factory_girl/find_definitions.rb:15:in each'
from /root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/factory_girl-4.3.0/lib/factory_girl/find_definitions.rb:15:in find_definitions' from /root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/factory_girl_rails-4.3.0/lib/factory_girl_rails/railtie.rb:21:in block in class:Railtie'
from /root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.0.12/lib/active_support/lazy_load_hooks.rb:36:in call' from /root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.0.12/lib/active_support/lazy_load_hooks.rb:36:in execute_hook'
from /root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.0.12/lib/active_support/lazy_load_hooks.rb:45:in block in run_load_hooks' from /root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.0.12/lib/active_support/lazy_load_hooks.rb:44:in each'
from /root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.0.12/lib/active_support/lazy_load_hooks.rb:44:in run_load_hooks' from /root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/railties-4.0.12/lib/rails/application/finisher.rb:62:in block in module:Finisher'
from /root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/railties-4.0.12/lib/rails/initializable.rb:30:in instance_exec' from /root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/railties-4.0.12/lib/rails/initializable.rb:30:in run'
from /root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/railties-4.0.12/lib/rails/initializable.rb:55:in block in run_initializers' from /root/.rbenv/versions/2.2.1/lib/ruby/2.2.0/tsort.rb:226:in block in tsort_each'
from /root/.rbenv/versions/2.2.1/lib/ruby/2.2.0/tsort.rb:348:in block (2 levels) in each_strongly_connected_component' from /root/.rbenv/versions/2.2.1/lib/ruby/2.2.0/tsort.rb:429:in each_strongly_connected_component_from'
from /root/.rbenv/versions/2.2.1/lib/ruby/2.2.0/tsort.rb:347:in block in each_strongly_connected_component' from /root/.rbenv/versions/2.2.1/lib/ruby/2.2.0/tsort.rb:345:in each'
from /root/.rbenv/versions/2.2.1/lib/ruby/2.2.0/tsort.rb:345:in call' from /root/.rbenv/versions/2.2.1/lib/ruby/2.2.0/tsort.rb:345:in each_strongly_connected_component'
from /root/.rbenv/versions/2.2.1/lib/ruby/2.2.0/tsort.rb:224:in tsort_each' from /root/.rbenv/versions/2.2.1/lib/ruby/2.2.0/tsort.rb:203:in tsort_each'
from /root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/railties-4.0.12/lib/rails/initializable.rb:54:in run_initializers' from /root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/railties-4.0.12/lib/rails/application.rb:215:in initialize!'
from /root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/railties-4.0.12/lib/rails/railtie/configurable.rb:30:in method_missing' from /root/daemon/bitcoin/bin/peatio/config/environment.rb:5:in <top (required)>'
from /root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.0.12/lib/active_support/dependencies.rb:229:in require' from /root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.0.12/lib/active_support/dependencies.rb:229:in block in require'
from /root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.0.12/lib/active_support/dependencies.rb:214:in load_dependency' from /root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.0.12/lib/active_support/dependencies.rb:229:in require'
from /root/daemon/bitcoin/bin/peatio/config.ru:3:in block in <main>' from /root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rack-1.5.2/lib/rack/builder.rb:55:in instance_eval'
from /root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rack-1.5.2/lib/rack/builder.rb:55:in initialize' from /root/daemon/bitcoin/bin/peatio/config.ru:in new'
from /root/daemon/bitcoin/bin/peatio/config.ru:in <main>' from /root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rack-1.5.2/lib/rack/builder.rb:49:in eval'
from /root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rack-1.5.2/lib/rack/builder.rb:49:in new_from_string' from /root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rack-1.5.2/lib/rack/builder.rb:40:in parse_file'
from /root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rack-1.5.2/lib/rack/server.rb:277:in build_app_and_options_from_config' from /root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rack-1.5.2/lib/rack/server.rb:199:in app'
from /root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/railties-4.0.12/lib/rails/commands/server.rb:48:in app' from /root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rack-1.5.2/lib/rack/server.rb:314:in wrapped_app'
from /root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/railties-4.0.12/lib/rails/commands/server.rb:75:in start' from /root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/railties-4.0.12/lib/rails/commands.rb:76:in block in <top (required)>'
from /root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/railties-4.0.12/lib/rails/commands.rb:71:in tap' from /root/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/railties-4.0.12/lib/rails/commands.rb:71:in <top (required)>'
from bin/rails:4:in require' from bin/rails:4:in

'

3 server why not 2 ?

The multiserver documentation states 3 servers a mysql server a webserver and bitcoind/rabbit-mq server cant it just be
a mysql/webserver and a bitcoind/rabbitmq server?

bundle exec rake db:setup => produces error

I have added my database permissions to the ./config/database.yml but I am getting the following error every time. I have tried running the command from sudo as well. Thx

ub:/usr/local/share/code/peatio$ bundle exec rake db:setup --trace
rake aborted!
NoMethodError: undefined method yield_self' for false:FalseClass /usr/local/share/code/peatio/config/plugins.rb:1:in <top (required)>'
/usr/local/share/code/peatio/config/application.rb:12:in require_relative' /usr/local/share/code/peatio/config/application.rb:12:in <top (required)>'
/usr/local/share/code/peatio/Rakefile:5:in require' /usr/local/share/code/peatio/Rakefile:5:in <top (required)>'
/var/lib/gems/2.3.0/gems/rake-12.3.1/lib/rake/rake_module.rb:29:in load' /var/lib/gems/2.3.0/gems/rake-12.3.1/lib/rake/rake_module.rb:29:in load_rakefile'
/var/lib/gems/2.3.0/gems/rake-12.3.1/lib/rake/application.rb:703:in raw_load_rakefile' /var/lib/gems/2.3.0/gems/rake-12.3.1/lib/rake/application.rb:104:in block in load_rakefile'
/var/lib/gems/2.3.0/gems/rake-12.3.1/lib/rake/application.rb:186:in standard_exception_handling' /var/lib/gems/2.3.0/gems/rake-12.3.1/lib/rake/application.rb:103:in load_rakefile'
/var/lib/gems/2.3.0/gems/rake-12.3.1/lib/rake/application.rb:82:in block in run' /var/lib/gems/2.3.0/gems/rake-12.3.1/lib/rake/application.rb:186:in standard_exception_handling'
/var/lib/gems/2.3.0/gems/rake-12.3.1/lib/rake/application.rb:80:in run' /var/lib/gems/2.3.0/gems/rake-12.3.1/exe/rake:27:in <top (required)>'
/usr/local/bin/rake:23:in load' /usr/local/bin/rake:23:in

'

add monero and cryptonote

buenas. he incrementado varias monedas ltc, dash, doge, zec, btc.
estoy intentando añadir a monero y algunas cryptonote, no soy capaz y creo que tengo todo la incrementacion bien.
me podrían decir con detalles la parte de los demonios como a de ser o alguna guia a seguir.

gracias.

good. I have increased several currencies ltc, dash, doge, zec, btc.
I'm trying to add monero and some cryptonote, I'm not capable and I think I have all the increase well.
They could tell me in detail the part of the demons as to be or some guide to follow.
Thank you.

Euro Depoist not working

When I deposit Euro. I get this error.
Started POST "/deposits/banks" for 192.168.1.41 at 2017-11-01 14:48:43 +0530 Processing by Private::Deposits::BanksController#create as HTML Parameters: {"deposit"=>{"account_id"=>9, "member_id"=>2, "currency"=>"eur", "amount"=>5000, "fund_source"=>2}, "bank"=>{"deposit"=>{"account_id"=>9, "member_id"=>2, "currency"=>"eur", "amount"=>5000, "fund_source"=>2}}} Member Load (0.2ms) SELECT members.* FROM membersWHEREmembers.disabled= 0 ANDmembers.id= 2 ORDER BYmembers.id ASC LIMIT 1 (0.3ms) SELECT SUM(trades.volume) AS sum_id FROM tradesWHEREtrades.currency = 8 AND (created_at > '2017-10-31 14:48:45') (0.3ms) SELECT SUM(trades.volume) AS sum_id FROM tradesWHEREtrades.currency= 9 AND (created_at > '2017-10-31 14:48:46') Account Load (1.3ms) SELECTaccounts.* FROM accountsWHEREaccounts.member_id= 2 IdDocument Load (18.9ms) SELECTid_documents.* FROM id_documentsWHEREid_documents.member_id= 2 LIMIT 1 #<Member id: 2, sn: "PEATZUJKUCVTIO", display_name: nil, email: "[email protected]", identity_id: nil, created_at: "2017-10-30 10:30:22", updated_at: "2017-10-30 11:04:17", state: nil, activated: true, country_code: nil, phone_number: nil, disabled: false, api_disabled: false, nickname: nil> #<DepositChannel:0x00000006e11d28 @attributes={:id=>400, :key=>"bank", :currency=>"eur", :sort_order=>2, :bank_accounts=>[{"bank"=>"Your Bank Name", "branch"=>"Your Bank Branch", "holder"=>"Your Account Holder", "account"=>"Your Account Number"}]}> Account Load (0.8ms) SELECTaccounts.* FROM accountsWHEREaccounts.member_id= 2 ANDaccounts.currency= 1 ORDER BYaccounts.id` ASC LIMIT 1
Completed 500 Internal Server Error in 3423ms

ActiveRecord::UnknownAttributeError (unknown attribute: fund_source):
app/controllers/concerns/deposits/ctrl_bankable.rb:10:in create' lib/middleware/security.rb:11:in call'
lib/middleware/i18n_js.rb:9:in `call'

Rendered /home/br/.rvm/gems/ruby-2.2.1@rails4012/gems/actionpack-4.0.12/lib/action_dispatch/middleware/templates/rescues/_source.erb (32.0ms)
Rendered /home/br/.rvm/gems/ruby-2.2.1@rails4012/gems/actionpack-4.0.12/lib/action_dispatch/middleware/templates/rescues/_trace.erb (36.0ms)
Rendered /home/br/.rvm/gems/ruby-2.2.1@rails4012/gems/actionpack-4.0.12/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (35.5ms)
Rendered /home/br/.rvm/gems/ruby-2.2.1@rails4012/gems/actionpack-4.0.12/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (280.0ms)`

eur_deposit_issue

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.