[ E 2023-02-09 19:25:44.6204 217094/T1o age/Cor/App/Implementation.cpp:221 ]: Could not spawn process for application /home/feedback/discour

[ E 2023-02-09 19:25:44.6204 217094/T1o age/Cor/App/Implementation.cpp:221 ]: Could not spawn process for application /home/feedback/discourse: The application encountered the following error: We could not find your database: discourse. Which can be found in the database configuration file located at config/database.yml.

To resolve this issue:

  • Did you create the database for this app, or delete it? You may need to create your database.
  • Has the database name changed? Check your database.yml config has the correct database name.

To create your database, run:

    bin/rails db:create

(ActiveRecord::NoDatabaseError)
Error ID: 5e2f7fa7
Error details saved to: /tmp/passenger-error-P0l1rQ.html

I created db followed by your steps but still geting same error

discourse | root | UTF8 | C.UTF-8 | C.UTF-8 |
discourse_development | root | UTF8 | C.UTF-8 | C.UTF-8 |
discourse_test | root | UTF8 | C.UTF-8 | C.UTF-8 |
discourse_test_multisite | root | UTF8 | C.UTF-8 | C.UTF-8 |
feedback_test | postgres | UTF8 | C.UTF-8 | C.UTF-8 |
postgres | postgres | UTF8 | C.UTF-8 | C.UTF-8 |
template0 | postgres | UTF8 | C.UTF-8 | C.UTF-8 | =c/postgres +
| | | | | postgres=CTc/postgres
template1 | postgres | UTF8 | C.UTF-8 | C.UTF-8 | =c/postgres +
| | | | | postgres=CTc/postgres

Hi ratnam,

Could you explain the context in which you encounter the error? Is the issue encountered in a standard install? Or a development install? Or another context?

Iam getting in development install only

But anyway thanks for your reply I have shifted from Ruby on Rails app to up to Docker application