Hi @surgbc , As per your recommendation i tried installing forem with dokku. Currently im not able to successfully deploy it. I can see the following error during deployment.
from /app/bin/bundle:3:in `<main>'
/app/vendor/bundle/ruby/3.0.0/gems/pg-1.4.2/lib/pg/connection.rb:598:in `async_connect_or_reset': connection to server at "127.0.0.1", port 6000 failed: ERROR: server login failed: wrong password type(PG::ConnectionBad)
from /app/vendor/bundle/ruby/3.0.0/gems/pg-1.4.2/lib/pg/connection.rb:750:in `connect_internal'
from /app/vendor/bundle/ruby/3.0.0/gems/pg-1.4.2/lib/pg/connection.rb:726:in `block (2 levels) in connect_to_hosts'
from /app/vendor/bundle/ruby/3.0.0/gems/pg-1.4.2/lib/pg/connection.rb:724:in `each'
from /app/vendor/bundle/ruby/3.0.0/gems/pg-1.4.2/lib/pg/connection.rb:724:in `block in connect_to_hosts'
from /app/vendor/bundle/ruby/3.0.0/gems/pg-1.4.2/lib/pg/connection.rb:710:in `each'
from /app/vendor/bundle/ruby/3.0.0/gems/pg-1.4.2/lib/pg/connection.rb:710:in `each_with_index'
from /app/vendor/bundle/ruby/3.0.0/gems/pg-1.4.2/lib/pg/connection.rb:710:in `connect_to_hosts'
from /app/vendor/bundle/ruby/3.0.0/gems/pg-1.4.2/lib/pg/connection.rb:661:in `new'
from /app/vendor/bundle/ruby/3.0.0/gems/pg-1.4.2/lib/pg.rb:69:in `connect'
from /app/vendor/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/postgresql_adapter.rb:78:in `new_client'
from /app/vendor/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/postgresql_adapter.rb:37:in `postgresql_connection'
from /app/vendor/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `public_send'
from /app/vendor/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `new_connection'
from /app/vendor/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:700:in `checkout_new_connection'
from /app/vendor/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:679:in `try_to_checkout_new_connection'
from /app/vendor/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:640:in `acquire_connection'
from /app/vendor/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:341:in `checkout'
from /app/vendor/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:181:in `connection'
from /app/vendor/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_handler.rb:211:in `retrieve_connection'
from /app/vendor/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:313:in `retrieve_connection'
from /app/vendor/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:280:in `connection'
from /app/config/initializers/hypershield.rb:11:in `<main>'
from /app/vendor/bundle/ruby/3.0.0/gems/railties-7.0.3.1/lib/rails/engine.rb:667:in `load'
from /app/vendor/bundle/ruby/3.0.0/gems/railties-7.0.3.1/lib/rails/engine.rb:667:in `block in load_config_initializer'
from /app/vendor/bundle/ruby/3.0.0/gems/activesupport-7.0.3.1/lib/active_support/notifications.rb:208:in `instrument'
from /app/vendor/bundle/ruby/3.0.0/gems/railties-7.0.3.1/lib/rails/engine.rb:666:in `load_config_initializer'
from /app/vendor/bundle/ruby/3.0.0/gems/railties-7.0.3.1/lib/rails/engine.rb:620:in `block (2 levels)in <class:Engine>'
from /app/vendor/bundle/ruby/3.0.0/gems/railties-7.0.3.1/lib/rails/engine.rb:619:in `each'
from /app/vendor/bundle/ruby/3.0.0/gems/railties-7.0.3.1/lib/rails/engine.rb:619:in `block in <class:Engine>'
from /app/vendor/bundle/ruby/3.0.0/gems/railties-7.0.3.1/lib/rails/initializable.rb:32:in `instance_exec'
from /app/vendor/bundle/ruby/3.0.0/gems/railties-7.0.3.1/lib/rails/initializable.rb:32:in `run'
from /app/vendor/bundle/ruby/3.0.0/gems/railties-7.0.3.1/lib/rails/initializable.rb:61:in `block in run_initializers'
from /app/vendor/ruby-3.0.2/lib/ruby/3.0.0/tsort.rb:228:in `block in tsort_each'
from /app/vendor/ruby-3.0.2/lib/ruby/3.0.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
from /app/vendor/ruby-3.0.2/lib/ruby/3.0.0/tsort.rb:422:in `block (2 levels)in each_strongly_connected_component_from'
from /app/vendor/ruby-3.0.2/lib/ruby/3.0.0/tsort.rb:431:in `each_strongly_connected_component_from'
from /app/vendor/ruby-3.0.2/lib/ruby/3.0.0/tsort.rb:421:in `block in each_strongly_connected_component_from'
from /app/vendor/bundle/ruby/3.0.0/gems/railties-7.0.3.1/lib/rails/initializable.rb:50:in `each'
from /app/vendor/bundle/ruby/3.0.0/gems/railties-7.0.3.1/lib/rails/initializable.rb:50:in `tsort_each_child'
from /app/vendor/ruby-3.0.2/lib/ruby/3.0.0/tsort.rb:415:in `call'
from /app/vendor/ruby-3.0.2/lib/ruby/3.0.0/tsort.rb:415:in `each_strongly_connected_component_from'
from /app/vendor/ruby-3.0.2/lib/ruby/3.0.0/tsort.rb:349:in `block in each_strongly_connected_component'
from /app/vendor/ruby-3.0.2/lib/ruby/3.0.0/tsort.rb:347:in `each'
from /app/vendor/ruby-3.0.2/lib/ruby/3.0.0/tsort.rb:347:in `call'
from /app/vendor/ruby-3.0.2/lib/ruby/3.0.0/tsort.rb:347:in `each_strongly_connected_component'
from /app/vendor/ruby-3.0.2/lib/ruby/3.0.0/tsort.rb:226:in `tsort_each'
from /app/vendor/ruby-3.0.2/lib/ruby/3.0.0/tsort.rb:205:in `tsort_each'
from /app/vendor/bundle/ruby/3.0.0/gems/railties-7.0.3.1/lib/rails/initializable.rb:60:in `run_initializers'
from /app/vendor/bundle/ruby/3.0.0/gems/railties-7.0.3.1/lib/rails/application.rb:372:in `initialize!'
from /app/config/environment.rb:5:in `<top (required)>'
from config.ru:3:in `require_relative'
from config.ru:3:in `block in <main>'
from /app/vendor/bundle/ruby/3.0.0/gems/rack-2.2.4/lib/rack/builder.rb:116:in `eval'
from /app/vendor/bundle/ruby/3.0.0/gems/rack-2.2.4/lib/rack/builder.rb:116:in `new_from_string'
from /app/vendor/bundle/ruby/3.0.0/gems/rack-2.2.4/lib/rack/builder.rb:105:in `load_file'
from /app/vendor/bundle/ruby/3.0.0/gems/rack-2.2.4/lib/rack/builder.rb:66:in `parse_file'
from /app/vendor/bundle/ruby/3.0.0/gems/puma-5.6.4/lib/puma/configuration.rb:348:in `load_rackup'
from /app/vendor/bundle/ruby/3.0.0/gems/puma-5.6.4/lib/puma/configuration.rb:270:in `app'
from /app/vendor/bundle/ruby/3.0.0/gems/puma-5.6.4/lib/puma/runner.rb:150:in `load_and_bind'
from /app/vendor/bundle/ruby/3.0.0/gems/puma-5.6.4/lib/puma/cluster.rb:357:in `run'
from /app/vendor/bundle/ruby/3.0.0/gems/puma-5.6.4/lib/puma/launcher.rb:182:in `run'
from /app/vendor/bundle/ruby/3.0.0/gems/puma-5.6.4/lib/puma/cli.rb:81:in `run'
from /app/vendor/bundle/ruby/3.0.0/gems/puma-5.6.4/bin/puma:10:in `<top (required)>'
from /app/vendor/bundle/ruby/3.0.0/bin/puma:23:in `load'
from /app/vendor/bundle/ruby/3.0.0/bin/puma:23:in `<top (required)>'
from /app/vendor/bundle/ruby/3.0.0/gems/bundler-2.3.10/lib/bundler/cli/exec.rb:58:in `load'
from /app/vendor/bundle/ruby/3.0.0/gems/bundler-2.3.10/lib/bundler/cli/exec.rb:58:in `kernel_load'
from /app/vendor/bundle/ruby/3.0.0/gems/bundler-2.3.10/lib/bundler/cli/exec.rb:23:in `run'
from /app/vendor/bundle/ruby/3.0.0/gems/bundler-2.3.10/lib/bundler/cli.rb:483:in `exec'
from /app/vendor/bundle/ruby/3.0.0/gems/bundler-2.3.10/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
from /app/vendor/bundle/ruby/3.0.0/gems/bundler-2.3.10/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
from /app/vendor/bundle/ruby/3.0.0/gems/bundler-2.3.10/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
from /app/vendor/bundle/ruby/3.0.0/gems/bundler-2.3.10/lib/bundler/cli.rb:31:in `dispatch'
from /app/vendor/bundle/ruby/3.0.0/gems/bundler-2.3.10/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
from /app/vendor/bundle/ruby/3.0.0/gems/bundler-2.3.10/lib/bundler/cli.rb:25:in `start'
from /app/vendor/bundle/ruby/3.0.0/gems/bundler-2.3.10/exe/bundle:48:in `block in <top (required)>'
from /app/vendor/bundle/ruby/3.0.0/gems/bundler-2.3.10/lib/bundler/friendly_errors.rb:103:in `with_friendly_errors'
from /app/vendor/bundle/ruby/3.0.0/gems/bundler-2.3.10/exe/bundle:36:in `<top (required)>'
from /app/bin/bundle:3:in `load'
from /app/bin/bundle:3:in `<main>'buildpack=pgbouncer at=app-end
buildpack=pgbouncer at=exit process=app
buildpack=pgbouncer at=kill-app pid=247
buildpack=pgbouncer at=wait-app pid=247
2022-08-08 06:44:28.213 UTC [248] LOG Got SIGTERM, ignoring!
buildpack=pgbouncer at=kill-aux name=pgbouncer pid=246 signal=SIGINT
2022-08-08 06:44:28.213 UTC [248] LOG got SIGINT, shutting down
buildpack=pgbouncer at=pgbouncer-end
=====> End of nforem container output (web.1)
parallel: This job failed:
/var/lib/dokku/plugins/available/scheduler-docker-local/bin/scheduler-deploy-process-container nforem herokuish dokku/nforem:latest latest web 1 1
It would be great if you can help me with it. I have not made any changes to the environment variables. Hence not sure what is the issue.
Also, the postgres docker container is running(sudo docker ps).
For further actions, you may consider blocking this person and/or reporting abuse
Hi @surgbc , As per your recommendation i tried installing forem with dokku. Currently im not able to successfully deploy it. I can see the following error during deployment.
It would be great if you can help me with it. I have not made any changes to the environment variables. Hence not sure what is the issue.
Also, the postgres docker container is running(
sudo docker ps
).