homeland-docker icon indicating copy to clipboard operation
homeland-docker copied to clipboard

同样是使用最新版本的make install 命令出差

Open examplecode opened this issue 6 years ago • 1 comments

Starting homeland_postgresql ... Starting homeland_postgresql ... done Starting homeland_elasticsearch ... done Starting homeland_postgresql ... Starting homeland_postgresql ... done Starting homeland_elasticsearch ... done rails aborted! PG::ConnectionBad: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"? /home/app/homeland/vendor/bundle/ruby/2.5.0/gems/pg-1.0.0/lib/pg.rb:56:in initialize' /home/app/homeland/vendor/bundle/ruby/2.5.0/gems/pg-1.0.0/lib/pg.rb:56:in new' /home/app/homeland/vendor/bundle/ruby/2.5.0/gems/pg-1.0.0/lib/pg.rb:56:in connect' /home/app/homeland/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb:684:in connect' /home/app/homeland/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb:215:in initialize' /home/app/homeland/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb:40:in new' /home/app/homeland/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb:40:in postgresql_connection' /home/app/homeland/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:809:in new_connection' /home/app/homeland/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:853:in checkout_new_connection' /home/app/homeland/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:832:in try_to_checkout_new_connection' /home/app/homeland/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:793:in acquire_connection' /home/app/homeland/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:521:in checkout' /home/app/homeland/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:380:in connection' /home/app/homeland/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:1008:in retrieve_connection'

examplecode avatar Nov 11 '18 07:11 examplecode

亲测把版本切换到下面的分支可以正常安装部署

commit 5d9cdb300e99d0374611a370d93a85cbd5ced836
Author: Jason Lee <[email protected]>
Date:   Mon Apr 9 10:23:20 2018 +0800

    Ruby 2.5.1

examplecode avatar Nov 11 '18 09:11 examplecode