We Will Go Above And Beyond To Answer Your Queries, Because We Care!

Welcome To The Fastest Growing Digital Marketing Forum On The Planet… soon on Mars 😅🚀

Notifications
Clear all

Postal Install if failing using the manual install step by step guide

maku2021
(@maku2021)
New Member

I am using your manual install guide and it was failing at the postal initialize command.

 

 

Here is the error display details:

root@smtp:~# postal initialize --trace
Initializing database
rake aborted!
Mysql2 Access denied for user 'postal'@'localhost' (using password: YES)
/opt/postal/vendor/bundle/ruby/2.3.0/gems/mysql2-0.5.3/lib/mysql2/client.rbin `connect'
/opt/postal/vendor/bundle/ruby/2.3.0/gems/mysql2-0.5.3/lib/mysql2/client.rbin `initialize'
/opt/postal/vendor/bundle/ruby/2.3.0/gems/activerecord-5.2.4.3/lib/active_record/connection_adapters/mysql2_adapter.rbin `new'
/opt/postal/vendor/bundle/ruby/2.3.0/gems/activerecord-5.2.4.3/lib/active_record/connection_adapters/mysql2_adapter.rbin `mysql2_connection'
/opt/postal/vendor/bundle/ruby/2.3.0/gems/activerecord-5.2.4.3/lib/active_record/connection_adapters/abstract/connection_pool.rbin `new_connection'
/opt/postal/vendor/bundle/ruby/2.3.0/gems/activerecord-5.2.4.3/lib/active_record/connection_adapters/abstract/connection_pool.rbin `checkout_new_connection'
/opt/postal/vendor/bundle/ruby/2.3.0/gems/activerecord-5.2.4.3/lib/active_record/connection_adapters/abstract/connection_pool.rbin `try_to_checkout_new_connection'
/opt/postal/vendor/bundle/ruby/2.3.0/gems/activerecord-5.2.4.3/lib/active_record/connection_adapters/abstract/connection_pool.rbin `acquire_connection'
/opt/postal/vendor/bundle/ruby/2.3.0/gems/activerecord-5.2.4.3/lib/active_record/connection_adapters/abstract/connection_pool.rbin `checkout'
/opt/postal/vendor/bundle/ruby/2.3.0/gems/activerecord-5.2.4.3/lib/active_record/connection_adapters/abstract/connection_pool.rbin `connection'
/opt/postal/vendor/bundle/ruby/2.3.0/gems/activerecord-5.2.4.3/lib/active_record/connection_adapters/abstract/connection_pool.rbin `retrieve_connection'
/opt/postal/vendor/bundle/ruby/2.3.0/gems/activerecord-5.2.4.3/lib/active_record/connection_handling.rbin `retrieve_connection'
/opt/postal/vendor/bundle/ruby/2.3.0/gems/activerecord-5.2.4.3/lib/active_record/connection_handling.rbin `connection'
/opt/postal/vendor/bundle/ruby/2.3.0/gems/activerecord-5.2.4.3/lib/active_record/tasks/database_tasks.rbin `check_protected_environments!'
/opt/postal/vendor/bundle/ruby/2.3.0/gems/activerecord-5.2.4.3/lib/active_record/railties/databases.rakein `block (2 levels) in <top (required)>'
/opt/postal/vendor/bundle/ruby/2.3.0/gems/rake-12.3.3/exe/rakein `<top (required)>'
Tasks: TOP => dbload => db:check_protected_environments
(See full trace by running task with --trace)

Quote
Topic starter Posted : 02/06/2021 12:32 pm
Topic Tags
Mohammad Riyaduzzaman Riyad
(@vetriyad)
Trusted Member
Posted by: @maku2021

I am using your manual install guide and it was failing at the postal initialize command.

 

 

Here is the error display details:

root@smtp:~# postal initialize --trace
Initializing database
rake aborted!
Mysql2 Access denied for user 'postal'@'localhost' (using password: YES)
/opt/postal/vendor/bundle/ruby/2.3.0/gems/mysql2-0.5.3/lib/mysql2/client.rbin `connect'
/opt/postal/vendor/bundle/ruby/2.3.0/gems/mysql2-0.5.3/lib/mysql2/client.rbin `initialize'
/opt/postal/vendor/bundle/ruby/2.3.0/gems/activerecord-5.2.4.3/lib/active_record/connection_adapters/mysql2_adapter.rbin `new'
/opt/postal/vendor/bundle/ruby/2.3.0/gems/activerecord-5.2.4.3/lib/active_record/connection_adapters/mysql2_adapter.rbin `mysql2_connection'
/opt/postal/vendor/bundle/ruby/2.3.0/gems/activerecord-5.2.4.3/lib/active_record/connection_adapters/abstract/connection_pool.rbin `new_connection'
/opt/postal/vendor/bundle/ruby/2.3.0/gems/activerecord-5.2.4.3/lib/active_record/connection_adapters/abstract/connection_pool.rbin `checkout_new_connection'
/opt/postal/vendor/bundle/ruby/2.3.0/gems/activerecord-5.2.4.3/lib/active_record/connection_adapters/abstract/connection_pool.rbin `try_to_checkout_new_connection'
/opt/postal/vendor/bundle/ruby/2.3.0/gems/activerecord-5.2.4.3/lib/active_record/connection_adapters/abstract/connection_pool.rbin `acquire_connection'
/opt/postal/vendor/bundle/ruby/2.3.0/gems/activerecord-5.2.4.3/lib/active_record/connection_adapters/abstract/connection_pool.rbin `checkout'
/opt/postal/vendor/bundle/ruby/2.3.0/gems/activerecord-5.2.4.3/lib/active_record/connection_adapters/abstract/connection_pool.rbin `connection'
/opt/postal/vendor/bundle/ruby/2.3.0/gems/activerecord-5.2.4.3/lib/active_record/connection_adapters/abstract/connection_pool.rbin `retrieve_connection'
/opt/postal/vendor/bundle/ruby/2.3.0/gems/activerecord-5.2.4.3/lib/active_record/connection_handling.rbin `retrieve_connection'
/opt/postal/vendor/bundle/ruby/2.3.0/gems/activerecord-5.2.4.3/lib/active_record/connection_handling.rbin `connection'
/opt/postal/vendor/bundle/ruby/2.3.0/gems/activerecord-5.2.4.3/lib/active_record/tasks/database_tasks.rbin `check_protected_environments!'
/opt/postal/vendor/bundle/ruby/2.3.0/gems/activerecord-5.2.4.3/lib/active_record/railties/databases.rakein `block (2 levels) in <top (required)>'
/opt/postal/vendor/bundle/ruby/2.3.0/gems/rake-12.3.3/exe/rakein `<top (required)>'
Tasks: TOP => dbload => db:check_protected_environments
(See full trace by running task with --trace)

Simply reinstall your VPS and follow the instruction of this article step by step. I will work because I've installed a postal an hour ago using the command.

Postal SMTP Manual Installation – Step By Step (Updated + All Fixes)

ReplyQuote
Posted : 07/06/2021 4:27 am
Share: