W: /app/.global/gems/activerecord-6.1.4.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:1128:in `retrieve_connection' W: /app/.global/gems/activerecord-6.1.4.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:428:in `connection' W: /app/.global/gems/activerecord-6.1.4.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:588:in `checkout' W: /app/.global/gems/activerecord-6.1.4.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:866:in `acquire_connection' W: /app/.global/gems/activerecord-6.1.4.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:905:in `try_to_checkout_new_connection' W: /app/.global/gems/activerecord-6.1.4.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:926:in `checkout_new_connection' W: /app/.global/gems/activerecord-6.1.4.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:882:in `new_connection' W: /app/.global/gems/activerecord-6.1.4.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:882:in `public_send' W: /app/.global/gems/activerecord-6.1.4.1/lib/active_record/connection_adapters/postgresql_adapter.rb:37:in `postgresql_connection' W: /app/.global/gems/activerecord-6.1.4.1/lib/active_record/connection_adapters/postgresql_adapter.rb:77:in `new_client' W: /app/.global/gems/activerecord-6.1.4.1/lib/active_record/connection_adapters/postgresql_adapter.rb:83:in `rescue in new_client' W: ActiveRecord::ConnectionNotEstablished: could not translate host name "database.internal" to address: Name or service not known The log level has been raised to WARN and the output directed to STDERR until the problem is fixed. Please ensure that /app/log/production.log exists and is writable (ie, make it writable for user and group: chmod 0664 /app/log/production.log). W: Rails Error: Unable to access log file. The error message: Executing deploy hook for application lnclassapp Hello when deploying my application on platform.sh, the deployment succeeds, but I see that the connection to the database is problematic.Īnd actually, I don’t know how to do the configuration for Platform.sh
0 Comments
Leave a Reply. |